source: src/router/php7/Zend/tests/oct_overflow_char.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 5 weeks ago

update php

File size: 298 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.