Home
last modified time | relevance | path

Searched refs:eval (Results 1 – 25 of 121) sorted by relevance

12345

/PHP-7.4/tests/lang/
H A D019.phpt2 eval() test
6 eval("function test() { echo \"hey, this is a function inside an eval()!\\n\"; }");
10 eval("echo \"hey, this is a regular echo'd eval()\\n\";");
15 eval('-');
17 hey, this is a regular echo'd eval()
19 hey, this is a regular echo'd eval()
21 hey, this is a regular echo'd eval()
23 hey, this is a regular echo'd eval()
25 hey, this is a regular echo'd eval()
27 hey, this is a regular echo'd eval()
[all …]
H A Dstatic_variation_001.phpt24 eval(' static $b = array(10,11,12); ');
27 eval(' static $b = array(1,2,3); ');
30 eval(' static $b = array(4,5,6); ');
34 eval('function g2b() { static $b = array(7, 8, 9); var_dump($b); } ');
44 eval(' function f3() { static $c = array(1,2,3); var_dump($c); }');
H A Dstatic_variation_002.phpt9 eval(' static $k = array(4,5,6); ');
13 eval(' static $k = array(10,11,12); ');
25 eval('function dfg() { static $b = array(1,2,3); var_dump($b); } ');
31 eval(' Class E { function f() { static $c = array(1,2,3); var_dump($c); } }');
H A Dbug71897.phpt6 eval("
13 Warning: Unexpected character in input: '%s' (ASCII=127) state=0 in %s(%d) : eval()'d code on line…
15 Parse error: syntax error, unexpected 'b' (T_STRING) in %s(%d) : eval()'d code on line %d
H A D013.phpt2 Testing eval function
7 eval($a);
H A Dinclude_variation3.phpt2 Including a file in the current script directory from eval'd code
5 require_once 'include_files/eval.inc';
H A D014.phpt2 Testing eval function inside user-defined function
6 eval($a);
H A D018.phpt2 eval() test
11 eval($message);
/PHP-7.4/Zend/tests/
H A Dbug79022.phpt10 eval("class Foo extends Bar{}");
14 eval("class Bar {}");
18 eval ("class Dummy implements iFoo {}");
26 eval ("interface iFoo extends iBar {}");
30 eval ("interface iBar {}");
H A Duse_no_eval_conflict.phpt2 Use conflicts should not occur across eval()s
6 /* It is important that these two eval()s occur on the same line,
8 eval("class A {}"); eval("use Foo\A;");
H A Dbug31102.phpt15 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
18 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
30 eval("\$bug = new Test$test();");
47 Fatal error: Uncaught Error: Class 'Test3' not found in %sbug31102.php(%d) : eval()'d code:1
49 #0 %s(%d): eval()
51 thrown in %sbug31102.php(%d) : eval()'d code on line 1
H A Dbug_debug_backtrace.phpt2 Bug - crash in debug_backtrace when trace starts in eval
17 eval("foo();");
25 #2 foo() called at [%s(%d) : eval()'d code:1]
26 #3 eval() called at [%s:%d]
H A Dthis_in_eval.phpt2 $this in eval() block
7 eval('var_dump($this);');
8 eval('var_dump($this);');
H A Deval_parse_error_with_doc_comment.phpt2 eval() parse error on function with doc comment
6 eval(
15 Parse error: syntax error, unexpected end of file in %s(%d) : eval()'d code on line %d
H A Dbug62907.phpt7 eval ("abstract class B extends A { }");
9 eval ("abstract class A { use T { T::__construct as __asconstruct; }}");
11 eval ("trait T { public function __construct() { } }");
H A Dbug55007.phpt7 if ('CompileErrorClass'==$classname) eval('class CompileErrorClass { function foo() { $a[]; } }');
8 …if ('MyErrorHandler'==$classname) eval('class MyErrorHandler { function __construct() { print "My …
22 Fatal error: Cannot use [] for reading in %s(%d) : eval()'d code on line %d
H A Dbug63305.phpt9 eval(<<<'PHP'
16 eval(<<<'PHP'
28 eval(<<<'PHP'
H A Dbug79934.phpt9 eval("\$s1 = <<<HEREDOC\r\n a\r\n\r\n b\r\n HEREDOC;");
13 eval("\$s2 = <<<HEREDOC\n a\n\n b\n HEREDOC;");
17 eval("\$s3 = <<<HEREDOC\r a\r\r b\r HEREDOC;");
21 eval("\$s4 = <<<HEREDOC\r a\r\n \r\n b\r HEREDOC;");
H A Dbug69388_2.phpt6 eval('namespace Foo;');
11 eval('namespace {use Exception;}');
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_084.phpt5 eval(<<<'PHP'
10 eval(<<<'PHP'
16 eval(<<<'PHP'
/PHP-7.4/ext/opcache/tests/
H A Dbug69688.phpt2 Bug #69688 (segfault with eval and opcache fast shutdown)
11 eval('function g() {} function g2() {} function g3() {}');
13 eval('class A{} class B{} class C{}');
/PHP-7.4/Zend/tests/constants/
H A Ddir-constant-eval.phpt2 __DIR__ constant used with eval()
5 eval('echo __DIR__ . "\n";');
/PHP-7.4/Zend/tests/generators/
H A Dbug67497.phpt2 Bug #67467: eval with parse error causes segmentation fault in generator
12 eval('abc');
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug76717.phpt6 $min = eval('return '.var_export(PHP_INT_MIN, true).';');
7 $max = eval('return '.var_export(PHP_INT_MAX, true).';');
/PHP-7.4/ext/sodium/tests/
H A Dbug78114.phpt2 Bug #78114 (segfault when calling sodium_* functions from eval)
10 eval('sodium_bin2hex();');

Completed in 30 milliseconds

12345