3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(inet_ntop(inet_pton('0:0:0:0:0:0:129.144.52.38')), bin2hex(inet_pton('hi')), bin2hex(inet_pton('2001:DB8:0:0:8:800:200C:417A')), inet_ntop(hex2bin('75706c6f61646564696d6167652f312e6a7067')));

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.0.0beta10.0080.01116.64
8.0.0alpha30.0110.00816.63
8.0.0alpha20.0090.00916.54
8.0.0alpha10.0070.01016.49
7.4.80.0190.00316.21
7.4.70.0130.00616.68
7.4.60.0090.00916.30
7.4.50.0000.00816.19
7.4.40.0100.00316.59
7.4.30.0100.00716.18
7.4.00.0040.00814.89
7.3.200.0140.00519.39
7.3.190.0170.00016.23
7.3.180.0090.00816.36
7.3.170.0030.01316.29
7.3.160.0090.00616.27
7.3.120.0130.00314.44
7.2.320.0140.00716.61
7.2.310.0100.00716.69
7.2.300.0100.00616.53
7.2.290.0080.01316.32
7.2.00.0140.00618.81
7.1.100.0070.01117.98
7.1.70.0030.00317.06
7.1.60.0170.00719.40
7.1.50.0110.01116.71
7.1.00.0000.08022.48
7.0.200.0260.00014.73
7.0.140.0070.07022.00
7.0.120.0000.07322.16
7.0.60.0170.05719.78
7.0.50.0100.05717.93
7.0.40.0170.08020.09
7.0.30.0230.04020.16
7.0.20.0230.08020.23
7.0.10.0230.08720.22
7.0.00.0030.05020.14
5.6.210.0070.08020.50
5.6.200.0000.04318.24
5.6.190.0170.07020.73
5.6.180.0300.07720.66
5.6.170.0270.05020.56
5.6.160.0030.05020.68
5.6.150.0030.08318.21
5.6.140.0100.08018.29
5.6.130.0070.07718.34
5.6.120.0100.08321.02
5.6.110.0070.04021.04
5.6.100.0170.07321.11
5.6.90.0030.08321.07
5.6.80.0100.08020.41
5.6.70.4300.04720.53
5.5.350.0330.07320.41
5.5.340.0130.05718.01
5.5.330.0070.03720.33
5.5.320.0270.07320.59
5.5.310.0500.04320.29
5.5.300.0070.08018.04
5.5.290.0070.04718.00
5.5.280.0130.07720.83
5.5.270.0130.07720.90
5.5.260.0070.08320.91
5.5.250.0000.09020.71
5.5.240.0200.06720.18
5.4.450.0100.04019.54
5.4.440.0030.04019.55
5.4.430.0000.04019.52
5.4.420.0070.04019.62
5.4.410.0070.04019.40
5.4.400.0000.04019.30
5.4.390.0130.08019.02
5.4.380.0200.05019.21
5.4.370.0070.07018.91
5.4.360.0100.07719.20
5.4.350.0100.07319.07
5.4.340.0130.04318.93
5.4.320.0070.08019.20
5.4.310.0100.07319.18
5.4.300.0100.07019.30
5.4.290.0030.08019.30
5.4.280.0170.07718.93
5.4.270.0030.08319.04
5.4.260.0100.04318.93
5.4.250.0070.04318.90
5.4.240.0200.07018.91
5.4.230.0130.07019.30
5.4.220.0030.06718.93
5.4.210.0030.05719.29
5.4.200.0030.04719.33
5.4.190.0070.08019.29
5.4.180.0170.07019.13
5.4.170.0100.03319.29
5.4.160.0100.04319.19
5.4.150.0170.03319.18
5.4.140.0000.04716.61
5.4.130.0030.06016.48
5.4.120.0070.07316.56
5.4.110.0100.06716.36
5.4.100.0000.07016.39
5.4.90.0100.04716.40
5.4.80.0030.04716.38
5.4.70.0030.06016.43
5.4.60.0100.07316.51
5.4.50.0000.05016.34
5.4.40.0070.07316.46
5.4.30.0070.07316.39
5.4.20.0200.06316.57
5.4.10.0070.05316.44
5.4.00.0100.07015.81
5.3.290.0000.06014.71
5.3.280.0000.04314.64
5.3.270.0100.04014.76
5.3.260.0070.08014.59
5.3.250.0070.07714.59
5.3.240.0130.06314.65
5.3.230.0070.08014.64
5.3.220.0100.07714.59
5.3.210.0070.08014.56
5.3.200.0300.04714.49
5.3.190.0070.07314.45
5.3.180.0100.06714.44
5.3.170.0030.04714.61
5.3.160.0100.05714.60
5.3.150.0000.07714.61
5.3.140.0100.04014.58
5.3.130.0070.07714.71
5.3.120.0100.08714.54
5.3.110.0100.06714.68
5.3.100.0070.07714.09
5.3.90.0200.06014.04
5.3.80.0100.06713.98
5.3.70.0130.06314.00
5.3.60.0130.07014.04
5.3.50.0070.05013.86
5.3.40.0130.04013.90
5.3.30.0000.04313.82
5.3.20.0130.06713.83
5.3.10.0070.04013.72
5.3.00.0000.04313.70
5.2.170.0030.06711.09
5.2.160.0030.05311.29
5.2.150.0130.02711.20
5.2.140.0030.07011.20
5.2.130.0030.06011.05
5.2.120.0030.04011.14
5.2.110.0000.06011.08
5.2.100.0030.04311.15
5.2.90.0030.03011.04
5.2.80.0100.04711.24
5.2.70.0030.05711.10
5.2.60.0030.07011.04
5.2.50.0100.03011.06
5.2.40.0000.06311.04
5.2.30.0030.04011.04
5.2.20.0030.05711.10
5.2.10.0070.05310.86
5.2.00.0030.03710.68
5.1.60.0070.05310.05
5.1.50.0030.03310.14
5.1.40.0030.0239.88
5.1.30.0070.04710.48
5.1.20.0100.05310.34
5.1.10.0100.04010.04
5.1.00.0000.05310.11
5.0.50.0100.0278.54
5.0.40.0070.0308.42
5.0.30.0070.0578.23
5.0.20.0070.0438.33
5.0.10.0070.0378.20
5.0.00.0000.0708.20
4.4.90.0070.0278.20
4.4.80.0030.0338.20
4.4.70.0000.0408.20
4.4.60.0000.0378.20
4.4.50.0030.0178.20
4.4.40.0070.0508.20
4.4.30.0000.0238.20
4.4.20.0070.0338.20
4.4.10.0030.0338.20
4.4.00.0070.0238.20
4.3.110.0030.0178.20
4.3.100.0030.0338.20
4.3.90.0030.0308.20
4.3.80.0030.0538.20
4.3.70.0030.0338.20
4.3.60.0100.0308.20
4.3.50.0030.0308.20
4.3.40.0000.0308.20
4.3.30.0000.0378.20
4.3.20.0000.0178.20
4.3.10.0030.0338.20
4.3.00.0000.0308.20