From: Marcus Boerger Date: Thu, 8 Feb 2007 08:44:28 +0000 (+0000) Subject: - Add new test X-Git-Tag: RELEASE_1_0_1~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e5f95d199adcc890c8e8f886330206f06d5ba9e;p=php - Add new test --- diff --git a/ext/standard/tests/general_functions/bug40398.phpt b/ext/standard/tests/general_functions/bug40398.phpt new file mode 100755 index 0000000000..ab5d52e05a --- /dev/null +++ b/ext/standard/tests/general_functions/bug40398.phpt @@ -0,0 +1,88 @@ +--TEST-- +Bug: #40398 (parent and self callback functions erroneously called statically) +--FILE-- + +===DONE=== +--EXPECTF-- +Base::__construct(1) +Base::__construct(2) + +Warning: call_user_func_array(): first parameter is expected to be a valid callback in %sbug40398.php on line %d + +Warning: call_user_func_array(): first parameter is expected to be a valid callback in %sbug40398.php on line %d + +Warning: call_user_func_array(): first parameter is expected to be a valid callback in %sbug40398.php on line %d + +Warning: call_user_func_array(): first parameter is expected to be a valid callback in %sbug40398.php on line %d +===DONE=== \ No newline at end of file