php-src/Zend/tests/bug78363.phpt
Nikita Popov ea256a218b Add %0 format to run-tests.php
This format matches against null bytes, and prevents the test
expectation from being interpreted as binary data.

bless_tests.php will automatically replace \0 with %0 as well.
2021-05-29 11:33:13 +02:00

11 lines
202 B
PHP

--TEST--
Bug #78363: Buffer overflow in zendparse
--FILE--
<?php
<<<X
%0$a
X;
?>
--EXPECTF--
Parse error: Invalid body indentation level (expecting an indentation level of at least 1) in %s on line %d