3v4l.org

run code in 300+ PHP versions simultaneously
<?php function read(resource $res): void {} read(fopen('php://temp', 'rw'));

preferences:
24.85 ms | 404 KiB | 5 Q