credits.c 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Copyright (c) The PHP Group |
  4. +----------------------------------------------------------------------+
  5. | This source file is subject to version 3.01 of the PHP license, |
  6. | that is bundled with this package in the file LICENSE, and is |
  7. | available through the world-wide-web at the following url: |
  8. | https://www.php.net/license/3_01.txt |
  9. | If you did not receive a copy of the PHP license and are unable to |
  10. | obtain it through the world-wide-web, please send a note to |
  11. | license@php.net so we can mail you a copy immediately. |
  12. +----------------------------------------------------------------------+
  13. | Authors: Rasmus Lerdorf <rasmus@php.net> |
  14. | Zeev Suraski <zeev@php.net> |
  15. +----------------------------------------------------------------------+
  16. */
  17. #include "php.h"
  18. #include "info.h"
  19. #include "SAPI.h"
  20. #define CREDIT_LINE(module, authors) php_info_print_table_row(2, module, authors)
  21. PHPAPI ZEND_COLD void php_print_credits(int flag) /* {{{ */
  22. {
  23. if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
  24. php_print_info_htmlhead();
  25. }
  26. if (!sapi_module.phpinfo_as_text) {
  27. PUTS("<h1>PHP Credits</h1>\n");
  28. } else {
  29. PUTS("PHP Credits\n");
  30. }
  31. if (flag & PHP_CREDITS_GROUP) {
  32. /* Group */
  33. php_info_print_table_start();
  34. php_info_print_table_header(1, "PHP Group");
  35. php_info_print_table_row(1, "Thies C. Arntzen, Stig Bakken, Shane Caraveo, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski");
  36. php_info_print_table_end();
  37. }
  38. if (flag & PHP_CREDITS_GENERAL) {
  39. /* Design & Concept */
  40. php_info_print_table_start();
  41. if (!sapi_module.phpinfo_as_text) {
  42. php_info_print_table_header(1, "Language Design &amp; Concept");
  43. } else {
  44. php_info_print_table_header(1, "Language Design & Concept");
  45. }
  46. php_info_print_table_row(1, "Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger");
  47. php_info_print_table_end();
  48. /* PHP Language */
  49. php_info_print_table_start();
  50. php_info_print_table_colspan_header(2, "PHP Authors");
  51. php_info_print_table_header(2, "Contribution", "Authors");
  52. CREDIT_LINE("Zend Scripting Language Engine", "Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov, Xinchen Hui, Nikita Popov");
  53. CREDIT_LINE("Extension Module API", "Andi Gutmans, Zeev Suraski, Andrei Zmievski");
  54. CREDIT_LINE("UNIX Build and Modularization", "Stig Bakken, Sascha Schumann, Jani Taskinen, Peter Kokot");
  55. CREDIT_LINE("Windows Support", "Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye, Anatol Belski, Kalle Sommer Nielsen");
  56. CREDIT_LINE("Server API (SAPI) Abstraction Layer", "Andi Gutmans, Shane Caraveo, Zeev Suraski");
  57. CREDIT_LINE("Streams Abstraction Layer", "Wez Furlong, Sara Golemon");
  58. CREDIT_LINE("PHP Data Objects Layer", "Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky");
  59. CREDIT_LINE("Output Handler", "Zeev Suraski, Thies C. Arntzen, Marcus Boerger, Michael Wallner");
  60. CREDIT_LINE("Consistent 64 bit support", "Anthony Ferrara, Anatol Belski");
  61. php_info_print_table_end();
  62. }
  63. if (flag & PHP_CREDITS_SAPI) {
  64. /* SAPI Modules */
  65. php_info_print_table_start();
  66. php_info_print_table_colspan_header(2, "SAPI Modules");
  67. php_info_print_table_header(2, "Contribution", "Authors");
  68. #include "credits_sapi.h"
  69. php_info_print_table_end();
  70. }
  71. if (flag & PHP_CREDITS_MODULES) {
  72. /* Modules */
  73. php_info_print_table_start();
  74. php_info_print_table_colspan_header(2, "Module Authors");
  75. php_info_print_table_header(2, "Module", "Authors");
  76. #include "credits_ext.h"
  77. php_info_print_table_end();
  78. }
  79. if (flag & PHP_CREDITS_DOCS) {
  80. php_info_print_table_start();
  81. php_info_print_table_colspan_header(2, "PHP Documentation");
  82. CREDIT_LINE("Authors", "Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Philip Olson, Georg Richter, Damien Seguy, Jakub Vrana, Adam Harvey");
  83. CREDIT_LINE("Editor", "Peter Cowburn");
  84. CREDIT_LINE("User Note Maintainers", "Daniel P. Brown, Thiago Henrique Pojda");
  85. CREDIT_LINE("Other Contributors", "Previously active authors, editors and other contributors are listed in the manual.");
  86. php_info_print_table_end();
  87. }
  88. if (flag & PHP_CREDITS_QA) {
  89. php_info_print_table_start();
  90. php_info_print_table_header(1, "PHP Quality Assurance Team");
  91. php_info_print_table_row(1, "Ilia Alshanetsky, Joerg Behrens, Antony Dovgal, Stefan Esser, Moriyoshi Koizumi, Magnus Maatta, Sebastian Nohn, Derick Rethans, Melvyn Sopacua, Pierre-Alain Joye, Dmitry Stogov, Felipe Pena, David Soria Parra, Stanislav Malyshev, Julien Pauli, Stephen Zarkos, Anatol Belski, Remi Collet, Ferenc Kovacs");
  92. php_info_print_table_end();
  93. }
  94. if (flag & PHP_CREDITS_WEB) {
  95. /* Websites and infrastructure */
  96. php_info_print_table_start();
  97. php_info_print_table_colspan_header(2, "Websites and Infrastructure team");
  98. /* www., wiki., windows., master., and others, I guess pecl. too? */
  99. CREDIT_LINE("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");
  100. CREDIT_LINE("Event Maintainers", "Damien Seguy, Daniel P. Brown");
  101. /* Mirroring */
  102. CREDIT_LINE("Network Infrastructure", "Daniel P. Brown");
  103. /* Windows build boxes and such things */
  104. CREDIT_LINE("Windows Infrastructure", "Alex Schoenmaker");
  105. php_info_print_table_end();
  106. }
  107. if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
  108. PUTS("</div></body></html>\n");
  109. }
  110. }
  111. /* }}} */