Disable autovivification on false

From: Date: Tue, 25 May 2021 16:23:00 +0000
Subject: Disable autovivification on false
Groups: php.internals 
Request: Send a blank email to internals+get-114595@lists.php.net to get a copy of this message
Hi Internals, I'd like to start a discussion on the following RFC https://wiki.php.net/rfc/autovivification_false Particularly, I am looking for opinions on whether this behaviour should be left alone, should be disabled on false, or should be disabled on null and false, and left only for undefined variables. Autovivification is very useful in PHP, especially with multidimensional arrays and loops. However, the question is should we allow it on false and null values going forward. Kind Regards, Kamil Tekiela

« previous php.internals (#114595) next »