3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 10; while ($i > 0 && --$i); var_dump($i);

preferences:
26.33 ms | 404 KiB | 5 Q