3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = '/dev/urandom'; $handle = fopen($file, 'r'); /*while ( TRUE ) { $data = base64_encode(fread($handle, 200)); }*/ $tmp = tmpfile(); fwrite($tmp, 'hello');

preferences:
39.28 ms | 402 KiB | 5 Q