[php-src] Issue #13117: Pushing to and undefined variable should generate a Undefined variable Warning
| From: | rinu | Date: | Wed, 10 Jan 2024 15:09:50 +0000 |
| Subject: | [php-src] Issue #13117: Pushing to and undefined variable should generate a Undefined variable Warning | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246214@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13117
Author: rinu
### Description
https://3v4l.org/OPS3T
I wish there was a way to catch potential errors when pushing to an undefined variable. The above
example should not work.