3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 1; $i <= 10; $i++) { echo "INSERT INTO `shop_item` VALUES ('80', '".$i."','1');"; } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
INSERT INTO `shop_item` VALUES ('80', '1','1');INSERT INTO `shop_item` VALUES ('80', '2','1');INSERT INTO `shop_item` VALUES ('80', '3','1');INSERT INTO `shop_item` VALUES ('80', '4','1');INSERT INTO `shop_item` VALUES ('80', '5','1');INSERT INTO `shop_item` VALUES ('80', '6','1');INSERT INTO `shop_item` VALUES ('80', '7','1');INSERT INTO `shop_item` VALUES ('80', '8','1');INSERT INTO `shop_item` VALUES ('80', '9','1');INSERT INTO `shop_item` VALUES ('80', '10','1');