Searched refs:eval (Results 1 – 25 of 101) sorted by relevance
12345
/PHP-7.1/tests/lang/ |
H A D | 019.phpt | 2 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 D | static_variation_001.phpt | 24 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 D | static_variation_002.phpt | 9 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 D | bug71897.phpt | 6 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 D | 013.phpt | 2 Testing eval function 7 eval($a);
|
H A D | 014.phpt | 2 Testing eval function inside user-defined function 6 eval($a);
|
H A D | include_variation3.phpt | 2 Including a file in the current script directory from eval'd code 5 require_once 'include_files/eval.inc';
|
H A D | 018.phpt | 2 eval() test 11 eval($message);
|
/PHP-7.1/Zend/tests/ |
H A D | bug31102.phpt | 16 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 D | bug_debug_backtrace.phpt | 2 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 D | this_in_eval.phpt | 2 $this in eval() block 7 eval('var_dump($this);'); 8 eval('var_dump($this);');
|
H A D | eval_parse_error_with_doc_comment.phpt | 2 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 D | bug62907.phpt | 7 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 D | bug55007.phpt | 7 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 D | bug63305.phpt | 10 eval(<<<'PHP' 17 eval(<<<'PHP' 29 eval(<<<'PHP'
|
H A D | bug69388_2.phpt | 7 eval('namespace Foo;'); 12 eval('namespace {use Exception;}');
|
H A D | bug36513.phpt | 9 eval('echo "1";//2'); 10 eval('echo 3; //{ 4?>5');
|
H A D | self_in_eval.phpt | 2 self etc. can be used in eval() in a class scope 10 eval(<<<'PHP'
|
H A D | bug69388.phpt | 9 eval('function bla($s) {echo "$s\n";}'); 15 eval('namespace {use Exception;}');
|
H A D | bug75252.phpt | 14 eval($code); 20 eval($code);
|
/PHP-7.1/ext/opcache/tests/ |
H A D | bug69688.phpt | 2 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.1/Zend/tests/constants/ |
H A D | dir-constant-eval.phpt | 2 __DIR__ constant used with eval() 5 eval('echo __DIR__ . "\n";');
|
/PHP-7.1/Zend/tests/generators/ |
H A D | bug67497.phpt | 2 Bug #67467: eval with parse error causes segmentation fault in generator 12 eval('abc');
|
/PHP-7.1/sapi/phpdbg/tests/ |
H A D | exceptions_002.phpt | 2 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.1/tests/basic/ |
H A D | timeout_variation_3.phpt | 2 Timeout within eval 19 eval('hello($t);');
|
Completed in 19 milliseconds
12345