Re: Bug 28879: Populating arrays with resources and objects as offsets
| From: | Derrell dot Lipman at UnwiredUniverse dot com | Date: | Tue, 22 Jun 2004 17:22:15 +0000 |
| Subject: | Re: Bug 28879: Populating arrays with resources and objects as offsets | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10717@lists.php.net to get a copy of this message | ||
"Sara Golemon" <pollita@php.net> writes:
> Here my reservation would be in throwing errors where there previously
> wasn't one (this would apply to both Objects and Arrays as offsets).
Prior to release of PHP5 is most certainly the right time to make this sort of
change. There are already other PHP code changes required when porting to
PHP5, so adding warnings/errors where they didn't exist previously, to
indicate an undocumented "feature" that was (likely) being misused, is fine
IMHO. Fixing that sort of thing will become part of the porting process to
PHP5, and will possibly avert a hidden bug.
Derrell