diff options
Diffstat (limited to 'ext/standard/tests/general_functions/phpcredits.phpt')
-rw-r--r-- | ext/standard/tests/general_functions/phpcredits.phpt | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/phpcredits.phpt b/ext/standard/tests/general_functions/phpcredits.phpt new file mode 100644 index 0000000..0aff614 --- /dev/null +++ b/ext/standard/tests/general_functions/phpcredits.phpt @@ -0,0 +1,54 @@ +--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) |