Posted by Janwillem Borleffs on 12/21/06 00:00
Aggelos wrote:
>> I don't quite understand what you're asking; the closest might be
>> static properties?
> Thats exactly what I need but I am developing in PHP4 not 5 :S
>
With PHP 4, your only bet would be get_class_vars():
http://www.php.net/get_class_vars
E.g.:
class Foo { var $static = 1; }
$vars = get_class_vars('Foo');
print $vars['static'];
JW
Navigation:
[Reply to this message]
|