3v4l.org

run code in 300+ PHP versions simultaneously
<?php $long = ip2long('127.0.256') ; echo "\n"; echo $long; #echo long2ip($long);

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.0140.00318.43
8.3.50.0060.00818.27
8.3.40.0070.01418.73
8.3.30.0080.00818.77
8.3.20.0070.00021.90
8.3.10.0040.00421.85
8.3.00.0080.00019.68
8.2.180.0150.00018.26
8.2.170.0130.00322.96
8.2.160.0110.00322.17
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00419.18
8.2.120.0040.00426.35
8.2.110.0060.00319.43
8.2.100.0110.00017.91
8.2.90.0050.00319.35
8.2.80.0070.00019.36
8.2.70.0040.00418.03
8.2.60.0000.00718.03
8.2.50.0050.00318.16
8.2.40.0080.00020.55
8.2.30.0000.00819.17
8.2.20.0040.00418.14
8.2.10.0050.00318.10
8.2.00.0000.00818.09
8.1.280.0040.01125.92
8.1.270.0030.00623.98
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0030.00622.39
8.1.230.0040.00717.83
8.1.220.0000.00717.78
8.1.210.0080.00018.77
8.1.200.0090.00017.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0000.00818.56
8.1.160.0000.00718.89
8.1.150.0070.00019.12
8.1.140.0080.00017.68
8.1.130.0030.00618.96
8.1.120.0070.00017.37
8.1.110.0070.00317.40
8.1.100.0040.00417.32
8.1.90.0000.00717.34
8.1.80.0040.00417.49
8.1.70.0040.00417.46
8.1.60.0060.00317.60
8.1.50.0040.00417.52
8.1.40.0000.00717.42
8.1.30.0040.00417.66
8.1.20.0060.00317.48
8.1.10.0070.00017.55
8.1.00.0060.00317.52
8.0.300.0060.00318.77
8.0.290.0040.00416.62
8.0.280.0000.00718.41
8.0.270.0000.00717.20
8.0.260.0000.00617.26
8.0.250.0030.00316.96
8.0.240.0060.00316.98
8.0.230.0030.00316.88
8.0.220.0040.00416.87
8.0.210.0070.00016.76
8.0.200.0030.00316.86
8.0.190.0000.00816.83
8.0.180.0000.00716.84
8.0.170.0030.00616.93
8.0.160.0070.00016.94
8.0.150.0040.00416.86
8.0.140.0040.00316.89
8.0.130.0030.00313.31
8.0.120.0040.00416.88
8.0.110.0050.00216.91
8.0.100.0040.00416.71
8.0.90.0000.00716.92
8.0.80.0100.01016.83
8.0.70.0030.00416.72
8.0.60.0040.00416.70
8.0.50.0070.00016.76
8.0.30.0130.00617.00
8.0.20.0100.00817.40
8.0.10.0030.00516.79
8.0.00.0120.00616.82
7.4.330.0020.00216.72
7.4.320.0060.00016.51
7.4.300.0030.00316.50
7.4.290.0070.00016.49
7.4.280.0000.00716.43
7.4.270.0030.00316.50
7.4.260.0000.00716.61
7.4.250.0040.00416.40
7.4.240.0030.00316.51
7.4.230.0060.00316.49
7.4.220.0000.00816.48
7.4.210.0100.00716.62
7.4.200.0070.00016.39
7.4.160.0060.01116.52
7.4.140.0130.00817.86
7.4.130.0070.01116.44
7.4.120.0120.00716.53
7.4.110.0060.01016.59
7.4.100.0140.01016.45
7.4.90.0060.01216.61
7.4.80.0110.00719.39
7.4.70.0030.01316.45
7.4.60.0060.01016.54
7.4.50.0090.00516.51
7.4.40.0090.00616.42
7.4.00.0060.00914.98
7.3.330.0000.00812.98
7.3.320.0070.00013.18
7.3.310.0020.00516.23
7.3.300.0000.00716.27
7.3.290.0030.00516.16
7.3.280.0070.00716.35
7.3.260.0120.00516.26
7.3.240.0090.00816.43
7.3.230.0090.00916.47
7.3.210.0120.00916.42
7.3.200.0160.00016.47
7.3.190.0120.00416.70
7.3.180.0380.01916.61
7.3.170.0070.00816.43
7.3.160.0060.01016.17
7.3.10.0130.00816.60
7.3.00.0150.00416.47
7.2.330.0130.01316.49
7.2.320.0120.01216.75
7.2.310.0140.00416.70
7.2.300.0100.00716.59
7.2.290.0030.01716.49
7.2.130.0100.00716.42
7.2.120.0090.00916.74
7.2.110.0070.01316.62
7.2.100.0110.00916.46
7.2.90.0080.01316.50
7.2.80.0050.00816.71
7.2.70.0100.00516.81
7.2.60.0110.00616.78
7.2.50.0160.00716.57
7.2.40.0480.01017.22
7.2.30.0510.01116.96
7.2.20.0540.01117.11
7.2.10.0520.00717.14
7.2.00.0330.00917.02
7.1.250.0050.01315.63
7.1.160.2090.01316.41
7.1.150.1370.01216.72
7.1.140.1120.01116.38
7.1.130.0820.01016.46
7.1.120.0820.00916.74
7.1.110.0840.00816.31
7.1.100.0730.00916.27
7.1.90.1160.01116.38
7.1.80.1200.01216.27
7.1.70.0820.01015.43
7.1.60.1030.01633.02
7.1.50.1350.02133.02
7.1.40.0980.01432.46
7.1.30.1180.01332.62
7.1.20.1000.01732.75
7.1.10.0990.01014.70
7.1.00.1060.01114.73

preferences:
88.56 ms | 400 KiB | 5 Q