From d3ed3e3a366a3e2b6c6085ce44c99597db0e5d6c Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 25 Aug 2008 19:38:18 +0000 Subject: [PATCH] - New test --- .../tests/general_functions/callbacks_002.phpt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ext/standard/tests/general_functions/callbacks_002.phpt 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 0000000000..22130c524a --- /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 -- 2.50.1