阅读以下代码,输出结果正确的是( )。
A: test.php
B: test
C: .php
D: 以上答案都不正确
A: test.php
B: test
C: .php
D: 以上答案都不正确
举一反三
- 阅读以下代码,输出结果正确的是()。 A: mysql.php B: mysql C: php D: 以上答案都不正确
- 阅读以下 PHP 代码,并选择正确的运算结果:
- 以下php代码可导致远程代码执行的有() A: preg_replace("/test/i",$_GET["h"],"justtest") B: preg_replace("/test/ie",$_GET["h"],"justtest") C: preg_replace("/test/ie",’test("\1")’,$_GET["h"]) D: preg_replace("/test/ie",’test(\1)’,$_GET["h"])
- <;?php$text = 'This is a test'; $n=strlen($text); // $n=14echo substr_count($text, 'is');?>;以上程序的输出结果是( )。 A: 1 B: is is a test C: true D: 2
- 通过$_POST[’test’]接收表单时,会有提示信息“Notice:Undefinedindex:test”,下面对此说法正确的是() A: 说明PHP成功接收到表单 B: 说明此时并没有表单提交 C: 说明PHP没有接收到test数据 D: PHP成功接收到test数据