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

Operational pattern

  1. Run staging with E_ALL and log deprecations to a dedicated channel.
  2. Fail CI when new deprecations appear on touched paths.
  3. Confirm with PHP Deprecated Checker.
  4. 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