3v4l.org

run code in 300+ PHP versions simultaneously
<?php $typ = $_GET['type']; if($typ == 'loot'){ $item = htmlspecialchars($_GET['item']); $itemid = htmlspecialchars($_GET['itemid']); $itemimage = htmlspecialchars($_GET['itemimage']); $enemies = htmlspecialchars($_GET['enemies']); $players = htmlspecialchars($_GET['players']); //if(!($item || $itemid || $itemimage || $enemies || $players)){ mysql_query("INSERT INTO test_loots (itemid, itemimage, enemies, players, item) VALUES ('$itemid', '$itemimage', '$enemies', '$players', '$item')"); //} } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "type" in /in/9URfW on line 2

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.96 ms | 401 KiB | 8 Q