3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo inet_pton(2605:eb00:1000:0123:0100:0100:0000:0000);

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)
5.4.320.0300.06719.09
5.4.310.0200.07019.09
5.4.300.0230.07319.13
5.4.290.0170.07719.09
5.4.280.0270.07019.05
5.4.270.0200.07019.23
5.4.260.0200.05719.08
5.4.250.0270.04019.31
5.4.240.0200.04718.86
5.4.230.0170.04019.30
5.4.220.0170.03718.85
5.4.210.0170.03719.07
5.4.200.0200.03319.14
5.4.190.0270.07018.85
5.4.180.0230.05319.05
5.4.170.0200.03719.13
5.4.160.0230.07019.04
5.4.150.0130.05319.09
5.4.140.0230.05316.36
5.4.130.0300.05716.36
5.4.120.0200.03016.46
5.4.110.0230.07016.53
5.4.100.0270.06716.55
5.4.90.0230.04316.45
5.4.80.0170.03316.52
5.4.70.0270.06016.24
5.4.60.0330.04316.43
5.4.50.0300.05016.38
5.4.40.0170.03716.49
5.4.30.0170.03316.53
5.4.20.0230.04716.53
5.4.10.0200.04716.53
5.4.00.0100.04716.12
5.3.290.0270.06714.57
5.3.280.0170.03714.68
5.3.270.0270.04314.45
5.3.260.0300.06314.48
5.3.250.0200.07314.45
5.3.240.0230.06714.66
5.3.230.0100.04014.43
5.3.220.0130.06014.65
5.3.210.0170.04314.62
5.3.200.0230.06714.53
5.3.190.0100.04714.40
5.3.180.0200.03314.41
5.3.170.0130.06014.59
5.3.160.0230.05714.42
5.3.150.0230.06314.66
5.3.140.0170.05714.49
5.3.130.0200.08014.45
5.3.120.0170.04014.50
5.3.110.0300.07014.48
5.3.100.0200.03313.95
5.3.90.0200.04314.00
5.3.80.0330.05314.10
5.3.70.0230.06313.89
5.3.60.0170.04313.86
5.3.50.0230.06713.74
5.3.40.0130.04313.74
5.3.30.0230.03713.74
5.3.20.0170.07013.54
5.3.10.0230.03313.50
5.3.00.0230.04713.70
5.2.170.0200.05713.09
5.2.160.0170.04713.09
5.2.150.0170.04313.09
5.2.140.0130.03013.09
5.2.130.0130.03713.09
5.2.120.0200.05313.09
5.2.110.0170.05713.09
5.2.100.0130.03313.09
5.2.90.0100.03313.09
5.2.80.0100.06313.09
5.2.70.0030.04713.09
5.2.60.0230.02713.09
5.2.50.0200.05313.09
5.2.40.0130.04313.09
5.2.30.0170.05313.09
5.2.20.0230.05313.09
5.2.10.0200.03313.09
5.2.00.0200.03313.09
5.1.60.0200.03313.09
5.1.50.0170.03013.09
5.1.40.0200.02713.09
5.1.30.0130.04313.09
5.1.20.0170.05313.09
5.1.10.0130.02713.09
5.1.00.0170.02013.09
5.0.50.0000.02713.09
5.0.40.0070.02713.09
5.0.30.0130.06313.09
5.0.20.0070.02713.09
5.0.10.0070.04013.09
5.0.00.0130.05313.09
4.4.90.0070.03713.09
4.4.80.0030.02713.09
4.4.70.0100.01313.09
4.4.60.0070.02013.09
4.4.50.0130.02713.09
4.4.40.0070.03013.09
4.4.30.0200.02013.09
4.4.20.0070.02313.09
4.4.10.0030.02313.09
4.4.00.0070.05713.09
4.3.110.0070.03013.09
4.3.100.0100.03013.09
4.3.90.0030.03713.09
4.3.80.0070.05713.09
4.3.70.0100.03013.09
4.3.60.0070.02313.09
4.3.50.0070.02713.09
4.3.40.0070.05313.09
4.3.30.0070.03013.09
4.3.20.0030.02713.09
4.3.10.0030.03713.09
4.3.00.0030.03313.09

preferences:
144.42 ms | 939 KiB | 8 Q