Other changesNotices and warnings on arithmetic with invalid strings
New
<?php The above example will output: Notice: A non well formed numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d Warn on octal escape sequence overflow
Previously, 3-octet octal string escape sequences would overflow silently.
Now, they will still overflow, but
<?php The above example will output: Warning: Octal escape sequence overflow \500 is greater than \377 in %s on line %d string(1) "@" Inconsistency fixes to $thisWhilst $this is considered a special variable in PHP, it lacked proper checks to ensure it wasn't used as a variable name or reassigned. This has now been rectified to ensure that $this cannot be a user-defined variable, reassigned to a different value, or be globalised. Session ID generation without hashingSession IDs will no longer be hashed upon generation. With this change brings about the removal of the following four ini settings:
And the addition of the following two ini settings:
Changes to INI file handling
Session ID generation with a CSPRNG onlySession IDs will now only be generated with a CSPRNG. More informative TypeError messages when
|