diff options
Diffstat (limited to 'tests/lang/019.phpt')
-rw-r--r-- | tests/lang/019.phpt | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/lang/019.phpt b/tests/lang/019.phpt deleted file mode 100644 index 6c0a1cab62..0000000000 --- a/tests/lang/019.phpt +++ /dev/null @@ -1,36 +0,0 @@ ---TEST-- -eval() test ---FILE-- -<?php - -error_reporting(0); - -eval("function test() { echo \"hey, this is a function inside an eval()!\\n\"; }"); - -$i=0; -while ($i<10) { - eval("echo \"hey, this is a regular echo'd eval()\\n\";"); - test(); - $i++; -} ---EXPECT-- -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! -hey, this is a regular echo'd eval() -hey, this is a function inside an eval()! |