Skip to content

Commit 5f29b98

Browse files
Error on invalid octal (fixes PHPSadness php#31)
Further error checks
1 parent ca11bc0 commit 5f29b98

File tree

71 files changed

+651
-550
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

+651
-550
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
. Removed scoped calls of non-static methods from an incompatible $this
3838
context. (Nikita)
3939
. Removed support for #-style comments in ini files. (Nikita)
40+
. Invalid octal literals in source code now produce compile errors, fixes PHPSadness #31. (Andrea)
4041

4142
- Date:
4243
. 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
@@ -62,6 +62,9 @@ PHP X.Y UPGRADE NOTES
6262
. Added zend_memnrstr, zend_memnrstr_ex.
6363
. Added hybrid sorting algo zend_sort for better performance.
6464
. Added stable sorting algo zend_insert_sort.
65+
. Invalid octal literals in source code now produce compile errors, fixing
66+
PHPSadness #31. Previously, the invalid digits (and any following valid
67+
digits) were simply ignored, such that 0781 became 7.
6568

6669
- Date:
6770
. Removed $is_dst parameter from mktime() and gmmktime().

0 commit comments

Comments
 (0)