I thought everything in programming is about confusing people?
AHA! I've got it! eregi() doesn't take into account the case of the letters, but an if does! So, eregi("xAv","XAv") returns true, but "xAv" == "XAv" returns false! I'm brilliant!
That is, of course, unless you use ereg() instead, which
is case-sensitive.