Data Source Analysed
Directories 1
Files 1
Extensions Analysis
Extension Matches REF EXT min/Max PHP min/Max PHP all
Core Core 4.0.0 4.0.0
Total [1] 4.0.0
Namespaces Analysis
Namespace Matches REF EXT min/Max PHP min/Max PHP all
+global Core 5.6.0
Total [1] 5.6.0
No interface found
No trait found
No class found
No function found
Constants Analysis
Constant Matches REF EXT min/Max PHP min/Max
FOO 1 user 5.6.0
null 1 Core 4.0.0 4.0.0
Total [2] 5.6.0
No condition found
Requires PHP 5.6.0 (min), PHP 5.6.0 (all)
Consider the following PHP file:
Running
php phpcompatinfo-5.0.4.phar analyser:run .
yields:However, this syntax is valid as of PHP 5.3.0.
Note that
const FOO = false;
andconst FOO = true;
are also erroneously reported to require at least PHP 5.6.0.