3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo number_format(-2222.2255558, 2, ',', '.'); echo number_format('-2222.220000058', 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.0090.00918.31
8.3.50.0100.01016.35
8.3.40.0070.01118.84
8.3.30.0140.00018.76
8.3.20.0050.00319.02
8.3.10.0040.00421.82
8.3.00.0050.00320.90
8.2.180.0110.00718.06
8.2.170.0030.01422.96
8.2.160.0080.00622.13
8.2.150.0000.00824.18
8.2.140.0190.00024.66
8.2.130.0040.00422.29
8.2.120.0040.00426.35
8.2.110.0030.00620.48
8.2.100.0120.00317.71
8.2.90.0040.00419.23
8.2.80.0040.00417.97
8.2.70.0080.00417.38
8.2.60.0040.00417.93
8.2.50.0060.00318.10
8.2.40.0060.00322.27
8.2.30.0030.00520.91
8.2.20.0000.00818.08
8.2.10.0030.00517.97
8.2.00.0000.00717.98
8.1.280.0040.01125.92
8.1.270.0000.00724.01
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.66
8.1.230.0110.00019.14
8.1.220.0030.00817.76
8.1.210.0000.00818.77
8.1.200.0000.00917.35
8.1.190.0040.00417.10
8.1.180.0060.00318.10
8.1.170.0040.00418.63
8.1.160.0000.00718.89
8.1.150.0070.00020.61
8.1.140.0040.00419.50
8.1.130.0050.00318.75
8.1.120.0030.00317.39
8.1.110.0000.00817.30
8.1.100.0000.00717.35
8.1.90.0040.00417.41
8.1.80.0000.00717.39
8.1.70.0000.00717.41
8.1.60.0050.00317.40
8.1.50.0000.00717.33
8.1.40.0080.00017.49
8.1.30.0030.00517.54
8.1.20.0040.00417.48
8.1.10.0000.00717.52
8.1.00.0060.00317.43
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.45
8.0.270.0000.00717.29
8.0.260.0060.00316.89
8.0.250.0020.00517.00
8.0.240.0000.00816.97
8.0.230.0080.00016.90
8.0.220.0000.00716.74
8.0.210.0030.00316.87
8.0.200.0000.00616.93
8.0.190.0060.00316.86
8.0.180.0000.00816.83
8.0.170.0000.00716.88
8.0.160.0050.00216.78
8.0.150.0000.00716.78
8.0.140.0000.00716.79
8.0.130.0000.00613.21
8.0.120.0000.00716.82
8.0.110.0000.00716.65
8.0.100.0000.00716.88
8.0.90.0070.00016.89
8.0.80.0000.02016.89
8.0.70.0000.00716.78
8.0.60.0070.00016.61
8.0.50.0000.00716.77
8.0.30.0060.01317.13
8.0.20.0130.01317.40
8.0.10.0040.00416.94
8.0.00.0030.01416.74
7.4.330.0020.00215.55
7.4.320.0030.00316.45
7.4.300.0000.00716.43
7.4.290.0000.00716.43
7.4.280.0040.00416.51
7.4.270.0070.00016.53
7.4.260.0050.00013.21
7.4.250.0030.00316.39
7.4.240.0030.00316.55
7.4.230.0000.00716.63
7.4.220.0120.00616.39
7.4.210.0100.01016.47
7.4.200.0070.00016.24
7.4.160.0080.01016.49
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0080.01216.28
7.4.120.0060.01216.35
7.3.330.0000.00513.10
7.3.320.0030.00313.09
7.3.310.0000.00716.06
7.3.300.0000.00616.21
7.3.290.0050.01316.21
7.3.280.0080.00816.17
7.3.270.0080.00817.40
7.3.260.0080.01216.31
7.3.250.0080.01316.31
7.3.240.0090.00816.19

preferences:
51.03 ms | 401 KiB | 5 Q