1--TEST--
2phpcredits()
3--FILE--
4<?php
5
6var_dump(phpcredits());
7var_dump(phpcredits(array()));
8
9echo "--\n";
10var_dump(phpcredits(0));
11
12echo "--\n";
13var_dump(phpcredits(CREDITS_GROUP));
14
15?>
16--EXPECTF--
17PHP Credits
18
19PHP Group
20%a
21
22Language Design & Concept
23%a
24
25%wPHP Authors%w
26%a
27
28%wSAPI Modules%w
29%a
30
31%wModule Authors%w
32%a
33
34%wPHP Documentation%w
35%a
36
37PHP Quality Assurance Team
38%a
39
40%wWebsites and Infrastructure team%w
41%a
42bool(true)
43
44Warning: phpcredits() expects parameter 1 to be long, array given in %sphpcredits.php on line 4
45NULL
46--
47PHP Credits
48bool(true)
49--
50PHP Credits
51
52PHP Group
53%a
54bool(true)
55