note 70131 rejected from language.oop5.overloading by bobby

From: Date: Wed, 04 Oct 2006 16:19:48 +0000
Subject: note 70131 rejected from language.oop5.overloading by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118032@lists.php.net to get a copy of this message
Note Submitter: alexandr-evtushenko at yandex dot ru ---- why this code does't work? how i can correct it? $A = new a; class d { function e() { print "eee"; } } class b { function b() { global $A; $A->d->e(); } function c() { print "sss"; } } class a { function __get($v) { $this->$v = new $v; return $this->$v; } } $A->b->c();

« previous php.notes (#118032) next »