3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array(); $i = 10000; while ($i--) { $test[] = mt_rand(0,99999); } class Foo { public function __construct ($input) { echo $input[array_rand($input)] + 1; } } $i = 10000; while ($i--) { new Foo($test); }

Abusive script

This script was stopped while abusing our resources