diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-22 14:33:49 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-22 14:34:21 +0100 |
commit | 1d2bbce532a4383210e97ce6b00e210ef2cbaae7 (patch) | |
tree | 896d90e9514d80a68980e9338b21ca83ed1d8491 /sapi/cli/php_cli.c | |
parent | 6dcd640f35a88bfc0f07b056ef47e2ff9c366ffc (diff) | |
parent | 073b6ea818286fe838097d49f92ae379d5f217f0 (diff) | |
download | php-git-1d2bbce532a4383210e97ce6b00e210ef2cbaae7.tar.gz |
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index d28f5a5378..330c91d58b 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -627,7 +627,7 @@ static int do_cli(int argc, char **argv) /* {{{ */ goto err; } request_started = 1; - php_print_info(0xFFFFFFFF); + php_print_info(PHP_INFO_ALL & ~PHP_INFO_CREDITS); php_output_end_all(); EG(exit_status) = (c == '?' && argc > 1 && !strchr(argv[1], c)); goto out; |