Can we make a note about using array access of variables when testing for the occurrence of a single character in a string? Use this: $string{2} === 'a' Instead of: strpos($string, 'a') === 2