3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072 1.2.3.4/btc.txt"); print "meh"; print_r($parts); print "wah"; $hosts = gethostbynamel($parts['host']); print_r($hosts); print "wtf"; ?>

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.00918.52
8.3.50.0110.00621.93
8.3.40.0070.00718.89
8.3.30.0110.00419.46
8.3.20.0080.00020.63
8.3.10.0000.00922.17
8.3.00.0040.00422.77
8.2.180.0100.01016.88
8.2.170.0120.00322.96
8.2.160.0100.00621.14
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.36
8.2.110.0090.00022.33
8.2.100.0120.00017.91
8.2.90.0080.00019.38
8.2.80.0050.00318.26
8.2.70.0070.00317.75
8.2.60.0030.00618.05
8.2.50.0060.00318.07
8.2.40.0030.00618.28
8.2.30.0040.00418.26
8.2.20.0040.00417.67
8.2.10.0040.00417.71
8.2.00.0030.00517.69
8.1.280.0130.00725.92
8.1.270.0040.00423.95
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.73
8.1.230.0040.00819.29
8.1.220.0040.00417.89
8.1.210.0030.00618.77
8.1.200.0000.01017.35
8.1.190.0040.00417.52
8.1.180.0030.00618.10
8.1.170.0040.00418.65
8.1.160.0020.00522.08
8.1.150.0000.00918.72
8.1.140.0040.00417.48
8.1.130.0000.00718.01
8.1.120.0000.00717.50
8.1.110.0040.00417.58
8.1.100.0040.00417.53
8.1.90.0000.00717.49
8.1.80.0030.00517.52
8.1.70.0030.00517.48
8.1.60.0000.00917.56
8.1.50.0000.00717.50
8.1.40.0000.00717.59
8.1.30.0040.00417.78
8.1.20.0080.00017.69
8.1.10.0050.00317.59
8.1.00.0000.00817.58
8.0.300.0040.00418.77
8.0.290.0040.00417.18
8.0.280.0030.00518.45
8.0.270.0030.00317.38
8.0.260.0060.00016.94
8.0.250.0030.00316.98
8.0.240.0040.00416.84
8.0.230.0040.00416.96
8.0.220.0080.00016.89
8.0.210.0030.00316.87
8.0.200.0030.00317.04
8.0.190.0060.00317.04
8.0.180.0040.00416.91
8.0.170.0000.00716.88
8.0.160.0000.00816.97
8.0.150.0030.00516.96
8.0.140.0000.00816.84
8.0.130.0050.00013.46
8.0.120.0000.00816.89
8.0.110.0040.00416.87
8.0.100.0040.00417.06
8.0.90.0020.00516.94
8.0.80.0030.01216.98
8.0.70.0030.00516.81
8.0.60.0000.00717.00
8.0.50.0040.00416.95
8.0.30.0070.01717.28
8.0.20.0050.01417.40
8.0.10.0040.00417.10
8.0.00.0080.01116.73
7.4.330.0060.00015.29
7.4.320.0000.00716.71
7.4.300.0030.00316.57
7.4.290.0000.00716.61
7.4.280.0040.00416.70
7.4.270.0030.00316.70
7.4.260.0000.00716.64
7.4.250.0000.00816.71
7.4.240.0040.00416.70
7.4.230.0040.00416.50
7.4.220.0090.01316.79
7.4.210.0090.00716.71
7.4.200.0040.00416.70
7.4.190.0050.00216.82
7.4.160.0030.01416.48
7.4.150.0030.01517.40
7.4.140.0130.00717.86
7.4.130.0090.00916.78
7.4.120.0090.00916.66
7.4.110.0110.00816.61
7.4.100.0000.01816.60
7.4.90.0140.01116.70
7.4.80.0060.01219.39
7.4.70.0140.00316.68
7.4.60.0060.01116.73
7.4.50.0000.00716.84
7.4.40.0070.01022.77
7.4.30.0120.00416.52
7.4.00.0120.00315.30
7.3.330.0050.00013.35
7.3.320.0050.00013.37
7.3.310.0000.00716.51
7.3.300.0000.00816.42
7.3.290.0080.00816.45
7.3.280.0110.00816.41
7.3.270.0110.01517.40
7.3.260.0120.00616.44
7.3.250.0130.00916.70
7.3.240.0070.01016.71
7.3.230.0150.00316.77
7.3.210.0120.00616.52
7.3.200.0040.01919.39
7.3.190.0070.01616.73
7.3.180.0090.00616.75
7.3.170.0110.00616.61
7.3.160.0160.00016.25
7.3.120.0000.01614.84
7.2.330.0100.01016.92
7.2.320.0060.01316.55
7.2.310.0080.01216.74
7.2.300.0070.01016.55
7.2.290.0060.01016.52
7.1.70.0030.00517.37
7.1.60.0090.00317.61
7.1.50.0060.01217.37
7.1.00.0070.07322.65
7.0.200.0060.01217.10
7.0.140.0030.06722.28
7.0.60.0130.07720.24
7.0.50.0070.04718.16
7.0.40.0100.07320.48
7.0.30.0230.07320.43
7.0.20.0270.05720.39
7.0.10.0070.04020.38
7.0.00.0030.09320.50
5.6.280.0030.07721.50
5.6.210.0030.04021.04
5.6.200.0030.04018.51
5.6.190.0070.08721.05
5.6.180.4130.04021.05
5.6.170.0130.04320.82
5.6.160.0070.04720.81
5.6.150.0000.06018.44
5.6.140.0170.07318.47
5.6.130.0100.08318.59
5.6.120.0130.04721.27
5.6.110.0030.08021.31
5.6.100.0130.07021.46
5.6.90.0100.06021.41
5.6.80.0070.03720.82
5.6.70.4400.03320.70
5.5.350.0070.07720.75
5.5.340.0000.08318.25
5.5.330.0070.05320.68
5.5.320.3800.04320.68
5.5.310.0270.07320.77
5.5.300.0000.04318.22
5.5.290.0030.04318.25
5.5.280.0170.06721.18
5.5.270.0170.07321.08
5.5.260.0100.04021.14
5.5.250.0070.05320.96
5.5.240.0230.07720.40
5.4.450.0300.04019.72
5.4.440.0270.05319.56
5.4.430.0530.04019.45
5.4.420.0870.03719.53
5.4.410.0100.05019.20
5.4.400.0030.06019.04
5.4.390.0100.05318.82
5.4.380.0200.04719.05
5.4.370.0230.05018.77
5.4.360.0170.06719.00
5.4.350.0300.05018.95
5.4.340.0200.05718.65
5.4.320.0090.04812.65
5.4.310.0090.04312.64
5.4.300.0050.03812.65
5.4.290.0100.04812.64
5.4.280.0180.04212.52
5.4.270.0150.05212.52
5.4.260.0130.05312.53
5.4.250.0150.05412.53
5.4.240.0130.04912.52
5.4.230.0070.05312.52
5.4.220.0130.04712.52
5.4.210.0160.04412.52
5.4.200.0100.05012.52
5.4.190.0100.04812.51
5.4.180.0110.05612.51
5.4.170.0120.04812.52
5.4.160.0080.04912.52
5.4.150.0140.04512.52
5.4.140.0060.05612.20
5.4.130.0060.05712.19
5.4.120.0080.05812.14
5.4.110.0150.04812.14
5.4.100.0200.07212.15
5.4.90.0120.05212.14
5.4.80.0140.04612.14
5.4.70.0090.05412.14
5.4.60.0160.05212.14
5.4.50.0140.05012.13
5.4.40.0120.05212.13
5.4.30.0100.05112.12
5.4.20.0110.05312.13
5.4.10.0100.05312.12
5.4.00.0060.05711.61
5.3.290.0060.05012.84
5.3.280.0100.05212.77
5.3.270.0120.05612.78
5.3.260.0120.05712.78
5.3.250.0130.05312.78
5.3.240.0150.05412.78
5.3.230.0080.05712.77
5.3.220.0120.05612.74
5.3.210.0090.06112.74
5.3.200.0100.05212.74
5.3.190.0110.05112.74
5.3.180.0100.05612.73
5.3.170.0140.05112.73
5.3.160.0110.05112.73
5.3.150.0110.06212.74
5.3.140.0120.05712.73
5.3.130.0110.06312.72
5.3.120.0100.06112.72
5.3.110.0110.06012.72
5.3.100.0060.05512.21
5.3.90.0080.04012.20
5.3.80.0060.04112.19
5.3.70.0060.05012.19
5.3.60.0070.05212.17
5.3.50.0090.05112.11
5.3.40.0050.05612.11
5.3.30.0090.05212.07
5.3.20.0080.04711.86
5.3.10.0110.04611.82
5.3.00.0130.04411.81
5.2.170.0070.0419.31
5.2.160.0060.0419.30
5.2.150.0060.0409.31
5.2.140.0090.0389.30
5.2.130.0060.0389.27
5.2.120.0090.0469.26
5.2.110.0120.0449.27
5.2.100.0090.0409.27
5.2.90.0080.0459.26
5.2.80.0100.0449.26
5.2.70.0100.0389.26
5.2.60.0100.0429.22
5.2.50.0100.0459.18
5.2.40.0100.0369.16
5.2.30.0120.0359.14
5.2.20.0120.0339.13
5.2.10.0130.0379.03
5.2.00.0110.0398.88
5.1.60.0060.0358.16
5.1.50.0090.0328.16
5.1.40.0080.0348.14
5.1.30.0130.0398.50
5.1.20.0100.0348.52
5.1.10.0060.0428.24
5.1.00.0040.0458.24
5.0.50.0060.0336.72
5.0.40.0090.0376.58
5.0.30.0070.0556.39
5.0.20.0050.0276.37
5.0.10.0060.0196.34
5.0.00.0040.0326.33
4.4.90.0010.0194.78
4.4.80.0050.0184.75
4.4.70.0030.0164.76
4.4.60.0030.0164.75
4.4.50.0030.0164.77
4.4.40.0040.0254.71
4.4.30.0070.0184.75
4.4.20.0260.0704.84
4.4.10.0030.0234.85
4.4.00.0030.0344.76
4.3.110.0010.0254.67
4.3.100.0050.0264.66
4.3.90.0030.0224.63
4.3.80.0020.0344.61
4.3.70.0060.0224.63
4.3.60.0040.0234.63
4.3.50.0060.0214.63
4.3.40.0030.0344.56
4.3.30.0050.0243.37
4.3.20.0020.0463.35
4.3.10.0100.0363.32
4.3.00.0030.02015.04

preferences:
37.55 ms | 401 KiB | 5 Q