I just reduced a crazy bug to what\'s in the title of this question. I\'m sure there\'s a Perfectly Reasonable Explanation for why Php thinks that 0 == \'%\' (or any other s
since '%' isn't true, it ought to be false (0), so of course 0=='%'
;-) funny though