php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

Truncate long PHP version number

Open robbieaverill opened this issue 6 years ago • 1 comments

image

This comes from using PHP_VERSION constant, which can contain "extra" information such as in the screenshot above.

We've extended the PhpInfoCollector and trimmed the trailing information off in our project, but I felt like that would be too opinionated to simply PR directly back here.

How would we feel about doing it here? If we trim the extra parts off, would we like it to be a configurable thing? Should it trim by default?

I'm happy to make a pull request for it.

robbieaverill avatar Apr 05 '19 02:04 robbieaverill

Fixed on https://github.com/maximebf/php-debugbar/commit/fe37f04898c33b4c0d13f461879244ddff7c23a2

parallels999 avatar Sep 27 '23 21:09 parallels999