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 : $v IS NULL"; } else { echo "$i : $v is not NULL"; } }
Output for git.master, git.master_jit, rfc.property-hooks
0 : 0 IS NULL1 : 0 is not NULL2 : IS NULL3 : IS NULL4 : IS NULL Warning: Array to string conversion in /in/A1ldD on line 15 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:
37.58 ms | 401 KiB | 8 Q