Article
Deprecated PHP Features Hub
Track deprecations that become fatals later: dynamic properties, null parameters, utf8_encode/decode, and how to clear them in CI.
Deprecations are the courtesy notices before a future fatal. Teams that ignore them on PHP 8.1/8.2 discover breakages only when a host quietly moves them forward. This hub routes the deprecations that dominate modernization queues.
Feature guides
- Dynamic properties (PHP 8.2)
- Null passed to non-nullable parameters (PHP 8.1)
- utf8_encode / utf8_decode (PHP 8.2)
Operational pattern
- Run staging with
E_ALLand log deprecations to a dedicated channel. - Fail CI when new deprecations appear on touched paths.
- Confirm with PHP Deprecated Checker.
- Cross-link runtime text via deprecated dynamic property and passing null deprecated.
See also removed functions (already fatal) and the version migration center.
Related scanners: PHP Version Compatibility Checker · PHP Deprecated Checker.
Related reading
- Composer Modernization Center Add Composer to legacy PHP projects, migrate includes to autoloading, set platform constraints, and replace a…
- PHP 5 to Modern PHP: Complete Incremental Migration Guide A deep, production-minded path from PHP 5.x codebases to supported PHP 8.x: removed extensions, charset, PDO,…
- PHP Security Modernization for Legacy Applications Upgrade inherited PHP security practices: prepared statements, password hashing, sessions, CSRF, XSS escaping…
- PHP 7 to PHP 8 Migration Guide Deep guide to PHP 8.0 breaking changes that matter for PHP 7 applications, with upgrade tactics through suppo…
- Inheriting a Legacy PHP Application A first-30-days playbook for developers handed an unfamiliar PHP codebase: runtime truth, risk triage, and sa…