- array_sum: documentation ( source)
- array_rand: documentation ( source)
- range: documentation ( source)
<?php
$range = range(1, 10000);
$range = array_rand($range, count($range));
foreach ($range as &$r) {
$s = &$r;
$s++;
$s *= $s % 2;
$s = array_sum($range) % count($range);
}
This script was stopped while abusing our resources