note 30981 deleted from ref.classobj by didou

From: Date: Mon, 01 Mar 2004 11:52:51 +0000
Subject: note 30981 deleted from ref.classobj by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66036@lists.php.net to get a copy of this message
Note Submitter: Carlos ---- Commenting the above example: We read: "$int->s(); // now it shows the right value". But no, it it won't, even if expected ;) The s() is buggy and should be: function s() { echo $this->m[0]; } then it will work. ;)

« previous php.notes (#66036) next »