]> granicus.if.org Git - php/commit
Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 22 Feb 2021 11:24:15 +0000 (12:24 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 22 Feb 2021 13:31:51 +0000 (14:31 +0100)
commit073b6ea818286fe838097d49f92ae379d5f217f0
tree3c184757547e5b3d1993fc613813f1365ab1c1ed
parentd7c98ca1ac10ee0461f332f21e548649dc0e51c9
Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI

There is no good reason not to show the credits in text based SAPIs,
except for brevity.  Thus, we suppress the credits from `php -i`.

Closes GH-6710.
NEWS
ext/standard/info.c
ext/standard/tests/general_functions/bug80771.phpt [new file with mode: 0644]
sapi/cli/php_cli.c