3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo is_resource(fopen('http://www.youtube.com/')) ? 'OK' : 'NO';

preferences:
25.57 ms | 402 KiB | 5 Q