Home
last modified time | relevance | path

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

123

/PHP-5.5/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);
H A Dbug35382.phpt5 eval("echo 'Hello'; // comment");
/PHP-5.5/Zend/tests/
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 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: Class 'Test3' not found in %sbug31102.php(%d) : eval()'d code on line 1
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.phpt10 eval(<<<'PHP'
17 eval(<<<'PHP'
29 eval(<<<'PHP'
H A Dbug36513.phpt9 eval('echo "1";//2');
10 eval('echo 3; //{ 4?>5');
H A Derrmsg_045.phpt11 eval('class A { function a() {} function __construct() {} }');
16 string(%d) "%s(%d) : eval()'d code"
H A Dbug65322.phpt16 eval('class A { function a() {} function __construct() {} }');
21 string(%d) "%s(%d) : eval()'d code"
H A Dbug54624.phpt14 eval('
/PHP-5.5/Zend/tests/constants/
H A Ddir-constant-eval.phpt2 __DIR__ constant used with eval()
5 eval('echo __DIR__ . "\n";');
/PHP-5.5/Zend/tests/generators/
H A Dbug67497.phpt2 Bug #67467: eval with parse error causes segmentation fault in generator
11 @eval('abc');
/PHP-5.5/tests/classes/
H A Dabstract_static.phpt20 eval('
34 …unction fail::func() should not be abstract in %sabstract_static.php(%d) : eval()'d code on line %d
36 …mplement the remaining methods (fail::func) in %sabstract_static.php(%d) : eval()'d code on line %d
/PHP-5.5/sapi/cli/tests/
H A Dbug43177.phpt14 eval("this is a parse error");
18 eval("foo();");
22 eval("class foo { final private final function bar() {} }");
/PHP-5.5/tests/lang/include_files/
H A Deval.inc2 eval("require_once 'echo.inc';");
/PHP-5.5/ext/standard/tests/serialize/
H A D005.phpt25 eval("class TestNAOld extends TestOld {}");
28 eval("class TestNANew extends TestNew {}");
31 eval("class TestNANew2 extends TestNew {}");
37 eval('function __autoload($class_name) { do_autoload($class_name); }');
/PHP-5.5/ext/standard/tests/array/
H A Darray_map_variation16.phpt12 * echo(), array(), empty(), eval(), exit(), isset(), list(), print()
25 /*4*/ 'eval',
55 Warning: array_map() expects parameter 1 to be a valid callback, function 'eval' not found or inval…
/PHP-5.5/ext/simplexml/tests/
H A D000.phpt14 eval("var_dump(isset(\$$what));");
15 eval("var_dump((bool)\$$what);");
16 eval("var_dump(count(\$$what));");
17 eval("var_dump(\$$what);");

Completed in 21 milliseconds

123