Re: Why do disabled functions / classes generate a WARNING.
| From: | Laruence | Date: | Fri, 03 Aug 2012 17:01:34 +0000 |
| Subject: | Re: Why do disabled functions / classes generate a WARNING. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62018@lists.php.net to get a copy of this message | ||
On Sat, Aug 4, 2012 at 12:47 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> I'm looking at a segfault in the SPL caused by the blind creation of a
>> class, which seems to only fail when the class is disabled. I'm
>> wondering in how many other places this could occur.
>
> This seems to be pretty bad. I'd say creation of an instance of disabled
> class should be a fatal error, but regardless SPL should handle returns
> properly. Did you submit a bug about the SPL problem?
I think it's https://bugs.php.net/bug.php?id=62737
thanks
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Laruence Xinchen Hui
http://www.laruence.com/