--TEST-- Bug #68475 Calling function using $callable() syntax with strings of form 'Class::method' --FILE-- getMessage() . "\n"; } // Reference undefined class. $callback = 'UndefinedClass::testMethod'; try { $callback(); } catch (Error $e) { echo $e->getMessage() . "\n"; } ?> --EXPECT-- Static method called! Static method called! Static method called with args: arg1, arg2, arg3 Static method called with args: arg1, arg2, arg3 Call to undefined method TestClass::undefinedMethod() Class "UndefinedClass" not found