Open In App

How to print out all the credits for PHP?

Last Updated : 25 Jan, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

Given a PHP document we need to print all the credits for PHP. This can be done in a number of ways like if we want to print all the credits at once we can do it by using the flag parameter CREDITS_ALL, if we only want to print the documentation credits we can do the same by using the flag parameter CREDITS_DOCS and so on.

Approach 1:

<

For printing the credits for the documentation team.

PHP




   
<?PHP
   // Printing only the documentation credits
   phpcredits(CREDITS_DOCS);
?>


Output:

PHP Credits

PHP Documentation
Authors => Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Philip Olson, Georg Richter, Damien Seguy, Jakub Vrana, Adam Harvey
Editor => Peter Cowburn
User Note Maintainers => Daniel P. Brown, Thiago Henrique Pojda
Other Contributors => Previously active authors, editors and other contributors are listed in the manual.

Approach 2:

For printing the credits for the language design and concept, PHP, and SAPI module authors.

PHP




<?php
   // Printing the credits for the language design 
   // and concept, PHP authors and SAPI module.
   phpcredits(CREDITS_GENERAL);
?>


Output:

PHP Credits

Language Design & Concept
Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger

PHP Authors
Contribution => Authors
Zend Scripting Language Engine => Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov, Xinchen Hui, Nikita Popov
Extension Module API => Andi Gutmans, Zeev Suraski, Andrei Zmievski
UNIX Build and Modularization => Stig Bakken, Sascha Schumann, Jani Taskinen
Windows Support => Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye, Anatol Belski, Kalle Sommer Nielsen
Server API (SAPI) Abstraction Layer => Andi Gutmans, Shane Caraveo, Zeev Suraski
Streams Abstraction Layer => Wez Furlong, Sara Golemon
PHP Data Objects Layer => Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky
Output Handler => Zeev Suraski, Thies C. Arntzen, Marcus Boerger, Michael Wallner
Consistent 64 bit support => Anthony Ferrara, Anatol Belski

Approach 3:

For printing credits for the core developers.

PHP




<?php
  // Printing credits for the core developers
  phpcredits(CREDITS_GROUP);
?>


Output:

PHP Credits

PHP Group
Thies C. Arntzen, Stig Bakken, Shane Caraveo, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski

Approach 4:

For printing credits for the authors of extension modules for PHP.

PHP




<?php
  // Printing credits for the authors of 
  // extension modules for PHP.
  phpcredits(CREDITS_MODULES);
?>


Output:

PHP Credits

Module Authors
Module => Authors
BC Math => Andi Gutmans
Bzip2 => Sterling Hughes
Calendar => Shane Caraveo, Colin Viebrock, Hartmut Holzgraefe, Wez Furlong
COM and .Net => Wez Furlong
ctype => Hartmut Holzgraefe
cURL => Sterling Hughes
Date/Time Support => Derick Rethans….

Approach 5:

For printing credits for authors of API modules for PHP.

PHP




<?PHP
  // Printing credits for authors of API modules for PHP.
  phpcredits(CREDITS_SAPI);
  
?>


Output:

PHP Credits

SAPI Modules
Contribution => Authors
Apache 2.0 Handler => Ian Holsman, Justin Erenkrantz (based on Apache 2.0 Filter code)
CGI / FastCGI => Rasmus Lerdorf, Stig Bakken, Shane Caraveo, Dmitry Stogov
CLI => Edin Kadribasic, Marcus Boerger, Johannes Schlueter, Moriyoshi Koizumi, Xinchen Hui
Embed => Edin Kadribasic
FastCGI Process Manager => Andrei Nigmatulin, dreamcat4, Antony Dovgal, Jerome Loyet
litespeed => George Wang
phpdbg => Felipe Pena, Joe Watkins, Bob Weinand

Approach 6:

For printing all the above credits together.

PHP




<?PHP
  // Printing all the above credits together
  phpcredits(CREDITS_ALL - CREDITS_FULLPAGE);
  
?>


Output:

PHP Credits

PHP Group
Thies C. Arntzen, Stig Bakken, Shane Caraveo, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski

Language Design & Concept
Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger

PHP Authors
Contribution => Authors
Zend Scripting Language Engine => Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov, Xinchen Hui, Nikita Popov
Extension Module API => Andi Gutmans, Zeev Suraski, Andrei Zmievski
UNIX Build and Modularization => Stig Bakken, Sascha Schumann, Jani Taskinen…..



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads