From: Felipe Pena Date: Sun, 19 Jul 2009 03:36:46 +0000 (+0000) Subject: - New test X-Git-Tag: php-5.4.0alpha1~191^2~3064 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ff8222d0e015d448cb87d53ff19b20220a6f287;p=php - New test --- diff --git a/Zend/tests/bug48770_3.phpt b/Zend/tests/bug48770_3.phpt new file mode 100644 index 0000000000..68fe84314d --- /dev/null +++ b/Zend/tests/bug48770_3.phpt @@ -0,0 +1,51 @@ +--TEST-- +Bug #48770 (call_user_func_array() fails to call parent from inheriting class) +--XFAIL-- +See Bug #48770 +--FILE-- +func('This should work!'); + +?> +--EXPECTF-- +%unicode|string%(27) "B::func2: This should work!" +%unicode|string%(27) "B::func3: This should work!" + +Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'B' does not have a method 'inexistent' in %s on line %d