blob: f422f923d9b3a4930534650c74e7cb1f3e6a0862 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--TEST--
phpinfo() CGI
--POST--
dummy=x
--FILE--
<?php
var_dump(phpinfo());
echo "--\n";
var_dump(phpinfo(array()));
echo "--\n";
var_dump(phpinfo(0));
echo "--\n";
var_dump(phpinfo(INFO_LICENSE));
?>
--EXPECTF--
<!DOCTYPE %s>
%a</html>bool(true)
--
Warning: phpinfo() expects parameter 1 to be int, array given in %sphpinfo2.php on line 5
NULL
--
<!DOCTYPE %s>
%a</html>bool(true)
--
<!DOCTYPE %s>
%a</html>bool(true)
|