3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('precision', 25); $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.70.0090.01218.18
8.3.60.0140.00416.63
8.3.50.0110.00921.27
8.3.40.0070.00718.53
8.3.30.0040.01118.57
8.3.20.0040.00420.20
8.3.10.0040.00421.79
8.3.00.0040.00419.68
8.2.180.0140.00018.30
8.2.170.0040.01522.96
8.2.160.0070.00721.02
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.01126.16
8.2.120.0080.00021.13
8.2.110.0060.00321.94
8.2.100.0060.00617.91
8.2.90.0000.00817.63
8.2.80.0040.00418.84
8.2.70.0000.00817.50
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0050.00318.04
8.2.30.0000.00817.97
8.2.20.0000.00817.93
8.2.10.0050.00218.03
8.2.00.0070.00018.24
8.1.280.0100.00725.92
8.1.270.0070.00022.06
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0000.00920.52
8.1.230.0060.00617.76
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0100.00017.25
8.1.190.0030.00617.10
8.1.180.0070.00318.10
8.1.170.0060.00318.65
8.1.160.0000.00718.81
8.1.150.0000.00721.85
8.1.140.0020.00519.43
8.1.130.0000.00818.95
8.1.120.0000.00817.41
8.1.110.0030.00617.38
8.1.100.0040.00417.36
8.1.90.0050.00317.27
8.1.80.0000.00717.38
8.1.70.0070.00017.41
8.1.60.0040.00417.54
8.1.50.0040.00417.49
8.1.40.0080.00017.35
8.1.30.0000.00817.57
8.1.20.0040.00417.59
8.1.10.0060.00317.42
8.1.00.0000.00817.46
8.0.300.0090.00018.77
8.0.290.0050.00316.63
8.0.280.0030.00318.50
8.0.270.0030.00317.25
8.0.260.0000.00620.84
8.0.250.0000.00716.89
8.0.240.0110.00016.84
8.0.230.0040.00416.93
8.0.220.0030.00316.82
8.0.210.0070.00016.72
8.0.200.0040.00416.82
8.0.190.0040.00416.87
8.0.180.0070.00016.82
8.0.170.0040.00416.75
8.0.160.0030.00316.81
8.0.150.0080.00016.81
8.0.140.0040.00416.80
8.0.130.0030.00313.30
8.0.120.0070.00016.89
8.0.110.0000.00716.73
8.0.100.0040.00416.64
8.0.90.0080.00016.79
8.0.80.0030.01816.77
8.0.70.0040.00416.72
8.0.60.0030.00516.89
8.0.50.0040.00416.89
8.0.30.0170.00317.31
8.0.20.0120.01117.40
8.0.10.0050.00317.06
8.0.00.0060.01216.67
7.4.330.0060.00015.55
7.4.320.0030.00316.41
7.4.300.0000.00616.29
7.4.290.0030.00316.54
7.4.280.0030.00516.54
7.4.270.0040.00416.41
7.4.260.0070.00016.32
7.4.250.0030.00316.34
7.4.240.0050.00216.52
7.4.230.0070.00016.52
7.4.220.0110.00716.46
7.4.210.0110.00616.59
7.4.200.0000.00716.65
7.4.160.0110.00516.43
7.4.150.0140.00417.40
7.4.140.0080.01017.86
7.4.130.0110.00816.40
7.4.120.0080.01316.43
7.4.110.0040.01916.45
7.4.100.0030.02016.28
7.4.90.0130.00316.30
7.4.80.0030.02019.39
7.4.70.0180.00416.46
7.4.60.0060.01016.53
7.4.50.0090.00516.20
7.4.40.0080.00816.49
7.4.30.0070.01416.50
7.4.00.0090.00614.79
7.3.330.0050.00012.82
7.3.320.0000.00613.00
7.3.310.0000.00716.13
7.3.300.0030.00316.18
7.3.290.0000.00816.16
7.3.280.0080.01016.11
7.3.270.0110.00717.40
7.3.260.0150.00716.17
7.3.250.0110.00616.28
7.3.240.0130.00316.29
7.3.230.0100.00716.28
7.3.210.0080.01116.16
7.3.200.0090.00916.43
7.3.190.0180.00616.28
7.3.180.0100.01016.13
7.3.170.0150.00616.21
7.3.160.0120.00416.46
7.2.330.0060.01116.39
7.2.320.0070.01016.19
7.2.310.0040.01216.42
7.2.300.0030.01416.27
7.2.290.0050.01316.35
7.2.60.0040.00816.51
7.2.00.0200.01519.01
7.1.200.0050.00515.79
7.1.70.0040.00417.09
7.1.60.0040.00717.16
7.1.50.0090.00416.90
7.1.40.0170.01333.99
7.1.30.0100.02734.52
7.1.20.0200.01034.44
7.1.10.0070.00716.45
7.1.00.0030.01316.66
7.0.200.0060.01016.84
7.0.180.0070.00716.09
7.0.170.0000.01316.10
7.0.160.0030.01016.09
7.0.150.0030.01016.10
7.0.140.0030.00716.28
7.0.130.0170.01014.58
7.0.120.0000.01314.48
7.0.110.0030.01016.17
7.0.100.0000.01315.93
7.0.90.0030.01016.08
7.0.80.0030.01016.36
7.0.70.0070.00716.09
7.0.60.0030.01015.74
7.0.50.0000.01316.01
7.0.40.0030.01016.48
7.0.30.0070.01016.30
7.0.20.0000.01016.30
7.0.10.0030.01316.28
7.0.00.0000.01716.28

preferences:
70.87 ms | 401 KiB | 5 Q