3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '0 == "0": '; var_dump(0 == "0"); echo '30 == "30": '; var_dump(30 == "30"); echo '"0" == "0.0": '; var_dump("0" == "0.0"); echo '"42" == " 42": '; var_dump("42" == " 42"); echo '30 == "30hello": '; var_dump(30 == "30hello"); echo '0 == "foobar": '; var_dump(0 == "foobar");
Output for git.master, git.master_jit, rfc.property-hooks
0 == "0": bool(true) 30 == "30": bool(true) "0" == "0.0": bool(true) "42" == " 42": bool(true) 30 == "30hello": bool(false) 0 == "foobar": bool(false)

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:
135.66 ms | 406 KiB | 5 Q