3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-type: text/plain'); $url = 'http://www.example.com'; $rel = ':22/path/to/somewhere?query=string#fragment'; var_dump(parse_url($rel), parse_url($url . $rel));

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.0090.00616.63
8.3.50.0140.01017.60
8.3.40.0130.00318.49
8.3.30.0110.00318.72
8.3.20.0050.00218.82
8.3.10.0000.00918.64
8.3.00.0060.00319.26
8.2.180.0110.01116.38
8.2.170.0060.01222.96
8.2.160.0070.00718.73
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00420.73
8.2.110.0040.00420.40
8.2.100.0090.00617.71
8.2.90.0000.00817.63
8.2.80.0000.00918.61
8.2.70.0000.00817.63
8.2.60.0030.00617.63
8.2.50.0000.00817.93
8.2.40.0080.00020.01
8.2.30.0000.00917.60
8.2.20.0050.00517.47
8.2.10.0030.00617.65
8.2.00.0030.00917.75
8.1.280.0150.00325.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00019.26
8.1.230.0080.00320.97
8.1.220.0050.00318.64
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0050.00317.00
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0000.00718.95
8.1.150.0040.00418.56
8.1.140.0040.00417.27
8.1.130.0030.00317.39
8.1.120.0060.00317.29
8.1.110.0030.00617.26
8.1.100.0000.00817.28
8.1.90.0040.00417.38
8.1.80.0000.00817.29
8.1.70.0070.00017.38
8.1.60.0050.00317.45
8.1.50.0000.00717.30
8.1.40.0060.00317.45
8.1.30.0060.00317.63
8.1.20.0050.00517.59
8.1.10.0040.00417.52
8.1.00.0040.00417.49
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0070.00018.48
8.0.270.0030.00517.20
8.0.260.0040.00416.79
8.0.250.0040.00416.96
8.0.240.0000.00716.93
8.0.230.0000.00716.84
8.0.220.0040.00416.96
8.0.210.0080.00016.88
8.0.200.0050.00516.91
8.0.190.0070.00016.90
8.0.180.0060.00316.89
8.0.170.0060.00316.85
8.0.160.0070.00016.85
8.0.150.0000.00816.88
8.0.140.0030.00616.82
8.0.130.0000.00513.28
8.0.120.0000.01016.85
8.0.110.0050.00316.76
8.0.100.0040.00416.95
8.0.90.0020.00516.94
8.0.80.0110.01116.96
8.0.70.0020.00516.77
8.0.60.0000.00816.72
8.0.50.0050.00316.86
8.0.30.0060.01117.22
8.0.20.0100.01216.96
8.0.10.0000.00716.91
8.0.00.0060.01116.66
7.4.330.0050.00012.94
7.4.320.0000.00716.59
7.4.300.0000.00616.54
7.4.290.0040.00416.44
7.4.280.0040.00416.39
7.4.270.0050.00216.55
7.4.260.0000.00513.14
7.4.250.0050.00316.42
7.4.240.0070.00016.49
7.4.230.0000.00716.57
7.4.220.0140.00416.50
7.4.210.0120.00916.55
7.4.200.0000.00716.56
7.4.190.0030.00316.25
7.4.160.0130.00316.24
7.4.150.0110.00716.39
7.4.140.0090.01616.26
7.4.130.0060.01216.35
7.4.120.0100.00716.42
7.4.110.0090.00916.33
7.4.100.0090.00816.51
7.4.90.0140.00916.53
7.4.80.0130.00319.39
7.4.70.0040.01316.45
7.4.60.0130.00316.48
7.4.50.0040.00416.53
7.4.40.0080.00416.12
7.4.30.0140.00316.37
7.4.00.0000.01214.90
7.3.330.0060.00013.01
7.3.320.0030.00313.10
7.3.310.0070.00016.19
7.3.300.0000.00716.06
7.3.290.0090.00616.27
7.3.280.0110.00716.26
7.3.270.0090.01216.32
7.3.260.0090.01516.30
7.3.250.0070.01216.28
7.3.240.0100.00716.18
7.3.230.0110.00716.21
7.3.210.0000.01616.42
7.3.200.0150.01816.17
7.3.190.0100.01116.31
7.3.180.0000.01716.44
7.3.170.0080.00816.52
7.3.160.0070.01716.22
7.3.120.0090.00614.46
7.3.10.0060.00616.62
7.3.00.0030.01016.41
7.2.330.0080.01116.59
7.2.320.0140.00316.57
7.2.310.0060.01216.25
7.2.300.0080.01216.20
7.2.290.0040.01216.26
7.2.130.0070.00816.69
7.2.120.0030.01216.55
7.2.110.0040.00816.73
7.2.100.0030.01016.72
7.2.90.0090.00616.78
7.2.80.0030.00616.59
7.2.70.0030.01016.69
7.2.60.0090.00216.61
7.2.50.0060.00616.60
7.2.40.0030.00916.76
7.2.30.0060.00916.66
7.2.20.0130.00316.42
7.2.10.0110.00716.90
7.2.00.0100.00316.88
7.1.250.0040.01115.50
7.1.200.0040.00415.77
7.1.70.0000.00816.92
7.1.60.0110.01519.30
7.1.50.0030.01916.83
7.1.00.0100.06022.36
7.0.200.0040.00416.67
7.0.140.0000.07722.13
7.0.120.0100.07022.01
7.0.60.0300.07021.83
7.0.50.0030.04017.83
7.0.40.0070.09319.98
7.0.30.0300.05320.16
7.0.20.0300.07720.04
7.0.10.0070.06020.20
7.0.00.0130.07720.16
5.6.280.0000.07320.88
5.6.210.0070.05320.61
5.6.200.0130.08018.12
5.6.190.0000.09720.33
5.6.180.0170.04720.60
5.6.170.0400.07320.50
5.6.160.0100.04320.49
5.6.150.0070.04718.16
5.6.140.0000.04018.11
5.6.130.0100.07318.20
5.6.120.0030.08321.01
5.6.110.0070.08320.99
5.6.100.0100.08320.93
5.6.90.0070.08721.05
5.6.80.0130.07720.35
5.5.350.0330.06720.34
5.5.340.0170.07017.89
5.5.330.0000.06020.07
5.5.320.0370.03020.21
5.5.310.0270.07720.37
5.5.300.0070.07718.01
5.5.290.0100.07717.89
5.5.280.0070.05020.88
5.5.270.0030.04320.75
5.5.260.0000.04320.85
5.5.250.0070.09020.54
5.5.240.0230.07020.14
5.4.450.3230.03719.36
5.4.440.0000.05019.50
5.4.430.3700.04319.21
5.4.420.3270.04019.30
5.4.410.2770.04019.34
5.4.400.4270.03718.98
5.4.390.4030.03019.01
5.4.380.4400.04318.89
5.4.370.0700.06019.14
5.4.360.4400.03319.03
5.4.350.4400.03719.15
5.4.340.3930.03719.14
5.4.320.4370.04018.93
5.4.310.3270.04019.18
5.4.300.4200.03719.15
5.4.290.3200.03318.97
5.4.280.3430.03019.12
5.4.270.3730.03719.03
5.4.260.2930.03718.85
5.4.250.3470.02719.15
5.4.240.3370.03718.83
5.4.230.3570.04019.16
5.4.220.3470.04318.88
5.4.210.4530.03319.14
5.4.200.4400.03319.05
5.4.190.3230.04019.17
5.4.180.3330.03719.11
5.4.170.3100.03018.82
5.4.160.4700.04019.11
5.4.150.4170.04019.05
5.4.140.4230.03716.12
5.4.130.4330.03716.36
5.4.120.4100.04016.40
5.4.110.4130.04016.57
5.4.100.3730.03716.32
5.4.90.4070.03316.34
5.4.80.4570.03716.31
5.4.70.4900.03316.34
5.4.60.4900.03016.45
5.4.50.3700.02716.35
5.4.40.4170.04016.20
5.4.30.4400.03716.36
5.4.20.4030.03016.46
5.4.10.3870.04016.35
5.4.00.4470.03315.65
5.3.290.3100.03714.62
5.3.280.4030.03714.57
5.3.270.3830.03714.55
5.3.260.4000.03314.39
5.3.250.4300.04714.53
5.3.240.3800.04014.55
5.3.230.3900.04014.68
5.3.220.4270.04314.52
5.3.210.3930.04314.50
5.3.200.4000.04014.50
5.3.190.4200.03714.48
5.3.180.4000.04014.55
5.3.170.4930.03714.38
5.3.160.4570.04014.54
5.3.150.4130.03314.50
5.3.140.4030.03714.64
5.3.130.4170.03314.47
5.3.120.3830.04014.47
5.3.110.3600.03714.64
5.3.100.4330.04013.86
5.3.90.3930.03313.81
5.3.80.4130.03713.99
5.3.70.3770.04013.94
5.3.60.3870.03013.82
5.3.50.3970.03713.89
5.3.40.3900.03313.78
5.3.30.4470.04013.87
5.3.20.2900.04013.62
5.3.10.2930.03313.67
5.3.00.2370.03313.59
5.2.170.3130.02711.14
5.2.160.2330.03311.02
5.2.150.3600.02711.23
5.2.140.3600.03011.07
5.2.130.1800.02711.03
5.2.120.2830.02711.06
5.2.110.2030.03011.18
5.2.100.2470.03011.04
5.2.90.2130.03011.00
5.2.80.2470.03010.97
5.2.70.1500.04011.07
5.2.60.2370.03010.94
5.2.50.2330.02710.94
5.2.40.1230.02710.92
5.2.30.1630.02310.98
5.2.20.1170.02310.84
5.2.10.1530.02711.01
5.2.00.1970.03310.87
5.1.60.1130.0309.96
5.1.50.1600.02310.14
5.1.40.2170.02710.03
5.1.30.1630.02710.34
5.1.20.3230.02310.50
5.1.10.2530.02710.04
5.1.00.3000.02710.05
5.0.50.1500.0208.56
5.0.40.1330.0208.55
5.0.30.1570.0308.20
5.0.20.1900.0138.14
5.0.10.1870.0208.16
5.0.00.1830.0378.30
4.4.90.0470.0075.82
4.4.80.0430.0175.86
4.4.70.1270.0175.80
4.4.60.0400.0135.83
4.4.50.0600.0175.82
4.4.40.0800.0275.79
4.4.30.0400.0135.84
4.4.20.1670.0175.85
4.4.10.1570.0175.86
4.4.00.1530.0305.82
4.3.110.1700.0175.79
4.3.100.1730.0175.79
4.3.90.1870.0175.79
4.3.80.1600.0275.83
4.3.70.1870.0135.79
4.3.60.1830.0175.79
4.3.50.1830.0135.79
4.3.40.0070.0475.79
4.3.30.0000.0275.79
4.3.20.0030.0305.79
4.3.10.0030.0305.79
4.3.00.0000.0205.79

preferences:
41.35 ms | 401 KiB | 5 Q