[RFC] [VOTE] Octal Interpolation Overflow

php.internals

Sara Golemon

10 years ago
Voting has opened for https://wiki.php.net/rfc/octal.overload-checking Vote YES to raise a compile time warning when octal values greater than \377 are used. Vote NO to continue ignoring the overflow. Regardless of outcome, the value interpolated into the string will retain "wrap-around" overflow behavior. That is, \541 will yield \141, or 'a' -Sara

Pascal MARTIN

10 years ago
Le 29/04/2016 23:31, Sara Golemon a écrit :
> Voting has opened for https://wiki.php.net/rfc/octal.overload-checking > > Vote YES to raise a compile time warning when octal values greater > than \377 are used. > Vote NO to continue ignoring the overflow.
Hi, At AFUP, we would be +1 for the warning: it might help detect some invalid usages of octal notation. Thanks for your work on this!
-- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/