Re: Why do disabled functions / classes generate a WARNING.
| From: | Stas Malyshev | Date: | Fri, 03 Aug 2012 16:47:36 +0000 |
| Subject: | Re: Why do disabled functions / classes generate a WARNING. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62017@lists.php.net to get a copy of this message | ||
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?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227