3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 54; $i++) { echo "DROP INDEX `user_id_2` ON `feeds_{$i}`;"; }
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
DROP INDEX `user_id_2` ON `feeds_0`;DROP INDEX `user_id_2` ON `feeds_1`;DROP INDEX `user_id_2` ON `feeds_2`;DROP INDEX `user_id_2` ON `feeds_3`;DROP INDEX `user_id_2` ON `feeds_4`;DROP INDEX `user_id_2` ON `feeds_5`;DROP INDEX `user_id_2` ON `feeds_6`;DROP INDEX `user_id_2` ON `feeds_7`;DROP INDEX `user_id_2` ON `feeds_8`;DROP INDEX `user_id_2` ON `feeds_9`;DROP INDEX `user_id_2` ON `feeds_10`;DROP INDEX `user_id_2` ON `feeds_11`;DROP INDEX `user_id_2` ON `feeds_12`;DROP INDEX `user_id_2` ON `feeds_13`;DROP INDEX `user_id_2` ON `feeds_14`;DROP INDEX `user_id_2` ON `feeds_15`;DROP INDEX `user_id_2` ON `feeds_16`;DROP INDEX `user_id_2` ON `feeds_17`;DROP INDEX `user_id_2` ON `feeds_18`;DROP INDEX `user_id_2` ON `feeds_19`;DROP INDEX `user_id_2` ON `feeds_20`;DROP INDEX `user_id_2` ON `feeds_21`;DROP INDEX `user_id_2` ON `feeds_22`;DROP INDEX `user_id_2` ON `feeds_23`;DROP INDEX `user_id_2` ON `feeds_24`;DROP INDEX `user_id_2` ON `feeds_25`;DROP INDEX `user_id_2` ON `feeds_26`;DROP INDEX `user_id_2` ON `feeds_27`;DROP INDEX `user_id_2` ON `feeds_28`;DROP INDEX `user_id_2` ON `feeds_29`;DROP INDEX `user_id_2` ON `feeds_30`;DROP INDEX `user_id_2` ON `feeds_31`;DROP INDEX `user_id_2` ON `feeds_32`;DROP INDEX `user_id_2` ON `feeds_33`;DROP INDEX `user_id_2` ON `feeds_34`;DROP INDEX `user_id_2` ON `feeds_35`;DROP INDEX `user_id_2` ON `feeds_36`;DROP INDEX `user_id_2` ON `feeds_37`;DROP INDEX `user_id_2` ON `feeds_38`;DROP INDEX `user_id_2` ON `feeds_39`;DROP INDEX `user_id_2` ON `feeds_40`;DROP INDEX `user_id_2` ON `feeds_41`;DROP INDEX `user_id_2` ON `feeds_42`;DROP INDEX `user_id_2` ON `feeds_43`;DROP INDEX `user_id_2` ON `feeds_44`;DROP INDEX `user_id_2` ON `feeds_45`;DROP INDEX `user_id_2` ON `feeds_46`;DROP INDEX `user_id_2` ON `feeds_47`;DROP INDEX `user_id_2` ON `feeds_48`;DROP INDEX `user_id_2` ON `feeds_49`;DROP INDEX `user_id_2` ON `feeds_50`;DROP INDEX `user_id_2` ON `feeds_51`;DROP INDEX `user_id_2` ON `feeds_52`;DROP INDEX `user_id_2` ON `feeds_53`;