3v4l.org

run code in 300+ PHP versions simultaneously
<?php $amount = '6855'; //cents echo number_format($amount/100, 2, '.', ' ');

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.00318.30
8.3.50.0170.00318.21
8.3.40.0110.00718.70
8.3.30.0110.00418.75
8.3.20.0040.00419.02
8.3.10.0000.00820.98
8.3.00.0040.00423.36
8.2.180.0140.00718.41
8.2.170.0140.00322.96
8.2.160.0070.00721.05
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00720.60
8.2.110.0090.00020.99
8.2.100.0120.00017.91
8.2.90.0070.00319.01
8.2.80.0080.00017.97
8.2.70.0000.00818.05
8.2.60.0040.00417.93
8.2.50.0030.00518.10
8.2.40.0060.00319.44
8.2.30.0040.00419.23
8.2.20.0040.00417.99
8.2.10.0090.00018.17
8.2.00.0040.00419.44
8.1.280.0060.00925.92
8.1.270.0090.00024.02
8.1.260.0050.00526.35
8.1.250.0040.00428.09
8.1.240.0050.00521.37
8.1.230.0060.00618.98
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0060.00318.57
8.1.160.0000.00718.79
8.1.150.0040.00418.79
8.1.140.0040.00417.75
8.1.130.0000.01019.09
8.1.120.0080.00017.45
8.1.110.0060.00317.41
8.1.100.0030.00517.44
8.1.90.0040.00417.45
8.1.80.0050.00217.37
8.1.70.0060.00317.43
8.1.60.0050.00317.46
8.1.50.0000.00817.56
8.1.40.0030.00517.45
8.1.30.0040.00417.65
8.1.20.0000.00717.60
8.1.10.0020.00517.48
8.1.00.0000.00817.38
8.0.300.0040.00418.84
8.0.290.0030.00616.63
8.0.280.0000.00718.60
8.0.270.0030.00317.32
8.0.260.0000.00617.21
8.0.250.0050.00516.97
8.0.240.0030.00316.87
8.0.230.0030.00316.95
8.0.220.0000.00716.91
8.0.210.0000.00716.78
8.0.200.0000.00716.92
8.0.190.0030.00316.95
8.0.180.0040.00416.89
8.0.170.0000.00916.93
8.0.160.0030.00516.88
8.0.150.0000.00716.82
8.0.140.0030.00616.83
8.0.130.0030.00313.29
8.0.120.0030.00516.85
8.0.110.0080.00016.87
8.0.100.0020.00516.86
8.0.90.0070.00016.71
8.0.80.0070.01116.84
8.0.70.0070.00016.81
8.0.60.0050.00216.92
8.0.50.0040.00416.90
8.0.30.0100.01117.18
8.0.20.0120.00917.40
8.0.10.0040.00417.03
8.0.00.0120.00516.51
7.4.330.0050.00015.55
7.4.320.0000.00616.50
7.4.300.0000.00716.59
7.4.290.0000.00716.63
7.4.280.0040.00416.59
7.4.270.0040.00416.58
7.4.260.0050.00316.45
7.4.250.0030.00316.49
7.4.240.0030.00316.57
7.4.230.0030.00316.48
7.4.220.0000.00916.33
7.4.210.0110.00516.47
7.4.200.0030.00316.30
7.4.160.0050.01116.48
7.4.140.0080.01217.86
7.4.130.0090.01016.44
7.4.120.0080.00916.54
7.4.110.0070.01516.41
7.4.100.0040.01316.22
7.4.90.0070.01016.54
7.4.80.0090.01219.39
7.4.70.0100.00716.55
7.4.60.0070.01016.31
7.4.50.0040.00816.41
7.4.40.0160.00716.37
7.4.00.0090.00614.81
7.3.330.0000.00613.19
7.3.320.0030.00312.98
7.3.310.0030.00316.25
7.3.300.0040.00416.22
7.3.290.0070.00016.25
7.3.280.0090.00716.33
7.3.260.0110.00616.46
7.3.240.0090.01016.45
7.3.230.0260.02816.62
7.3.210.0080.00816.43
7.3.200.0130.00316.41
7.3.190.0060.00916.42
7.3.180.0040.01516.47
7.3.170.0120.00616.36
7.3.160.0170.00016.30
7.2.330.0160.00316.45
7.2.320.0150.00916.52
7.2.310.0080.00816.48
7.2.300.0070.01016.77
7.2.290.0070.01116.63
7.2.70.0110.01114.76
7.2.60.0030.01714.91
7.2.50.0030.01614.96
7.2.40.0150.00015.00
7.2.30.0040.01114.81
7.2.20.0040.01214.82
7.2.10.0080.00814.61
7.2.00.0000.01414.75
7.1.200.0090.00015.59
7.1.170.1020.00913.77
7.1.160.0030.01213.80
7.1.150.0810.00313.33
7.1.140.0140.00013.78
7.1.130.0900.00713.74
7.1.120.0040.00913.53
7.1.110.0100.00313.68
7.1.100.0820.00713.54
7.1.90.1610.00713.91
7.1.80.1690.00613.47
7.1.70.1450.00713.64
7.1.60.2100.01031.48
7.1.50.0240.01031.93
7.1.40.0890.00331.94
7.1.30.0240.01431.45
7.1.20.0750.00331.89
7.1.10.1410.00613.74
7.1.00.1450.01313.83

preferences:
59.89 ms | 400 KiB | 5 Q