[php-src] master: ext/standard: Fix `phpcredits()` QA team heading alignment (#22501)

Weilin Du via GitHub <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Weilin Du (LamentXU123)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-07-01T01:35:35+08:00

Commit: https://github.com/php/php-src/commit/a1b81e560f91e616ada152ae9a2735c9fd6fce2e
Raw diff: https://github.com/php/php-src/commit/a1b81e560f91e616ada152ae9a2735c9fd6fce2e.diff

ext/standard: Fix `phpcredits()` QA team heading alignment (#22501)

The QA team title isn't centered correctly in phpcredits().

This PR fix this.

Changed paths:
  M  ext/standard/credits.c
  M  ext/standard/tests/general_functions/phpcredits.phpt


Diff:

diff --git a/ext/standard/credits.c b/ext/standard/credits.c
index 2b38cbf3b4e9..1fc74d72db35 100644
--- a/ext/standard/credits.c
+++ b/ext/standard/credits.c
@@ -99,7 +99,7 @@ PHPAPI ZEND_COLD void php_print_credits(int flag) /* {{{ */
 
 	if (flag & PHP_CREDITS_QA) {
 		php_info_print_table_start();
-		php_info_print_table_header(1, "PHP Quality Assurance Team");
+		php_info_print_table_colspan_header(1, "PHP Quality Assurance Team");
 		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");
 		php_info_print_table_end();
 	}
diff --git a/ext/standard/tests/general_functions/phpcredits.phpt b/ext/standard/tests/general_functions/phpcredits.phpt
index dfcddc61f39d..347f3018d49a 100644
--- a/ext/standard/tests/general_functions/phpcredits.phpt
+++ b/ext/standard/tests/general_functions/phpcredits.phpt
@@ -33,7 +33,7 @@ Language Design & Concept
 %wPHP Documentation%w
 %a
 
-PHP Quality Assurance Team
+%wPHP Quality Assurance Team%w
 %a
 
 %wWebsites and Infrastructure team%w
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.