diff --git a/appendices/migration54.xml b/appendices/migration54.xml index dada12bd93..725dcf0942 100644 --- a/appendices/migration54.xml +++ b/appendices/migration54.xml @@ -100,16 +100,16 @@ set using the TZ environment variable. Instead you have to specify a timezone using the date.timezone ini option or date_default_timezone_set function. PHP will no longer attempt to guess the timezone, and will instead fall back to "UTC" and issue - a warning. + a E_WARNING. Non-numeric string offsets - e.g. $a['foo'] where $a is a string - now return - false on isset and true on empty, and produce a warning - if you try to use them. Offsets of types double, bool and null produce a notice. Numeric strings + false on isset and true on empty, and produce a E_WARNING + if you try to use them. Offsets of types double, bool and null produce a E_NOTICE. Numeric strings (e.g. $a['2']) still work as before. Note that offsets like '12.3' - and '5 foobar' are considered non-numeric and produce a warning, but are converted + and '5 foobar' are considered non-numeric and produce a E_WARNING, but are converted to 12 and 5 respectively, for backward compatibility reasons. @@ -228,7 +228,7 @@ - Closures now support $this. + Closures now support $this. @@ -307,8 +307,6 @@
Deprecated features in PHP 5.4.x - - Deprecated functions: @@ -1328,13 +1326,6 @@
Other changes - - - Changed session.entropy_file, which - now defaults to /dev/urandom or /dev/arandom if - either are present at compile time. - - E_ALL now includes E_STRICT level @@ -1399,7 +1390,7 @@ - It's now possible to enforce the class' __construct arguments in an abstract + It's now possible to enforce the class' __construct arguments in an abstract constructor in the base class.