Re: [Discussion] Deprecate function sizeof()
| From: | Stanislav Malyshev | Date: | Sat, 07 Mar 2015 20:41:43 +0000 |
| Subject: | Re: [Discussion] Deprecate function sizeof() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84415@lists.php.net to get a copy of this message | ||
Hi!
> 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.
Why? So, some people are wrong, why we need to mess with the language to
accommodate them?
I don't think it is a good idea.
--
Stas Malyshev
smalyshev@gmail.com