Browse Source

remove irrelevant codes in test

pull/7/head
Xinchen Hui 15 years ago
parent
commit
b92996bea6
  1. 6
      Zend/tests/method_static_var.phpt

6
Zend/tests/method_static_var.phpt

@ -7,17 +7,13 @@ Maybe not a bug
class Foo { class Foo {
public function __construct() { public function __construct() {
eval("class Bar extends Foo {}"); eval("class Bar extends Foo {}");
Some::foo($this);
} }
public static function test() { public static function test() {
static $i = 0; static $i = 0;
var_dump(++$i); var_dump(++$i);
} }
} }
class Some {
public static function foo(Foo $foo) {
}
}
foo::test(); foo::test();
new Foo; new Foo;
foo::test(); foo::test();

Loading…
Cancel
Save