3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( parse_url( 'http://127.0.0.1:80' ), parse_url( 'http://[::1]:80' ), parse_url( 'http://127.0.0.1' ), // Local IPv4 parse_url( 'http://104.205.87.98' ), // Public IPv4 parse_url( 'http://201.152.36.103:58749' ), // IPv4 with port parse_url( 'http://1fff:0:a88:85a3::ac1f' ), // IPv6 parse_url( 'http://[1fff:0:a88:85a3::ac1f]:8001' ) // IPv6 with port );

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.4.20.0170.00317.73
8.4.10.0060.00319.49
8.3.150.0000.00818.20
8.3.140.0060.00317.12
8.3.130.0060.00318.25
8.3.120.0000.01620.32
8.3.110.0030.00620.94
8.3.100.0100.00024.06
8.3.90.0080.01226.77
8.3.80.0030.00618.43
8.3.70.0070.01416.58
8.3.60.0180.00016.50
8.3.50.0120.00316.48
8.3.40.0120.00618.46
8.3.30.0070.00718.58
8.3.20.0040.00420.35
8.3.10.0000.00820.73
8.3.00.0080.00020.14
8.2.260.0080.00018.21
8.2.250.0040.00416.60
8.2.240.0040.00417.30
8.2.230.0080.00822.58
8.2.220.0080.00037.54
8.2.210.0060.00326.77
8.2.200.0000.01016.38
8.2.190.0090.00916.58
8.2.180.0210.00025.92
8.2.170.0080.00618.88
8.2.160.0070.00722.96
8.2.150.0000.00824.18
8.2.140.0070.00724.66
8.2.130.0050.00326.16
8.2.120.0080.00019.41
8.2.110.0030.00922.29
8.2.100.0000.01217.68
8.2.90.0040.00418.95
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0000.00817.38
8.2.50.0080.00017.55
8.2.40.0000.00819.23
8.2.30.0050.00219.02
8.2.20.0000.00718.04
8.2.10.0040.00417.92
8.2.00.0020.00517.92
8.1.310.0000.00818.16
8.1.300.0070.01118.41
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0040.00422.05
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0050.00522.53
8.1.230.0090.00317.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0050.00317.10
8.1.180.0060.00318.10
8.1.170.0040.00418.98
8.1.160.0060.00318.71
8.1.150.0000.00720.21
8.1.140.0030.00619.32
8.1.130.0030.00318.66
8.1.120.0000.00717.24
8.1.110.0040.00417.34
8.1.100.0070.00017.32
8.1.90.0030.00517.19
8.1.80.0080.00017.23
8.1.70.0030.00317.29
8.1.60.0000.00717.50
8.1.50.0040.00417.43
8.1.40.0050.00317.23
8.1.30.0000.00817.59
8.1.20.0000.00817.41
8.1.10.0040.00417.35
8.1.00.0040.00417.17
8.0.300.0070.00018.77
8.0.290.0060.00316.58
8.0.280.0050.00218.30
8.0.270.0070.00016.68
8.0.260.0050.00318.67
8.0.250.0000.00716.80
8.0.240.0030.00316.83
8.0.230.0050.00316.87
8.0.220.0000.00716.75
8.0.210.0030.00316.73
8.0.200.0050.00316.82
8.0.190.0040.00416.85
8.0.180.0040.00416.73
8.0.170.0080.00016.73
8.0.160.0000.00816.81
8.0.150.0040.00416.69
8.0.140.0000.00716.61
8.0.130.0030.00713.17
8.0.120.0030.00516.75
8.0.110.0040.00416.58
8.0.100.0040.00416.63
8.0.90.0030.00316.67
8.0.80.0060.01016.64
8.0.70.0070.00016.59
8.0.60.0000.00716.73
8.0.50.0000.00716.73
8.0.30.0090.01016.78
8.0.20.0120.01217.40
8.0.10.0040.00416.84
8.0.00.0090.01316.65
7.4.330.0050.00015.55
7.4.320.0000.00916.32
7.4.300.0030.00316.45
7.4.290.0090.00516.26
7.4.280.0030.00316.30
7.4.270.0000.00716.27
7.4.260.0060.00316.44
7.4.250.0020.00516.32
7.4.240.0000.00716.39
7.4.230.0070.00016.22
7.4.220.0030.01716.32
7.4.210.0070.00716.55
7.4.200.0050.00316.27
7.4.160.0080.00816.37
7.4.150.0160.00317.40
7.4.140.0090.01117.86
7.4.130.0160.01016.35
7.4.120.0100.01016.34
7.4.110.0080.01116.41
7.4.100.0090.00916.36
7.4.90.0170.00316.21
7.4.80.0130.01019.39
7.4.70.0070.01616.25
7.4.60.0110.01016.27
7.4.50.0000.01516.16
7.4.40.0100.00716.47
7.4.30.0100.00816.36
7.4.00.0060.01214.66
7.3.330.0000.00512.95
7.3.320.0060.00013.04
7.3.310.0000.00616.06
7.3.300.0070.00016.10
7.3.290.0090.00616.09
7.3.280.0100.00816.14
7.3.270.0100.01017.40
7.3.260.0070.01116.15
7.3.250.0110.00716.31
7.3.240.0130.00416.20
7.3.230.0030.01416.39
7.3.210.0130.01016.15
7.3.200.0080.00816.10
7.3.190.0110.00716.40
7.3.180.0100.00716.41
7.3.170.0090.00616.02
7.3.160.0040.01216.13
7.2.330.0030.01416.31
7.2.320.0130.01316.32
7.2.310.0110.00716.24
7.2.300.0160.01016.23
7.2.290.0140.00316.59
7.2.60.0110.00416.82
7.1.200.0110.00415.28
7.1.80.0030.01317.83
7.1.70.0100.00316.98
7.1.60.0150.01235.15
7.1.50.0220.01634.73
7.1.40.0260.01334.50
7.1.30.0240.01734.47
7.1.20.0220.00634.52
7.1.10.0060.00616.39
7.1.00.0060.01216.70
7.0.200.0080.00516.50
7.0.190.0090.00916.52
7.0.180.0060.01216.01
7.0.170.0000.01916.02
7.0.160.0030.00916.03
7.0.150.0000.01516.01
7.0.140.0060.00616.08
7.0.130.0060.00616.29
7.0.120.0080.00416.43
7.0.110.0040.00816.13
7.0.100.0030.00916.20
7.0.90.0040.00816.27
7.0.80.0040.00816.15
7.0.70.0000.01216.11
7.0.60.0090.00315.90
7.0.50.0030.00916.45
7.0.40.0040.00816.63
7.0.30.0030.00816.33
7.0.20.0060.00616.37
7.0.10.0060.00616.37
7.0.00.0060.00616.23
5.6.300.0140.05520.83
5.6.290.0130.06320.98
5.6.280.0070.05620.97
5.6.270.0130.07220.82
5.6.260.0130.04920.91
5.6.250.0000.06520.80
5.6.240.0130.05320.80
5.6.230.0160.05120.89
5.6.220.0030.06120.73
5.6.210.0210.04520.98
5.6.200.0070.05820.74
5.6.190.0100.05620.95
5.6.180.0100.05320.76
5.6.170.0170.04520.73
5.6.160.0060.05820.76
5.6.150.0130.05420.79
5.6.140.0130.05220.86
5.6.130.0130.05220.75
5.6.120.0070.08220.95
5.6.110.0130.05620.95
5.6.100.0070.06020.97
5.6.90.0100.05320.94
5.6.80.0070.05520.14
5.6.70.0100.05120.25
5.6.60.0070.05620.14
5.6.50.0130.06120.25
5.6.40.0090.05720.29
5.6.30.0070.05420.23
5.6.20.0130.05020.11
5.6.10.0130.04620.34
5.6.00.0070.05620.22
5.5.380.0070.05517.41
5.5.370.0070.05317.45
5.5.360.0100.05317.54
5.5.350.0030.05817.47
5.5.340.0130.04717.77
5.5.330.0100.05117.90
5.5.320.0030.06918.07
5.5.310.0130.04917.70
5.5.300.0100.05218.05
5.5.290.0160.05117.88
5.5.280.0030.06217.88
5.5.270.0030.06217.73
5.5.260.0070.05917.98
5.5.250.0090.05417.61
5.5.240.0160.04617.45
5.5.230.0030.06017.25
5.5.220.0170.04317.34
5.5.210.0060.05417.31
5.5.200.0030.05517.41
5.5.190.0070.05417.40
5.5.180.0060.05417.24
5.5.160.0060.05217.32
5.5.150.0130.05117.09
5.5.140.0100.06617.30
5.5.130.0230.06117.23
5.5.120.0100.04917.31
5.5.110.0070.05717.32
5.5.100.0100.05517.25
5.5.90.0070.05317.18
5.5.80.0210.05217.27
5.5.70.0070.05617.21
5.5.60.0110.05017.24
5.5.50.0170.04417.18
5.5.40.0100.05017.15
5.5.30.0030.06417.23
5.5.20.0070.05517.01
5.5.10.0040.05717.23
5.5.00.0070.05617.30
5.4.450.0160.04919.11
5.4.440.0060.05819.43
5.4.430.0100.05419.39
5.4.420.0090.05519.32
5.4.410.0070.05419.04
5.4.400.0130.04819.03
5.4.390.0100.05118.84
5.4.380.0140.04518.76
5.4.370.0030.06618.95
5.4.360.0030.05718.95
5.4.350.0060.05218.80
5.4.340.0070.05318.90
5.4.320.0070.05618.76
5.4.310.0100.05019.07
5.4.300.0140.07419.07
5.4.290.0230.05819.15
5.4.280.0000.06218.75
5.4.270.0070.05319.06
5.4.260.0170.04318.87
5.4.250.0070.05519.06
5.4.240.0070.05318.94
5.4.230.0160.04518.77
5.4.220.0070.05918.97
5.4.210.0070.05518.99
5.4.200.0030.05518.78
5.4.190.0040.05718.77
5.4.180.0160.04418.98
5.4.170.0130.04719.05
5.4.160.0130.05318.96
5.4.150.0130.04719.14
5.4.140.0040.05316.36
5.4.130.0100.04516.48
5.4.120.0070.05116.45
5.4.110.0100.05016.55
5.4.100.0130.04516.34
5.4.90.0040.06316.56
5.4.80.0160.04216.41
5.4.70.0030.05316.38
5.4.60.0100.04716.47
5.4.50.0030.05216.47
5.4.40.0130.04716.62
5.4.30.0070.04816.47
5.4.20.0060.05016.53
5.4.10.0030.05516.54
5.4.00.0130.04215.70
5.3.290.0030.05514.72
5.3.280.0140.04714.68
5.3.270.0070.05214.42
5.3.260.0130.04614.64
5.3.250.0130.04414.77
5.3.240.0030.05414.42
5.3.230.0070.05314.57
5.3.220.0160.04214.76
5.3.210.0070.05314.55
5.3.200.0130.04314.49
5.3.190.0100.06614.61
5.3.180.0070.05214.37
5.3.170.0130.04614.72
5.3.160.0000.05714.62
5.3.150.0060.05114.49
5.3.140.0070.04914.36
5.3.130.0100.05214.36
5.3.120.0060.06014.54
5.3.110.0100.06114.74
5.3.100.0200.03614.03
5.3.90.0070.04913.82
5.3.80.0040.05313.90
5.3.70.0030.05214.17
5.3.60.0100.04513.98
5.3.50.0030.05014.14
5.3.40.0060.04814.12
5.3.30.0130.03913.70
5.3.20.0070.04813.86
5.3.10.0060.04813.84
5.3.00.0130.06213.62
5.2.170.0110.03611.13
5.2.160.0100.03411.27
5.2.150.0070.03911.29
5.2.140.0130.03911.29
5.2.130.0060.03811.14
5.2.120.0030.04211.08
5.2.110.0100.04811.33
5.2.100.0060.05710.88
5.2.90.0030.04611.32
5.2.80.0070.04211.22
5.2.70.0070.04111.33
5.2.60.0000.04510.86
5.2.50.0070.03911.07
5.2.40.0110.04511.13
5.2.30.0070.03911.11
5.2.20.0030.04510.77
5.2.10.0060.03910.90
5.2.00.0030.04110.91
5.1.60.0030.0349.97
5.1.50.0060.03110.13
5.1.40.0130.04110.09
5.1.30.0070.03310.32
5.1.20.0140.02710.61
5.1.10.0030.03610.25
5.1.00.0070.03310.27
5.0.50.0030.0298.82
5.0.40.0070.0228.71
5.0.30.0000.0468.30
5.0.20.0000.0308.45
5.0.10.0100.0228.46
5.0.00.0030.0418.44
4.4.90.0000.0246.24
4.4.80.0030.0216.24
4.4.70.0090.0176.24
4.4.60.0040.0236.24
4.4.50.0090.0176.24
4.4.40.0070.0296.24
4.4.30.0090.0256.24
4.4.20.0060.0196.24
4.4.10.0000.0246.24
4.4.00.0060.0296.24
4.3.110.0030.0216.24
4.3.100.0000.0236.24
4.3.90.0040.0196.24
4.3.80.0000.0356.24
4.3.70.0090.0146.24
4.3.60.0000.0246.24
4.3.50.0060.0206.24
4.3.40.0030.0316.24
4.3.30.0100.0146.24
4.3.20.0030.0226.24
4.3.10.0030.0206.24
4.3.00.0000.0246.24

preferences:
78.07 ms | 403 KiB | 5 Q