您好,登錄后才能下訂單哦!
這篇文章主要介紹如何快速找到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的所有貢獻者”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。