3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var1 = ""; $var2 = ""; $var3 = "x"; $list = ""; $list = ($var1 == "")?('Var 1 Empty'):(""); echo "List:".$list.$var1."\n"; $list = ($list.$var2 == "")?('Var 2 Empty'):(""); echo "List:".$list.$var2."\n"; $list = ($list.$var3 == "")?('Var 3 Empty'):(""); echo "List:".$list.$var3."\n"; ?>
Output for git.master, git.master_jit, rfc.property-hooks
List:Var 1 Empty List: List:x

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:
59.07 ms | 401 KiB | 8 Q