Re: Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13
| From: | Pierre Joye | Date: | Sun, 27 Jul 2014 05:30:35 +0000 |
| Subject: | Re: Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76178@lists.php.net to get a copy of this message | ||
hi,
On Sun, Jul 27, 2014 at 1:59 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> What I found *safe*, with checkers that check object is properly
>> initialized, so not needing patch, but throwing exceptions or warnings
>> when used bad constructed :
>> - SPL
>
> SPL unfortunately is not safe at all - a lot of iterator classes
> segfault on no-ctor initialization. I'll make a patch for them.
>
It would be good to have a section in UPGRADING.INTERNALS explaining
in details what should be done, very important for non core extensions
(pecl or other repositories).
Cheers,
--
Pierre
@pierrejoye | http://www.libgd.org