Return to phpcredits.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
1.1 misho 1: --TEST-- 2: phpcredits() 3: --FILE-- 4: <?php 5: 6: var_dump(phpcredits()); 7: var_dump(phpcredits(array())); 8: 9: echo "--\n"; 10: var_dump(phpcredits(0)); 11: 12: echo "--\n"; 13: var_dump(phpcredits(CREDITS_GROUP)); 14: 15: ?> 16: --EXPECTF-- 17: PHP Credits 18: 19: PHP Group 20: %a 21: 22: Language 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: 37: PHP Quality Assurance Team 38: %a 39: 40: %wWebsites and Infrastructure team%w 41: %a 42: bool(true) 43: 44: Warning: phpcredits() expects parameter 1 to be long, array given in %sphpcredits.php on line 4 45: NULL 46: -- 47: PHP Credits 48: bool(true) 49: -- 50: PHP Credits 51: 52: PHP Group 53: %a 54: bool(true)