Comparison operator

string(5) ">=" concerns me. It should be string(2) should it not? This feels like you’re actually getting &gt;= instead of >=. If you are doing a var_dump into the basic HTML body, it will encode what you see. View Source or wrap your var_dump in a <pre> tag, and you should see what’s up.

Try doing html_entity_decode($mp_compare) and see what you get :).

(Moving this to an answer so you can close the question).