varchar is indeed a reserved word in php, and typically, in php " (double quotes) allow for some substitution inside of them, and ' (single quotes) are more literal with no substitution. I don't THINK this is your problem, but try changing to single quotes.
Update the debug_output routine with a bit more...
file_get_html - empty string
str_get_html('') returns false
incorrect detection page charset by meta-tag "Content-Type"
Just uploaded the version with the ",true" added to it. Thanks for finding it, and...
Many things changed in PHP 5.4. I have no idea if this is the cause but just looking...
Thank you for clarifying the difference between the selectors. I'll have to look...