/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/lang/019.phpt
39 строк
1 KB
Máté Kocsis
Add many missing closing PHP tags to tests
09 авг 2020, 23:03
Не верифицирован
09 авг 2020, 23:03
7aacc70
Код
Авторство
О чём код?
--TEST-- eval() test --FILE-- <?php 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++; } eval('-'); ?> --EXPECTF-- 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()! Parse error: syntax error, unexpected %s in %s019.php(12) : eval()'d code on line 1