diff options
author | Andi Gutmans <andi@php.net> | 2001-11-25 08:49:09 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-11-25 08:49:09 +0000 |
commit | d2da63f629632c8d7940566a71be66c952b17583 (patch) | |
tree | 3fa3f90f76000024b585e278098192f99bbe0421 /ext/domxml/php_domxml.c | |
parent | 3d741d71c6678ec68e82557d79ebefb6564d0ffd (diff) | |
download | php-git-d2da63f629632c8d7940566a71be66c952b17583.tar.gz |
- Support static members. The following script works:
<?
class foo
{
class bar
{
function init_values()
{
for ($i=1; $i<10; $i++) {
foo::bar::$hello[$i] = $i*$i;
}
}
function print_values()
{
for ($i=1; $i<10; $i++) {
print foo::bar::$hello[$i] . "\n";
}
}
}
}
foo::bar::init_values();
foo::bar::print_values();
for ($i=1; $i<10; $i++) {
print $hello[$i]?"Shouldn't be printed\n":"";
}
?>
Diffstat (limited to 'ext/domxml/php_domxml.c')
0 files changed, 0 insertions, 0 deletions