note 128711 added to function.sizeof
| From: | Tor at main dot php dot net | Date: | Thu, 06 Jul 2023 20:33:36 +0000 |
| Subject: | note 128711 added to function.sizeof | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220672@lists.php.net to get a copy of this message | ||
I find it hilarious that people here think sizeof() vs count() is the thing in PHP that is going to
confuse people coming from other languages.
They both work fine. If anything count() is more confusing.
There is no length(), which would make more sense, coming from other languages.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.168 (proxied: 213.52.68.38)
----
Manual Page -- https://php.net/manual/en/function.sizeof.php
Edit -- https://main.php.net/note/edit/128711
Del: integrated -- https://main.php.net/note/delete/128711/integrated
Del: useless -- https://main.php.net/note/delete/128711/useless
Del: bad code -- https://main.php.net/note/delete/128711/bad+code
Del: spam -- https://main.php.net/note/delete/128711/spam
Del: non-english -- https://main.php.net/note/delete/128711/non-english
Del: in docs -- https://main.php.net/note/delete/128711/in+docs
Del: other reasons-- https://main.php.net/note/delete/128711
Reject -- https://main.php.net/note/reject/128711
Search -- https://main.php.net/manage/user-notes.php