Re: Re: Backporting to 5_3
| From: | Cristian Rodriguez | Date: | Fri, 28 Mar 2008 13:58:24 +0000 |
| Subject: | Re: Re: Backporting to 5_3 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36650@lists.php.net to get a copy of this message | ||
2008/3/28, Hannes Magnusson <hannes.magnusson@gmail.com>:
> I agree.
> Any functionality removal, no matter how wtf it might be, shouldn't be merged.
> If we could however throw E_DEPRECATED there, that would be great.
I guess an E_WARNING is more appropiate
Warning : "list() only works on numerical arrays and assumes the
numerical indices start at 0. "
in case of
a) $a is not an array
b) array index is not numeric
b) the array index does not start at 0...
--
"If debugging is the process of removing bugs, then programming must
be the process of putting them in." – Edsger Dijkstra
http://www.cristianrodriguez.net