php-src/tests/lang/014.phpt
2018-10-14 12:07:20 -03:00

14 lines
169 B
PHP

--TEST--
Testing eval function inside user-defined function
--FILE--
<?php
function F ($a) {
eval($a);
}
error_reporting(0);
F("echo \"Hello\";");
?>
--EXPECT--
Hello