|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-05-30 12:10 UTC] andrey at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 09:00:02 2026 UTC |
let's see this code: class dummy{ var $yes ; var $no ; function dummy($y, $n ) { $this->$yes = $y ; $this->$no = $n ; print "Y=$y|YES=".$this->$yes."|N=$n|NO=".$this->$no."<BR>" ; } } $test = new dummy("ab", "cd") ; //OUPUT =Y=ab|YES=cd|N=cd|NO=cd !!!