3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072\x00@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.0070.01418.43
8.3.50.0120.00822.06
8.3.40.0110.00419.05
8.3.30.0120.00319.34
8.3.20.0080.00020.41
8.3.10.0000.00822.35
8.3.00.0040.00422.65
8.2.180.0150.00016.63
8.2.170.0040.01122.96
8.2.160.0080.01120.75
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0080.00019.61
8.2.110.0040.00422.38
8.2.100.0080.00417.97
8.2.90.0040.00419.41
8.2.80.0050.00318.18
8.2.70.0110.00017.63
8.2.60.0030.00518.05
8.2.50.0060.00318.07
8.2.40.0060.00318.47
8.2.30.0000.00718.07
8.2.20.0060.00317.70
8.2.10.0000.00817.77
8.2.00.0030.00517.82
8.1.280.0110.01125.92
8.1.270.0000.00822.36
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00623.96
8.1.230.0070.00319.13
8.1.220.0090.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0040.00417.52
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0030.00522.16
8.1.150.0000.00718.62
8.1.140.0040.00417.54
8.1.130.0030.00318.03
8.1.120.0000.00717.46
8.1.110.0030.00617.41
8.1.100.0040.00417.42
8.1.90.0000.00817.41
8.1.80.0000.00717.52
8.1.70.0030.00317.48
8.1.60.0000.00817.61
8.1.50.0000.00717.54
8.1.40.0050.00317.49
8.1.30.0060.00317.69
8.1.20.0040.00417.77
8.1.10.0050.00217.62
8.1.00.0040.00417.58
8.0.300.0000.00718.77
8.0.290.0070.00017.30
8.0.280.0000.00818.58
8.0.270.0000.00717.38
8.0.260.0060.00016.86
8.0.250.0000.00717.06
8.0.240.0070.00016.93
8.0.230.0000.00917.01
8.0.220.0030.00316.97
8.0.210.0000.00717.00
8.0.200.0060.00016.91
8.0.190.0000.00716.93
8.0.180.0000.00717.04
8.0.170.0040.00416.82
8.0.160.0000.00816.89
8.0.150.0070.00016.84
8.0.140.0040.00416.94
8.0.130.0000.00513.55
8.0.120.0080.00016.82
8.0.110.0000.00816.79
8.0.100.0000.00716.79
8.0.90.0040.00416.84
8.0.80.0090.00616.94
8.0.70.0000.00816.72
8.0.60.0040.00416.78
8.0.50.0050.00316.80
8.0.30.0120.01016.96
8.0.20.0100.00917.40
8.0.10.0000.00717.14
8.0.00.0130.00316.82
7.4.330.0000.00515.25
7.4.320.0020.00516.51
7.4.300.0070.00016.57
7.4.290.0020.00516.53
7.4.280.0040.00416.57
7.4.270.0040.00416.55
7.4.260.0050.00316.51
7.4.250.0000.00816.58
7.4.240.0010.00716.54
7.4.230.0070.00016.75
7.4.220.0070.01116.59
7.4.210.0050.01216.63
7.4.200.0000.00716.48
7.4.190.0070.00016.78
7.4.160.0080.00816.79
7.4.150.0070.01017.40
7.4.140.0090.00917.86
7.4.130.0080.00916.62
7.4.120.0070.01216.70
7.4.110.0060.01116.86
7.4.100.0120.00616.57
7.4.90.0110.00716.46
7.4.80.0160.00819.39
7.4.70.0000.01616.51
7.4.60.0060.00916.38
7.4.50.0030.00516.52
7.4.40.0060.00922.77
7.4.30.0060.00916.54
7.4.00.0070.00714.64
7.3.330.0050.00013.36
7.3.320.0020.00213.41
7.3.310.0000.00816.29
7.3.300.0070.00016.23
7.3.290.0100.00416.32
7.3.280.0070.01016.35
7.3.270.0060.01217.40
7.3.260.0150.00816.54
7.3.250.0100.00716.66
7.3.240.0180.00316.55
7.3.230.0180.00016.54
7.3.210.0100.01016.35
7.3.200.0090.01219.39
7.3.190.0100.01016.39
7.3.180.0090.00916.29
7.3.170.0080.00816.37
7.3.160.0070.00716.70
7.3.120.0100.00715.02
7.2.330.0140.00616.85
7.2.320.0120.01116.54
7.2.310.0080.00816.61
7.2.300.0130.00316.50
7.2.290.0030.01316.86
7.2.60.0000.01616.79
7.2.00.0030.00619.24
7.1.200.0030.01015.91
7.1.100.0130.00317.99
7.1.70.0000.00916.88
7.1.60.0070.01819.82
7.1.50.0040.01817.13
7.1.00.0000.08022.44
7.0.200.0000.00716.49
7.0.140.0070.07021.99
7.0.60.0000.07319.92
7.0.50.0030.05017.97
7.0.40.0000.06720.18
7.0.30.0230.08320.26
7.0.20.0300.07020.30
7.0.10.0430.06020.30
7.0.00.0100.08020.39
5.6.280.0030.07321.15
5.6.210.0200.07020.47
5.6.200.0030.04318.21
5.6.190.0170.05320.40
5.6.180.3500.03720.70
5.6.170.0300.07320.60
5.6.160.0070.06020.55
5.6.150.0100.07018.25
5.6.140.0070.08018.31
5.6.130.0030.06318.21
5.6.120.0030.04721.13
5.6.110.0070.08321.12
5.6.100.0000.07721.11
5.6.90.0070.08321.00
5.6.80.0130.06720.43
5.6.70.0330.06320.42
5.5.350.0070.08320.41
5.5.340.0070.07018.06
5.5.330.0000.04720.33
5.5.320.0330.07720.26
5.5.310.0130.08320.37
5.5.300.0000.05318.02
5.5.290.0130.05318.15
5.5.280.0030.04720.77
5.5.270.0070.06720.86
5.5.260.0070.03720.86
5.5.250.0100.08020.75
5.5.240.0100.07320.20
5.4.450.0530.05019.57
5.4.440.0130.04319.34
5.4.430.0770.00019.49
5.4.420.1100.00019.44
5.4.410.0070.05319.19
5.4.400.0070.05318.60
5.4.390.0000.06018.87
5.4.380.0300.05318.84
5.4.370.0200.05718.90
5.4.360.0430.03318.69
5.4.350.0330.04718.59
5.4.340.0230.05718.68
5.4.320.0060.03712.52
5.4.310.0060.03712.52
5.4.300.0050.03812.52
5.4.290.0050.03712.52
5.4.280.0240.08612.39
5.4.270.0090.06912.39
5.4.260.0160.06212.39
5.4.250.0070.05312.39
5.4.240.0120.04812.39
5.4.230.0160.05312.38
5.4.220.0110.05512.38
5.4.210.0080.06412.38
5.4.200.0120.04512.38
5.4.190.0090.05712.38
5.4.180.0160.05812.38
5.4.170.0150.09012.38
5.4.160.0080.05212.38
5.4.150.0130.04812.38
5.4.140.0070.05712.06
5.4.130.0090.05012.05
5.4.120.0080.06712.00
5.4.110.0150.09712.00
5.4.100.0140.06412.00
5.4.90.0160.07112.00
5.4.80.0170.06312.00
5.4.70.0120.06112.00
5.4.60.0200.07512.00
5.4.50.0230.10212.00
5.4.40.0220.06911.99
5.4.30.0190.10111.98
5.4.20.0150.09911.98
5.4.10.0230.11411.98
5.4.00.0050.05211.48
5.3.290.0000.04412.80
5.3.280.0150.06912.70
5.3.270.0180.07812.73
5.3.260.0170.08912.72
5.3.250.0200.07712.72
5.3.240.0210.09212.72
5.3.230.0100.07412.71
5.3.220.0200.07012.68
5.3.210.0090.05512.68
5.3.200.0090.05812.68
5.3.190.0100.05212.68
5.3.180.0130.07112.67
5.3.170.0150.05712.67
5.3.160.0100.06212.67
5.3.150.0190.06712.67
5.3.140.0120.07712.66
5.3.130.0140.07112.66
5.3.120.0130.08812.66
5.3.110.0110.07312.66
5.3.100.0120.10112.12
5.3.90.0150.08312.09
5.3.80.0090.06812.08
5.3.70.0100.06312.08
5.3.60.0120.10212.07
5.3.50.0130.06512.01
5.3.40.0150.08012.01
5.3.30.0190.08711.97
5.3.20.0200.07611.75
5.3.10.0200.07911.72
5.3.00.0090.07211.71
5.2.170.0100.0629.20
5.2.160.0100.0719.20
5.2.150.0200.0689.20
5.2.140.0150.0709.20
5.2.130.0140.0549.16
5.2.120.0130.0589.16
5.2.110.0090.0429.16
5.2.100.0060.0359.16
5.2.90.0070.0629.16
5.2.80.0130.0489.16
5.2.70.0080.0489.16
5.2.60.0140.0549.11
5.2.50.0120.0699.08
5.2.40.0100.0709.05
5.2.30.0100.0479.04
5.2.20.0090.0559.02
5.2.10.0110.0668.94
5.2.00.0150.0758.79
5.1.60.0170.0648.08
5.1.50.0170.1398.08
5.1.40.0120.0538.06
5.1.30.0140.0388.41
5.1.20.0150.0538.43
5.1.10.0080.0578.15
5.1.00.0100.0618.15
5.0.50.0100.0556.63
5.0.40.0070.0516.49
5.0.30.0070.0696.30
5.0.20.0120.0426.28
5.0.10.0070.0466.25
5.0.00.0050.0636.24
4.4.90.0070.0244.78
4.4.80.0080.0454.76
4.4.70.0070.0384.75
4.4.60.0140.0294.75
4.4.50.0100.0364.77
4.4.40.0110.0484.71
4.4.30.0120.0364.76
4.4.20.0110.0404.85
4.4.10.0040.0274.85
4.4.00.0080.0334.76
4.3.110.0120.0314.67
4.3.100.0130.0334.66
4.3.90.0130.0324.63
4.3.80.0140.0514.58
4.3.70.0130.0444.63
4.3.60.0080.0284.63
4.3.50.0110.0384.62
4.3.40.0090.0474.54
4.3.30.0080.0423.30
4.3.20.0070.0373.29
4.3.10.0020.0263.25
4.3.00.0000.01713.28

preferences:
40.15 ms | 401 KiB | 5 Q