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('N', $val)) . " $val \n"; }
Output for git.master, git.master_jit, rfc.property-hooks
AAAAAA== 0 AAAGZg== 1638 AAAMzA== 3276 AAATMg== 4914 AAAZmA== 6552 AAAf/g== 8190 AAAmZA== 9828 AAAsyg== 11466 AAAzMA== 13104 AAA5lg== 14742 AAA//A== 16380 AABGYg== 18018 AABMyA== 19656 AABTLg== 21294 AABZlA== 22932 AABf+g== 24570 AABmYA== 26208 AABsxg== 27846 AABzLA== 29484 AAB5kg== 31122 AAB/+A== 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:
53.21 ms | 402 KiB | 8 Q