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.3.30.0110.00418.67
8.3.20.0050.00318.74
8.3.10.0080.00020.66
8.3.00.0060.00317.50
8.2.160.0030.01020.52
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00019.64
8.2.110.0000.00921.05
8.2.100.0100.00417.78
8.2.90.0040.00421.04
8.2.80.0050.00220.66
8.2.70.0060.00317.50
8.2.60.0090.00017.93
8.2.50.0070.00318.07
8.2.40.0000.00818.09
8.2.30.0030.00521.41
8.2.20.0000.00717.55
8.2.10.0000.00717.65
8.2.00.0020.00517.60
8.1.270.0110.00724.66
8.1.260.0060.00326.35
8.1.250.0030.00528.09
8.1.240.0030.00622.14
8.1.230.0030.00920.91
8.1.220.0040.00417.74
8.1.210.0050.00318.91
8.1.200.0000.00817.22
8.1.190.0000.00817.27
8.1.180.0030.00518.10
8.1.170.0000.00918.46
8.1.160.0000.00718.71
8.1.150.0000.00718.56
8.1.140.0080.00317.42
8.1.130.0030.00317.73
8.1.120.0000.00717.38
8.1.110.0040.00417.40
8.1.100.0040.00417.39
8.1.90.0000.00817.39
8.1.80.0040.00417.40
8.1.70.0030.00317.38
8.1.60.0060.00317.50
8.1.50.0000.00817.44
8.1.40.0050.00317.47
8.1.30.0030.00617.54
8.1.20.0040.00417.57
8.1.10.0040.00417.43
8.1.00.0000.00817.42
8.0.300.0000.00920.12
8.0.290.0000.00716.91
8.0.280.0000.00818.35
8.0.270.0080.00016.67
8.0.260.0000.00616.78
8.0.250.0000.00816.90
8.0.240.0060.00316.91
8.0.230.0000.00716.78
8.0.220.0030.00316.85
8.0.210.0030.00316.78
8.0.200.0030.00316.81
8.0.190.0000.00716.92
8.0.180.0040.00416.82
8.0.170.0040.00416.81
8.0.160.0030.00316.95
8.0.150.0040.00416.84
8.0.140.0000.00716.79
8.0.130.0030.00313.43
8.0.120.0080.00016.72
8.0.110.0000.00716.72
8.0.100.0000.00716.76
8.0.90.0040.00316.79
8.0.80.0000.01416.77
8.0.70.0030.00516.72
8.0.60.0040.00416.77
8.0.50.0080.00016.70
8.0.30.0120.01017.06
8.0.20.0100.00917.09
8.0.10.0040.00417.11
8.0.00.0100.00816.82
7.4.330.0050.00013.05
7.4.320.0050.00316.53
7.4.300.0000.00616.38
7.4.290.0000.00716.49
7.4.280.0000.00816.43
7.4.270.0060.00016.54
7.4.260.0030.00313.39
7.4.250.0060.00316.48
7.4.240.0000.00716.53
7.4.230.0040.00416.40
7.4.220.0100.01616.48
7.4.210.0080.00716.49
7.4.200.0070.00016.49
7.4.190.0000.00716.64
7.4.160.0060.01016.62
7.4.150.0100.00716.32
7.4.140.0110.00616.43
7.4.130.0100.00716.49
7.4.120.0050.01216.49
7.4.110.0080.00816.29
7.4.100.0060.01016.34
7.4.90.0170.00716.48
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.330.0040.00413.05
7.3.320.0000.00713.18
7.3.310.0040.00416.18
7.3.300.0000.00716.25
7.3.290.0070.00716.20
7.3.280.0070.00916.18
7.3.270.0140.00716.23
7.3.260.0080.00916.29
7.3.250.0080.00916.30
7.3.240.0180.00416.46
7.3.230.0070.01016.48
7.3.210.0090.00916.27
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.330.0120.00916.53
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

preferences:
47.27 ms | 401 KiB | 5 Q