Re: test bug60322
| From: | Stas Malyshev | Date: | Thu, 13 Jun 2013 17:24:17 +0000 |
| Subject: | Re: test bug60322 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67704@lists.php.net to get a copy of this message | ||
Hi!
> Fails on 5 boxes here.
>
> What's your settings?
It would be much more useful to know what is *your* settings, since it
is where the tests are failing. But never mind, I think I know where the
problem is. The loop in the test:
while(ob_get_clean());
is wrong, since it would terminate at first empty buffer. So if you have
multiple output buffers stacked (not sure how to create it with INI
alone, maybe some extensions do that?) the buffers will not be cleaned
properly by the time it gets to the var_dump, and thus the test would
work wrong. I'll try to simulate this situation and rewrite the test.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227