To find the number of elements in a PHP $array
, which is faster/better/stronger?
count($array)
or sizeof($array)
?
Edit
Thanks to Andy Lester, I have refined my question to mean from a multilingual perspective. The manual commenters say
"[sizeof] does not mean the same in many other languages based on C"
Is this true?