3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $list = array(12,22,333,555,1); $sql = "email IN (".str_replace(trim(str_repeat('? ', count($list))), ' ', ',').")"; echo $sql;
Output for 4.3.0 - 7.1.0
email IN (,)