3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = <<< EOF ( UPPER(REPLACE(q.label, " ", "")) LIKE UPPER(REPLACE(:label0, " ", "")) AND UPPER(REPLACE(a.answer, " ", "")) LIKE UPPER(REPLACE(:value0, " ", "")) ) AND ( UPPER(REPLACE(q.label, " ", "")) LIKE UPPER(REPLACE(:label2, " ", "")) AND UPPER(REPLACE(a.answer, " ", "")) = UPPER(REPLACE(:value2, " ", "")) ) EOF; echo $str;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
( UPPER(REPLACE(q.label, " ", "")) LIKE UPPER(REPLACE(:label0, " ", "")) AND UPPER(REPLACE(a.answer, " ", "")) LIKE UPPER(REPLACE(:value0, " ", "")) ) AND ( UPPER(REPLACE(q.label, " ", "")) LIKE UPPER(REPLACE(:label2, " ", "")) AND UPPER(REPLACE(a.answer, " ", "")) = UPPER(REPLACE(:value2, " ", "")) )