note 33144 deleted from language.oop by aidan

From: Date: Sat, 03 Jul 2004 14:53:40 +0000
Subject: note 33144 deleted from language.oop by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72448@lists.php.net to get a copy of this message
Note Submitter: lachtan ---- Static class variable class Test { var $variable; // will be static class variable function Test { static $variable; $this->variable =& $variable; } function id() { return (int) $this->variable++; } } $a = new Test(); $b = new Test(); echo($a->id()); echo($b->id());

« previous php.notes (#72448) next »