3v4l.org

run code in 300+ PHP versions simultaneously
<?php $max = 32767; $n = 20; $step = intval($max/$n); for ($i=0; $i<=$n; $i++) { $val = $i*$step; echo base64_encode(pack('S', $val)) . " $val \n"; }
Output for git.master, git.master_jit, rfc.property-hooks
AAA= 0 ZgY= 1638 zAw= 3276 MhM= 4914 mBk= 6552 /h8= 8190 ZCY= 9828 yiw= 11466 MDM= 13104 ljk= 14742 /D8= 16380 YkY= 18018 yEw= 19656 LlM= 21294 lFk= 22932 +l8= 24570 YGY= 26208 xmw= 27846 LHM= 29484 knk= 31122 +H8= 32760

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