3v4l.org

run code in 300+ PHP versions simultaneously
<?php include("includes/config.php"); include("includes/functions.php"); $scriptname = $_SERVER['SCRIPT_NAME']; $loadurl = $_SERVER["REQUEST_URI"]; $loadurl = str_replace("$scriptname", "http://$domaintoproxy/s/", $loadurl); $loadurl = search_curl($loadurl); $loadurl = remove_bloat("$loadurl"); $loadurl = str_replace("thepiratebay.se", "", $loadurl); $loadurl = str_replace(" ", "+", $loadurl); $loadurl = nl2br("$loadurl"); $regex = '/Location:+(.*)<br \/>/'; preg_match($regex,$loadurl,$match); $loadurl = $match[1]; $loadurl = str_replace(",200", "", $loadurl); $loadurl = str_replace("+/search/", "/?load=/search/", $loadurl); $loadurl = str_replace("/0/99/", "/0/7/", $loadurl); @header("Location: $loadurl"); exit; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: include(): open_basedir restriction in effect. File(includes/config.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/QS0TB on line 2 Warning: include(includes/config.php): Failed to open stream: Operation not permitted in /in/QS0TB on line 2 Warning: include(): Failed opening 'includes/config.php' for inclusion (include_path='.:') in /in/QS0TB on line 2 Warning: include(): open_basedir restriction in effect. File(includes/functions.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/QS0TB on line 3 Warning: include(includes/functions.php): Failed to open stream: Operation not permitted in /in/QS0TB on line 3 Warning: include(): Failed opening 'includes/functions.php' for inclusion (include_path='.:') in /in/QS0TB on line 3 Warning: Undefined array key "REQUEST_URI" in /in/QS0TB on line 5 Warning: Undefined variable $domaintoproxy in /in/QS0TB on line 6 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/QS0TB on line 6 Fatal error: Uncaught Error: Call to undefined function search_curl() in /in/QS0TB:7 Stack trace: #0 {main} thrown in /in/QS0TB on line 7
Process exited with code 255.

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