3v4l.org

run code in 300+ PHP versions simultaneously
<?php $any_power_of_two = 65535; $alphabetSize = 64; $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(64) { [0]=> int(1024) [1]=> int(1024) [2]=> int(1024) [3]=> int(1024) [4]=> int(1024) [5]=> int(1024) [6]=> int(1024) [7]=> int(1024) [8]=> int(1024) [9]=> int(1024) [10]=> int(1024) [11]=> int(1024) [12]=> int(1024) [13]=> int(1024) [14]=> int(1024) [15]=> int(1024) [16]=> int(1024) [17]=> int(1024) [18]=> int(1024) [19]=> int(1024) [20]=> int(1024) [21]=> int(1024) [22]=> int(1024) [23]=> int(1024) [24]=> int(1024) [25]=> int(1024) [26]=> int(1024) [27]=> int(1024) [28]=> int(1024) [29]=> int(1024) [30]=> int(1024) [31]=> int(1024) [32]=> int(1024) [33]=> int(1024) [34]=> int(1024) [35]=> int(1024) [36]=> int(1024) [37]=> int(1024) [38]=> int(1024) [39]=> int(1024) [40]=> int(1024) [41]=> int(1024) [42]=> int(1024) [43]=> int(1024) [44]=> int(1024) [45]=> int(1024) [46]=> int(1024) [47]=> int(1024) [48]=> int(1024) [49]=> int(1024) [50]=> int(1024) [51]=> int(1024) [52]=> int(1024) [53]=> int(1024) [54]=> int(1024) [55]=> int(1024) [56]=> int(1024) [57]=> int(1024) [58]=> int(1024) [59]=> int(1024) [60]=> int(1024) [61]=> int(1024) [62]=> int(1024) [63]=> int(1023) }

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:
44.86 ms | 404 KiB | 8 Q