3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $where = array('k1 = a1','k1 = k2'); echo ($where != '' AND count($where) >=1) ? " WHERE ".implode(" ", $where) : 'fuck';
Output for 4.3.0 - 7.1.0
WHERE k1 = a1 k1 = k2