diff --git a/appendices/migration54.xml b/appendices/migration54.xml
index 7338c983fd..972c1a9200 100644
--- a/appendices/migration54.xml
+++ b/appendices/migration54.xml
@@ -70,7 +70,7 @@
- Safe mode is no
+ Safe mode is no
longer supported. Any applications that rely on safe mode may need
adjustements in terms of security.
@@ -82,7 +82,7 @@
get_magic_quotes_gpc and get_magic_quotes_runtime
- now always return false. set_magic_quotes_runtime raises an
+ now always return &false;. set_magic_quotes_runtime raises an
E_CORE_ERROR.
@@ -100,8 +100,8 @@
- The break
- and continue
+ The break
+ and continue
statements don't accept variable arguments anymore, i.e. writing
break 1 + foo() * $bar; is not possible. You can obviously still use
static arguments, like break 2;.
@@ -227,6 +227,49 @@
Support for traits has been added.
+
+
+ Short array syntax has been added, e.g. $a = [1, 2, 3, 4]; or
+ $a = ['one' => 1, 'two' => 2, 'three' => 3, 'four' => 4];.
+
+
+
+
+ Array dereferencing has been added, e.g. foo()[0].
+
+
+
+
+ Closures now support $this.
+
+
+
+
+ <?= is now always available regardless of the
+ short_open_tag ini option.
+
+
+
+
+ Class member access on instantiation has been added,
+ e.g. (new Foo)->bar().
+
+
+
+
+ Class::{expr}() syntax is now supported.
+
+
+
+
+ Binary number format has been added, e.g. 0b001001101.
+
+
+
+
+ Improved parse error messages and improved incompatible arguments warnings.
+
+
@@ -390,7 +433,7 @@
- http_reponse_code
+ http_response_code
@@ -1319,28 +1362,12 @@
more on fatal errors when using interactive mode with readline support.
-
-
- Improved parse error messages from parser and warning message of incompatible arguments
- in function calls.
-
-
$_SERVER['REQUEST_TIME_FLOAT']
has been added to include microsecond precision.
-
-
- <?= is now always available regardless of the short_open_tag setting
-
-
-
-
- Added class member access on instantiation (e.g. (new foo)->bar()) support
-
-
Added new hash algorithms: fnv132, fnv164, joaat
@@ -1351,32 +1378,6 @@
Chained string offsets - e.g. $a[0][0] where $a is a string - now work.
-
-
- Binary number format has been added - e.g. 0b001001101.
-
-
-
-
- Short array syntax has been added - e.g. $a = [1, 2, 3, 4];
- $a = ['one' => 1, 'two' => 2, 'three' => 3, 'four' => 4];
-
-
-
-
- Class::{expr}() syntax is now supported.
-
-
-
-
- Function call result array access: foo()[0]
-
-
-
-
- Closures now support scopes and $this.
-
-
Arrays cast from SimpleXMLElement now always contain all nodes instead of