diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-22 14:34:45 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-22 14:34:45 +0100 |
commit | d03be8bf8613571965ec5c033f6dcd607346352a (patch) | |
tree | af92060ba144aaab00bb41e60a4cb4113ed7f16f /sapi | |
parent | 59d030c55b6515e448d324bf0f97189aefc554bc (diff) | |
parent | 1d2bbce532a4383210e97ce6b00e210ef2cbaae7 (diff) | |
download | php-git-d03be8bf8613571965ec5c033f6dcd607346352a.tar.gz |
Merge branch 'PHP-8.0'
* PHP-8.0:
Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI
Diffstat (limited to 'sapi')
-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 3c1fae1924..472ce013ea 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -632,7 +632,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; |