3v4l.org

run code in 300+ PHP versions simultaneously
<?php $any_power_of_two = 65535; $alphabetSize = 62; $values = array_fill(0, $alphabetSize, 0); for ($i = 0; $i < $any_power_of_two; ++$i) { ++$values[$i % $alphabetSize]; } var_dump($values);
Output for git.master, git.master_jit, rfc.property-hooks
array(62) { [0]=> int(1058) [1]=> int(1057) [2]=> int(1057) [3]=> int(1057) [4]=> int(1057) [5]=> int(1057) [6]=> int(1057) [7]=> int(1057) [8]=> int(1057) [9]=> int(1057) [10]=> int(1057) [11]=> int(1057) [12]=> int(1057) [13]=> int(1057) [14]=> int(1057) [15]=> int(1057) [16]=> int(1057) [17]=> int(1057) [18]=> int(1057) [19]=> int(1057) [20]=> int(1057) [21]=> int(1057) [22]=> int(1057) [23]=> int(1057) [24]=> int(1057) [25]=> int(1057) [26]=> int(1057) [27]=> int(1057) [28]=> int(1057) [29]=> int(1057) [30]=> int(1057) [31]=> int(1057) [32]=> int(1057) [33]=> int(1057) [34]=> int(1057) [35]=> int(1057) [36]=> int(1057) [37]=> int(1057) [38]=> int(1057) [39]=> int(1057) [40]=> int(1057) [41]=> int(1057) [42]=> int(1057) [43]=> int(1057) [44]=> int(1057) [45]=> int(1057) [46]=> int(1057) [47]=> int(1057) [48]=> int(1057) [49]=> int(1057) [50]=> int(1057) [51]=> int(1057) [52]=> int(1057) [53]=> int(1057) [54]=> int(1057) [55]=> int(1057) [56]=> int(1057) [57]=> int(1057) [58]=> int(1057) [59]=> int(1057) [60]=> int(1057) [61]=> int(1057) }

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:
32.64 ms | 409 KiB | 5 Q