diff --git a/ext/standard/tests/general_functions/callbacks_002.phpt b/ext/standard/tests/general_functions/callbacks_002.phpt new file mode 100644 index 00000000000..22130c524a1 --- /dev/null +++ b/ext/standard/tests/general_functions/callbacks_002.phpt @@ -0,0 +1,16 @@ +--TEST-- +call_user_func(): Wrong parameters +--FILE-- + +--EXPECTF-- +Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Foo' not found in %s on line %d + +Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in %s on line %d + +Warning: call_user_func() expects parameter 1 to be a valid callback, second array member is not a valid method in %s on line %d