PHP,世界上最好的语言!自从它问世以来,备受广大开发者的青睐,也有越来越多的新人跨入PHP这个行业的大门,无论是作为个人爱好,还是为了能快速找工作赚钱,PHP绝对是最佳选择!

哈哈哈,在简单夸夸PHP之后,继续本文的主题,也就是查找出PHP所有贡献者。

正如标题所述,说了一招搞定就一招搞定!

所有咱们直接上代码:

<!DOCTYPE html>
<html>
<head>
 <title></title>
</head>
<body>
<?php
// 一些代码
phpcredits(CREDITS_ALL - CREDITS_FULLPAGE);
// 一些代码
?>
</body>
</html>

运行结果:

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
ContributionAuthors
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 Port    Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye, Anatol Belski    
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    
SAPI Modules
ContributionAuthors
AOLserver    Sascha Schumann    
Apache 1.3 (apache_hooks)    Rasmus Lerdorf, Zeev Suraski, Stig Bakken, David Sklar, George Schlossnagle, Lukas Schroeder    
Apache 1.3    Rasmus Lerdorf, Zeev Suraski, Stig Bakken, David Sklar    
Apache 2.0 Filter    Sascha Schumann, Aaron Bannert    
Apache 2.0 Handler    Ian Holsman, Justin Erenkrantz (based on Apache 2.0 Filter code)    
Caudium / Roxen    David Hedbor    
CGI / FastCGI    Rasmus Lerdorf, Stig Bakken, Shane Caraveo, Dmitry Stogov    
CLI    Edin Kadribasic, Marcus Boerger, Johannes Schlueter, Moriyoshi Koizumi, Xinchen Hui    
Continuity    Alex Leigh (based on nsapi code)    
Embed    Edin Kadribasic    
FastCGI Process Manager    Andrei Nigmatulin, dreamcat4, Antony Dovgal, Jerome Loyet    
ISAPI    Andi Gutmans, Zeev Suraski    
litespeed    George Wang    
NSAPI    Jayakumar Muthukumarasamy, Uwe Schindler    
phpdbg    Felipe Pena, Joe Watkins, Bob Weinand    
phttpd    Thies C. Arntzen    
pi3web    Holger Zimmermann    
Sendmail Milter    Harald Radi    
thttpd    Sascha Schumann    
tux    Sascha Schumann    
WebJames    Alex Waugh    
Module Authors
ModuleAuthors
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    
DB-LIB (MS SQL, Sybase)    Wez Furlong, Frank M. Kromann    
DBA    Sascha Schumann, Marcus Boerger    
DOM    Christian Stocker, Rob Richards, Marcus Boerger    
enchant    Pierre-Alain Joye, Ilia Alshanetsky    
ereg    Rasmus Lerdorf, Jim Winstead, Jaakko Hyvätti    
EXIF    Rasmus Lerdorf, Marcus Boerger    
fileinfo    Ilia Alshanetsky, Pierre Alain Joye, Scott MacVicar, Derick Rethans    
Firebird driver for PDO    Ard Biesheuvel    
FTP    Stefan Esser, Andrew Skalski    
GD imaging    Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger    
GetText    Alex Plotnick    
GNU GMP support    Stanislav Malyshev    
Iconv    Rui Hirokawa, Stig Bakken, Moriyoshi Koizumi    
IMAP    Rex Logan, Mark Musone, Brian Wang, Kaj-Michael Lang, Antoni Pamies Olive, Rasmus Lerdorf, Andrew Skalski, Chuck Hagenbuch, Daniel R Kalowsky    
Input Filter    Rasmus Lerdorf, Derick Rethans, Pierre-Alain Joye, Ilia Alshanetsky    
InterBase    Jouni Ahto, Andrew Avdeev, Ard Biesheuvel    
Internationalization    Ed Batutis, Vladimir Iordanov, Dmitry Lakhtyuk, Stanislav Malyshev, Vadim Savchuk, Kirti Velankar    
JSON    Omar Kilani, Scott MacVicar    
LDAP    Amitay Isaacs, Eric Warnke, Rasmus Lerdorf, Gerrit Thomson, Stig Venaas    
LIBXML    Christian Stocker, Rob Richards, Marcus Boerger, Wez Furlong, Shane Caraveo    
mcrypt    Sascha Schumann, Derick Rethans    
MS SQL    Frank M. Kromann    
Multibyte String Functions    Tsukada Takuya, Rui Hirokawa    
MySQL driver for PDO    George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter    
MySQL    Zeev Suraski, Zak Greant, Georg Richter, Andrey Hristov    
MySQLi    Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel    
MySQLnd    Andrey Hristov, Ulf Wendel, Georg Richter, Johannes Schlüter    
OCI8    Stig Bakken, Thies C. Arntzen, Andy Sautins, David Benson, Maxim Maletsky, Harald Radi, Antony Dovgal, Andi Gutmans, Wez Furlong, Christopher Jones, Oracle Corporation    
ODBC driver for PDO    Wez Furlong    
ODBC    Stig Bakken, Andreas Karajannis, Frank M. Kromann, Daniel R. Kalowsky    
OpenSSL    Stig Venaas, Wez Furlong, Sascha Kettler, Scott MacVicar    
Oracle (OCI) driver for PDO    Wez Furlong    
pcntl    Jason Greene, Arnaud Le Blanc    
Perl Compatible Regexps    Andrei Zmievski    
PHP Archive    Gregory Beaver, Marcus Boerger    
PHP Data Objects    Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky    
PHP hash    Sara Golemon, Rasmus Lerdorf, Stefan Esser, Michael Wallner, Scott MacVicar    
Posix    Kristian Koehntopp    
PostgreSQL driver for PDO    Edin Kadribasic, Ilia Alshanetsky    
PostgreSQL    Jouni Ahto, Zeev Suraski, Yasuo Ohgaki, Chris Kings-Lynne    
Pspell    Vlad Krupin    
Readline    Thies C. Arntzen    
Recode    Kristian Koehntopp    
Reflection    Marcus Boerger, Timm Friebe, George Schlossnagle, Andrei Zmievski, Johannes Schlueter    
Sessions    Sascha Schumann, Andrei Zmievski    
Shared Memory Operations    Slava Poliakov, Ilia Alshanetsky    
SimpleXML    Sterling Hughes, Marcus Boerger, Rob Richards    
SNMP    Rasmus Lerdorf, Harrie Hazewinkel, Mike Jackson, Steven Lawrance, Johann Hanne, Boris Lytochkin    
SOAP    Brad Lafountain, Shane Caraveo, Dmitry Stogov    
Sockets    Chris Vandomelen, Sterling Hughes, Daniel Beulshausen, Jason Greene    
SPL    Marcus Boerger, Etienne Kneuss    
SQLite 3.x driver for PDO    Wez Furlong    
SQLite3    Scott MacVicar, Ilia Alshanetsky, Brad Dewar    
Sybase-CT    Zeev Suraski, Tom May, Timm Friebe    
System V Message based IPC    Wez Furlong    
System V Semaphores    Tom May    
System V Shared Memory    Christian Cartus    
tidy    John Coggeshall, Ilia Alshanetsky    
tokenizer    Andrei Zmievski, Johannes Schlueter    
WDDX    Andrei Zmievski    
XML    Stig Bakken, Thies C. Arntzen, Sterling Hughes    
XMLReader    Rob Richards    
xmlrpc    Dan Libby    
XMLWriter    Rob Richards, Pierre-Alain Joye    
XSL    Christian Stocker, Rob Richards    
Zip    Pierre-Alain Joye, Remi Collet    
Zlib    Rasmus Lerdorf, Stefan Roehrich, Zeev Suraski, Jade Nicoletti, Michael Wallner    
PHP Documentation
Authors    Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Georg Richter, Damien Seguy, Jakub Vrana, Adam Harvey, Peter Cowburn    
Editor    Philip Olson    
User Note Maintainers    Daniel P. Brown, Thiago Henrique Pojda    
Other Contributors    Previously active authors, editors and other contributors are listed in the manual.    
PHP Quality Assurance Team
Ilia Alshanetsky, Joerg Behrens, Antony Dovgal, Stefan Esser, Moriyoshi Koizumi, Magnus Maatta, Sebastian Nohn, Derick Rethans, Melvyn Sopacua, Jani Taskinen, Pierre-Alain Joye, Dmitry Stogov, Felipe Pena, David Soria Parra, Stanislav Malyshev, Julien Pauli, Stephen Zarkos, Anatol Belski, Remi Collet, Ferenc Kovacs    
Websites and Infrastructure team
PHP Websites Team    Rasmus Lerdorf, Hannes Magnusson, Philip Olson, Lukas Kahwe Smith, Pierre-Alain Joye, Kalle Sommer Nielsen, Peter Cowburn, Adam Harvey, Ferenc Kovacs, Levi Morrison    
Event Maintainers    Damien Seguy, Daniel P. Brown    
Network Infrastructure    Daniel P. Brown    
Windows Infrastructure    Alex Schoenmaker

