Hi,

On 8 March 2015 at 00:41, Kalle Sommer Nielsen <ka...@php.net> wrote:

> Hi
>
> 2015-03-07 16:51 GMT+01:00 reeze <re...@php.net>:
> > 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?
>
> 'm a big -1 on this, while I know it returns the memory size in a C
> perspective, I think it makes perfect sense to remain an alias, it
> would break lots of applications for a very tiny to nothing gain.
>

It is a deprecated warning I won't break code I think.

This could makes those project more maintainable (new PHP programmer could
be easier to maintain the code without surprise), and it will be trivial to
fix this. We could move things forward ;-)


>
>
>
> --
> regards,
>
> Kalle Sommer Nielsen
> ka...@php.net
>



-- 
Reeze Xia
http://reeze.cn

Reply via email to