Re: [VOTE] Deprecate autovivification on false
| From: | Kamil Tekiela | Date: | Fri, 11 Jun 2021 12:13:49 +0000 |
| Subject: | Re: [VOTE] Deprecate autovivification on false | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-114829@lists.php.net to get a copy of this message | ||
Hi Dmitry,
Thanks for voicing your concerns.
I have started writing implementation and it is definitely challenging for
me, because I am not that experienced with PHP internals yet.
https://github.com/php/php-src/pull/7131
Almost every implementation requires some amount of work. I would like to
ask you for more details on why you think this particular change is
infeasible. Do you see any problems that the implementation of this
deprecation message would cause? Would it be better to wait for PHP 9.0 and
remove it without deprecation?
As I see it, we already have an error for other scalar types. For false, we
will just need to throw a deprecation notice in the same places. It doesn't
require a major rewrite of PHP engine from what I can tell.
Regards,
Kamil