3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = fopen('/tmp/test.txt', 'w'); fwrite($f, 'woohoo'); fclose($f); echo file_get_contents('/tmp/test.txt');

preferences:
40.93 ms | 402 KiB | 5 Q