3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $headers = @get_headers('http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=vPlT2uKruwM'); if (!strpos($headers[0], '200')) { echo "The YouTube video you entered does not exist"; return false; }
based on rmNdc
Output for 5.0.0 - 7.3.0alpha1
The YouTube video you entered does not exist
Output for 4.3.2 - 4.4.9

Process exited with code 255.
Output for 4.3.0 - 4.3.1