PHP error category

PHP Version Compatibility

Cross-version migration failures.

PHP Version Compatibility errors arise when cross-version migration failures affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.

The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.

Guides in this category

Title Pattern Severity
Application requires a newer PHP runtime This application requires PHP %s or newer. You are running %s. fatal
New PHP syntax used on an older runtime Parse error: syntax error, unexpected token "%s" in %s on line %d fatal
Parse error: syntax error, unexpected token Parse error: syntax error, unexpected token "%s" in %s on line %d parse

Helpful tools