note 95401 deleted from language.oop5.overloading by danbrown

From: Date: Thu, 31 Dec 2009 20:08:28 +0000
Subject: note 95401 deleted from language.oop5.overloading by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164504@lists.php.net to get a copy of this message
Note Submitter: fertile at list dot ru ---- http://php.net/manual/en/language.oop5.overloading.php#93890 incorrect as for php 5.3.1 & 5.2.12 You can check this by yourself: <?php class CSample { public function __set($name, $value) { $this->$name = $value; print_r('__set() called'); } } $a = new CSample(); $c = $a->item = $a->b = 2; var_dump($c, $a->item, $a->b); ?>

« previous php.notes (#164504) next »