3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fname = '/tmp/graci.txt'; $fp = fopen($fname, file_exists($fname) ? 'a+' : 'w+'); $in = "graci|senha|rg|cpf\n"; fwrite($fp, $in);

preferences:
39.35 ms | 402 KiB | 5 Q