svn: /php/php-src/ branches/PHP_5_4/Zend/tests/method_static_var.phpt trunk/Zend/tests/method_static_var.phpt
| From: | Xinchen Hui | Date: | Mon, 05 Dec 2011 12:46:38 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_4/Zend/tests/method_static_var.phpt trunk/Zend/tests/method_static_var.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67196@lists.php.net to get a copy of this message | ||
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();