php length of array sizeof?Advertisement
a) Always try and use PHP's internal routines to iterate through objects of various types (arrays in most examples below). Instead of interpreting your code to loop through them, they use their own internal routines which are much faster. - read more
Getting the size or length of an array by count command and sizeof - read more
Please vote if the answer you were given helped you or not, thats the best way to improve our algorithm. You can also submit an answer or check other resources.