Listing 3–11 creates an array, $items, containing 100,000 elements, with each element
containing a 155-byte string representing your typical data from a database. The code
then sets the start time and uses a foreach loop to access each element within the array,
and finally we display the time, in milliseconds. The code shown in Listing 3–11 is
executed ten consecutive times, and after calculating the average of each execution time,
the result is 0.0078ms.