Hi!
> in the file Zend/tests/bug51394.phpt there is expected result as a stack
> trace. But when I run this test the trace is not the output. Before the
> exeption is thrown, the function must be a string error is returned as
> below.
> 
> Fatal error: Function name must be a string in 
> /usr/share/qa/qa_test_php53/Zend/tests/bug51394.php on line 9

This is not a correct result, it looks like set_error_handler didn't
work in your case for some reason.

> I suggest to remove the trace from EXPECTF section.

I don't think it would be correct, as the test is supposed to throw
exception, and unhandled exception should produce backtrace.


-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to