From: Xinchen Hui Date: Mon, 5 Dec 2011 12:46:38 +0000 (+0000) Subject: remove irrelevant codes in test X-Git-Tag: php-5.5.0alpha1~771 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b92996bea6900cbbd58dbd447d3b5a3e69f9030e;p=php remove irrelevant codes in test --- diff --git a/Zend/tests/method_static_var.phpt b/Zend/tests/method_static_var.phpt index b861779c4e..c5e82fef72 100644 --- a/Zend/tests/method_static_var.phpt +++ b/Zend/tests/method_static_var.phpt @@ -7,17 +7,13 @@ Maybe not a bug class Foo { public function __construct() { eval("class Bar extends Foo {}"); - Some::foo($this); } public static function test() { static $i = 0; var_dump(++$i); } } -class Some { - public static function foo(Foo $foo) { - } -} + foo::test(); new Foo; foo::test();