3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = range('A', 'z'); $start = 0; while ($start < 17) { next($array); } // now $array pointer is the 16th var_dump($array);

Abusive script

This script was stopped while abusing our resources

Output for 7.0.31 - 7.2.9

Process exited with code 137.