3v4l.org

run code in 300+ PHP versions simultaneously
<html><head><style type="text/css">body{font-family:tahoma}</style></head><body><div class="doc"> <?php $base = "http://codex.wordpress.org"; $url = "http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start"; $data = file_get_contents($url); # relink relative links to point to the same external site # $data = preg_replace("#(<a[^>]+href=[\"']?)(/[^/][^\s'\">]+[\"']?)([^>]*>)#", "\$1$base\$2 target='_blank'\$3", $data); # fetch images with relative path from the external site # $data = preg_replace("#(<\w+[^>]+src=[\"']?)(/[^/][^\s'\">]+[\"']?)([^>]*>)#", "\$1$base\$2 \$3", $data); # disable stylesheets (if needed) $data = preg_replace("#<link[^>]+rel=[\"']?stylesheet[^>]+>\s*(</link>)?#", "", $data); $data = preg_replace("#(<meta[^>]*google-site-verification[\w\W\r\n]*)<h2>(<span.*id=\"Step_Four[^>]+>)#", "<h1>$2", $data); $data = preg_replace("#(<h2><span[^>]+Advanced_Use_of_WordPress[\w\W\r\n]*script>)#", "", $data); echo $data; ?></div></body></html>
Output for git.master, git.master_jit, rfc.property-hooks
<html><head><style type="text/css">body{font-family:tahoma}</style></head><body><div class="doc"> Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for codex.wordpress.org failed: System error in /in/WKk5P on line 1 Warning: file_get_contents(http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start): Failed to open stream: php_network_getaddresses: getaddrinfo for codex.wordpress.org failed: System error in /in/WKk5P on line 1 </div></body></html>

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:
33.99 ms | 402 KiB | 8 Q