3v4l.org

run code in 300+ PHP versions simultaneously
<a class='but_add' href="<?php if(isset($_SESSION['user_id'])) { echo "addItem.php?add=$row[Product_ID]"; } else { echo "login.php"; } ?>"><i class='far fa-plus-square fa-s'></i> Add</a>
Output for rfc.property-hooks, git.master, git.master_jit
<a class='but_add' href="login.php"><i class='far fa-plus-square fa-s'></i> Add</a>

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:
40.62 ms | 1401 KiB | 4 Q