diff options
author | Stanislav Malyshev <stas@php.net> | 2002-10-16 18:29:41 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2002-10-16 18:29:41 +0000 |
commit | c42ec35331a853d2a1b11700088eef31fc1f907f (patch) | |
tree | c12e6903ddb5718af0bd456f3ad986601276cabd /ext/mysql/php_mysql.c | |
parent | 349b3a096aa677b8ee3977a965b42c187b6a5bc5 (diff) | |
download | php-git-c42ec35331a853d2a1b11700088eef31fc1f907f.tar.gz |
Fix class static members: now the following code works:
<?php
class Foo {
static $c = "Parent";
}
class Child extends Foo {
}
Foo::$c = "Hello";
var_dump(Child::$c);
?>
and returns "Hello" (class statics are not copied anymore, but looked up in
runtime)
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions