3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 9; ++$i) $$i = $i + 1; $i = 0; echo $$i, "\r\n"; echo $$$$$$$i;
based on ggLsh
Output for 4.3.0 - 7.2.0
1 6