oct_overflow_char.phpt 298 B

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