Re: [VOTE] Reclassifying engine warnings
| From: | Christoph M. Becker | Date: | Tue, 15 Oct 2019 10:31:16 +0000 |
| Subject: | Re: [VOTE] Reclassifying engine warnings | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107550@lists.php.net to get a copy of this message | ||
On 15.10.2019 at 10:27, Gert wrote:
> I may be a bit late to this party, but will the promotion to error
> exception of illegal offsets also happen for using resources as array
> keys? These currently produce a notice, and are then casted to an
> integer: https://3v4l.org/cQ8hf
> Or will the behaviour of that remain the same?
Only objects and arrays will throw; resources are promoted from E_NOTICE
to E_WARNING.
--
Christoph M. Becker