php-debugbar
php-debugbar copied to clipboard
Truncate long PHP version number

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.
Fixed on https://github.com/maximebf/php-debugbar/commit/fe37f04898c33b4c0d13f461879244ddff7c23a2