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);

preferences:
24.29 ms | 405 KiB | 5 Q