note 95401 added to language.oop5.overloading

From: Date: Thu, 31 Dec 2009 19:49:59 +0000
Subject: note 95401 added to language.oop5.overloading
Groups: php.notes 
Request: Send a blank email to php-notes+get-164503@lists.php.net to get a copy of this message
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); ?> ---- Server IP: 88.81.245.102 (proxied: 91.196.196.205 1.0 localhost.ua.elro.com:3128 (squid/2.7.STABLE7)) Probable Submitter: 95.132.62.25 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.overloading.php Edit -- https://master.php.net/note/edit/95401 Del: integrated -- https://master.php.net/note/delete/95401/integrated Del: useless -- https://master.php.net/note/delete/95401/useless Del: bad code -- https://master.php.net/note/delete/95401/bad+code Del: spam -- https://master.php.net/note/delete/95401/spam Del: non-english -- https://master.php.net/note/delete/95401/non-english Del: in docs -- https://master.php.net/note/delete/95401/in+docs Del: other reasons-- https://master.php.net/note/delete/95401 Reject -- https://master.php.net/note/reject/95401 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164503) next »