Home
last modified time | relevance | path

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

1234

/PHP-7.0/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 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.0/Zend/tests/
H A Dbug31102.phpt16 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
19 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
31 eval("\$bug = new Test$test();");
48 Fatal error: Uncaught Error: Class 'Test3' not found in %sbug31102.php(%d) : eval()'d code:1
50 #0 %s(%d): eval()
52 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 Dbug63305.phpt10 eval(<<<'PHP'
17 eval(<<<'PHP'
29 eval(<<<'PHP'
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 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;}');
H A Dbug75252.phpt14 eval($code);
20 eval($code);
H A Dbug73156.phpt7 eval('$args = array(); var_dump(debug_backtrace());');
24 string(4) "eval"
/PHP-7.0/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.0/Zend/tests/constants/
H A Ddir-constant-eval.phpt2 __DIR__ constant used with eval()
5 eval('echo __DIR__ . "\n";');
/PHP-7.0/Zend/tests/generators/
H A Dbug67497.phpt2 Bug #67467: eval with parse error causes segmentation fault in generator
12 eval('abc');
/PHP-7.0/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
/PHP-7.0/tests/basic/
H A Dtimeout_variation_3.phpt2 Timeout within eval
19 eval('hello($t);');

Completed in 80 milliseconds

1234