3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( number_format(1000, 2), (float) number_format(1000, 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.0070.00716.63
8.3.50.0100.00316.27
8.3.40.0110.00418.73
8.3.30.0040.01118.54
8.3.20.0040.00420.07
8.3.10.0000.00821.77
8.3.00.0000.00817.65
8.2.180.0060.01216.38
8.2.170.0110.00422.96
8.2.160.0070.00720.27
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.23
8.2.120.0070.00026.35
8.2.110.0090.00019.29
8.2.100.0080.00418.03
8.2.90.0000.00719.28
8.2.80.0040.00417.97
8.2.70.0110.00017.38
8.2.60.0060.00317.79
8.2.50.0030.00518.10
8.2.40.0050.00220.71
8.2.30.0060.00320.95
8.2.20.0040.00418.04
8.2.10.0050.00218.04
8.2.00.0040.00417.85
8.1.280.0100.01025.92
8.1.270.0030.00524.02
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0000.00921.25
8.1.230.0040.00819.28
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0000.00817.22
8.1.190.0080.00017.23
8.1.180.0070.00018.10
8.1.170.0040.00418.71
8.1.160.0050.00319.05
8.1.150.0000.00720.61
8.1.140.0070.00019.50
8.1.130.0000.00717.24
8.1.120.0030.00317.42
8.1.110.0070.00017.38
8.1.100.0030.00617.35
8.1.90.0070.00017.46
8.1.80.0030.00417.28
8.1.70.0070.00017.35
8.1.60.0040.00417.53
8.1.50.0050.00217.50
8.1.40.0030.00617.45
8.1.30.0000.00717.62
8.1.20.0050.00517.48
8.1.10.0040.00417.53
8.1.00.0040.00417.38
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0070.00018.41
8.0.270.0030.00317.21
8.0.260.0030.00316.63
8.0.250.0070.00016.92
8.0.240.0000.00716.82
8.0.230.0030.00316.74
8.0.220.0040.00416.80
8.0.210.0000.00716.73
8.0.200.0030.00316.82
8.0.190.0000.00816.86
8.0.180.0000.00816.88
8.0.170.0030.00516.84
8.0.160.0060.00616.82
8.0.150.0050.00316.75
8.0.140.0000.00716.76
8.0.130.0030.00313.31
8.0.120.0090.00016.64
8.0.110.0080.00016.61
8.0.100.0030.00616.78
8.0.90.0040.00416.69
8.0.80.0100.00716.80
8.0.70.0000.00716.76
8.0.60.0000.00716.87
8.0.50.0040.00416.90
8.0.30.0090.01017.04
8.0.20.0110.01017.40
8.0.10.0040.00417.04
8.0.00.0090.00916.71
7.4.330.0000.00515.55
7.4.320.0060.00016.49
7.4.300.0030.00316.48
7.4.290.0100.00016.62
7.4.280.0080.00016.57
7.4.270.0080.00016.49
7.4.260.0050.00216.49
7.4.250.0030.00316.45
7.4.240.0000.00716.54
7.4.230.0040.00416.46
7.4.220.0030.01816.59
7.4.210.0060.01116.56
7.4.200.0000.00716.67
7.4.160.0120.00516.67
7.4.150.0030.01817.40
7.4.140.0110.00717.86
7.4.130.0070.01116.39
7.4.120.0070.01416.52
7.4.110.0080.00816.51
7.4.100.0090.00916.54
7.4.90.0110.01116.66
7.4.80.0090.01419.39
7.4.70.0030.01316.35
7.4.60.0060.00916.49
7.4.50.0000.01516.10
7.4.40.0000.01616.39
7.4.30.0100.00716.20
7.3.330.0000.00513.10
7.3.320.0030.00313.05
7.3.310.0070.00016.12
7.3.300.0000.00716.28
7.3.290.0040.01016.21
7.3.280.0070.00916.25
7.3.270.0160.00317.40
7.3.260.0100.00716.32
7.3.250.0090.00716.35
7.3.240.0060.01416.21
7.3.230.0120.00916.33
7.3.210.0130.00816.47
7.3.200.0060.01016.48
7.3.190.0120.00316.27
7.3.180.0120.00316.34
7.3.170.0120.00316.29
7.3.160.0090.00616.16
7.2.330.0070.01016.14
7.2.320.0110.00616.43
7.2.310.0120.00616.25
7.2.300.0080.00816.06
7.2.290.0110.00616.36
7.1.70.0090.01015.05
7.1.60.0260.01533.23
7.1.50.0180.02134.77
7.1.40.0240.01034.21
7.1.30.0240.01434.25
7.1.20.0200.01634.40
7.1.10.0050.01316.56
7.1.00.0050.01216.46
7.0.200.0000.01616.47
7.0.190.0130.00316.67
7.0.180.0160.00315.96
7.0.170.0040.01216.24
7.0.160.0030.01316.21
7.0.150.0100.00716.00
7.0.140.0070.01116.02
7.0.130.0030.01416.36
7.0.120.0090.00916.23
7.0.110.0070.01016.09
7.0.100.0000.01716.16
7.0.90.0040.01216.15
7.0.80.0080.01016.20
7.0.70.0090.00916.15
7.0.60.0110.00815.81
7.0.50.0070.00716.08
7.0.40.0070.00716.09
7.0.30.0080.00816.33
7.0.20.0070.01016.17
7.0.10.0040.00816.33
7.0.00.0050.00816.14

preferences:
44.71 ms | 400 KiB | 5 Q