mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
14 lines
171 B
PHP
14 lines
171 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
|