Article
Removed PHP Functions Hub
Index of high-impact PHP functions and extensions removed from the language, with migration targets and scanners.
When a function disappears from PHP, CI fails loudly: Call to undefined function …. This hub collects the removals that dominate legacy modernization work. Prefer official migration appendices over folklore.
High-impact removals
- mysql_connect · mysql_query · mysql_real_escape_string — ext/mysql gone in 7.0
- ereg · split — POSIX regex removed in 7.0
- mcrypt_encrypt — ext/mcrypt removed in 7.2
- each · create_function · money_format — removed in 8.0
How to use this hub
- Grep the codebase for the symbols above.
- Open the matching detail page for replacement patterns.
- Confirm with compatibility checker.
- Map runtime fatals via PHP Errors (for example mysql_connect removed).
Parent: PHP 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…