3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = file_put_contents('/etc/foobar.txt', 'you got hacked'); echo $i; echo file_get_contents('/etc/foobar.txt'); #fecho file_get_contents('/etc/httpd/site #foreach(glob("/etc/arch-relea*") as $file) { # echo $file . "\n"; #}

preferences:
40.62 ms | 402 KiB | 5 Q