From: Stanislav Malyshev Date: Wed, 2 Feb 2005 10:31:15 +0000 (+0000) Subject: test for Bug #31720 X-Git-Tag: php-5.0.4RC1~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54ec8b914fab191441ba1eda0191d23863354c76;p=php test for Bug #31720 --- 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===