3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $q_key = array('a', 'b', 'c'); $q_value = array('d', 'e', 'f'); $q = "INSERT INTO `form_content_element_tweak` (".implode(',', $q_key).") VALUES(".implode(",", $q_value).")"; echo $q;
based on CS6t0
Output for 4.3.0 - 7.2.0
INSERT INTO `form_content_element_tweak` (a,b,c) VALUES(d,e,f)