3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = '//host.example.com'; var_dump( parse_url( $url ) ); $url = '//[::FFFF::127.0.0.1]'; var_dump( parse_url( $url ) );

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.0070.01417.64
8.4.10.0090.00017.51
8.3.150.0040.01117.19
8.3.140.0090.00916.57
8.3.130.0030.00518.29
8.3.120.0130.00620.52
8.3.110.0000.00920.94
8.3.100.0030.00624.06
8.3.90.0000.00818.18
8.3.80.0030.01017.97
8.3.70.0030.01316.55
8.3.60.0150.00018.43
8.3.50.0040.01621.97
8.3.40.0070.00718.53
8.3.30.0070.00718.41
8.3.20.0040.00420.09
8.3.10.0050.00223.41
8.3.00.0080.00019.67
8.2.270.0060.01216.73
8.2.260.0120.00618.73
8.2.250.0040.00418.98
8.2.240.0110.00817.13
8.2.230.0050.00522.58
8.2.220.0100.00037.54
8.2.210.0080.00026.77
8.2.200.0060.00318.41
8.2.190.0040.01116.58
8.2.180.0120.00616.50
8.2.170.0090.00622.96
8.2.160.0140.00019.34
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00719.54
8.2.110.0070.00419.27
8.2.100.0090.00317.78
8.2.90.0050.00318.92
8.2.80.0050.00317.97
8.2.70.0030.00517.50
8.2.60.0090.00017.80
8.2.50.0060.00318.07
8.2.40.0000.01119.21
8.2.30.0040.00419.85
8.2.20.0060.00317.48
8.2.10.0030.00617.89
8.2.00.0040.00417.88
8.1.310.0070.01018.37
8.1.300.0110.00017.86
8.1.290.0060.00318.88
8.1.280.0100.00325.92
8.1.270.0040.00420.25
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0060.00323.96
8.1.230.0040.00717.52
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0040.00718.50
8.1.160.0040.00421.92
8.1.150.0000.00818.69
8.1.140.0030.00617.25
8.1.130.0000.00717.54
8.1.120.0030.00517.27
8.1.110.0000.00717.39
8.1.100.0040.00417.38
8.1.90.0050.00217.42
8.1.80.0000.00817.36
8.1.70.0000.00717.25
8.1.60.0040.00417.52
8.1.50.0000.00817.48
8.1.40.0140.00017.45
8.1.30.0030.00717.56
8.1.20.0040.00417.50
8.1.10.0000.00717.41
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00318.30
8.0.270.0000.00816.66
8.0.260.0030.00717.09
8.0.250.0040.00416.88
8.0.240.0000.00716.88
8.0.230.0030.00316.79
8.0.220.0000.00716.71
8.0.210.0070.00016.71
8.0.200.0040.00416.82
8.0.190.0000.00716.92
8.0.180.0040.00416.73
8.0.170.0040.00416.81
8.0.160.0000.00816.90
8.0.150.0060.00616.76
8.0.140.0040.00416.75
8.0.130.0060.00013.32
8.0.120.0040.00416.78
8.0.110.0070.00016.84
8.0.100.0000.00816.79
8.0.90.0090.00016.86
8.0.80.0100.00616.79
8.0.70.0050.00216.58
8.0.60.0040.00416.64
8.0.50.0030.00516.85
8.0.30.0100.00716.95
8.0.20.0110.01117.40
8.0.10.0040.00416.77
8.0.00.0090.00916.65
7.4.330.0030.00315.08
7.4.320.0000.00716.34
7.4.300.0000.00616.41
7.4.290.0030.00316.45
7.4.280.0100.00316.49
7.4.270.0070.00016.39
7.4.260.0030.00316.33
7.4.250.0000.00716.48
7.4.240.0030.00416.42
7.4.230.0050.00216.32
7.4.220.0120.01216.46
7.4.210.0060.00916.51
7.4.200.0040.00416.32
7.4.160.0030.01316.34
7.4.150.0110.00717.40
7.4.140.0080.01317.86
7.4.130.0050.01216.46
7.4.120.0060.01416.32
7.4.110.0090.00916.52
7.4.100.0120.00916.58
7.4.90.0120.00416.58
7.4.80.0060.01519.39
7.4.70.0120.00416.38
7.4.60.0030.01316.36
7.4.50.0060.00316.22
7.4.40.0000.01616.45
7.4.30.0100.00716.30
7.4.00.0110.00614.95
7.3.330.0050.00012.98
7.3.320.0030.00313.00
7.3.310.0040.00416.19
7.3.300.0060.00016.10
7.3.290.0070.00016.13
7.3.280.0100.00916.12
7.3.270.0070.01017.40
7.3.260.0210.00316.46
7.3.250.0080.00816.15
7.3.240.0090.00916.17
7.3.230.0130.00516.39
7.3.210.0120.00316.29
7.3.200.0060.00916.32
7.3.190.0090.00616.43
7.3.180.0150.00416.32
7.3.170.0060.01716.51
7.3.160.0090.00916.48
7.3.120.0120.00614.50
7.3.110.0090.00914.74
7.3.100.0070.00714.71
7.3.90.0060.00614.59
7.3.80.0040.01114.78
7.3.70.0100.00314.71
7.3.60.0000.01214.82
7.3.50.0030.01014.41
7.3.40.0070.00714.66
7.3.30.0050.00514.64
7.3.20.0070.00716.45
7.3.10.0080.00716.50
7.3.00.0060.00616.58
7.2.330.0090.00916.51
7.2.320.0070.01016.57
7.2.310.0080.00916.20
7.2.300.0060.01116.34
7.2.290.0070.01016.25
7.2.250.0070.01014.76
7.2.240.0060.01215.10
7.2.230.0060.00915.08
7.2.220.0000.01214.55
7.2.210.0090.00314.84
7.2.200.0110.00415.00
7.2.190.0050.00514.64
7.2.180.0070.00714.93
7.2.170.0030.01214.92
7.2.130.0030.00916.88
7.2.120.0000.01416.60
7.2.110.0080.00416.70
7.2.100.0030.01016.47
7.2.90.0060.00316.76
7.2.80.0030.01016.73
7.2.70.0000.01216.68
7.2.60.0090.00316.55
7.2.50.0000.01716.53
7.2.40.0030.01416.90
7.2.30.0070.00716.80
7.2.20.0030.01016.69
7.2.10.0120.00016.89
7.2.00.0090.00518.07
7.1.330.0100.00715.44
7.1.320.0000.01315.89
7.1.310.0030.00915.66
7.1.300.0090.00315.65
7.1.290.0060.00615.39
7.1.280.0030.00615.70
7.1.270.0060.00915.93
7.1.260.0070.00715.75
7.1.250.0070.00715.80
7.1.200.0030.00615.85
7.1.100.0000.01118.11
7.1.70.0030.01016.88
7.1.60.0070.01819.17
7.1.50.0070.01516.81
7.1.00.0000.08022.33
7.0.200.5880.00714.65
7.0.100.0100.05720.16
7.0.90.0300.07019.85
7.0.80.0370.04719.91
7.0.70.0070.08719.91
7.0.60.0070.08319.89
7.0.50.0030.05320.29
7.0.40.0100.07319.98
7.0.30.0100.09020.19
7.0.20.0070.04320.09
7.0.10.0030.08320.09
7.0.00.0170.06720.03
5.6.280.0030.03020.77
5.6.250.0100.08320.74
5.6.240.0030.08320.63
5.6.230.0070.06720.65
5.6.220.0170.07020.65
5.6.210.0000.09020.48
5.6.200.0130.08021.04
5.6.190.0030.06320.95
5.6.180.0130.06321.04
5.6.170.0000.05720.99
5.6.160.0130.07721.09
5.6.150.0030.06720.99
5.6.140.0030.04721.00
5.6.130.0100.07721.00
5.6.120.0070.08020.98
5.6.110.0030.09721.11
5.6.100.0070.04721.08
5.6.90.0100.07320.99
5.6.80.0070.06720.48
5.6.70.0130.07320.42
5.6.60.0030.07020.45
5.6.50.0070.08020.46
5.6.40.0030.07020.52
5.6.30.0070.07720.29
5.6.20.0100.07320.36
5.6.10.0070.08320.39
5.6.00.0170.07020.36
5.5.380.0070.08020.34
5.5.370.0170.08320.30
5.5.360.0170.04320.40
5.5.350.0100.04320.45
5.5.340.0130.04320.91
5.5.330.0100.08320.79
5.5.320.0070.07320.86
5.5.310.0070.04020.74
5.5.300.0030.07720.89
5.5.290.0100.08320.88
5.5.280.0000.08020.93
5.5.270.0030.07320.83
5.5.260.0100.07020.71
5.5.250.0130.07320.71
5.5.240.0070.07320.25
5.5.230.0130.07020.29
5.5.220.0170.07020.25
5.5.210.0100.08020.26
5.5.200.0170.07020.23
5.5.190.0100.04720.25
5.5.180.0100.07720.21
5.5.160.0070.08020.21
5.5.150.0100.07020.17
5.5.140.0070.07720.23
5.5.130.0070.08019.98
5.5.120.0030.04720.16
5.5.110.0100.03720.14
5.5.100.0030.04720.04
5.5.90.0030.04019.96
5.5.80.0000.04320.05
5.5.70.0070.03720.05
5.5.60.0070.03720.03
5.5.50.0000.04720.08
5.5.40.0030.04019.95
5.5.30.0000.04320.10
5.5.20.0000.04320.13
5.5.10.0030.04020.06
5.5.00.0070.03320.10
5.4.450.0100.04319.39
5.4.440.0130.05719.13
5.4.430.0130.07019.29
5.4.420.0030.06319.30
5.4.410.0030.04719.09
5.4.400.0030.08019.10
5.4.390.0200.06318.94
5.4.380.0100.07719.05
5.4.370.0130.06019.14
5.4.360.0070.05319.09
5.4.350.0130.07019.05
5.4.340.0270.06318.98
5.4.320.0070.07319.07
5.4.310.0070.07019.03
5.4.300.0100.08018.94
5.4.290.0070.07019.14
5.4.280.0070.06718.80
5.4.270.0100.04318.96
5.4.260.0100.03319.04
5.4.250.0070.03719.05
5.4.240.0070.03318.80
5.4.230.0000.04318.89
5.4.220.0070.04719.09
5.4.210.0070.03318.97
5.4.200.0030.03318.98
5.4.190.0130.02718.93
5.4.180.0030.03719.04
5.4.170.0000.04018.96
5.4.160.0030.05719.10
5.4.150.0130.03018.79
5.4.140.0030.06316.33
5.4.130.0070.02316.26
5.4.120.0030.03716.17
5.4.110.0030.03716.23
5.4.100.0100.02316.40
5.4.90.0070.03016.30
5.4.80.0030.03316.42
5.4.70.0000.03716.30
5.4.60.0070.02716.18
5.4.50.0030.03716.23
5.4.40.0000.03316.24
5.4.30.0100.02716.27
5.4.20.0030.03316.18
5.4.10.0030.04016.29
5.4.00.0030.03315.78
5.3.290.0030.05014.66
5.3.280.0000.04014.59
5.3.270.0070.03314.42
5.3.260.0100.03014.55
5.3.250.0030.03714.56
5.3.240.0030.03014.58
5.3.230.0030.05014.54
5.3.220.0000.03314.52
5.3.210.0070.02714.47
5.3.200.0030.03014.55
5.3.190.0000.03314.37
5.3.180.0030.04314.50
5.3.170.0030.04014.51
5.3.160.0070.03314.39
5.3.150.0000.04014.42
5.3.140.0000.04014.53
5.3.130.0000.04014.41
5.3.120.0030.05014.50
5.3.110.0030.03714.53
5.3.100.0000.04013.97
5.3.90.0070.03714.01
5.3.80.0000.04013.80
5.3.70.0030.03713.92
5.3.60.0070.02713.86
5.3.50.0030.03313.92
5.3.40.0030.03713.94
5.3.30.0030.03313.75
5.3.20.0000.04313.61
5.3.10.0000.04013.58
5.3.00.0030.03313.62
5.2.170.0070.02712.36
5.2.160.0000.03012.36
5.2.150.0000.02712.36
5.2.140.0030.03012.36
5.2.130.0000.03312.36
5.2.120.0030.02312.36
5.2.110.0070.02312.36
5.2.100.0000.03012.36
5.2.90.0000.05012.36
5.2.80.0070.03312.36
5.2.70.0030.03012.36
5.2.60.0070.03312.36
5.2.50.0000.03012.36
5.2.40.0030.03012.36
5.2.30.0070.03012.36
5.2.20.0000.03312.36
5.2.10.0170.05012.36
5.2.00.0070.05012.36
5.1.60.0030.05312.36
5.1.50.0030.04312.36
5.1.40.0030.02712.36
5.1.30.0070.03312.36
5.1.20.0000.03012.36
5.1.10.0000.03012.36
5.1.00.0030.06012.36
5.0.50.0030.04312.36
5.0.40.0000.04012.36
5.0.30.0070.05312.36
5.0.20.0030.04312.36
5.0.10.0000.03012.36
5.0.00.0000.07012.36
4.4.90.0030.03012.36
4.4.80.0000.01712.36
4.4.70.0000.02012.36
4.4.60.0000.03312.36
4.4.50.0030.02712.36
4.4.40.0030.05012.36
4.4.30.0000.03712.36
4.4.20.0070.03012.36
4.4.10.0000.03712.36
4.4.00.0000.03012.36
4.3.110.0030.03312.36
4.3.100.0000.03312.36
4.3.90.0030.03312.36
4.3.80.0070.05012.36
4.3.70.0100.01012.36
4.3.60.0000.03312.36
4.3.50.0100.03012.36
4.3.40.0030.02712.36
4.3.30.0030.02712.36
4.3.20.0000.04012.36
4.3.10.0030.02312.36
4.3.00.0000.03312.36

preferences:
30.65 ms | 403 KiB | 5 Q