3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $callbacks = array(); // Setup with lots of callbacks for ($i = 0; $i < 25000; $i++) { $callbacks[] = function () use ($i) { return $i; }; } foreach (array_reverse($callbacks) as $callback) { echo $callback() .PHP_EOL; }

Abusive script

This script was stopped while abusing our resources