1--TEST-- 2phpcredits() CGI 3--POST-- 4dummy=x 5--FILE-- 6<?php 7 8var_dump(phpcredits()); 9var_dump(phpcredits(array())); 10 11echo "--\n"; 12var_dump(phpcredits(0)); 13 14echo "--\n"; 15var_dump(phpcredits(CREDITS_GROUP)); 16 17?> 18--EXPECTF-- 19<!DOCTYPE %a>%s</html> 20bool(true) 21 22Warning: phpcredits() expects parameter 1 to be long, array given in %sphpcredits2.php on line 4 23NULL 24-- 25<h1>PHP Credits</h1> 26bool(true) 27-- 28<h1>PHP Credits</h1> 29%aPHP Group%a 30bool(true) 31