concatenate "s" to the beginning of each string, then do the comparison, and finally strip "s" from the beginning of each string. Actually, adding any "alpha" character to the string will prevent PHP from converting it to a number.