3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = fopen('php://temp', 'w+'); echo (string)$f.' '.$f.' '.gettype($f);

preferences:
39.55 ms | 402 KiB | 5 Q