On 29.01.2017 at 20:33, Rowan Collins wrote:
> Currently, if the constant FROB_ACTIVE is not defined, the code "echo
> FROB_ACTIVE;" results in an E_NOTICE and the string 'FROB_ACTIVE' being
> displayed. I would like to propose that this be changed to an E_WARNING
> in PHP 7.2, and to an Error in P
On 29/01/2017 19:33, Rowan Collins wrote:
Currently, if the constant FROB_ACTIVE is not defined, the code "echo
FROB_ACTIVE;" results in an E_NOTICE and the string 'FROB_ACTIVE'
being displayed. I would like to propose that this be changed to an
E_WARNING in PHP 7.2, and to an Error in PHP 8.0.
Great! We can get rid of one of the most ridiculed "features" of the
language :D
http://php.net/manual/en/language.types.array.php#language.types.array.donts
"This is wrong, but it works."