Re: [VOTE] Undefined Variable Error Promotion
| From: | Christian Schneider | Date: | Wed, 16 Mar 2022 08:42:58 +0000 |
| Subject: | Re: [VOTE] Undefined Variable Error Promotion | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117343@lists.php.net to get a copy of this message | ||
Am 15.03.2022 um 20:07 schrieb Miguel Rosales <mrosalessueiro@gmail.com>:
> Christoph M. Becker wrote on 15/3/22 19:17:
>> That explicitly excludes undefined array indexes, and apparently also
>> excludes undefined properties (which raise "Warning: Undefined property:")
>>
> AFAIU error promotion for undefined properties has already been covered by the Deprecate
> Dynamic Properties RFC
> <https://wiki.php.net/rfc/deprecate_dynamic_properties
> <https://wiki.php.net/rfc/deprecate_dynamic_properties>>,
> which will start throwing errors in 9.0.
That RFC covers the *creation* of undefined properties, not the *reading* of undefined properties.
- Chris