xref: /PHP-7.4/Zend/tests/bug70430.phpt (revision e3e92e96)
1--TEST--
2Bug #70430: Stack buffer overflow in zend_language_parser()
3--FILE--
4<?php
5
6$"*** Testing function() :  ***\n";
7
8?>
9--EXPECTF--
10Parse error: syntax error, unexpected '"*** Testing function() :  ***' (T_CONSTANT_ENCAPSED_STRING), expecting variable (T_VARIABLE) or '{' or '$' in %s on line %d
11