3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array( 0, '0', '', null, false, array(), ); foreach ($t as $i => $v) { if ($v == NULL) { echo "$i : " . print_r($v, TRUE) . " IS NULL\n"; } else { echo "$i : " . print_r($v, TRUE) . " is not NULL\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
0 : 0 IS NULL 1 : 0 is not NULL 2 : IS NULL 3 : IS NULL 4 : IS NULL 5 : Array ( ) IS NULL

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