3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 1234.56; $nombre_format_francais = number_format($number,',','.'); // 1 234,56 echo $nombre_format_francais;

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.0130.00618.30
8.3.50.0060.00816.50
8.3.40.0110.00418.93
8.3.30.0070.00718.67
8.3.20.0080.00020.21
8.3.10.0040.00421.93
8.3.00.0030.00523.66
8.2.180.0070.00725.92
8.2.170.0160.00019.13
8.2.160.0100.00322.96
8.2.150.0100.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00421.04
8.2.120.0040.00426.35
8.2.110.0060.00319.19
8.2.100.0090.00617.84
8.2.90.0050.00319.08
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0030.00517.79
8.2.50.0030.00918.09
8.2.40.0000.00822.18
8.2.30.0040.00419.48
8.2.20.0000.00819.41
8.2.10.0000.00718.02
8.2.00.0000.00718.08
8.1.280.0140.00325.92
8.1.270.0000.00824.66
8.1.260.0070.00028.09
8.1.250.0000.00828.09
8.1.240.0100.01021.43
8.1.230.0000.01117.45
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.28
8.1.160.0000.00820.71
8.1.150.0040.00418.70
8.1.140.0040.00419.55
8.1.130.0070.00017.64
8.1.120.0030.00317.29
8.1.110.0030.00517.29
8.1.100.0040.00417.41
8.1.90.0050.00217.39
8.1.80.0030.00317.46
8.1.70.0000.00717.36
8.1.60.0000.00917.52
8.1.50.0000.00817.56
8.1.40.0000.00817.44
8.1.30.0040.00417.68
8.1.20.0050.00317.71
8.1.10.0000.00717.62
8.1.00.0050.00317.44
8.0.300.0000.00718.77
8.0.290.0040.00416.88
8.0.280.0040.00418.42
8.0.270.0000.00717.06
8.0.260.0060.00017.23
8.0.250.0030.00316.83
8.0.240.0030.00316.87
8.0.230.0000.00716.98
8.0.220.0030.00316.80
8.0.210.0030.00316.78
8.0.200.0030.00316.94
8.0.190.0090.00016.87
8.0.180.0000.00716.91
8.0.170.0050.00516.81
8.0.160.0070.00016.79
8.0.150.0000.00716.80
8.0.140.0040.00416.74
8.0.130.0000.00613.31
8.0.120.0000.00816.86
8.0.110.0030.00616.82
8.0.100.0000.00716.72
8.0.90.0070.00016.76
8.0.80.0130.00316.81
8.0.70.0030.00516.75
8.0.60.0080.00016.80
8.0.50.0040.00416.88
8.0.30.0010.01717.07
8.0.20.0130.00817.40
8.0.10.0030.00517.04
8.0.00.0070.01116.69
7.4.330.0020.00216.67
7.4.320.0030.00316.43
7.4.300.0000.00816.54
7.4.290.0060.00316.55
7.4.280.0000.00716.34
7.4.270.0000.00716.46
7.4.260.0070.00016.52
7.4.250.0040.00416.46
7.4.240.0070.00016.42
7.4.230.0030.00316.57
7.4.220.0070.01716.44
7.4.210.0090.00616.57
7.4.200.0070.00016.32
7.4.160.0100.00616.36
7.4.150.0110.00717.40
7.4.140.0090.01117.86
7.4.130.0120.00616.50
7.4.120.0110.00616.47
7.4.110.0100.00716.62
7.4.100.0030.01416.47
7.4.90.0110.00716.46
7.4.80.0030.01419.39
7.4.70.0100.01016.49
7.4.60.0100.00716.48
7.4.50.0070.01016.29
7.4.40.0100.00716.64
7.4.30.0140.00916.54
7.4.00.0070.00714.82
7.3.330.0000.00613.16
7.3.320.0030.00313.18
7.3.310.0040.00416.31
7.3.300.0050.00316.28
7.3.290.0070.00916.29
7.3.280.0080.00916.25
7.3.270.0140.00917.40
7.3.260.0070.01016.30
7.3.250.0100.00816.31
7.3.240.0110.00516.52
7.3.230.0090.00616.39
7.3.210.0060.01216.19
7.3.200.0130.00316.27
7.3.190.0000.01616.38
7.3.180.0060.00916.32
7.3.170.0130.00916.27
7.3.160.0030.01216.31
7.2.330.0150.00316.27
7.2.320.0160.00016.71
7.2.310.0060.01216.29
7.2.300.0030.01316.65
7.2.290.0090.01216.71
7.2.60.0000.01616.97
7.2.00.0040.01119.32
7.1.200.0100.00315.54
7.1.100.0080.00318.25
7.1.70.0000.00716.87
7.1.60.0060.01619.40
7.1.50.0060.01616.86
7.1.00.0070.07322.36
7.0.200.0390.00314.63
7.0.60.0200.07021.59
7.0.50.0070.06017.80
7.0.40.0070.08720.04
7.0.30.0200.07720.17
7.0.20.0270.04720.20
7.0.10.0030.06320.20
7.0.00.0070.04020.17
5.6.280.0100.03320.77
5.6.210.0070.08320.74
5.6.200.0070.07318.15
5.6.190.0070.05020.41
5.6.180.0230.04320.64
5.6.170.0330.07720.43
5.6.160.0200.07320.38
5.6.150.0000.04718.22
5.6.140.0100.07718.22
5.6.130.0070.08018.16
5.6.120.0300.03021.12
5.6.110.0030.09020.96
5.6.100.0170.07320.96
5.6.90.0070.04720.96
5.6.80.0070.07320.52
5.5.350.0300.06720.41
5.5.340.0070.06717.95
5.5.330.0030.08020.25
5.5.320.0230.06020.31
5.5.310.0430.06320.30
5.5.300.0030.07317.98
5.5.290.0070.05317.91
5.5.280.0070.08320.64
5.5.270.0100.08320.72
5.5.260.0030.06320.85
5.5.250.0100.04720.45
5.5.240.0370.06020.34

preferences:
67.28 ms | 401 KiB | 5 Q