laruence                                 Mon, 05 Dec 2011 12:46:38 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=320430

Log:
remove irrelevant codes in test

Changed paths:
    U   php/php-src/branches/PHP_5_4/Zend/tests/method_static_var.phpt
    U   php/php-src/trunk/Zend/tests/method_static_var.phpt

Modified: php/php-src/branches/PHP_5_4/Zend/tests/method_static_var.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/tests/method_static_var.phpt      
2011-12-05 12:45:50 UTC (rev 320429)
+++ php/php-src/branches/PHP_5_4/Zend/tests/method_static_var.phpt      
2011-12-05 12:46:38 UTC (rev 320430)
@@ -7,17 +7,13 @@
 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();

Modified: php/php-src/trunk/Zend/tests/method_static_var.phpt
===================================================================
--- php/php-src/trunk/Zend/tests/method_static_var.phpt 2011-12-05 12:45:50 UTC 
(rev 320429)
+++ php/php-src/trunk/Zend/tests/method_static_var.phpt 2011-12-05 12:46:38 UTC 
(rev 320430)
@@ -7,17 +7,13 @@
 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();

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to