mirror of
https://github.com/php/php-src.git
synced 2024-09-30 22:36:12 +00:00
16 lines
230 B
Plaintext
16 lines
230 B
Plaintext
|
--TEST--
|
||
|
eval() parse error on function with doc comment
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
eval(
|
||
|
<<<EOC
|
||
|
/** doc comment */
|
||
|
function f() {
|
||
|
EOC
|
||
|
);
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Parse error: syntax error, unexpected end of file in %s(%d) : eval()'d code on line %d
|