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.0060.00916.63
8.3.50.0130.00821.15
8.3.40.0110.00418.84
8.3.30.0090.00618.85
8.3.20.0040.00420.39
8.3.10.0040.00423.48
8.3.00.0040.00421.77
8.2.180.0180.00316.63
8.2.170.0040.01619.08
8.2.160.0070.00722.96
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0030.00620.70
8.2.120.0080.00026.35
8.2.110.0040.00422.25
8.2.100.0040.00717.91
8.2.90.0080.00017.84
8.2.80.0060.00317.97
8.2.70.0060.00317.75
8.2.60.0040.00418.05
8.2.50.0040.00418.09
8.2.40.0060.00320.40
8.2.30.0000.00719.36
8.2.20.0060.00317.72
8.2.10.0080.00018.24
8.2.00.0050.00318.02
8.1.280.0110.01125.92
8.1.270.0120.00622.19
8.1.260.0050.00328.09
8.1.250.0080.00028.09
8.1.240.0070.01122.64
8.1.230.0030.00820.83
8.1.220.0030.00617.79
8.1.210.0000.00818.98
8.1.200.0100.00017.35
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0030.00518.66
8.1.160.0070.00020.78
8.1.150.0030.00318.96
8.1.140.0040.00419.59
8.1.130.0000.00717.76
8.1.120.0070.00017.41
8.1.110.0050.00217.32
8.1.100.0050.00217.53
8.1.90.0040.00417.54
8.1.80.0040.00417.44
8.1.70.0050.00217.41
8.1.60.0000.00817.60
8.1.50.0060.00317.51
8.1.40.0080.00017.59
8.1.30.0040.00417.68
8.1.20.0000.00817.57
8.1.10.0030.00517.60
8.1.00.0070.00017.56
8.0.300.0040.00419.93
8.0.290.0050.00216.75
8.0.280.0070.00018.36
8.0.270.0070.00017.27
8.0.260.0030.00317.25
8.0.250.0070.00317.03
8.0.240.0000.00717.02
8.0.230.0040.00417.03
8.0.220.0030.00316.85
8.0.210.0040.00416.98
8.0.200.0060.00016.90
8.0.190.0070.00016.91
8.0.180.0030.00616.99
8.0.170.0040.00416.97
8.0.160.0040.00417.03
8.0.150.0040.00416.89
8.0.140.0030.00316.86
8.0.130.0050.00013.46
8.0.120.0050.00316.92
8.0.110.0000.00817.04
8.0.100.0000.00817.02
8.0.90.0050.00316.93
8.0.80.0040.01116.86
8.0.70.0000.00716.97
8.0.60.0000.00716.93
8.0.50.0000.00716.79
8.0.30.0040.01617.08
8.0.20.0120.00717.40
8.0.10.0000.00716.89
8.0.00.0090.01116.81
7.4.330.0020.00216.83
7.4.320.0030.00316.66
7.4.300.0000.00816.46
7.4.290.0070.00016.62
7.4.280.0000.00716.56
7.4.270.0040.00416.59
7.4.260.0040.00416.59
7.4.250.0040.00416.58
7.4.240.0030.00316.51
7.4.230.0070.00016.70
7.4.220.0030.01316.58
7.4.210.0060.00916.55
7.4.200.0040.00416.41
7.4.160.0080.00816.67
7.4.150.0110.00717.40
7.4.140.0080.01317.86
7.4.130.0110.00616.43
7.4.120.0080.00816.53
7.4.110.0170.00016.59
7.4.100.0090.01216.73
7.4.90.0150.00516.49
7.4.80.0110.01119.39
7.4.70.0030.01216.45
7.4.60.0160.00316.38
7.4.50.0040.01416.71
7.4.40.0130.00316.74
7.4.30.0160.00316.66
7.4.00.0030.01314.89
7.3.330.0050.00013.27
7.3.320.0000.00613.25
7.3.310.0070.00016.41
7.3.300.0070.00016.34
7.3.290.0050.00316.15
7.3.280.0070.00916.37
7.3.270.0100.00717.40
7.3.260.0110.00816.30
7.3.250.0110.00616.33
7.3.240.0020.01716.29
7.3.230.0100.00716.41
7.3.210.0100.00716.52
7.3.200.0100.00619.39
7.3.190.0100.00616.39
7.3.180.0140.00416.43
7.3.170.0230.00916.38
7.3.160.0090.00916.45
7.2.330.0090.00916.28
7.2.320.0120.00616.68
7.2.310.0130.00316.66
7.2.300.0070.01116.46
7.2.290.0100.00716.70
7.2.80.0070.00716.50
7.2.60.0100.00616.66
7.2.00.0030.00818.93
7.1.200.0090.00315.88
7.1.100.0000.01617.98
7.1.70.0000.00717.12
7.1.60.0100.01319.40
7.1.50.0070.01116.97
7.1.00.0030.07722.36
7.0.200.0390.00714.80
7.0.60.0470.06019.86
7.0.50.0100.07717.88
7.0.40.0170.07320.11
7.0.30.0400.04720.17
7.0.20.0230.07720.05
7.0.10.0130.05320.25
7.0.00.0070.09020.30
5.6.280.0070.04320.92
5.6.210.0070.05320.70
5.6.200.0070.08318.27
5.6.190.0170.04720.41
5.6.180.0470.06320.50
5.6.170.0400.05720.47
5.6.160.0100.03720.39
5.6.150.0070.04718.17
5.6.140.0070.06018.21
5.6.130.0070.03718.27
5.6.120.0100.04021.00
5.6.110.0000.09321.01
5.6.100.0200.06021.08
5.6.90.0070.04720.98
5.6.80.0070.06720.28
5.5.350.0300.07320.36
5.5.340.0100.03317.99
5.5.330.0200.05720.46
5.5.320.0470.07320.28
5.5.310.0130.05020.37
5.5.300.0030.04017.98
5.5.290.0030.05717.98
5.5.280.0030.07720.86
5.5.270.0100.06720.88
5.5.260.0030.06020.83
5.5.250.0100.07020.68
5.5.240.4230.03720.28

preferences:
39.67 ms | 401 KiB | 5 Q