1--TEST--
2phpinfo()
3--FILE--
4<?php
5var_dump(phpinfo());
6
7echo "--\n";
8var_dump(phpinfo(0));
9
10echo "--\n";
11var_dump(phpinfo(INFO_LICENSE));
12
13?>
14--EXPECTF--
15phpinfo()
16PHP Version => %s
17
18System => %s
19Build Date => %r(.+?)%r
20Configure Command => %s
21Server API => Command Line Interface
22Virtual Directory Support => %s
23Configuration File (php.ini) Path => %s
24Loaded Configuration File => %r(.+?)%r
25Scan this dir for additional .ini files => %r(.+?)%r
26Additional .ini files parsed => %r(.+?)%r
27PHP API => %d
28PHP Extension => %d
29Zend Extension => %d
30Zend Extension Build => API%s
31PHP Extension Build => API%s
32Debug Build => %s
33Thread Safety => %r(.+?)%r
34Zend Signal Handling => %s
35Zend Memory Manager => %s
36Zend Multibyte Support => %s
37Zend Max Execution Timers => %s
38IPv6 Support => %s
39DTrace Support => %s
40
41Registered PHP Streams => %s
42Registered Stream Socket Transports => %s
43Registered Stream Filters => %s
44
45%r(.+?)%r
46 _______________________________________________________________________
47
48
49Configuration
50%r(.*?)%r
51Core
52%r(.*?)%r
53Additional Modules
54%r(.*?)%r
55Environment
56%r(.*?)%r
57PHP Variables
58%r(.*?)%r
59PHP License
60%r(.*?)%r
61bool(true)
62--
63phpinfo()
64bool(true)
65--
66phpinfo()
67
68PHP License
69%r(.+?)%r
70bool(true)
71