Re: Re: [patch] error masks
| From: | Rasmus Lerdorf | Date: | Wed, 26 Aug 2009 11:18:28 +0000 |
| Subject: | Re: Re: [patch] error masks | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45412@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
> On Tue, 25 Aug 2009, Stanislav Malyshev wrote:
>
>>> Considering that there shouldn't be any errors in the first place, this
>> You must be kidding me. Any fopen of non-existing file, and loading of
>> non-perfect XML from third party produces errors.
>
> You can test for the first case, and the second one can be prevented by
> using the libxml_errors functionality.
Could you show me your race-condition safe code for the first case?
-Rasmus