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