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 Bi3b7
Output for 5.4.0 - 7.2.0
Notice: Array to string conversion in /in/CS6t0 on line 4 INSERT INTO `form_content_element_tweak` ({implode(',', Array)}) VALUES(d,e,f)
Output for 4.3.0 - 5.3.29
INSERT INTO `form_content_element_tweak` ({implode(',', Array)}) VALUES(d,e,f)