Skip to content

Commit

Permalink
remove irrelevant codes in test
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Dec 5, 2011
1 parent 2f8c502 commit 95784cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Zend/tests/method_static_var.phpt
Expand Up @@ -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();
Expand Down

0 comments on commit 95784cf

Please sign in to comment.