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 => %s%a 20Configure Command => %s 21Server API => Command Line Interface 22Virtual Directory Support => %s 23Configuration File (php.ini) Path => %s 24Loaded Configuration File => %a 25Scan this dir for additional .ini files => %a 26Additional .ini files parsed => %a 27PHP API => %d 28PHP Extension => %d 29Zend Extension => %d 30Zend Extension Build => API%s 31PHP Extension Build => API%s 32Debug Build => %s 33Thread Safety => %s%A 34Zend Signal Handling => %s 35Zend Memory Manager => %s 36Zend Multibyte Support => %s 37IPv6 Support => %s 38DTrace Support => %s 39 40Registered PHP Streams => %s 41Registered Stream Socket Transports => %s 42Registered Stream Filters => %s 43 44%a 45 _______________________________________________________________________ 46 47 48Configuration 49%A 50Core 51%A 52Additional Modules 53%A 54Environment 55%A 56PHP Variables 57%A 58PHP License 59%A 60bool(true) 61-- 62phpinfo() 63bool(true) 64-- 65phpinfo() 66 67PHP License 68%a 69bool(true) 70