xref: /PHP-8.0/tests/lang/014.phpt (revision f8d79582)
1--TEST--
2Testing eval function inside user-defined function
3--FILE--
4<?php
5function F ($a) {
6    eval($a);
7}
8
9error_reporting(0);
10F("echo \"Hello\";");
11?>
12--EXPECT--
13Hello
14