/src/php-src/ext/standard/credits.c
Line | Count | Source |
1 | | /* |
2 | | +----------------------------------------------------------------------+ |
3 | | | Copyright © The PHP Group and Contributors. | |
4 | | +----------------------------------------------------------------------+ |
5 | | | This source file is subject to the Modified BSD License that is | |
6 | | | bundled with this package in the file LICENSE, and is available | |
7 | | | through the World Wide Web at <https://www.php.net/license/>. | |
8 | | | | |
9 | | | SPDX-License-Identifier: BSD-3-Clause | |
10 | | +----------------------------------------------------------------------+ |
11 | | | Authors: Rasmus Lerdorf <rasmus@php.net> | |
12 | | | Zeev Suraski <zeev@php.net> | |
13 | | +----------------------------------------------------------------------+ |
14 | | */ |
15 | | |
16 | | #include "php.h" |
17 | | #include "info.h" |
18 | | #include "SAPI.h" |
19 | | |
20 | 270 | #define CREDIT_LINE(module, authors) php_info_print_table_row(2, module, authors) |
21 | | |
22 | | PHPAPI ZEND_COLD void php_print_credits(int flag) /* {{{ */ |
23 | 3 | { |
24 | 3 | if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) { |
25 | 0 | php_print_info_htmlhead(); |
26 | 0 | } |
27 | | |
28 | 3 | if (!sapi_module.phpinfo_as_text) { |
29 | 0 | PUTS("<h1>PHP Credits</h1>\n"); |
30 | 3 | } else { |
31 | 3 | PUTS("PHP Credits\n"); |
32 | 3 | } |
33 | | |
34 | 3 | if (flag & PHP_CREDITS_GROUP) { |
35 | | /* Group */ |
36 | | |
37 | 3 | php_info_print_table_start(); |
38 | 3 | php_info_print_table_header(1, "PHP Group"); |
39 | 3 | 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"); |
40 | 3 | php_info_print_table_end(); |
41 | 3 | } |
42 | | |
43 | 3 | if (flag & PHP_CREDITS_GENERAL) { |
44 | | /* Design & Concept */ |
45 | 3 | php_info_print_table_start(); |
46 | 3 | if (!sapi_module.phpinfo_as_text) { |
47 | 0 | php_info_print_table_header(1, "Language Design & Concept"); |
48 | 3 | } else { |
49 | 3 | php_info_print_table_header(1, "Language Design & Concept"); |
50 | 3 | } |
51 | 3 | php_info_print_table_row(1, "Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger"); |
52 | 3 | php_info_print_table_end(); |
53 | | |
54 | | /* PHP Language */ |
55 | 3 | php_info_print_table_start(); |
56 | 3 | php_info_print_table_colspan_header(2, "PHP Authors"); |
57 | 3 | php_info_print_table_header(2, "Contribution", "Authors"); |
58 | 3 | CREDIT_LINE("Zend Scripting Language Engine", "Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov, Xinchen Hui, Nikita Popov"); |
59 | 3 | CREDIT_LINE("Extension Module API", "Andi Gutmans, Zeev Suraski, Andrei Zmievski"); |
60 | 3 | CREDIT_LINE("UNIX Build and Modularization", "Stig Bakken, Sascha Schumann, Jani Taskinen, Peter Kokot"); |
61 | 3 | CREDIT_LINE("Windows Support", "Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye, Anatol Belski, Kalle Sommer Nielsen"); |
62 | 3 | CREDIT_LINE("Server API (SAPI) Abstraction Layer", "Andi Gutmans, Shane Caraveo, Zeev Suraski"); |
63 | 3 | CREDIT_LINE("Streams Abstraction Layer", "Wez Furlong, Sara Golemon"); |
64 | 3 | CREDIT_LINE("PHP Data Objects Layer", "Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky"); |
65 | 3 | CREDIT_LINE("Output Handler", "Zeev Suraski, Thies C. Arntzen, Marcus Boerger, Michael Wallner"); |
66 | 3 | CREDIT_LINE("Consistent 64 bit support", "Anthony Ferrara, Anatol Belski"); |
67 | 3 | php_info_print_table_end(); |
68 | 3 | } |
69 | | |
70 | 3 | if (flag & PHP_CREDITS_SAPI) { |
71 | | /* SAPI Modules */ |
72 | | |
73 | 3 | php_info_print_table_start(); |
74 | 3 | php_info_print_table_colspan_header(2, "SAPI Modules"); |
75 | 3 | php_info_print_table_header(2, "Contribution", "Authors"); |
76 | 3 | #include "credits_sapi.h" |
77 | 3 | php_info_print_table_end(); |
78 | 3 | } |
79 | | |
80 | 3 | if (flag & PHP_CREDITS_MODULES) { |
81 | | /* Modules */ |
82 | | |
83 | 3 | php_info_print_table_start(); |
84 | 3 | php_info_print_table_colspan_header(2, "Module Authors"); |
85 | 3 | php_info_print_table_header(2, "Module", "Authors"); |
86 | 3 | #include "credits_ext.h" |
87 | 3 | php_info_print_table_end(); |
88 | 3 | } |
89 | | |
90 | 3 | if (flag & PHP_CREDITS_DOCS) { |
91 | 3 | php_info_print_table_start(); |
92 | 3 | php_info_print_table_colspan_header(2, "PHP Documentation"); |
93 | 3 | CREDIT_LINE("Authors", "Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Philip Olson, Georg Richter, Damien Seguy, Jakub Vrana, Adam Harvey"); |
94 | 3 | CREDIT_LINE("Editor", "Peter Cowburn"); |
95 | 3 | CREDIT_LINE("User Note Maintainers", "Daniel P. Brown, Thiago Henrique Pojda"); |
96 | 3 | CREDIT_LINE("Other Contributors", "Previously active authors, editors and other contributors are listed in the manual."); |
97 | 3 | php_info_print_table_end(); |
98 | 3 | } |
99 | | |
100 | 3 | if (flag & PHP_CREDITS_QA) { |
101 | 3 | php_info_print_table_start(); |
102 | 3 | php_info_print_table_header(1, "PHP Quality Assurance Team"); |
103 | 3 | 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"); |
104 | 3 | php_info_print_table_end(); |
105 | 3 | } |
106 | | |
107 | 3 | if (flag & PHP_CREDITS_WEB) { |
108 | | /* Websites and infrastructure */ |
109 | | |
110 | 3 | php_info_print_table_start(); |
111 | 3 | php_info_print_table_colspan_header(2, "Websites and Infrastructure team"); |
112 | | /* www., wiki., windows., master., and others, I guess pecl. too? */ |
113 | 3 | 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"); |
114 | 3 | CREDIT_LINE("Event Maintainers", "Damien Seguy, Daniel P. Brown"); |
115 | | /* Mirroring */ |
116 | 3 | CREDIT_LINE("Network Infrastructure", "Daniel P. Brown"); |
117 | | /* Windows build boxes and such things */ |
118 | 3 | CREDIT_LINE("Windows Infrastructure", "Alex Schoenmaker"); |
119 | 3 | php_info_print_table_end(); |
120 | 3 | } |
121 | | |
122 | 3 | if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) { |
123 | 0 | PUTS("</div></body></html>\n"); |
124 | 0 | } |
125 | 3 | } |
126 | | /* }}} */ |