note 86306 deleted from function.sizeof by danbrown
| From: | danbrown@php.net | Date: | Sun, 12 Oct 2008 14:53:30 +0000 |
| Subject: | note 86306 deleted from function.sizeof by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145294@lists.php.net to get a copy of this message | ||
Note Submitter: kiwi
----
this is a surprising implementation.
I would expect sizeof to return the actual size in bytes, not the number of elements in an array.
I suggest a re-thinking