3v4l.org

run code in 300+ PHP versions simultaneously
<?php $requestedUri = $_SERVER['REQUEST_URI'] = 'http://www.testing.com/login'; $requestedUriWithQuery = $_SERVER['REQUEST_URI'] = 'http://www.testing.com/login?name=name&password=password'; print_r( parse_url($requestedUri), parse_url($requestedUriWithQuery), parse_str($requestedUriWithQuery["query"]) );

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.0110.00416.63
8.3.50.0100.00921.16
8.3.40.0070.00718.97
8.3.30.0120.00319.02
8.3.20.0080.00020.18
8.3.10.0070.00023.66
8.3.00.0000.00721.65
8.2.180.0040.01216.88
8.2.170.0210.00019.08
8.2.160.0100.00322.96
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00420.93
8.2.120.0000.00726.35
8.2.110.0070.00319.20
8.2.100.0080.00317.93
8.2.90.0000.00819.36
8.2.80.0030.00517.97
8.2.70.0040.00417.88
8.2.60.0000.00817.93
8.2.50.0000.00818.09
8.2.40.0000.00720.60
8.2.30.0040.00419.43
8.2.20.0000.00817.75
8.2.10.0000.00718.09
8.2.00.0000.00718.13
8.1.280.0140.00425.92
8.1.270.0090.00922.14
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0030.00622.17
8.1.230.0130.00017.76
8.1.220.0000.00817.79
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0060.00317.22
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0000.00720.71
8.1.150.0000.00718.89
8.1.140.0040.00419.54
8.1.130.0030.00317.71
8.1.120.0040.00417.39
8.1.110.0040.00317.54
8.1.100.0050.00317.47
8.1.90.0040.00417.38
8.1.80.0060.00317.38
8.1.70.0040.00417.35
8.1.60.0000.00817.60
8.1.50.0040.00417.49
8.1.40.0030.00517.50
8.1.30.0070.00017.63
8.1.20.0060.00317.42
8.1.10.0000.00717.55
8.1.00.0040.00417.50
8.0.300.0060.00318.77
8.0.290.0070.00016.75
8.0.280.0040.00418.42
8.0.270.0070.00017.26
8.0.260.0030.00317.30
8.0.250.0040.00317.08
8.0.240.0000.00716.87
8.0.230.0000.00716.97
8.0.220.0030.00516.85
8.0.210.0030.00617.02
8.0.200.0040.00416.92
8.0.190.0080.00016.90
8.0.180.0060.00316.88
8.0.170.0040.00416.89
8.0.160.0040.00416.93
8.0.150.0030.00616.93
8.0.140.0050.00216.92
8.0.130.0050.00013.41
8.0.120.0090.00017.02
8.0.110.0030.00616.99
8.0.100.0070.00016.86
8.0.90.0040.00416.92
8.0.80.0150.00016.90
8.0.70.0000.00716.78
8.0.60.0000.00716.87
8.0.50.0050.00216.95
8.0.30.0130.00617.29
8.0.20.0110.01017.40
8.0.10.0070.00016.96
8.0.00.0150.00216.90
7.4.330.0000.00516.81
7.4.320.0030.00316.55
7.4.300.0040.00416.49
7.4.290.0000.00716.41
7.4.280.0000.00716.42
7.4.270.0030.00316.60
7.4.260.0030.00316.55
7.4.250.0040.00416.47
7.4.240.0030.00316.66
7.4.230.0000.00716.71
7.4.220.0120.00616.57
7.4.210.0080.00716.49
7.4.200.0070.00016.42
7.4.160.0120.00316.49
7.4.150.0100.01017.40
7.4.140.0110.01317.86
7.4.130.0090.01016.46
7.4.120.0150.00616.65
7.4.110.0040.01216.51
7.4.100.0130.00916.57
7.4.90.0070.01016.38
7.4.80.0130.00419.39
7.4.70.0030.01216.55
7.4.60.0140.00316.57
7.4.50.0040.01416.36
7.4.40.0030.01316.44
7.4.30.0130.00616.50
7.4.00.0070.01014.96
7.3.330.0060.00013.12
7.3.320.0060.00013.08
7.3.310.0070.00016.06
7.3.300.0030.00616.22
7.3.290.0000.00616.36
7.3.280.0040.01416.30
7.3.270.0100.00717.40
7.3.260.0150.00316.24
7.3.250.0120.00716.34
7.3.240.0110.00616.52
7.3.230.0130.01016.48
7.3.210.0030.01316.48
7.3.200.0070.01019.39
7.3.190.0130.00416.39
7.3.180.0050.01116.57
7.3.170.0100.00616.31
7.3.160.0100.01316.52
7.2.330.0120.00616.50
7.2.320.0150.00916.65
7.2.310.0070.01016.45
7.2.300.0140.00716.34
7.2.290.0100.00716.77
7.2.110.0650.00016.57
7.2.80.0160.00816.16
7.2.60.0140.00316.66
7.2.00.0090.00619.25
7.1.200.0090.00615.87
7.1.100.0080.00617.84
7.1.70.0070.00016.83
7.1.60.0100.01319.40
7.1.50.0030.01717.04
7.1.00.0130.06722.54
7.0.200.0310.00714.53
7.0.60.0270.05019.87
7.0.50.0070.08717.82
7.0.40.0030.09020.30
7.0.30.0430.04020.13
7.0.20.0230.05720.00
7.0.10.0030.05320.25
7.0.00.0030.09319.99
5.6.280.0000.04020.85
5.6.210.0170.06320.47
5.6.200.0030.08318.07
5.6.190.0030.06720.56
5.6.180.0370.07320.77
5.6.170.0430.07020.46
5.6.160.0030.04320.37
5.6.150.0070.06018.20
5.6.140.0000.04318.14
5.6.130.0030.05318.14
5.6.120.0130.07721.06
5.6.110.0000.04721.02
5.6.100.0070.08721.02
5.6.90.0070.08321.09
5.6.80.0100.08320.37
5.5.350.0370.06720.38
5.5.340.0130.05017.96
5.5.330.0030.08320.46
5.5.320.0430.05720.29
5.5.310.0130.05720.31
5.5.300.0100.07717.91
5.5.290.0100.07317.91
5.5.280.0070.08320.64
5.5.270.0000.04720.63
5.5.260.0030.04020.63
5.5.250.0000.09020.68
5.5.240.0230.07720.18

preferences:
84.55 ms | 401 KiB | 5 Q