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)
8.3.60.0140.00018.68
8.3.50.0150.00618.31
8.3.40.0110.00418.97
8.3.30.0070.00719.04
8.3.20.0000.00720.29
8.3.10.0050.00320.49
8.3.00.0060.00319.13
8.2.180.0090.00616.75
8.2.170.0150.00022.96
8.2.160.0130.00720.37
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00422.06
8.2.110.0060.00320.27
8.2.100.0040.00818.22
8.2.90.0000.00819.13
8.2.80.0090.00017.97
8.2.70.0000.00817.75
8.2.60.0000.00817.91
8.2.50.0080.00018.07
8.2.40.0030.00518.22
8.2.30.0040.00419.50
8.2.20.0000.00717.74
8.2.10.0040.00418.20
8.2.00.0040.00417.93
8.1.280.0100.00725.92
8.1.270.0030.00622.20
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00623.82
8.1.230.0000.01118.93
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0000.00818.64
8.1.160.0040.00422.10
8.1.150.0030.00618.95
8.1.140.0080.00017.52
8.1.130.0040.00417.79
8.1.120.0000.00717.38
8.1.110.0030.00517.56
8.1.100.0040.00417.50
8.1.90.0040.00417.48
8.1.80.0050.00317.36
8.1.70.0030.00317.43
8.1.60.0060.00317.57
8.1.50.0000.00817.59
8.1.40.0000.00817.52
8.1.30.0030.00517.66
8.1.20.0070.00017.71
8.1.10.0050.00317.53
8.1.00.0060.00317.40
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.34
8.0.270.0000.00717.21
8.0.260.0030.00317.16
8.0.250.0070.00017.04
8.0.240.0040.00417.01
8.0.230.0030.00316.95
8.0.220.0040.00416.96
8.0.210.0030.00516.98
8.0.200.0000.00617.00
8.0.190.0090.00017.04
8.0.180.0000.00716.99
8.0.170.0000.00816.92
8.0.160.0040.00416.96
8.0.150.0030.00416.82
8.0.140.0040.00416.97
8.0.130.0080.00013.42
8.0.120.0000.00816.93
8.0.110.0000.00817.00
8.0.100.0030.00516.86
8.0.90.0040.00416.99
8.0.80.0000.01516.99
8.0.70.0040.00416.85
8.0.60.0050.00316.99
8.0.50.0040.00417.05
8.0.30.0100.01017.11
8.0.20.0090.01217.40
8.0.10.0070.00017.05
8.0.00.0070.01216.71
7.4.330.0060.00015.00
7.4.320.0030.00316.54
7.4.300.0060.00016.45
7.4.290.0070.00016.61
7.4.280.0030.00616.63
7.4.270.0000.00716.52
7.4.260.0030.00316.63
7.4.250.0000.00816.50
7.4.240.0020.00516.59
7.4.230.0070.00016.61
7.4.220.0090.00916.73
7.4.210.0080.00516.58
7.4.200.0030.00316.63
7.4.160.0080.00816.58
7.4.150.0120.00617.40
7.4.140.0090.01117.86
7.4.130.0110.00816.53
7.4.120.0070.01016.57
7.4.110.0110.01116.43
7.4.100.0130.00316.60
7.4.90.0090.00816.67
7.4.80.0090.01319.39
7.4.70.0120.00916.64
7.4.60.0060.00916.51
7.4.50.0000.00816.38
7.4.40.0080.00816.70
7.4.30.0090.00916.43
7.4.00.0060.00915.13
7.3.330.0030.00313.21
7.3.320.0000.00513.09
7.3.310.0030.00316.20
7.3.300.0030.00316.30
7.3.290.0090.00616.33
7.3.280.0100.00716.38
7.3.270.0160.02117.40
7.3.260.0110.00516.43
7.3.250.0120.00516.54
7.3.240.0130.00316.61
7.3.230.0090.00616.42
7.3.210.0210.00316.41
7.3.200.0090.01419.39
7.3.190.0110.00616.31
7.3.180.0150.00316.51
7.3.170.0100.01016.42
7.3.160.0090.00916.34
7.3.10.0040.00816.64
7.3.00.0040.00416.65
7.2.330.0030.01316.86
7.2.320.0100.01316.61
7.2.310.0090.01216.87
7.2.300.0070.01016.62
7.2.290.0030.01316.86
7.2.130.0030.00916.59
7.2.120.0090.00016.99
7.2.110.0030.01016.95
7.2.100.0070.00716.89
7.2.90.0070.00417.07
7.2.80.0030.01016.91
7.2.70.0080.00316.86
7.2.60.0080.00916.78
7.2.50.0000.01216.85
7.2.40.0000.01017.12
7.2.30.0060.00617.13
7.2.20.0030.01016.76
7.2.10.0000.01016.98
7.2.00.0060.00917.01
7.1.250.0110.00015.46
7.1.200.0000.01515.70
7.1.100.0060.00317.88
7.1.70.0000.00717.29
7.1.60.0070.01319.61
7.1.50.0100.01416.77
7.1.00.0030.07322.34
7.0.200.0070.00314.94
7.0.140.0070.06722.04
7.0.60.0100.07021.77
7.0.50.0030.07017.92
7.0.40.0130.08020.02
7.0.30.0300.08020.02
7.0.20.0330.08320.00
7.0.10.0100.06320.09
7.0.00.0130.04719.98
5.6.280.0070.07021.16
5.6.210.0000.08720.55
5.6.200.0100.08018.17
5.6.190.0100.08320.69
5.6.180.0200.04720.42
5.6.170.0300.07720.47
5.6.160.0130.05318.18
5.6.150.0130.08018.21
5.6.140.0070.04018.18
5.6.130.0030.04018.11
5.6.120.0070.08320.98
5.6.110.0000.05021.11
5.6.100.0100.05020.98
5.6.90.0000.04321.02
5.6.80.0130.08020.38
5.5.350.0270.07020.38
5.5.340.0030.05017.98
5.5.330.0030.05020.13
5.5.320.0570.07020.28
5.5.310.0270.07720.50
5.5.300.0100.07017.98
5.5.290.0100.03317.93
5.5.280.0070.04720.88
5.5.270.0170.06720.68
5.5.260.0030.05320.65
5.5.250.0000.08720.69
5.5.240.0370.06320.28
5.4.450.3830.04019.32
5.4.440.0870.05719.21
5.4.430.4170.03319.33
5.4.420.3400.04019.48
5.4.410.3870.04019.08
5.4.400.3800.03718.89
5.4.390.3400.03019.07
5.4.380.3570.03719.24
5.4.370.3700.03718.97
5.4.360.3830.03319.04
5.4.350.3870.04019.06
5.4.340.4430.03719.00
5.4.320.3600.03719.20
5.4.310.3830.03719.20
5.4.300.3270.03319.17
5.4.290.3800.03719.08
5.4.280.3900.03719.04
5.4.270.3570.03719.22
5.4.260.3970.03719.09
5.4.250.3200.04018.99
5.4.240.3630.04719.15
5.4.230.3700.04019.11
5.4.220.3500.05019.15
5.4.210.3600.03318.88
5.4.200.3870.04019.03
5.4.190.4070.03319.03
5.4.180.3600.03319.25
5.4.170.3400.03719.16
5.4.160.3830.04319.14
5.4.150.3700.04019.24
5.4.140.3970.03016.34
5.4.130.3830.03016.33
5.4.120.3930.03316.32
5.4.110.3900.04316.30
5.4.100.1930.03016.32
5.4.90.3070.04316.33
5.4.80.3170.03716.29
5.4.70.2770.03316.37
5.4.60.3500.05016.35
5.4.50.3830.03316.33
5.4.40.3400.03316.46
5.4.30.3370.03316.32
5.4.20.3470.02716.32
5.4.10.3870.03316.10
5.4.00.3870.04015.68
5.3.290.3600.03314.61
5.3.280.3230.03714.40
5.3.270.3800.03714.57
5.3.260.3870.03714.64
5.3.250.3800.03014.60
5.3.240.3870.03714.41
5.3.230.3900.03714.63
5.3.220.4070.03714.55
5.3.210.3600.03714.37
5.3.200.4300.04714.51
5.3.190.2630.03714.52
5.3.180.3330.03714.37
5.3.170.2770.03714.54
5.3.160.2370.03314.67
5.3.150.3500.03314.53
5.3.140.3030.03714.55
5.3.130.3230.03014.50
5.3.120.3470.04014.68
5.3.110.3030.04314.53
5.3.100.3770.03714.03
5.3.90.3530.03013.96
5.3.80.3870.03314.00
5.3.70.3870.04013.85
5.3.60.3930.04013.95
5.3.50.3700.03313.78
5.3.40.3900.03713.94
5.3.30.3600.03313.88
5.3.20.3500.04013.64
5.3.10.3870.02013.62
5.3.00.4070.05013.47
5.2.170.3170.03011.16
5.2.160.3270.03011.02
5.2.150.2930.03011.13
5.2.140.2600.03311.15
5.2.130.3300.02311.22
5.2.120.3230.03011.00
5.2.110.3200.03010.93
5.2.100.3930.03311.05
5.2.90.3030.03311.02
5.2.80.3100.03311.27
5.2.70.1430.03311.02
5.2.60.0070.04710.95
5.2.50.0070.06310.97
5.2.40.0070.06011.18
5.2.30.2130.03010.92
5.2.20.2430.02710.79
5.2.10.2570.03010.88
5.2.00.2970.03010.74
5.1.60.2670.02310.05
5.1.50.2770.02710.02
5.1.40.2430.02010.07
5.1.30.2600.03010.43
5.1.20.2430.02710.43
5.1.10.2130.0309.99
5.1.00.2670.02310.18
5.0.50.1330.0238.55
5.0.40.1230.0208.40
5.0.30.1500.0308.24
5.0.20.1330.0108.26
5.0.10.1470.0208.15
5.0.00.1200.0308.18
4.4.90.0030.0307.89
4.4.80.0000.0307.89
4.4.70.1430.0207.89
4.4.60.1330.0137.89
4.4.50.1470.0207.89
4.4.40.1500.0237.89
4.4.30.1400.0177.89
4.4.20.1300.0177.89
4.4.10.1430.0207.89
4.4.00.1370.0277.89
4.3.110.1230.0137.89
4.3.100.1370.0177.89
4.3.90.1500.0137.89
4.3.80.1370.0277.89
4.3.70.1200.0177.89
4.3.60.1370.0207.89
4.3.50.1370.0137.89
4.3.40.1470.0307.89
4.3.30.0800.0237.89
4.3.20.0470.0277.89
4.3.10.0600.0137.89
4.3.00.0800.0207.89

preferences:
45.15 ms | 400 KiB | 5 Q