3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $outer = function () { echo "Outer<br>"; $times = 0; $inner = function () use ( $times, &$inner ) { echo "Inner : ${times}<br>"; $times++; if ( $times <= 2 ){ $inner(); } }; return $inner; }; $inner = $outer(); $inner(); ?>

Abusive script

This script was stopped while abusing our resources