File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions / phpcredits.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:04 2012 UTC (12 years, 4 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, v5_3_10, HEAD
php

--TEST--
phpcredits()
--FILE--
<?php

var_dump(phpcredits());
var_dump(phpcredits(array()));

echo "--\n";
var_dump(phpcredits(0));

echo "--\n";
var_dump(phpcredits(CREDITS_GROUP));

?>
--EXPECTF--
PHP Credits

PHP Group
%a

Language Design & Concept
%a

%wPHP Authors%w
%a

%wSAPI Modules%w
%a

%wModule Authors%w
%a

%wPHP Documentation%w
%a

PHP Quality Assurance Team
%a

%wWebsites and Infrastructure team%w
%a
bool(true)

Warning: phpcredits() expects parameter 1 to be long, array given in %sphpcredits.php on line 4
NULL
--
PHP Credits
bool(true)
--
PHP Credits

PHP Group
%a
bool(true)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>