1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/tests/lang/018.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

36 lines
225 B
PHP

--TEST--
eval() test
--FILE--
<?php
error_reporting(0);
$message = "echo \"hey\n\";";
for ($i=0; $i<10; $i++) {
eval($message);
echo $i."\n";
}
?>
--EXPECT--
hey
0
hey
1
hey
2
hey
3
hey
4
hey
5
hey
6
hey
7
hey
8
hey
9