Re: PHP test for bug 51394

From: Date: Sun, 16 Jun 2013 20:52:25 +0000
Subject: Re: PHP test for bug 51394
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-66896@lists.php.net to get a copy of this message
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

« previous php.qa (#66896) next »