Re: PHP test for bug 51394
| From: | Pavel Kačer | Date: | Mon, 17 Jun 2013 09:09:56 +0000 |
| Subject: | Re: PHP test for bug 51394 | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-66901@lists.php.net to get a copy of this message | ||
Hi Stas,
Stas Malyshev <smalyshev@sugarcrm.com> writes:
> 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.
Once again, the test in 5.3.17 does not contain this part. Wrong version
of the test suite is to blame here. The trace is added in 5.3.18 (commit
b29dc146b9311c14186c14bcb1c8ae5288b65d73).
Thank you, Stas. It helped a lot to know it works for other people.
Cheers,
--
Pavel Kačer
QA Automation Engineer
SUSE
pkacer@suse.com
(+420) 284 084 221
Be polite to everyone. You never know when your life or life of
someone close to you might depend on this person.