From: Marcus Boerger Date: Sat, 20 May 2006 09:11:50 +0000 (+0000) Subject: - Should be static and be called (comitted wrong version) X-Git-Tag: BEFORE_NEW_OUTPUT_API~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a752ce669e9e11b25fe5aa3794955bcbe672856;p=php - Should be static and be called (comitted wrong version) --- diff --git a/Zend/tests/catch_004.phpt b/Zend/tests/catch_004.phpt index f91da60dc0..54920b8947 100755 --- a/Zend/tests/catch_004.phpt +++ b/Zend/tests/catch_004.phpt @@ -21,7 +21,7 @@ class MyObject echo __METHOD__ . "() Must not be called\n"; } - function test() + static function test() { try { @@ -34,6 +34,8 @@ class MyObject } } +MyObject::test(); + ?> ===DONE=== --EXPECT--