[Discussion] Deprecate function sizeof()

From: Date: Sat, 07 Mar 2015 15:51:41 +0000
Subject: [Discussion] Deprecate function sizeof()
Groups: php.internals 
Request: Send a blank email to internals+get-84403@lists.php.net to get a copy of this message
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? ---- [1] http://php.net/sizeof [2] https://github.com/php/php-src/pull/1161 [3] http://stackoverflow.com/questions/3974385/php-array-count-or-sizeof -- Reeze Xia http://reeze.cn

« previous php.internals (#84403) next »