Re: Disable autovivification on false

From: Date: Sat, 05 Jun 2021 20:35:13 +0000
Subject: Re: Disable autovivification on false
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-114744@lists.php.net to get a copy of this message
On 05/06/2021 20:50, Kamil Tekiela wrote:
However, I would still like to hear from you whether you use autovivification from false and/or null in your projects. So far, I was not able to identify when this would be useful in real-life scenarios.
As per the RFC: "In PHP 8.1, appending to a variable of type false will throw a deprecation error" You might want to clarify this language, throwing an error is understood to have a specific meaning in PHP, and it's not what it's doing here. Mark Randall

Thread (11 messages)

« previous php.internals (#114744) next »