Tool to determine PHP version compliance - Stack Overflow
How to check PHP version?
What is a good tool to check codebase compatibility with PHP 8?
Do what our cto did, just put v8 on the server and composer, push and see what smells bad.
What a fun week that was.
More on reddit.comHow can I check a large PHP5 codebase for PHP7 incompatibilities?
My approach: Clone your codebase onto a VM, install PHP 7, run your test suite.
More on reddit.comVideos
There was PHP_CompatInfo for this. It's outdated now, but was intended specifically for probing scripts against compatibility lists.
The new PHP_CompatInfo 2 with PHP_Reflect are worth investigating however. On Github: https://github.com/llaville/php-compat-info
You can run a PHP server locally with the version you require and just install your software there.
hi, I'm new to PHP.
I want to change display_errors to On for debugging, but see many PHP versions installed.
I thought going to http://localhost/first/index.php?language=English&page=phpinfo would give me the version , but it just renders the regular index page.
Ty.