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
32PHP Integer Size => %d bits
33Debug Build => %s
34Thread Safety => %r(.+?)%r
35Zend Signal Handling => %s
36Zend Memory Manager => %s
37Zend Multibyte Support => %s
38Zend Max Execution Timers => %s
39IPv6 Support => %s
40DTrace Support => %s
41
42Registered PHP Streams => %s
43Registered Stream Socket Transports => %s
44Registered Stream Filters => %s
45
46%r(.+?)%r
47 _______________________________________________________________________
48
49
50Configuration
51%r(.*?)%r
52Core
53%r(.*?)%r
54Additional Modules
55%r(.*?)%r
56Environment
57%r(.*?)%r
58PHP Variables
59%r(.*?)%r
60PHP License
61%r(.*?)%r
62bool(true)
63--
64phpinfo()
65bool(true)
66--
67phpinfo()
68
69PHP License
70%r(.+?)%r
71bool(true)
72