Class::? - accessing data, no success, can´t find thread discussed in
| From: | waldschrott | Date: | Mon, 03 Jul 2000 12:53:42 +0000 |
| Subject: | Class::? - accessing data, no success, can´t find thread discussed in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23305@lists.php.net to get a copy of this message | ||
Due to the heavy load of php-dev I can´t find the thread again where this has been discussed (and I´m sure it has been), even using the comprehensive-comp search returned no result.
How do I access eg. the variable $foo in the example below
class foo {
var $foo='test'; }
foo::foo does not work...
Sure, $t=new foo(); $f->foo; would work, but I do not want to create an instance...
If I remember correctly this has been discussed and one said that it´s possible...
thx
--
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 ° · ° . ¤ ·