cvs: ZendEngine2 /tests catch_004.phpt
| From: | Marcus Boerger | Date: | Sat, 20 May 2006 09:11:50 +0000 |
| Subject: | cvs: ZendEngine2 /tests catch_004.phpt | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4905@lists.php.net to get a copy of this message | ||
helly Sat May 20 09:11:50 2006 UTC
Modified files:
/ZendEngine2/tests catch_004.phpt
Log:
- Should be static and be called (comitted wrong version)
http://cvs.php.net/viewcvs.cgi/ZendEngine2/tests/catch_004.phpt?r1=1.1&r2=1.2&diff_format=u
Index: ZendEngine2/tests/catch_004.phpt
diff -u ZendEngine2/tests/catch_004.phpt:1.1 ZendEngine2/tests/catch_004.phpt:1.2
--- ZendEngine2/tests/catch_004.phpt:1.1 Sat May 20 09:08:00 2006
+++ ZendEngine2/tests/catch_004.phpt Sat May 20 09:11:50 2006
@@ -21,7 +21,7 @@
echo __METHOD__ . "() Must not be called\n";
}
- function test()
+ static function test()
{
try
{
@@ -34,6 +34,8 @@
}
}
+MyObject::test();
+
?>
===DONE===
--EXPECT--