ID: 29617 Updated by: [EMAIL PROTECTED] Reported By: jpbarrette at savoirfairelinux dot net -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Mandrake linux 10.0 (Community) PHP Version: 5.0.0 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2004-08-11 16:58:55] jpbarrette at savoirfairelinux dot net Description: ------------ If I throw an exception in a function previously called by call_user_func_array, It produces a warning saying: Unable to call (the function name) But the function was correctly called. The same situation doesn't occur if I use call_user_func instead. Reproduce code: --------------- <?php function test($test) { throw new Exception("This is a " . $test); } call_user_func_array("test", array("test")); Expected result: ---------------- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29617&edit=1