In Listing 3–8, the code produces the same outcome as Listing 3–7, yet the number of
function calls made is reduced from ten to one. The fewer calls made, the faster your PHP
script becomes.
Using the PHP function microtime(), we can determine exactly how much faster
using nine fewer count() function calls is. Using the code shown in Listing 3–7, we add an
additional for loop to execute the code 100,000 times, which represents 100,000 users