]> granicus.if.org Git - php/commitdiff
remove irrelevant codes in test
authorXinchen Hui <laruence@php.net>
Mon, 5 Dec 2011 12:46:38 +0000 (12:46 +0000)
committerXinchen Hui <laruence@php.net>
Mon, 5 Dec 2011 12:46:38 +0000 (12:46 +0000)
Zend/tests/method_static_var.phpt

index b861779c4ec86327bb963e7f99acf6231da4aaf9..c5e82fef7228ad5c5f74bf9fc7fa73fb65389c08 100644 (file)
@@ -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();