3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('precision', 30); $num=12345678910111213145.99; var_dump($num); echo number_format($num, 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.0120.00616.50
8.3.50.0140.00016.13
8.3.40.0150.00018.66
8.3.30.0060.00918.52
8.3.20.0050.00220.20
8.3.10.0140.00021.73
8.3.00.0040.00419.56
8.2.180.0120.00318.16
8.2.170.0100.00622.96
8.2.160.0000.01321.20
8.2.150.0070.00025.66
8.2.140.0060.00324.66
8.2.130.0080.00022.25
8.2.120.0080.00026.35
8.2.110.0070.00322.28
8.2.100.0030.01017.90
8.2.90.0090.00019.22
8.2.80.0040.00418.04
8.2.70.0040.00417.48
8.2.60.0020.00518.03
8.2.50.0040.00418.10
8.2.40.0080.00022.27
8.2.30.0040.00419.29
8.2.20.0080.00018.05
8.2.10.0040.00418.18
8.2.00.0030.00318.24
8.1.280.0100.00325.92
8.1.270.0070.00022.08
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0040.00423.96
8.1.230.0090.00317.76
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00717.23
8.1.190.0040.00417.23
8.1.180.0020.00518.10
8.1.170.0040.00418.46
8.1.160.0000.00718.76
8.1.150.0000.00721.86
8.1.140.0030.00519.43
8.1.130.0030.00318.88
8.1.120.0000.00717.37
8.1.110.0060.00317.29
8.1.100.0050.00317.39
8.1.90.0040.00417.23
8.1.80.0040.00417.45
8.1.70.0040.00417.35
8.1.60.0070.00017.54
8.1.50.0040.00417.46
8.1.40.0040.00417.48
8.1.30.0000.00717.57
8.1.20.0000.00917.42
8.1.10.0050.00317.41
8.1.00.0040.00417.47
8.0.300.0030.00618.77
8.0.290.0000.00716.63
8.0.280.0030.00518.49
8.0.270.0070.00017.27
8.0.260.0060.00020.75
8.0.250.0000.00717.04
8.0.240.0040.00716.84
8.0.230.0070.00016.76
8.0.220.0030.00316.75
8.0.210.0000.00616.76
8.0.200.0000.00616.88
8.0.190.0070.00016.85
8.0.180.0000.00716.81
8.0.170.0000.00816.74
8.0.160.0050.00316.84
8.0.150.0040.00416.66
8.0.140.0030.00316.82
8.0.130.0030.00313.32
8.0.120.0040.00416.79
8.0.110.0050.00316.70
8.0.100.0070.00016.87
8.0.90.0040.00416.82
8.0.80.0040.01116.84
8.0.70.0040.00416.84
8.0.60.0040.00416.64
8.0.50.0000.00816.89
8.0.30.0110.00816.94
8.0.20.0120.00817.40
8.0.10.0070.00016.93
8.0.00.0060.01016.67
7.4.330.0000.00515.55
7.4.320.0000.00716.59
7.4.300.0030.00316.51
7.4.290.0000.00716.35
7.4.280.0000.00716.46
7.4.270.0000.00716.58
7.4.260.0070.00016.45
7.4.250.0000.00716.50
7.4.240.0000.00716.51
7.4.230.0040.00416.65
7.4.220.0030.01716.46
7.4.210.0070.00716.45
7.4.200.0070.00016.44
7.4.160.0080.00816.45
7.4.150.0100.00717.40
7.4.140.0120.00917.86
7.4.130.0070.01116.43
7.4.120.0110.01216.45
7.4.110.0080.00916.45
7.4.100.0140.00316.62
7.4.90.0090.00816.45
7.4.80.0080.01419.39
7.4.70.0060.01816.37
7.4.60.0060.01016.37
7.4.50.0060.00916.33
7.4.40.0080.00816.40
7.4.30.0100.00616.21
7.4.00.0030.01414.98
7.3.330.0060.00013.06
7.3.320.0000.00613.01
7.3.310.0040.00416.16
7.3.300.0040.00216.12
7.3.290.0000.00716.07
7.3.280.0080.00916.12
7.3.270.0060.01317.40
7.3.260.0090.01016.42
7.3.250.0080.00916.38
7.3.240.0080.00816.20
7.3.230.0030.01316.52
7.3.210.0070.01016.34
7.3.200.0100.01016.16
7.3.190.0090.00616.23
7.3.180.0060.00916.51
7.3.170.0090.00616.26
7.3.160.0120.00316.11
7.3.10.0030.01216.62
7.3.00.0030.01216.59
7.2.330.0090.00916.41
7.2.320.0100.00716.22
7.2.310.0070.01416.48
7.2.300.0090.01216.48
7.2.290.0040.01316.66
7.2.130.0050.01216.65
7.2.120.0020.01316.54
7.2.110.0090.00416.62
7.2.100.0080.00516.81
7.2.90.0070.00816.90
7.2.80.0030.01316.74
7.2.70.0050.00816.83
7.2.60.0040.00816.64
7.2.50.0060.00716.68
7.2.40.0060.00616.71
7.2.30.0030.00916.72
7.2.20.0050.01216.82
7.2.10.0080.00616.67
7.2.00.0060.01217.56
7.1.250.0020.00715.70
7.1.200.0060.00615.37
7.1.70.0000.00717.11
7.1.60.0040.00717.03
7.1.50.0040.01916.93
7.1.40.0630.01332.52
7.1.30.0230.01734.20
7.1.20.0530.01332.60
7.1.10.0000.01316.47
7.1.00.0000.01716.53
7.0.200.0060.00916.82
7.0.180.0400.01014.18
7.0.170.0300.01314.23
7.0.160.0270.01315.97
7.0.150.0030.01015.96
7.0.140.0400.01014.25
7.0.130.0470.00716.33
7.0.120.0100.00716.50
7.0.110.0130.00316.17
7.0.100.0400.01714.32
7.0.90.0070.01016.08
7.0.80.0030.01316.14
7.0.70.0030.01316.13
7.0.60.0070.00716.10
7.0.50.0300.01014.58
7.0.40.0370.00714.47
7.0.30.1630.01014.56
7.0.20.0370.01014.52
7.0.10.0430.00714.42
7.0.00.0300.01314.60

preferences:
54.97 ms | 400 KiB | 5 Q