Skip to content

Commit aae1e04

Browse files
Error on invalid octal (fixes PHPSadness php#31)
1 parent f487e4c commit aae1e04

File tree

71 files changed

+340
-309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+340
-309
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
. Fixed oversight where define() did not support arrays yet const syntax did. (Andrea, Dmitry)
3535
. Use "integer" and "float" instead of "long" and "double" in ZPP, type hint and conversion error messages. (Andrea)
3636
. Implemented FR #55428 (E_RECOVERABLE_ERROR when output buffering in output buffering handler). (Kalle)
37+
. Invalid octal literals in source code now produce compile errors, fixes PHPSadness #31. (Andrea)
3738

3839
- Date:
3940
. Fixed day_of_week function as it could sometimes return negative values

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ PHP X.Y UPGRADE NOTES
5858
. Added zend_memnrstr, zend_memnrstr_ex.
5959
. Added hybrid sorting algo zend_sort for better performance.
6060
. Added stable sorting algo zend_insert_sort.
61+
. Invalid octal literals in source code now produce compile errors, fixing
62+
PHPSadness #31. Previously, the invalid digits (and any following valid
63+
digits) were simply ignored, such that 0781 became 7.
6164

6265
- DBA
6366
. dba_delete() now returns false if the key was not found for the inifile

0 commit comments

Comments
 (0)