3v4l.org

run code in 300+ PHP versions simultaneously
<?php system("/bin/sh -c 'a(){\necho \"foo\"\n};a'");

preferences:
77.29 ms | 402 KiB | 5 Q