diff options
Diffstat (limited to 'Zend/tests/bug78868.phpt')
-rw-r--r-- | Zend/tests/bug78868.phpt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Zend/tests/bug78868.phpt b/Zend/tests/bug78868.phpt index 172af2a930..f6b66c765e 100644 --- a/Zend/tests/bug78868.phpt +++ b/Zend/tests/bug78868.phpt @@ -3,22 +3,22 @@ Bug #78868: Calling __autoload() with incorrect EG(fake_scope) value --FILE-- <?php class C { - private $private = 1; + private $private = 1; - function foo() { - $this->private++; //fails with EG(fake_scope) != NULL && EG(fake_scope) != "C" - } + function foo() { + $this->private++; //fails with EG(fake_scope) != NULL && EG(fake_scope) != "C" + } } class A { - static $foo = B::foo; //not resolved on include() + static $foo = B::foo; //not resolved on include() } function main_autoload($class_name) { - $c = new C; - $c->foo(); - //doesn't affect the error - eval("class B {const foo = 1;}"); + $c = new C; + $c->foo(); + //doesn't affect the error + eval("class B {const foo = 1;}"); } spl_autoload_register('main_autoload', false); |