3v4l.org

run code in 500+ PHP versions simultaneously
<?php // appends the text to the end of the end of the file file_put_contents($file, $text, FILE_APPEND); // appends the text to the end of the end of the file $fp = fwrite($file, 'a'); fwrite($fp, $text);

preferences:
11.3 ms | 488 KiB | 6 Q