3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION = array(); $_GET = array("token" => "Y", "uid"=> "4", "key"=>"md5"); $_SERVER["REQUEST_URI"] = "/register/penis/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)
8.3.60.0060.00918.53
8.3.50.0130.00522.00
8.3.40.0110.00718.79
8.3.30.0040.01119.27
8.3.20.0000.00820.19
8.3.10.0030.00520.41
8.3.00.0090.00019.40
8.2.180.0160.00316.50
8.2.170.0120.00322.96
8.2.160.0100.01020.41
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00022.05
8.2.110.0000.01020.43
8.2.100.0000.01118.09
8.2.90.0040.00419.20
8.2.80.0030.00617.97
8.2.70.0000.00917.63
8.2.60.0060.00318.05
8.2.50.0030.00518.07
8.2.40.0060.00318.16
8.2.30.0070.00019.38
8.2.20.0040.00417.95
8.2.10.0000.00818.14
8.2.00.0000.00917.77
8.1.280.0100.00725.92
8.1.270.0040.00421.98
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00623.95
8.1.230.0040.00719.15
8.1.220.0040.00417.77
8.1.210.0030.00618.77
8.1.200.0000.00817.36
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00818.71
8.1.160.0040.00422.04
8.1.150.0040.00418.95
8.1.140.0080.00017.36
8.1.130.0040.00417.35
8.1.120.0040.00417.54
8.1.110.0030.00517.39
8.1.100.0000.00717.38
8.1.90.0040.00417.55
8.1.80.0050.00217.38
8.1.70.0000.00717.41
8.1.60.0060.00317.52
8.1.50.0030.00517.59
8.1.40.0000.00817.52
8.1.30.0040.00417.52
8.1.20.0030.00517.63
8.1.10.0000.00717.47
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0030.00317.30
8.0.260.0030.00316.82
8.0.250.0000.00716.91
8.0.240.0000.00816.98
8.0.230.0070.00017.06
8.0.220.0000.00716.92
8.0.210.0030.00316.99
8.0.200.0000.00616.93
8.0.190.0000.00817.04
8.0.180.0020.00516.90
8.0.170.0040.00417.02
8.0.160.0040.00416.86
8.0.150.0040.00416.91
8.0.140.0040.00416.84
8.0.130.0030.00313.39
8.0.120.0040.00416.89
8.0.110.0060.00316.93
8.0.100.0040.00416.87
8.0.90.0000.00817.04
8.0.80.0070.00717.03
8.0.70.0040.00416.79
8.0.60.0040.00416.81
8.0.50.0000.00717.04
8.0.30.0110.01217.24
8.0.20.0050.01417.42
8.0.10.0070.00017.00
8.0.00.0050.01416.60
7.4.330.0050.00015.00
7.4.320.0030.00316.55
7.4.300.0030.00316.54
7.4.290.0040.00416.52
7.4.280.0040.00416.62
7.4.270.0040.00416.65
7.4.260.0070.00016.47
7.4.250.0040.00416.42
7.4.240.0070.00016.58
7.4.230.0000.00716.70
7.4.220.0060.01216.65
7.4.210.0000.01416.74
7.4.200.0070.00016.74
7.4.160.0110.00516.43
7.4.150.0110.00617.40
7.4.140.0080.01217.86
7.4.130.0070.01016.48
7.4.120.0100.00716.64
7.4.110.0070.01316.67
7.4.100.0110.00716.71
7.4.90.0070.01016.64
7.4.80.0120.00619.39
7.4.70.0040.01416.61
7.4.60.0090.00616.47
7.4.50.0030.00516.66
7.4.40.0150.00316.60
7.4.30.0000.01616.66
7.4.00.0080.01014.90
7.3.330.0080.00013.20
7.3.320.0000.00513.28
7.3.310.0040.00416.49
7.3.300.0030.00316.19
7.3.290.0110.00316.42
7.3.280.0120.00516.38
7.3.270.0100.00817.40
7.3.260.0140.01016.55
7.3.250.0110.00816.45
7.3.240.0070.01016.41
7.3.230.0080.00816.48
7.3.210.0110.01116.40
7.3.200.0120.00619.39
7.3.190.0130.00316.63
7.3.180.0090.00616.61
7.3.170.0150.00616.41
7.3.160.0080.00816.68
7.3.120.0150.00414.86
7.3.110.0110.00614.79
7.3.100.0160.00014.69
7.3.90.0100.01014.86
7.3.80.0070.00715.18
7.3.70.0060.00614.43
7.3.60.0040.01114.96
7.3.50.0040.00714.64
7.3.40.0080.00414.89
7.3.30.0070.01014.86
7.3.20.0000.01216.39
7.3.10.0150.00416.77
7.3.00.0040.01416.63
7.2.330.0100.00716.48
7.2.320.0030.01516.84
7.2.310.0140.01116.77
7.2.300.0060.01116.86
7.2.290.0090.00816.79
7.2.250.0060.00615.22
7.2.240.0130.00715.09
7.2.230.0070.00715.08
7.2.220.0100.00715.05
7.2.210.0040.01114.96
7.2.200.0000.01115.13
7.2.190.0000.01815.15
7.2.180.0070.00715.09
7.2.170.0000.00915.27
7.1.330.0060.00615.71
7.1.320.0090.00315.83
7.1.310.0120.00315.70
7.1.300.0000.00815.59
7.1.290.0000.01115.55
7.1.280.0070.00715.95
7.1.270.0080.00815.79
7.1.260.0000.01415.79
7.1.100.0060.00818.17
7.1.70.0040.00417.16
7.1.60.0100.01019.61
7.1.50.0190.01934.71
7.1.00.0070.07322.44
7.0.200.0070.00714.68
7.0.140.0070.07022.08
7.0.60.0100.07319.90
7.0.50.0130.03317.93
7.0.40.0100.07320.27
7.0.30.0370.05020.13
7.0.20.0270.06720.18
7.0.10.0030.05020.13
7.0.00.0100.06020.12
5.6.280.0130.06320.87
5.6.210.0100.03320.55
5.6.200.0000.08718.12
5.6.190.0130.08020.64
5.6.180.0370.04720.35
5.6.170.0170.07720.33
5.6.160.0070.05720.49
5.6.150.0070.03718.11
5.6.140.0070.07018.11
5.6.130.0130.06718.14
5.6.120.0070.04721.01
5.6.110.0130.08721.12
5.6.100.0130.08320.99
5.6.90.0130.08020.98
5.6.80.0000.04320.38
5.5.350.0170.06720.30
5.5.340.0170.07317.97
5.5.330.0230.03320.39
5.5.320.0230.04320.32
5.5.310.0230.06720.28
5.5.300.0100.07318.02
5.5.290.0000.05017.99
5.5.280.0070.04320.97
5.5.270.0070.04720.86
5.5.260.0030.09020.72
5.5.250.0030.04020.47
5.5.240.0100.08320.30
5.4.450.0400.04019.46
5.4.440.0170.03719.25
5.4.430.0600.04019.45
5.4.420.0230.03319.48
5.4.410.0330.04319.23
5.4.400.0300.04319.25
5.4.390.0570.03019.22
5.4.380.0230.05718.48
5.4.370.0300.05318.68
5.4.360.0300.05718.70
5.4.350.0370.05718.70
5.4.340.0330.07318.69
5.4.320.0030.04112.47
5.4.310.0060.04412.47
5.4.300.0040.03812.47
5.4.290.0050.04112.46
5.4.280.0080.03812.37
5.4.270.0080.03512.37
5.4.260.0070.03712.37
5.4.250.0040.03912.36
5.4.240.0060.03712.37
5.4.230.0050.03912.36
5.4.220.0050.03712.36
5.4.210.0060.03512.36
5.4.200.0060.03712.36
5.4.190.0080.03712.35
5.4.180.0060.03812.36
5.4.170.0050.03812.36
5.4.160.0060.03712.36
5.4.150.0080.03312.36
5.4.140.0080.03412.04
5.4.130.0040.03712.03
5.4.120.0050.03711.99
5.4.110.0070.04411.98
5.4.100.0090.04311.98
5.4.90.0030.04011.98
5.4.80.0050.04711.98
5.4.70.0060.03711.98
5.4.60.0050.03711.98
5.4.50.0090.03211.98
5.4.40.0060.03611.96
5.4.30.0050.03611.96
5.4.20.0060.03411.96
5.4.10.0050.03511.96
5.4.00.0060.03611.46
5.3.290.0030.04312.80
5.3.280.0080.03812.71
5.3.270.0080.03712.72
5.3.260.0070.04212.72
5.3.250.0100.03412.72
5.3.240.0090.03512.72
5.3.230.0060.03812.70
5.3.220.0050.03812.68
5.3.210.0090.03712.68
5.3.200.0080.03512.68
5.3.190.0090.03712.68
5.3.180.0060.03612.67
5.3.170.0040.03912.67
5.3.160.0100.03212.67
5.3.150.0030.04012.68
5.3.140.0070.04012.66
5.3.130.0070.03712.66
5.3.120.0040.04612.66
5.3.110.0100.03812.66
5.3.100.0060.03612.12
5.3.90.0060.03612.09
5.3.80.0100.03612.08
5.3.70.0070.03912.07
5.3.60.0080.03712.07
5.3.50.0060.04212.01
5.3.40.0090.03512.01
5.3.30.0070.03711.96
5.3.20.0050.03711.74
5.3.10.0040.03811.71
5.3.00.0040.04111.70
5.2.170.0090.0279.20
5.2.160.0050.0309.20
5.2.150.0050.0359.20
5.2.140.0040.0349.20
5.2.130.0050.0299.16
5.2.120.0040.0299.16
5.2.110.0030.0309.16
5.2.100.0050.0359.16
5.2.90.0050.0299.16
5.2.80.0030.0329.16
5.2.70.0030.0329.16
5.2.60.0040.0329.11
5.2.50.0030.0339.08
5.2.40.0040.0359.06
5.2.30.0070.0359.03
5.2.20.0080.0289.02
5.2.10.0050.0378.95
5.2.00.0060.0278.80
5.1.60.0060.0228.09
5.1.50.0060.0238.08
5.1.40.0050.0268.07
5.1.30.0050.0308.41
5.1.20.0060.0268.43
5.1.10.0050.0328.16
5.1.00.0040.0258.16
5.0.50.0080.0226.64
5.0.40.0080.0176.50
5.0.30.0000.0346.32
5.0.20.0040.0196.29
5.0.10.0040.0256.27
5.0.00.0030.0326.26
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0030.0154.75
4.4.60.0050.0134.75
4.4.50.0040.0144.77
4.4.40.0030.0244.71
4.4.30.0030.0154.76
4.4.20.0040.0144.84
4.4.10.0030.0154.85
4.4.00.0010.0264.76
4.3.110.0020.0164.67
4.3.100.0030.0144.66
4.3.90.0040.0154.63
4.3.80.0050.0224.58
4.3.70.0030.0154.63
4.3.60.0030.0144.63
4.3.50.0010.0164.63
4.3.40.0040.0244.54
4.3.30.0020.0193.31
4.3.20.0010.0243.29
4.3.10.0000.0183.25
4.3.00.0030.01716.72

preferences:
77.1 ms | 401 KiB | 5 Q