From d38eed95ea357356aba8d540a4f7c064b34f82e5 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Wed, 2 Feb 2005 10:31:53 +0000 Subject: [PATCH] test for Bug #31720 --- Zend/tests/bug31720.phpt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Zend/tests/bug31720.phpt diff --git a/Zend/tests/bug31720.phpt b/Zend/tests/bug31720.phpt new file mode 100644 index 0000000000..be57ca2c45 --- /dev/null +++ b/Zend/tests/bug31720.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #31720 (Invalid object callbacks not caught in array_walk()) +--FILE-- + +===DONE=== +--EXPECTF-- +Notice: Undefined variable: nonesuchvar in %s on line %d + +Notice: Non-callable array passed to zend_call_function() in %s on line %d + +Warning: array_walk(): Unable to call Array() - function does not exist in %s on line %d +===DONE=== -- 2.50.1