xref: /PHP-7.1/Zend/tests/oct_overflow_char.phpt (revision 41518d25)
1--TEST--
2Octal overflow in string interpolation
3--FILE--
4<?php
5
6// "abc", ordinarily 'b' would be \142, but we'll deliberately overflow the value by \400
7echo "\141\542\143\n";
8--EXPECTF--
9Warning: Octal escape sequence overflow \542 is greater than \377 in %s%eoct_overflow_char.php on line 4
10abc
11