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.0040.01521.14
8.3.40.0090.00618.94
8.3.30.0110.00418.79
8.3.20.0080.00020.30
8.3.10.0040.00423.67
8.3.00.0040.00421.73
8.2.180.0060.01116.38
8.2.170.0090.00619.09
8.2.160.0040.01122.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0050.00320.75
8.2.120.0080.00026.35
8.2.110.0030.00719.45
8.2.100.0090.00317.78
8.2.90.0030.00717.97
8.2.80.0000.01019.27
8.2.70.0070.00318.05
8.2.60.0040.00418.04
8.2.50.0040.00418.10
8.2.40.0040.00420.60
8.2.30.0040.00419.54
8.2.20.0050.00317.81
8.2.10.0040.00418.13
8.2.00.0000.00718.23
8.1.280.0150.00425.92
8.1.270.0110.00722.06
8.1.260.0060.00328.09
8.1.250.0000.00828.09
8.1.240.0000.00922.02
8.1.230.0000.01122.83
8.1.220.0040.00417.74
8.1.210.0050.00518.97
8.1.200.0050.00317.36
8.1.190.0040.00417.23
8.1.180.0000.00918.10
8.1.170.0030.00618.38
8.1.160.0000.00722.19
8.1.150.0070.00018.89
8.1.140.0030.00519.59
8.1.130.0000.00717.71
8.1.120.0040.00417.39
8.1.110.0000.00717.48
8.1.100.0040.00417.50
8.1.90.0000.00717.34
8.1.80.0070.00317.38
8.1.70.0030.00317.46
8.1.60.0040.00417.49
8.1.50.0000.00817.46
8.1.40.0000.00817.49
8.1.30.0050.00317.68
8.1.20.0000.00817.60
8.1.10.0000.00717.52
8.1.00.0040.00417.55
8.0.300.0050.00320.07
8.0.290.0080.00016.75
8.0.280.0040.00418.41
8.0.270.0070.00017.27
8.0.260.0000.00617.31
8.0.250.0060.00317.02
8.0.240.0030.00316.90
8.0.230.0000.00717.10
8.0.220.0030.00316.89
8.0.210.0070.00016.86
8.0.200.0000.00817.03
8.0.190.0040.00416.93
8.0.180.0080.00017.00
8.0.170.0070.00017.00
8.0.160.0030.00516.81
8.0.150.0060.00316.96
8.0.140.0000.00716.85
8.0.130.0030.00313.41
8.0.120.0080.00016.94
8.0.110.0060.00316.80
8.0.100.0040.00416.84
8.0.90.0000.00817.09
8.0.80.0070.00716.86
8.0.70.0000.00716.94
8.0.60.0050.00216.89
8.0.50.0040.00416.96
8.0.30.0030.01417.02
8.0.20.0120.00717.40
8.0.10.0040.00416.98
8.0.00.0100.00916.78
7.4.330.0000.00516.80
7.4.320.0030.00316.52
7.4.300.0000.00816.62
7.4.290.0030.00316.53
7.4.280.0090.00016.43
7.4.270.0030.00316.54
7.4.260.0040.00416.63
7.4.250.0050.00316.59
7.4.240.0000.00716.64
7.4.230.0000.00816.65
7.4.220.0080.00916.51
7.4.210.0070.01016.62
7.4.200.0070.00016.62
7.4.160.0120.00316.52
7.4.150.0120.00817.40
7.4.140.0080.01417.86
7.4.130.0100.00916.59
7.4.120.0030.01516.63
7.4.110.0120.00416.70
7.4.100.0120.00916.52
7.4.90.0100.00716.47
7.4.80.0180.00019.39
7.4.70.0090.00816.52
7.4.60.0140.00516.67
7.4.50.0070.00716.43
7.4.40.0060.00916.43
7.4.30.0110.00716.53
7.4.00.0060.01014.79
7.3.330.0050.00013.17
7.3.320.0000.00613.22
7.3.310.0000.00716.20
7.3.300.0040.00416.36
7.3.290.0000.00616.38
7.3.280.0100.00716.34
7.3.270.0070.01017.40
7.3.260.0080.00816.54
7.3.250.0090.00816.38
7.3.240.0080.01016.49
7.3.230.0130.01016.39
7.3.210.0040.01216.33
7.3.200.0130.00319.39
7.3.190.0110.00716.44
7.3.180.0090.00816.53
7.3.170.0090.00916.50
7.3.160.0070.01016.47
7.2.330.0080.01016.55
7.2.320.0090.01316.79
7.2.310.0090.01516.61
7.2.300.0060.01216.73
7.2.290.0110.01116.70
7.2.60.0090.00316.99
7.2.00.0060.00919.38
7.1.200.0070.00715.82
7.1.100.0090.00617.89
7.1.70.0000.00816.99
7.1.60.0110.01419.40
7.1.50.0130.00016.87
7.1.00.0070.07322.35
7.0.200.0280.00314.52
7.0.60.0370.07020.02
7.0.50.0070.03717.88
7.0.40.0100.08720.21
7.0.30.0330.08020.12
7.0.20.0270.05020.20
7.0.10.0030.05020.10
7.0.00.0030.08720.10
5.6.280.0000.06021.10
5.6.210.0130.07720.61
5.6.200.0130.07318.15
5.6.190.0070.07720.50
5.6.180.0300.04020.78
5.6.170.0330.03720.52
5.6.160.0070.05320.55
5.6.150.0070.07318.29
5.6.140.0030.04018.16
5.6.130.0130.08018.24
5.6.120.0070.08320.95
5.6.110.0030.04321.13
5.6.100.0070.08321.12
5.6.90.0070.08720.99
5.6.80.0030.08320.40
5.5.350.0200.07020.38
5.5.340.0000.04318.07
5.5.330.0100.08020.21
5.5.320.0430.04320.30
5.5.310.0100.08720.26
5.5.300.0000.04317.98
5.5.290.0070.05317.96
5.5.280.0100.08320.89
5.5.270.0170.07320.86
5.5.260.0130.07720.83
5.5.250.0100.08020.68
5.5.240.0200.08020.34

preferences:
55.7 ms | 401 KiB | 5 Q