What is use of sizeof function in php? The sizeof() function is used to return the number of elements present in an array. 22-August 8:52 PM 472 Views