From 3a752ce669e9e11b25fe5aa3794955bcbe672856 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 20 May 2006 09:11:50 +0000 Subject: [PATCH] - Should be static and be called (comitted wrong version) --- Zend/tests/catch_004.phpt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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-- -- 2.50.1