Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Feb 18, 2021

There is no good reason not to show the credits in text based SAPIs.

There is no good reason not to show the credits in text based SAPIs.
@cmb69 cmb69 added the Bug label Feb 18, 2021
@nikic
Copy link
Member

nikic commented Feb 18, 2021

Looks like this behavior dates all the way back to 6676617.

@cmb69
Copy link
Member Author

cmb69 commented Feb 19, 2021

Looks like this behavior dates all the way back to 6676617.

Indeed. phpcredits() has been made compatible with text based SAPIs with ddf3f9b, but apparently it had been overlooked to add the credits to the output of phpinfo().

Anyhow, given this long standing behavior, might be better to fix for PHP-8.0 or "master" only?

@nikic
Copy link
Member

nikic commented Feb 22, 2021

I suspect that the reason why this is omitted, it to make the output more compact (which matters a bit more on CLI than web). I do think we should be showing the full output for phpinfo() though. However, might it make sense to remove the CREDITS flag from php -i?

@cmb69
Copy link
Member Author

cmb69 commented Feb 22, 2021

However, might it make sense to remove the CREDITS flag from php -i?

Yes, that makes sense.

@php-pulls php-pulls closed this in 073b6ea Feb 22, 2021
@cmb69 cmb69 deleted the cmb/80771 branch February 22, 2021 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants