Re: Compatibility changes for 5.5
| From: | Martin Amps | Date: | Fri, 19 Jul 2013 19:44:28 +0000 |
| Subject: | Re: Compatibility changes for 5.5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68218@lists.php.net to get a copy of this message | ||
Understood. But given for the entire 5 series it was valid I feel people finding their code randomly
breaking now would expect to see it in the documentation somewhere.
Where would you suggest we place it?
Given it’s a bug fix, would it still fit here? http://www.php.net/manual/en/migration55.incompatible.php
On Jul 18, 2013, at 5:25 PM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> Much the same as https://bugs.php.net/bug.php?id=49348
>> since 5.5
>> trying to access an uninitialized property of an object throws a
>> notice but isn’t listed anywhere as a change that I can see.
>
> Read access to uninitialized variable should produce notice, that's how
> it was in PHP for very long time. Unfortunately, due to the bug it
> didn't in some situations, while it still did in others. In 5.5, this
> bug was fixed. Generally, bugfixes do not have special reporting except
> for note in the NEWS that the bug has been fixed. But if you think it
> needs special mention you can suggest a patch.
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227