Return to phpinfo.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
1.1 misho 1: --TEST-- 2: phpinfo() 3: --FILE-- 4: <?php 5: var_dump(phpinfo()); 6: 7: echo "--\n"; 8: var_dump(phpinfo(array())); 9: 10: echo "--\n"; 11: var_dump(phpinfo(0)); 12: 13: echo "--\n"; 14: var_dump(phpinfo(INFO_LICENSE)); 15: 16: ?> 17: --EXPECTF-- 18: phpinfo() 19: PHP Version => %s 20: 21: System => %s 22: Build Date => %s%a 23: Configure Command => %s 24: Server API => Command Line Interface 25: Virtual Directory Support => %s 26: Configuration File (php.ini) Path => %s 27: Loaded Configuration File => %a 28: Scan this dir for additional .ini files => %a 29: Additional .ini files parsed => %a 30: PHP API => %d 31: PHP Extension => %d 32: Zend Extension => %d 33: Zend Extension Build => API%s 34: PHP Extension Build => API%s 35: Debug Build => %s 36: Thread Safety => %s 1.1.1.2 ! misho 37: Zend Signal Handling => %s 1.1 misho 38: Zend Memory Manager => %s 39: Zend Multibyte Support => %s 40: IPv6 Support => %s 1.1.1.2 ! misho 41: DTrace Support => %s ! 42: 1.1 misho 43: Registered PHP Streams => %s 44: Registered Stream Socket Transports => %s 45: Registered Stream Filters => %s 46: 47: %a 48: _______________________________________________________________________ 49: 50: 51: Configuration 52: %A 53: Core 54: %A 55: Additional Modules 56: %A 57: Environment 58: %A 59: PHP Variables 60: %A 61: PHP License 62: %A 63: bool(true) 64: -- 65: 66: Warning: phpinfo() expects parameter 1 to be long, array given in %sphpinfo.php on line 5 67: NULL 68: -- 69: phpinfo() 70: bool(true) 71: -- 72: phpinfo() 73: 74: PHP License 75: %a 76: bool(true)