No More Class _

no-email (Damien Seguy), Damien Seguy
Thu, 23 Jan 2025 00:00:00 +0000

Naming a class ``_`` has been deprecated in PHP 8.4.
Luckily, that name is still available for functions and constants, which gives this beauty.
There is already a PHP extension function called ``_``, which is an alias of gettext(), from the gettext extension (sic). If you try this at home, avoid loading that extension, disable the ``_()`` with disable_function, or call it ``__()``.