3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo inet_pton('127.0.0.1')

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.270.0100.05318.77
5.4.260.0100.05318.79
5.4.250.0270.05718.99
5.4.240.0270.05719.00
5.4.230.0200.07018.94
5.4.220.0030.06719.16
5.4.210.0100.05319.00
5.4.200.0170.05318.89
5.4.190.0170.07319.06
5.4.180.0030.09018.97
5.4.170.0270.04718.94
5.4.160.0100.07718.96
5.4.150.0200.07018.92
5.4.140.0270.06316.48
5.4.130.0100.07716.52
5.4.120.0170.07016.28
5.4.110.0200.05016.50
5.4.100.0100.05016.36
5.4.90.0100.05316.59
5.4.80.0170.06716.50
5.4.70.0170.07316.29
5.4.60.0170.06316.48
5.4.50.0170.04316.33
5.4.40.0130.04716.56
5.4.30.0170.06016.52
5.4.20.0130.07016.57
5.4.10.0100.06016.55
5.4.00.0170.05015.92
5.3.280.0130.05714.66
5.3.270.0130.05714.54
5.3.260.0230.05714.70
5.3.250.0030.07714.76
5.3.240.0230.04714.77
5.3.230.0170.06314.74
5.3.220.0130.07014.57
5.3.210.0070.06314.66
5.3.200.0170.06714.55
5.3.190.0130.06714.71
5.3.180.0270.06014.66
5.3.170.0070.06714.55
5.3.160.0170.06014.46
5.3.150.0170.05014.76
5.3.140.0130.07014.50
5.3.130.0100.06014.64
5.3.120.0000.06714.69
5.3.110.0070.06014.61
5.3.100.0170.07014.08
5.3.90.0130.05714.01
5.3.80.0130.05014.09
5.3.70.0130.05314.01
5.3.60.0100.06013.93
5.3.50.0170.05014.10
5.3.40.0230.05313.93
5.3.30.0130.05713.89
5.3.20.0230.05713.87
5.3.10.0100.05013.63
5.3.00.0000.05713.84
5.2.170.0070.04711.34
5.2.160.0170.05711.09
5.2.150.0100.05711.36
5.2.140.0130.05311.37
5.2.130.0130.03711.25
5.2.120.0130.04711.15
5.2.110.0130.04311.00
5.2.100.0100.05711.32
5.2.90.0070.04311.23
5.2.80.0100.04011.21
5.2.70.0170.03311.19
5.2.60.0070.04711.16
5.2.50.0130.04311.13
5.2.40.0070.04311.21
5.2.30.0030.04711.12
5.2.20.0070.04710.77
5.2.10.0030.06011.01
5.2.00.0130.04010.59
5.1.60.0200.02010.11
5.1.50.0100.03310.17
5.1.40.0100.0379.96
5.1.30.0070.04710.53
5.1.20.0070.04310.67
5.1.10.0170.03710.04
5.1.00.0070.05310.36
5.0.50.0070.0278.93
5.0.40.0070.0278.93
5.0.30.0030.0608.93
5.0.20.0100.0308.93
5.0.10.0070.0338.93
5.0.00.0030.0578.93
4.4.90.0070.0208.93
4.4.80.0100.0278.93
4.4.70.0030.0208.93
4.4.60.0070.0278.93
4.4.50.0030.0308.93
4.4.40.0100.0378.93
4.4.30.0000.0278.93
4.4.20.0030.0238.93
4.4.10.0030.0338.93
4.4.00.0070.0438.93
4.3.110.0030.0308.93
4.3.100.0070.0238.93
4.3.90.0030.0208.93
4.3.80.0100.0378.93
4.3.70.0070.0278.93
4.3.60.0000.0338.93
4.3.50.0030.0278.93
4.3.40.0070.0308.93
4.3.30.0070.0208.93
4.3.20.0030.0278.93
4.3.10.0070.0238.93
4.3.00.0030.0207.16

preferences:
144.5 ms | 1394 KiB | 7 Q