evardsson.com
Comparing PHP array_shift to array_pop
I noticed a note in the PHP documentation about speed differences between array_shift() (pulling the first element off the array) and array_reverse() followed by array_pop() (resulting in the same …