# [RFC] [VOTE] Octal Interpolation Overflow

- Thread: https://externals.io/message/92962
- Original archive: https://news-web.php.net/php.internals/92962
- Started by Sara Golemon on 2016-04-29T21:31:33+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #92962 — Sara Golemon — 2016-04-29T21:31:33+00:00

URL: https://externals.io/message/92962#92962

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

---

## #93307 — Pascal MARTIN — 2016-05-13T10:18:47+00:00

URL: https://externals.io/message/92962#93307 · In reply to: #92962

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/
