Re: [Discussion] Deprecate function sizeof()
| From: | Pierre Joye | Date: | Sun, 08 Mar 2015 22:44:24 +0000 |
| Subject: | Re: [Discussion] Deprecate function sizeof() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84447@lists.php.net to get a copy of this message | ||
On Sun, Mar 8, 2015 at 2:51 AM, reeze <reeze@php.net> wrote:
> Hi internals,
>
> I'd like to deprecate function: sizeof() [1][2], which is an alias of
> count(). some people
> expect it return the memory size of the variable.
>
> The doc page's[1] user contributed notes indicate that too.
>
> What do you think?
As I tend to like the idea to cleanup things, adding warning and
deprecation warnings for the sake of it is not too appealing to me.
Especially for this kind of things.
Cheers,
--
Pierre
@pierrejoye | http://www.libgd.org