3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fdopen($id, $mode) { return fopen("/proc/self/fd/".(int)$id, $mode); } echo file_get_contents("php://fd/3");

preferences:
35.26 ms | 402 KiB | 5 Q