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.0110.01118.43
8.3.50.0110.00621.99
8.3.40.0150.00619.10
8.3.30.0130.00319.34
8.3.20.0080.00020.64
8.3.10.0030.00522.35
8.3.00.0050.00322.69
8.2.180.0100.00716.88
8.2.170.0120.00622.96
8.2.160.0140.00021.01
8.2.150.0090.00024.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0050.00319.48
8.2.110.0060.00319.43
8.2.100.0040.00818.03
8.2.90.0040.00418.47
8.2.80.0050.00317.97
8.2.70.0030.00518.29
8.2.60.0000.00818.16
8.2.50.0000.00818.10
8.2.40.0000.00820.72
8.2.30.0040.00418.14
8.2.20.0040.00417.80
8.2.10.0040.00419.61
8.2.00.0080.00017.70
8.1.280.0100.00725.92
8.1.270.0080.00024.04
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00622.70
8.1.230.0120.00022.94
8.1.220.0050.00317.79
8.1.210.0040.00418.82
8.1.200.0040.00417.35
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0000.01018.78
8.1.160.0050.00322.00
8.1.150.0040.00418.64
8.1.140.0040.00417.63
8.1.130.0070.00017.92
8.1.120.0030.00517.55
8.1.110.0000.00817.52
8.1.100.0040.00417.52
8.1.90.0000.00717.48
8.1.80.0050.00317.52
8.1.70.0070.00017.46
8.1.60.0090.00017.56
8.1.50.0070.00017.59
8.1.40.0000.00817.61
8.1.30.0060.00317.56
8.1.20.0040.00417.51
8.1.10.0000.00717.70
8.1.00.0030.00617.72
8.0.300.0040.00420.01
8.0.290.0080.00016.88
8.0.280.0000.00718.57
8.0.270.0050.00317.38
8.0.260.0070.00016.95
8.0.250.0000.00717.03
8.0.240.0040.00316.94
8.0.230.0030.00316.93
8.0.220.0030.00316.90
8.0.210.0000.00716.86
8.0.200.0040.00416.86
8.0.190.0030.00516.91
8.0.180.0070.00316.99
8.0.170.0000.00816.95
8.0.160.0040.00416.95
8.0.150.0000.00716.93
8.0.140.0000.00716.96
8.0.130.0000.00713.43
8.0.120.0040.00416.94
8.0.110.0000.00817.05
8.0.100.0040.00417.05
8.0.90.0000.00716.93
8.0.80.0100.00617.02
8.0.70.0040.00416.89
8.0.60.0040.00417.04
8.0.50.0040.00417.05
8.0.30.0090.01017.24
8.0.20.0140.00917.48
8.0.10.0030.00517.02
8.0.00.0130.00517.01
7.4.330.0020.00215.21
7.4.320.0000.00616.59
7.4.300.0030.00316.67
7.4.290.0070.00416.59
7.4.280.0000.00716.58
7.4.270.0070.00016.47
7.4.260.0040.00416.52
7.4.250.0080.00016.57
7.4.240.0020.00616.67
7.4.230.0030.00316.50
7.4.220.0130.00616.66
7.4.210.0090.00816.67
7.4.200.0000.00716.82
7.4.190.0040.00416.85
7.4.160.0140.00416.46
7.4.150.0150.00417.40
7.4.140.0100.01317.86
7.4.130.0070.01416.62
7.4.120.0080.01016.72
7.4.110.0110.00716.59
7.4.100.0130.00616.93
7.4.90.0120.00916.58
7.4.80.0060.01619.39
7.4.70.0150.00316.71
7.4.60.0090.00916.68
7.4.50.0000.00916.65
7.4.40.0060.00922.77
7.4.30.0100.00716.66
7.4.00.0030.01415.11
7.3.330.0050.00013.16
7.3.320.0050.00013.18
7.3.310.0040.00416.50
7.3.300.0000.00716.41
7.3.290.0030.01316.38
7.3.280.0080.01016.43
7.3.270.0150.00617.40
7.3.260.0170.00016.52
7.3.250.0090.00916.66
7.3.240.0200.00316.47
7.3.230.0070.01116.55
7.3.210.0130.00316.69
7.3.200.0120.01319.39
7.3.190.0130.00316.53
7.3.180.0040.01416.50
7.3.170.0100.00616.38
7.3.160.0030.01216.66
7.3.120.0080.00814.99
7.3.110.0070.01114.97
7.3.100.0040.00814.57
7.3.90.0070.01014.90
7.3.80.0030.01015.00
7.3.70.0060.01214.74
7.3.60.0030.00914.81
7.3.50.0060.00915.00
7.3.40.0060.00914.86
7.3.30.0130.00314.91
7.3.20.0100.00616.76
7.3.10.0070.00316.84
7.3.00.0130.00316.55
7.2.330.0100.00716.92
7.2.320.0070.01016.88
7.2.310.0170.00816.71
7.2.300.0110.00716.86
7.2.290.0120.01216.63
7.2.250.0060.01114.99
7.2.240.0100.00615.23
7.2.230.0070.00415.05
7.2.220.0030.01315.09
7.2.210.0110.00315.32
7.2.200.0040.01515.21
7.2.190.0090.00315.19
7.2.180.0080.00415.33
7.2.170.0130.00015.21
7.2.00.0040.01119.21
7.1.330.0040.01115.83
7.1.320.0030.00615.91
7.1.310.0030.01116.12
7.1.300.0000.01315.86
7.1.290.0000.01315.97
7.1.280.0080.00816.02
7.1.270.0100.00315.81
7.1.260.0030.00815.83
7.1.200.0040.00715.85
7.1.100.0030.00918.33
7.1.70.0160.00317.18
7.1.60.0120.01219.82
7.1.50.0000.01516.92
7.1.00.0030.07722.71
7.0.200.0090.00616.86
7.0.140.0000.07722.43
7.0.60.0070.05720.30
7.0.50.0130.07318.10
7.0.40.0100.08720.57
7.0.30.0430.04720.64
7.0.20.0230.05320.47
7.0.10.0070.07320.38
7.0.00.0100.08320.55
5.6.280.0070.07321.50
5.6.210.0030.04020.82
5.6.200.0000.04318.38
5.6.190.0100.07321.04
5.6.180.4230.03720.89
5.6.170.0130.04720.83
5.6.160.0000.09320.79
5.6.150.0070.08718.66
5.6.140.0030.04318.41
5.6.130.0130.05018.50
5.6.120.0030.06021.25
5.6.110.0100.08321.40
5.6.100.0100.08321.31
5.6.90.0070.06021.34
5.6.80.0070.06020.83
5.6.70.4630.04020.82
5.5.350.0070.06320.77
5.5.340.0070.03718.34
5.5.330.0030.05320.77
5.5.320.3970.04720.82
5.5.310.0170.05720.61
5.5.300.0130.07018.33
5.5.290.0070.07018.38
5.5.280.0030.08321.05
5.5.270.0030.05021.31
5.5.260.0030.09021.01
5.5.250.0100.08020.89
5.5.240.0270.04020.71
5.4.450.0430.04019.62
5.4.440.0430.04319.54
5.4.430.0770.04719.76
5.4.420.0230.05319.51
5.4.410.0070.05319.20
5.4.400.0130.05018.70
5.4.390.0130.05018.80
5.4.380.0170.05318.68
5.4.370.0230.04718.68
5.4.360.0370.03718.78
5.4.350.0200.06018.62
5.4.340.0170.05718.81
5.4.320.0070.03612.65
5.4.310.0080.03612.65
5.4.300.0120.03512.65
5.4.290.0130.03512.64
5.4.280.0110.04712.53
5.4.270.0080.04212.53
5.4.260.0090.04012.53
5.4.250.0090.04512.53
5.4.240.0080.05212.53
5.4.230.0130.03212.52
5.4.220.0100.03612.52
5.4.210.0080.05112.52
5.4.200.0250.09612.52
5.4.190.0130.05012.52
5.4.180.0110.04912.52
5.4.170.0090.06612.53
5.4.160.0130.04712.53
5.4.150.0150.06012.52
5.4.140.0130.05312.20
5.4.130.0060.05212.19
5.4.120.0170.04912.15
5.4.110.0090.03612.15
5.4.100.0100.05612.14
5.4.90.0110.04712.14
5.4.80.0120.05212.15
5.4.70.0170.05212.14
5.4.60.0170.06312.14
5.4.50.0120.05012.14
5.4.40.0120.05012.13
5.4.30.0110.05512.13
5.4.20.0130.04812.13
5.4.10.0110.04612.13
5.4.00.0110.05411.62
5.3.290.0060.04012.85
5.3.280.0130.04912.77
5.3.270.0050.07212.78
5.3.260.0150.07412.78
5.3.250.0130.04412.79
5.3.240.0070.04012.79
5.3.230.0080.04412.78
5.3.220.0100.04412.74
5.3.210.0160.07812.74
5.3.200.0120.06212.75
5.3.190.0110.03812.75
5.3.180.0050.05912.74
5.3.170.0070.04712.74
5.3.160.0100.05012.74
5.3.150.0130.04412.74
5.3.140.0080.04112.73
5.3.130.0160.08312.73
5.3.120.0310.09912.73
5.3.110.0110.05312.73
5.3.100.0140.05012.21
5.3.90.0030.06412.20
5.3.80.0110.04612.19
5.3.70.0060.05212.19
5.3.60.0100.05312.17
5.3.50.0090.04812.11
5.3.40.0160.06612.11
5.3.30.0100.06612.08
5.3.20.0090.05311.86
5.3.10.0110.06611.83
5.3.00.0100.06911.81
5.2.170.0110.0589.31
5.2.160.0100.0749.31
5.2.150.0100.0499.31
5.2.140.0130.0459.30
5.2.130.0040.0479.27
5.2.120.0140.0369.27
5.2.110.0120.0529.28
5.2.100.0100.0509.27
5.2.90.0090.0459.27
5.2.80.0110.0409.27
5.2.70.0090.0409.27
5.2.60.0080.0489.22
5.2.50.0050.0529.19
5.2.40.0080.0619.17
5.2.30.0150.0819.14
5.2.20.0080.0419.13
5.2.10.0130.0439.03
5.2.00.0120.0498.88
5.1.60.0090.0368.17
5.1.50.0060.0378.17
5.1.40.0100.0548.15
5.1.30.0090.0568.50
5.1.20.0120.0448.52
5.1.10.0070.0358.25
5.1.00.0030.0398.25
5.0.50.0040.0296.72
5.0.40.0060.0266.59
5.0.30.0070.0446.39
5.0.20.0040.0316.37
5.0.10.0110.0266.34
5.0.00.0080.0406.33
4.4.90.0050.0244.78
4.4.80.0070.0214.75
4.4.70.0040.0244.76
4.4.60.0040.0244.76
4.4.50.0060.0244.77
4.4.40.0070.0304.71
4.4.30.0050.0384.76
4.4.20.0050.0224.84
4.4.10.0050.0224.84
4.4.00.0060.0374.76
4.3.110.0090.0224.67
4.3.100.0050.0254.66
4.3.90.0040.0204.63
4.3.80.0060.0244.62
4.3.70.0050.0184.63
4.3.60.0010.0174.63
4.3.50.0010.0184.63
4.3.40.0060.0224.57
4.3.30.0020.0183.38
4.3.20.0050.0153.36
4.3.10.0020.0173.32
4.3.00.0000.01715.03

preferences:
47.35 ms | 401 KiB | 5 Q