From b92996bea6900cbbd58dbd447d3b5a3e69f9030e Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 5 Dec 2011 12:46:38 +0000 Subject: [PATCH] remove irrelevant codes in test --- Zend/tests/method_static_var.phpt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(); -- 2.50.1