Re: Compatibility changes for 5.5
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 <[email protected]> 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
Thread (4 messages)