3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = NULL; if (is_null($x)) { echo "x is null\n"; } else { echo "x is not null\n"; } if (isset($x)) { echo "x is set\n"; } else { echo "x is not set\n"; } if (is_null($y)) { echo "y is null\n"; } else { echo "y is not null\n"; } if (isset($y)) { echo "y is set\n"; } else { echo "y is not set\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
x is null x is not set Warning: Undefined variable $y in /in/U8jpj on line 7 y is null y is not set

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