php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80771 phpinfo(INFO_CREDITS) displays nothing in CLI
Submitted: 2021-02-18 16:22 UTC Modified: 2021-02-18 17:26 UTC
From: youkidearitai at gmail dot com Assigned: cmb (profile)
Status: Closed Package: CGI/CLI related
PHP Version: 7.4 OS:
Private report: No CVE-ID: None
 [2021-02-18 16:22 UTC] youkidearitai at gmail dot com
Description:
------------
phpinfo(INFO_CREDITS) is not display anything in cli mode.
I think expected result is same of phpcredits().

Test script:
---------------
$ php -r 'phpinfo(INFO_CREDITS);'

Expected result:
----------------
phpinfo()

// omitted below. same result of phpcredits(). 

Actual result:
--------------
phpinfo()

Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-18 17:26 UTC] cmb@php.net
-Summary: phpinfo(INFO_CREDITS) nothing display in CLI +Summary: phpinfo(INFO_CREDITS) displays nothing in CLI -Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2021-02-18 17:26 UTC] cmb@php.net
-PHP Version: 8.0.2 +PHP Version: 7.4
 [2021-02-18 17:29 UTC] cmb@php.net
The following pull request has been associated:

Patch Name: Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI
On GitHub:  https://github.com/php/php-src/pull/6710
Patch:      https://github.com/php/php-src/pull/6710.patch
 [2021-02-22 13:36 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=073b6ea818286fe838097d49f92ae379d5f217f0
Log: Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI
 [2021-02-22 13:36 UTC] cmb@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Aug 01 05:01:24 2021 UTC