3v4l.org

run code in 300+ PHP versions simultaneously
<?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); }

Abusive script

This script was stopped while abusing our resources

Output for 5.4.1 - 5.4.45

Process exited with code 137.

preferences:
56.18 ms | 405 KiB | 5 Q