Web >> Development >> PHP >> How to obtain the size/length of an array

sizeof($array)