3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION = array(); $_GET = array("token" => "Y", "uid"=> "4", "key"=>"md5"); $_SERVER["REQUEST_URI"] = "/register/Y/4/md5"; $Request = array(); $Request["URI"] = $_SERVER["REQUEST_URI"][0] == "/" ? substr($_SERVER["REQUEST_URI"], 1) : $_SERVER["REQUEST_URI"]; $Request["URI"] = substr($Request["URI"], 0, strlen($Request["URI"]) - strlen("/".$_GET["token"]."/".$_GET["uid"]."/".$_GET["key"]); if($_SESSION["TeachMe-Server"]["loggedin"] !== true && !(substr($RequestURI, 0, strpos("/", $Request["URI"])) == "register" || substr($Results, 0, strpos("/", $Request["URI"])) == "login")) { header("X-API-Status: 40201 Login Required"); die("<pre>".print_r($Request, true)."</pre>"); }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.320.3670.03319.22
5.4.310.3600.03319.18
5.4.300.3630.03719.15
5.4.290.3270.04019.14
5.4.280.3830.04018.87
5.4.270.3470.04019.09
5.4.260.3370.03018.87
5.4.250.3500.04019.14
5.4.240.3470.04718.88
5.4.230.3630.03319.07
5.4.220.3370.03319.08
5.4.210.3470.03019.21
5.4.200.3070.03018.99
5.4.190.2500.03319.15
5.4.180.2300.02718.85
5.4.170.1730.03718.85
5.4.160.2230.03019.17
5.4.150.2830.03318.94
5.4.140.3130.04016.35
5.4.130.3730.04016.34
5.4.120.3530.04016.50
5.4.110.3570.03716.35
5.4.100.3570.03316.41
5.4.90.3430.03316.56
5.4.80.2970.03716.34
5.4.70.3470.03716.26
5.4.60.3330.03716.38
5.4.50.3800.03716.55
5.4.40.2770.03716.23
5.4.30.3100.03716.32
5.4.20.3370.03316.37
5.4.10.3570.03316.46
5.4.00.3900.05015.78
5.3.290.3430.03314.58
5.3.280.3400.04014.47
5.3.270.2300.03314.46
5.3.260.2870.03714.56
5.3.250.2830.03314.45
5.3.240.3330.03714.45
5.3.230.3630.03314.63
5.3.220.3630.03014.40
5.3.210.3030.05014.52
5.3.200.3370.03014.52
5.3.190.3330.03014.42
5.3.180.3230.04014.51
5.3.170.3270.03714.61
5.3.160.3530.04014.52
5.3.150.3330.03014.41
5.3.140.3500.04014.61
5.3.130.3270.04314.59
5.3.120.3400.02714.53
5.3.110.3600.03314.39
5.3.100.3600.03013.88
5.3.90.3530.03714.09
5.3.80.3100.03713.97
5.3.70.3570.03713.82
5.3.60.3800.03314.05
5.3.50.3530.03713.80
5.3.40.3470.04013.75
5.3.30.3400.03313.76
5.3.20.3230.03713.65
5.3.10.4070.03713.45
5.3.00.3770.04013.55
5.2.170.2670.03311.21
5.2.160.2970.03011.25
5.2.150.2970.03311.09
5.2.140.2700.03311.09
5.2.130.3730.02710.95
5.2.120.3270.02711.02
5.2.110.3470.02711.04
5.2.100.2870.03011.04
5.2.90.3500.02311.01
5.2.80.3370.02710.94
5.2.70.3530.03310.96
5.2.60.2570.03310.88
5.2.50.3070.03310.96
5.2.40.2530.03010.91
5.2.30.2530.02710.84
5.2.20.2330.03010.90
5.2.10.2600.02710.78
5.2.00.2600.02310.73
5.1.60.2500.01710.00
5.1.50.2170.0279.89
5.1.40.2530.0209.96
5.1.30.2200.02710.41
5.1.20.2870.02310.32
5.1.10.2730.02710.01
5.1.00.2270.0179.98
5.0.50.1300.0208.53
5.0.40.1130.0178.36
5.0.30.1330.0378.34
5.0.20.1100.0208.09
5.0.10.1100.0178.40
5.0.00.1300.0408.09
4.4.90.1630.0137.49
4.4.80.1200.0177.49
4.4.70.1270.0137.49
4.4.60.1330.0177.49
4.4.50.1200.0137.49
4.4.40.1130.0237.49
4.4.30.1070.0177.49
4.4.20.1500.0177.49
4.4.10.1100.0137.49
4.4.00.1270.0277.49
4.3.110.1230.0177.49
4.3.100.1270.0207.49
4.3.90.0870.0137.49
4.3.80.1370.0307.49
4.3.70.1330.0137.49
4.3.60.1070.0177.49
4.3.50.1370.0177.49
4.3.40.1270.0277.49
4.3.30.0630.0207.49
4.3.20.0670.0177.49
4.3.10.0670.0277.49
4.3.00.0570.0137.49

preferences:
135.84 ms | 1398 KiB | 7 Q