3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $rsetcnt = 1; $rsetcause = "Unknown"; $gid = "0123424"; $sql = "UPDATE `cads` SET (`rsetcnt`, `rsetcause`) VALUES (\"".$rsetcnt."\",\"".$rsetcause."\" WHERE `gid`=\"".$gid."\""; echo $sql; ?>
Output for 4.3.0 - 7.2.0
UPDATE `cads` SET (`rsetcnt`, `rsetcause`) VALUES ("1","Unknown" WHERE `gid`="0123424"