Re: RE:Class::? - accessing data, no success...
| From: | waldschrott | Date: | Wed, 05 Jul 2000 13:47:31 +0000 |
| Subject: | Re: RE:Class::? - accessing data, no success... | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23574@lists.php.net to get a copy of this message | ||
KK> No, not an initializer. Class variables are part of the
KK> class. They do not double as initalizers for the instance.
But for PHP they do!?
class a {
var $i=3; }
$a = new a;
print $a->i;
reagards
--
o----------0-¬---------O-·---¬----o---®-----o o O ° .
| http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ °
·
0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ °
o © ° . ·
| psychedelic experience | gott@kiffen.de | O ° o °
o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·