3v4l.org

run code in 200+ PHP versions simultaneously
<?php $IDs = [1,2,3,4,5]; echo 'UPDATE services_list SET servicename=? WHERE serviceID IN ('.join(",", array_fill(0, count($IDs),"?")).')';
based on uCBqK
Output for 7.1.0 - 7.4.0
UPDATE services_list SET servicename=? WHERE serviceID IN (?,?,?,?,?)