Home
last modified time | relevance | path

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

12345

/PHP-7.2/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 D014.phpt2 Testing eval function inside user-defined function
6 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 D018.phpt2 eval() test
11 eval($message);
/PHP-7.2/Zend/tests/
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 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 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 Dbug69388_2.phpt7 eval('namespace Foo;');
12 eval('namespace {use Exception;}');
H A Dbug36513.phpt9 eval('echo "1";//2');
10 eval('echo 3; //{ 4?>5');
H A Dself_in_eval.phpt2 self etc. can be used in eval() in a class scope
10 eval(<<<'PHP'
H A Dbug69388.phpt9 eval('function bla($s) {echo "$s\n";}');
15 eval('namespace {use Exception;}');
/PHP-7.2/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.2/Zend/tests/constants/
H A Ddir-constant-eval.phpt2 __DIR__ constant used with eval()
5 eval('echo __DIR__ . "\n";');
/PHP-7.2/Zend/tests/generators/
H A Dbug67497.phpt2 Bug #67467: eval with parse error causes segmentation fault in generator
12 eval('abc');
/PHP-7.2/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.2/sapi/phpdbg/tests/
H A Dexceptions_002.phpt2 Test exceptions in eval during exception
17 Fatal error: Uncaught Error: Call to undefined function next_error() in eval()'d code:1
22 thrown in eval()'d code on line 1

Completed in 18 milliseconds

12345