xref: /php-src/Zend/tests/gh16630.phpt (revision fc1db70f)
1--TEST--
2GH-16630 (UAF in lexer with encoding translation and heredocs)
3--EXTENSIONS--
4mbstring
5--INI--
6zend.multibyte=On
7zend.script_encoding=ISO-8859-1
8internal_encoding=EUC-JP
9--FILE--
10<?php
11$data3 = <<<CODE
12heredoc
13text
14CODE;
15echo $data3;
16?>
17--EXPECT--
18heredoc
19text
20