Am 25.05.2021 um 18:23 schrieb Kamil Tekiela <tekiela...@gmail.com>: > 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.
I feel like a broken record, but I have to say it (again): Please add an E_WARNING step before changing something that used to be silent to an error. For easier migration. Thanks, - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php