3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( "0" ) echo "nope\n"; if( "00" ) echo "wat1\n"; if( "-0" ) echo "wat2\n"; if( "0.0" ) echo "wat3\n"; if( 0 == "" ) echo "wat4\n"; if( 0 == " " ) echo "wat5\n"; if( 0 == " wat" ) echo "wat6\n"; if( 0 == "\t" ) echo "wat7\n"; if( 0 == "\r" ) echo "wat8\n"; if( 0 == "\n" ) echo "wat9\n";
Output for git.master, git.master_jit, rfc.property-hooks
wat1 wat2 wat3

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