3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "testing bit operations\n"; $flag = 0; echo "To start, the setting will be off: $flag\n"; echo "Now we will see if any of the bits are set.\n"; echo "1: ". $flag & 1 == 1 ."\n"; echo "2: ". $flag & 2 == 2 ."\n"; echo "4: ". $flag & 4 == 4 ."\n"; echo "test";
Output for git.master, git.master_jit, rfc.property-hooks
testing bit operations To start, the setting will be off: 0 Now we will see if any of the bits are set. Warning: A non-numeric value encountered in /in/RUGIR on line 6 1 Warning: A non-numeric value encountered in /in/RUGIR on line 7 0 Warning: A non-numeric value encountered in /in/RUGIR on line 8 0test

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:
64.71 ms | 402 KiB | 8 Q