3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = '+421 917 982 116'; echo number_format((int)$number, 0, ' ', ' ');

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.0060.01516.50
8.3.50.0170.00316.58
8.3.40.0180.00318.71
8.3.30.0110.00418.54
8.3.20.0060.00320.22
8.3.10.0040.00421.77
8.3.00.0160.00320.13
8.2.180.0190.00318.41
8.2.170.0060.00922.96
8.2.160.0060.01220.32
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00021.18
8.2.120.0070.00026.35
8.2.110.0100.00021.24
8.2.100.0110.00018.34
8.2.90.0040.00419.20
8.2.80.0090.00017.97
8.2.70.0110.00017.63
8.2.60.0040.00417.93
8.2.50.0060.00318.10
8.2.40.0080.00022.44
8.2.30.0040.00421.14
8.2.20.0000.00718.03
8.2.10.0060.00318.11
8.2.00.0040.00418.04
8.1.280.0110.00425.92
8.1.270.0070.01022.31
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0040.00423.96
8.1.230.0040.00819.16
8.1.220.0080.00017.76
8.1.210.0030.00518.77
8.1.200.0080.00417.35
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0000.00719.06
8.1.150.0040.00420.71
8.1.140.0000.00819.61
8.1.130.0030.00318.88
8.1.120.0070.00017.45
8.1.110.0060.00317.36
8.1.100.0030.00317.45
8.1.90.0000.00717.47
8.1.80.0030.00717.42
8.1.70.0000.00817.52
8.1.60.0000.00717.57
8.1.50.0080.00417.58
8.1.40.0070.00017.59
8.1.30.0000.00817.73
8.1.20.0000.00717.68
8.1.10.0040.00417.61
8.1.00.0070.00317.51
8.0.300.0070.00018.77
8.0.290.0040.00416.88
8.0.280.0000.00718.49
8.0.270.0000.00717.36
8.0.260.0030.00316.84
8.0.250.0050.00216.91
8.0.240.0030.00717.02
8.0.230.0040.00416.98
8.0.220.0040.00416.85
8.0.210.0030.00316.77
8.0.200.0030.00316.93
8.0.190.0080.00016.85
8.0.180.0000.00716.79
8.0.170.0050.00316.76
8.0.160.0030.00516.88
8.0.150.0080.00016.92
8.0.140.0000.00716.83
8.0.130.0000.00513.33
8.0.120.0040.00416.86
8.0.110.0040.00416.75
8.0.100.0040.00416.71
8.0.90.0040.00416.89
8.0.80.0040.01116.92
8.0.70.0030.00516.76
8.0.60.0060.00316.91
8.0.50.0040.00416.77
8.0.30.0110.00716.96
8.0.20.0090.00917.43
8.0.10.0000.00716.95
8.0.00.0060.01116.49
7.4.330.0050.00015.55
7.4.320.0060.00016.70
7.4.300.0040.00416.62
7.4.290.0060.00016.54
7.4.280.0040.00416.55
7.4.270.0000.00716.48
7.4.260.0030.00316.56
7.4.250.0000.00716.62
7.4.240.0050.00316.64
7.4.230.0070.00016.48
7.4.220.0100.01316.56
7.4.210.0050.01016.64
7.4.200.0000.00716.58
7.4.160.0080.00816.51
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0100.00916.55
7.4.120.0080.01016.65
7.3.330.0050.00013.10
7.3.320.0050.00013.23
7.3.310.0000.00616.18
7.3.300.0040.00416.18
7.3.290.0040.00416.09
7.3.280.0100.00716.24
7.3.270.0040.01317.40
7.3.260.0080.01016.40
7.3.250.0120.00716.37
7.3.240.0120.00516.42
7.1.40.0240.02234.44

preferences:
61.91 ms | 400 KiB | 5 Q