I think $variable = 00 gets boiled down to $var = 0, but I could be wrong. I would have done $var = q(00); That should get it treated as a string versus a number. I haven't tested that theory yet.