019.phpt

来自「php-4.4.7学习linux时下载的源代码」· PHPT 代码 · 共 39 行

PHPT
39
字号
--TEST--eval() test--POST----GET----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()!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?