mirror of
https://github.com/php/php-src.git
synced 2024-10-07 01:36:14 +00:00
16 lines
191 B
Plaintext
16 lines
191 B
Plaintext
|
--TEST--
|
||
|
Testing eval function inside user-defined function
|
||
|
--POST--
|
||
|
--GET--
|
||
|
--FILE--
|
||
|
<?php
|
||
|
old_function F $a (
|
||
|
eval($a);
|
||
|
);
|
||
|
|
||
|
error_reporting(0);
|
||
|
F("echo \"Hello\";");
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
Hello
|