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 {
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();

Loading…
Cancel
Save