3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hostname = 'hostname.local/a/b/c'; var_dump( parse_url($hostname, PHP_URL_HOST) );

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.01318.21
8.3.50.0080.01321.21
8.3.40.0090.00618.71
8.3.30.0080.00818.96
8.3.20.0070.00020.17
8.3.10.0040.00421.83
8.3.00.0040.00422.43
8.2.180.0140.00716.63
8.2.170.0100.00722.96
8.2.160.0100.00319.04
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0090.00626.16
8.2.120.0040.00419.67
8.2.110.0030.00721.18
8.2.100.0040.00818.03
8.2.90.0000.00819.28
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0050.00318.07
8.2.40.0000.00819.88
8.2.30.0070.00318.00
8.2.20.0020.00517.66
8.2.10.0050.00217.49
8.2.00.0050.00317.53
8.1.280.0140.00025.92
8.1.270.0050.00318.61
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0110.01120.63
8.1.230.0080.00320.23
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0070.00317.22
8.1.190.0000.00917.39
8.1.180.0000.00818.41
8.1.170.0060.00618.54
8.1.160.0030.00322.04
8.1.150.0040.00418.57
8.1.140.0000.00817.39
8.1.130.0000.00717.74
8.1.120.0000.00717.30
8.1.110.0040.00417.28
8.1.100.0000.00817.42
8.1.90.0000.00717.37
8.1.80.0040.00417.36
8.1.70.0030.00317.35
8.1.60.0000.00817.52
8.1.50.0030.00517.44
8.1.40.0040.00417.49
8.1.30.0000.00817.60
8.1.20.0030.00517.47
8.1.10.0040.00417.45
8.1.00.0050.00217.39
8.0.300.0050.00318.77
8.0.290.0050.00317.18
8.0.280.0000.00718.31
8.0.270.0000.00717.09
8.0.260.0030.00318.30
8.0.250.0070.00016.80
8.0.240.0000.00816.81
8.0.230.0000.00816.77
8.0.220.0070.00016.81
8.0.210.0030.00316.70
8.0.200.0030.00316.83
8.0.190.0060.00516.79
8.0.180.0050.00216.77
8.0.170.0060.00316.85
8.0.160.0040.00416.77
8.0.150.0000.00716.75
8.0.140.0040.00416.80
8.0.130.0030.00313.25
8.0.120.0060.00316.87
8.0.110.0030.00516.64
8.0.100.0050.00316.84
8.0.90.0030.00316.83
8.0.80.0140.00716.87
8.0.70.0070.00016.86
8.0.60.0000.00816.66
8.0.50.0000.00716.86
8.0.30.0090.01017.04
8.0.20.0080.00817.40
8.0.10.0030.00517.01
8.0.00.0120.00716.69
7.4.330.0020.00215.00
7.4.320.0030.00316.29
7.4.300.0030.00316.52
7.4.290.0040.00416.52
7.4.280.0070.00016.38
7.4.270.0070.00016.58
7.4.260.0000.00716.41
7.4.250.0030.00516.39
7.4.240.0000.00716.49
7.4.230.0050.00216.34
7.4.220.0140.00316.47
7.4.210.0040.01016.53
7.4.200.0000.00716.33
7.4.190.0030.00316.43
7.4.160.0110.00716.20
7.4.150.0140.00317.40
7.4.140.0070.01017.86
7.4.130.0110.00916.49
7.4.120.0120.00516.26
7.4.110.0080.00916.33
7.4.100.0060.01516.39
7.4.90.0030.01716.34
7.4.80.0120.00919.39
7.4.70.0080.00816.26
7.4.60.0100.00616.36
7.4.50.0000.00816.56
7.4.40.0090.00622.77
7.4.30.0060.01016.39
7.4.00.0030.01314.87
7.3.330.0000.00613.02
7.3.320.0020.00212.88
7.3.310.0040.00416.10
7.3.300.0030.00316.17
7.3.290.0070.00716.11
7.3.280.0060.01216.14
7.3.270.0060.00917.40
7.3.260.0070.01016.25
7.3.250.0100.00916.50
7.3.240.0130.00316.20
7.3.230.0130.01216.50
7.3.210.0090.00916.13
7.3.200.0060.01019.39
7.3.190.0180.00316.19
7.3.180.0070.01016.00
7.3.170.0090.00616.27
7.3.160.0150.00016.18
7.3.120.0030.01214.64
7.2.330.0140.00316.52
7.2.320.0200.02616.27
7.2.310.0070.00916.44
7.2.300.0180.00316.48
7.2.290.0060.00916.52
7.2.00.0030.00619.14
7.1.200.0100.01015.85
7.1.100.0040.00817.93
7.1.70.0000.01017.00
7.1.60.0060.01819.82
7.1.50.0140.01116.79
7.1.00.0030.06722.27
7.0.200.0000.00716.68
7.0.140.0030.07722.04
7.0.60.0000.04719.85
7.0.50.0100.07017.90
7.0.40.0100.07719.96
7.0.30.0300.08020.31
7.0.20.0230.06720.09
7.0.10.0100.06320.17
7.0.00.0030.05020.01
5.6.280.0070.07020.85
5.6.210.0170.07720.61
5.6.200.0030.08318.22
5.6.190.0070.09720.41
5.6.180.4230.04720.45
5.6.170.0270.07720.50
5.6.160.0070.06720.46
5.6.150.0070.06718.11
5.6.140.0070.05718.11
5.6.130.0100.07318.14
5.6.120.0030.05720.96
5.6.110.0070.04021.02
5.6.100.0070.08720.97
5.6.90.0070.05721.02
5.6.80.0100.05720.37
5.6.70.0170.08020.46
5.5.350.0330.06320.39
5.5.340.0030.05017.88
5.5.330.0000.04320.14
5.5.320.0330.07320.21
5.5.310.0270.07720.27
5.5.300.0070.08018.02
5.5.290.0070.04317.95
5.5.280.0100.08020.76
5.5.270.0030.08720.87
5.5.260.0130.07720.86
5.5.250.0130.07720.54
5.5.240.0100.05020.26
5.4.450.0330.05319.48
5.4.440.0670.04719.24
5.4.430.0730.05319.46
5.4.420.1030.04719.55
5.4.410.1000.07719.42
5.4.400.1270.05718.60
5.4.390.1130.07318.77
5.4.380.0330.05018.52
5.4.370.1070.05018.69
5.4.360.0830.05018.56
5.4.350.0900.06018.50
5.4.340.0000.06018.59
5.4.320.0080.03412.45
5.4.310.0080.04112.45
5.4.300.0080.04112.45
5.4.290.0040.03912.45
5.4.280.0060.03512.35
5.4.270.0070.03712.35
5.4.260.0060.03712.34
5.4.250.0070.05318.94
5.4.240.0130.05018.82
5.4.230.0200.04718.85
5.4.220.0100.05318.84
5.4.210.0070.05318.83
5.4.200.0130.05018.83
5.4.190.0100.05718.96
5.4.180.0070.05318.94
5.4.170.0130.05018.98
5.4.160.0070.05018.82
5.4.150.0030.06018.88
5.4.140.0100.04716.27
5.4.130.0070.05016.27
5.4.120.0100.04716.26
5.4.110.0030.05716.19
5.4.100.0200.03716.24
5.4.90.0070.04716.31
5.4.80.0130.04316.23
5.4.70.0200.03716.41
5.4.60.0070.07016.43
5.4.50.0070.04716.19
5.4.40.0100.06716.47
5.4.30.0130.04316.27
5.4.20.0100.06316.37
5.4.10.0200.05016.41
5.4.00.0270.04715.91
5.3.290.0070.04412.80
5.3.280.0170.04714.62
5.3.270.0100.07314.63
5.3.260.0030.06314.61
5.3.250.0070.05314.38
5.3.240.0100.04714.64
5.3.230.0130.05014.61
5.3.220.0100.04714.33
5.3.210.0070.05314.50
5.3.200.0100.04714.43
5.3.190.0270.03714.61
5.3.180.0100.04714.57
5.3.170.0100.04714.56
5.3.160.0070.05014.64
5.3.150.0070.05014.51
5.3.140.0130.07314.39
5.3.130.0070.06314.52
5.3.120.0070.07014.41
5.3.110.0130.05014.56
5.3.100.0100.04713.90
5.3.90.0200.04713.90
5.3.80.0170.04013.85
5.3.70.0130.04313.71
5.3.60.0030.05014.01
5.3.50.0130.05013.72
5.3.40.0070.05013.83
5.3.30.0100.04313.84
5.3.20.0130.05313.83
5.3.10.0170.06013.66
5.3.00.0100.05013.41
5.2.170.0070.04011.15
5.2.160.0100.04010.98
5.2.150.0070.05711.17
5.2.140.0030.04011.04
5.2.130.0100.03311.19
5.2.120.0030.04011.19
5.2.110.0100.04011.19
5.2.100.0070.03711.11
5.2.90.0100.04311.10
5.2.80.0100.05311.00
5.2.70.0070.05711.10
5.2.60.0230.04310.81
5.2.50.0030.04311.04
5.2.40.0130.03311.00
5.2.30.0170.03711.09
5.2.20.0070.05710.84
5.2.10.0030.04010.86
5.2.00.0130.03310.72
5.1.60.0030.03310.22
5.1.50.0030.03310.02
5.1.40.0100.02710.12
5.1.30.0070.03310.31
5.1.20.0000.04010.28
5.1.10.0000.0409.95
5.1.00.0070.03310.00
5.0.50.0030.0278.60
5.0.40.0030.0278.49
5.0.30.0100.0338.23
5.0.20.0000.0308.27
5.0.10.0030.0278.22
5.0.00.0000.0478.10
4.4.90.0000.0277.48
4.4.80.0070.0307.48
4.4.70.0030.0207.48
4.4.60.0030.0207.48
4.4.50.0030.0207.48
4.4.40.0100.0277.48
4.4.30.0000.0237.48
4.4.20.0100.0137.48
4.4.10.0030.0207.48
4.4.00.0030.0337.48
4.3.110.0030.0207.48
4.3.100.0030.0207.48
4.3.90.0030.0207.48
4.3.80.0070.0307.48
4.3.70.0070.0177.48
4.3.60.0070.0177.48
4.3.50.0030.0277.48
4.3.40.0030.0477.48
4.3.30.0030.0277.48
4.3.20.0030.0207.48
4.3.10.0030.0207.48
4.3.00.0070.0177.19

preferences:
51.45 ms | 401 KiB | 5 Q