Found it. kinda dulicate question
stackoverflow.com/questions/5894350/why-does-0-hello-return-true-in-php?rq=1
– rudyFeb 19 '13 at 22:36
You are not comparing your letters as you would think. Since you are not checking the type (===)... You are comparing them to the values of the letters according to the ascii chart I believe?
– Charles D PantogaFeb 19 '13 at 22:41