To find the number of elements in a PHP $array, which is faster/better/stronger?
$array
count($array) or sizeof($array) ?
count($array)
sizeof($array)
sizeof() is just an alias of count() as mentioned here
sizeof()
count()
http://php.net/manual/en/function.sizeof.php