# Compatibility changes for 5.5

- Thread: https://externals.io/message/68178
- Original archive: https://news-web.php.net/php.internals/68178
- Started by Martin Amps on 2013-07-18T23:54:10+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #68178 — Martin Amps — 2013-07-18T23:54:10+00:00

URL: https://externals.io/message/68178#68178

Hey internals

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.

A sample is here: http://3v4l.org/BYq1G

Should we make this apparent in the documentation?

---

## #68218 — Martin Amps — 2013-07-19T19:44:28+00:00

URL: https://externals.io/message/68178#68218

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 



> Hi!
> 
> > […]
> 
> 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

---

## #68220 — Stas Malyshev — 2013-07-19T20:19:19+00:00

URL: https://externals.io/message/68178#68220 · In reply to: #68218

Hi!

> 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.

It is still valid, and still works the same, just produces notice.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
