1. 2015. 5. 21. 06:30 개발자료/W3C
http://stackoverflow.com/questions/151969/when-to-use-self-vs-this

PHP 클래스에서 개체상속을 다루는 변수와 키워드의 차이 입니다

new 로 생성된 개체에 사용합니다
$this->a;

static 정적맴버에 사용합니다
self::a
Posted by Nightly Luna
,
® © Tanny Tales
/ rss