以上就是贡献者名单啦!

这里的一招就是指“phpcredits(CREDITS_ALL - CREDITS_FULLPAGE);”。

下面给大家简单介绍下phpcredits函数:

phpcredits函数就是用来打印 PHP 贡献者名单的;

其语法是“phpcredits(int $flag = CREDITS_ALL): bool”,这个函数可以打印出PHP 开发者、模块等贡献者名单。 它能生成了合适、可嵌入信息到页面中的 HTML 代码。

参数$flag信息:

CREDITS_ALL:所有贡献者,等同于使用: CREDITS_DOCS + CREDITS_GENERAL + CREDITS_GROUP + CREDITS_MODULES + CREDITS_FULLPAGE。 它以适当的标签产生了完整独立的 HTML 页面。
CREDITS_DOCS:文档组贡献名单
CREDITS_FULLPAGE:常用于和其他标志进行组合。 表示需要打印包含其他标志表示信息的独立 HTML 页面。
CREDITS_GENERAL:普遍名单:语言设计与理念、PHP作者以及 SAPI 模块。
CREDITS_GROUP:核心开发者名单
CREDITS_MODULES:PHP 扩展模块以及它们的作者的清单
CREDITS_SAPI:PHP 的服务器 API 模块以及他们的作者的清单

最后给大家推荐最新最全面的《PHP视频教程》~快来学习吧!

以上就是一招教你快速找到PHP的所有贡献者!的详细内容,更多请关注亿码酷站其它相关文章!


一招教你快速找到PHP的所有贡献者!
—–文章转载自PHP中文网如有侵权请联系ymkuzhan@126.com删除

云服务器推荐