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)
They are identical according to sizeof()
In the absence of any reason to worry about "faster", always optimize for the human. Which makes more sense to the human reader?