3v4l.org

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

preferences:
21.57 ms | 404 KiB | 5 Q