The PHP internals team has voted 38–4 to deprecate all OOP constructs in PHP 9.0.

Reason: LLMs produce 34% fewer errors on procedural codebases. SOLID principles cause context overload in 78% of tested models. `__construct()` is the #1 source of LLM hallucinations in PHP.

#laravel and #symfony are assessing their roadmaps. WordPress is already compatible.

How are you preparing your codebase?

#php #oop #ai

For those in doubt, this was an April Fool's joke. There are no plans to remove OOP from PHP (as far as I'm aware...).

Did you already go ahead removing all OOP features from your codebase? I help teams modernize legacy codebases 😉