3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo number_format(-0.2, 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.0070.00718.18
8.3.50.0070.01016.18
8.3.40.0100.00618.85
8.3.30.0080.00818.71
8.3.20.0050.00319.02
8.3.10.0040.00418.98
8.3.00.0080.00019.55
8.2.180.0180.00018.31
8.2.170.0070.00722.96
8.2.160.0060.00918.99
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00320.80
8.2.110.0130.00319.33
8.2.100.0040.00817.91
8.2.90.0040.00417.75
8.2.80.0050.00318.66
8.2.70.0030.00518.04
8.2.60.0050.00317.68
8.2.50.0050.00318.10
8.2.40.0070.00019.27
8.2.30.0040.00419.49
8.2.20.0000.00718.04
8.2.10.0030.00517.92
8.2.00.0030.00319.26
8.1.280.0110.00725.92
8.1.270.0040.00424.01
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00722.17
8.1.230.0040.00820.91
8.1.220.0030.00518.55
8.1.210.0030.00618.93
8.1.200.0090.00017.00
8.1.190.0040.00417.09
8.1.180.0080.00018.10
8.1.170.0000.01018.59
8.1.160.0050.00218.79
8.1.150.0070.00018.85
8.1.140.0000.00717.72
8.1.130.0000.00619.00
8.1.120.0040.00417.28
8.1.110.0000.00917.41
8.1.100.0040.00417.25
8.1.90.0040.00417.41
8.1.80.0040.00417.29
8.1.70.0030.00317.27
8.1.60.0030.00917.49
8.1.50.0040.00417.33
8.1.40.0050.00317.34
8.1.30.0030.00517.65
8.1.20.0070.00017.57
8.1.10.0060.00317.43
8.1.00.0030.00517.36
8.0.300.0080.00019.95
8.0.290.0020.00516.75
8.0.280.0070.00018.39
8.0.270.0000.00717.30
8.0.260.0030.00317.14
8.0.250.0000.00716.96
8.0.240.0000.00716.98
8.0.230.0070.00016.90
8.0.220.0070.00016.77
8.0.210.0030.00416.68
8.0.200.0000.00816.85
8.0.190.0000.00716.76
8.0.180.0040.00416.73
8.0.170.0080.00016.85
8.0.160.0000.00716.86
8.0.150.0040.00416.76
8.0.140.0040.00416.81
8.0.130.0060.00013.18
8.0.120.0000.00716.75
8.0.110.0050.00216.73
8.0.100.0000.00716.87
8.0.90.0000.00816.75
8.0.80.0080.01116.86
8.0.70.0030.00416.83
8.0.60.0000.00716.62
8.0.50.0000.00716.61
8.0.30.0100.00916.94
8.0.20.0110.00817.40
8.0.10.0000.00716.92
8.0.00.0080.01016.66
7.4.330.0000.00615.55
7.4.320.0030.00316.38
7.4.300.0030.00316.34
7.4.290.0070.00016.39
7.4.280.0000.00816.43
7.4.270.0000.00716.49
7.4.260.0000.00816.55
7.4.250.0000.00716.43
7.4.240.0070.00016.44
7.4.230.0000.00716.31
7.4.220.0040.00416.59
7.4.210.0050.01016.44
7.4.200.0040.00416.58
7.4.160.0150.00816.46
7.4.140.0110.00817.86
7.4.130.0170.00716.44
7.4.120.0090.01116.42
7.4.110.0130.00316.49
7.4.100.0120.00616.29
7.4.90.0040.01216.42
7.4.80.0180.00319.39
7.4.70.0100.00716.26
7.4.60.0100.00716.28
7.4.50.0060.00616.38
7.4.40.0130.01016.39
7.4.00.0030.01015.06
7.3.330.0000.00512.93
7.3.320.0050.00012.94
7.3.310.0000.00716.26
7.3.300.0030.00316.18
7.3.290.0040.00416.20
7.3.280.0080.00716.22
7.3.260.0120.00916.29
7.3.240.0110.00616.37
7.3.230.0160.00016.39
7.3.210.0090.01216.36
7.3.200.0090.00916.52
7.3.190.0140.00316.49
7.3.180.0070.01016.24
7.3.170.0090.00916.41
7.3.160.0090.01316.37
7.2.330.0100.00716.70
7.2.320.0100.01316.35
7.2.310.0060.01816.29
7.2.300.0060.01216.25
7.2.290.0070.01016.57
7.2.60.4630.00814.99
7.2.50.1580.01114.64
7.2.40.5560.01115.34
7.2.30.5360.00815.33
7.2.20.5200.01415.38
7.2.10.5280.01115.17
7.2.00.5180.01215.38
7.1.200.0030.01015.59
7.1.170.4940.00913.40
7.1.160.5410.01516.89
7.1.150.5480.01116.90
7.1.140.5050.01416.66
7.1.130.5120.01416.68
7.1.120.4950.01116.72
7.1.110.5940.01416.14
7.1.100.5800.01316.20
7.1.90.7250.01116.11
7.1.80.3780.01815.84
7.1.70.2680.01315.04
7.1.60.2770.01233.13
7.1.50.2340.01732.93
7.1.40.2360.01332.45
7.1.30.2740.01332.48
7.1.20.2740.01732.69
7.1.10.2810.01114.66
7.1.00.2350.01114.72

preferences:
47.41 ms | 400 KiB | 5 Q