3v4l.org

run code in 300+ PHP versions simultaneously
<?php print number_format('-0.001',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.70.0110.00418.43
8.3.60.0070.00716.63
8.3.50.0080.00817.95
8.3.40.0110.00318.71
8.3.30.0070.00718.71
8.3.20.0000.00720.37
8.3.10.0070.00023.78
8.3.00.0000.00823.61
8.2.180.0100.00718.13
8.2.170.0140.00719.09
8.2.160.0100.01022.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00720.52
8.2.120.0040.00426.35
8.2.110.0070.00321.18
8.2.100.0110.00017.84
8.2.90.0000.00719.05
8.2.80.0040.00418.04
8.2.70.0050.00517.63
8.2.60.0000.00917.91
8.2.50.0000.00718.10
8.2.40.0080.00020.52
8.2.30.0060.00319.25
8.2.20.0030.00617.91
8.2.10.0040.00417.88
8.2.00.0000.00718.00
8.1.280.0060.01225.92
8.1.270.0090.00022.23
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00419.14
8.1.230.0090.00319.61
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0000.00917.35
8.1.190.0080.00016.99
8.1.180.0050.00318.10
8.1.170.0060.00318.50
8.1.160.0040.00418.79
8.1.150.0070.00020.14
8.1.140.0040.00419.21
8.1.130.0030.00319.02
8.1.120.0030.00717.29
8.1.110.0040.00417.39
8.1.100.0000.00717.39
8.1.90.0030.00317.31
8.1.80.0070.00317.38
8.1.70.0000.00717.35
8.1.60.0040.00417.50
8.1.50.0060.00317.46
8.1.40.0040.00417.36
8.1.30.0000.00717.54
8.1.20.0000.00717.57
8.1.10.0040.00417.41
8.1.00.0040.00417.45
8.0.300.0000.01018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.47
8.0.270.0040.00417.13
8.0.260.0030.00318.86
8.0.250.0000.00616.95
8.0.240.0000.00716.82
8.0.230.0000.00716.90
8.0.220.0000.00716.83
8.0.210.0030.00316.83
8.0.200.0030.00616.76
8.0.190.0000.00716.75
8.0.180.0000.00716.91
8.0.170.0030.00316.78
8.0.160.0000.00716.76
8.0.150.0000.00716.88
8.0.140.0000.00716.67
8.0.130.0000.00513.20
8.0.120.0070.00016.76
8.0.110.0080.00016.72
8.0.100.0040.00416.71
8.0.90.0040.00416.95
8.0.80.0100.00316.83
8.0.70.0000.00716.83
8.0.60.0000.00816.81
8.0.50.0040.00416.69
8.0.30.0100.00817.03
8.0.20.0120.00717.40
8.0.10.0070.00016.91
8.0.00.0150.00416.79
7.4.330.0000.00415.55
7.4.320.0030.00316.40
7.4.300.0050.00216.50
7.4.290.0030.00316.54
7.4.280.0040.00416.33
7.4.270.0030.00316.45
7.4.260.0000.00816.42
7.4.250.0030.00316.41
7.4.240.0050.00316.56
7.4.230.0030.00316.57
7.4.220.0100.01016.52
7.4.210.0090.01016.63
7.4.200.0030.00316.19
7.4.160.0130.00616.54
7.4.150.0150.00317.40
7.4.140.0120.00817.86
7.4.130.0110.01116.65
7.4.120.0070.01016.48
7.4.110.0160.00816.52
7.4.100.0070.01016.49
7.4.90.0100.01016.48
7.4.80.0120.00819.39
7.4.70.0120.00616.36
7.4.60.0110.00416.36
7.4.50.0040.00816.18
7.4.40.0120.00416.16
7.4.30.0110.00416.46
7.4.00.0070.00714.90
7.3.330.0030.00313.00
7.3.320.0030.00312.89
7.3.310.0030.00315.98
7.3.300.0000.00616.24
7.3.290.0070.01116.17
7.3.280.0110.00316.23
7.3.270.0170.00317.40
7.3.260.0140.00516.27
7.3.250.0130.00816.43
7.3.240.0110.00516.27
7.3.230.0130.00316.29
7.3.210.0070.01016.51
7.3.200.0130.00316.32
7.3.190.0090.00616.16
7.3.180.0090.00616.21
7.3.170.0120.00916.52
7.3.160.0060.01016.21
7.2.330.0060.01116.50
7.2.320.0100.00716.60
7.2.310.0100.00716.29
7.2.300.0160.00716.50
7.2.290.0100.00716.60
7.2.60.0120.00816.84
7.1.200.0050.00515.78
7.1.110.0340.00615.57
7.1.100.0410.00615.75
7.1.90.0260.00615.86
7.1.80.0220.01315.98
7.1.70.0350.01315.04
7.1.60.0420.01033.03
7.1.50.0440.00732.90
7.1.40.0380.01032.34
7.1.30.0390.01332.27
7.1.20.0390.01332.79
7.1.10.0340.00314.68
7.1.00.0280.00714.88
7.0.250.0230.01015.77
7.0.240.0220.01015.76
7.0.230.0260.00715.50
7.0.220.0250.00615.42
7.0.210.0270.01014.61
7.0.200.0360.01014.61
7.0.190.0220.01014.77
7.0.180.0260.00714.29
7.0.170.0240.00914.35
7.0.160.1190.01314.50
7.0.150.0180.01514.16
7.0.140.0240.01014.30
7.0.130.0180.01414.72
7.0.120.0210.01014.48
7.0.110.0260.00614.39
7.0.100.0320.00714.51
7.0.90.0350.00314.22
7.0.80.0260.01114.27
7.0.70.0280.00614.33
7.0.60.0360.00314.18
7.0.50.0210.01414.32
7.0.40.0320.00614.45
7.0.30.0380.01014.45
7.0.20.0310.01014.21
7.0.10.0290.01014.64
7.0.00.0300.01014.64

preferences:
112.1 ms | 401 KiB | 5 Q