phpcredits.phpt 463 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --TEST--
  2. phpcredits()
  3. --FILE--
  4. <?php
  5. var_dump(phpcredits());
  6. echo "--\n";
  7. var_dump(phpcredits(0));
  8. echo "--\n";
  9. var_dump(phpcredits(CREDITS_GROUP));
  10. ?>
  11. --EXPECTF--
  12. PHP Credits
  13. PHP Group
  14. %a
  15. Language Design & Concept
  16. %a
  17. %wPHP Authors%w
  18. %a
  19. %wSAPI Modules%w
  20. %a
  21. %wModule Authors%w
  22. %a
  23. %wPHP Documentation%w
  24. %a
  25. PHP Quality Assurance Team
  26. %a
  27. %wWebsites and Infrastructure team%w
  28. %a
  29. bool(true)
  30. --
  31. PHP Credits
  32. bool(true)
  33. --
  34. PHP Credits
  35. PHP Group
  36. %a
  37. bool(true)