summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/phpinfo.phpt
blob: 01b0c62c3b5e9842ef71b693b85ed335410f81cf (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
--TEST--
phpinfo()
--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--
phpinfo()
PHP Version => %s

System => %s
Build Date => %s%a
Configure Command => %s
Server API => Command Line Interface
Virtual Directory Support => %s
Configuration File (php.ini) Path => %s
Loaded Configuration File => %a
Scan this dir for additional .ini files => %a
Additional .ini files parsed => %a
PHP API => %d
PHP Extension => %d
Zend Extension => %d
Zend Extension Build => API%s
PHP Extension Build => API%s
Debug Build => %s
Thread Safety => %s
Zend Signal Handling => %s
Zend Memory Manager => %s
Zend Multibyte Support => %s
IPv6 Support => %s
DTrace Support => %s

Registered PHP Streams => %s
Registered Stream Socket Transports => %s
Registered Stream Filters => %s

%a
 _______________________________________________________________________


Configuration
%A
Core
%A
Additional Modules
%A
Environment
%A
PHP Variables
%A
PHP License
%A
bool(true)
--

Warning: phpinfo() expects parameter 1 to be long, array given in %sphpinfo.php on line 5
NULL
--
phpinfo()
bool(true)
--
phpinfo()

PHP License
%a
bool(true)