File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
standard /
tests /
general_functions /
phpinfo.phpt
Revision
1.1.1.2 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:44 2012 UTC (12 years, 2 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
HEAD
php 5.4.3+patches
--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)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>