3v4l.org

run code in 300+ PHP versions simultaneously
<?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; }
Output for git.master, git.master_jit
Warning: Trying to access array offset on value of type bool in /in/Gk6ln on line 5 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/Gk6ln on line 5 The YouTube video you entered does not exist
Output for rfc.property-hooks
Warning: Trying to access array offset on false in /in/Gk6ln on line 5 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/Gk6ln on line 5 The YouTube video you entered does not exist

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
37.01 ms | 401 KiB | 8 Q