3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = NumberFormatter::create('PL', NumberFormatter::DECIMAL); $result = $formatter->format(1090663, NumberFormatter::TYPE_DOUBLE); echo $result . ' = ' . bin2hex($result) . PHP_EOL; echo '1 090 663' . ' = ' . bin2hex('1 090 663') . PHP_EOL;

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.0110.01119.89
8.3.50.0100.01022.02
8.3.40.0000.01520.12
8.3.30.0120.00419.79
8.3.20.0080.00019.90
8.3.10.0090.00021.32
8.3.00.0000.00819.39
8.2.180.0140.00425.92
8.2.170.0040.01120.16
8.2.160.0070.01323.46
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0040.00422.78
8.2.120.0040.00426.35
8.2.110.0000.00922.68
8.2.100.0080.00421.02
8.2.90.0030.00520.72
8.2.80.0050.00321.61
8.2.70.0000.00819.25
8.2.60.0080.00319.66
8.2.50.0030.00519.25
8.2.40.0040.00423.60
8.2.30.0040.00421.79
8.2.20.0040.00419.35
8.2.10.0000.00819.72
8.2.00.0060.00319.59
8.1.280.0030.01325.92
8.1.270.0040.00424.66
8.1.260.0040.01228.09
8.1.250.0040.00428.09
8.1.240.0030.00723.24
8.1.230.0190.00322.54
8.1.220.0030.00519.26
8.1.210.0050.00320.51
8.1.200.0050.01018.86
8.1.190.0000.00818.85
8.1.180.0080.00018.88
8.1.170.0040.00420.64
8.1.160.0060.00320.21
8.1.150.0030.00520.27
8.1.140.0040.00421.23
8.1.130.0070.00019.32
8.1.120.0000.00819.09
8.1.110.0030.00618.96
8.1.100.0000.00719.31
8.1.90.0040.00419.00
8.1.80.0080.00018.89
8.1.70.0030.00519.24
8.1.60.0040.00419.14
8.1.50.0000.00819.31
8.1.40.0030.00519.25
8.1.30.0060.00319.36
8.1.20.0000.00819.25
8.1.10.0060.00319.32
8.1.00.0030.00519.39
8.0.300.0040.00421.21
8.0.290.0080.00018.25
8.0.280.0050.00319.67
8.0.270.0000.00718.95
8.0.260.0100.00318.97
8.0.250.0000.00718.62
8.0.240.0040.00418.41
8.0.230.0070.00018.49
8.0.220.0020.00518.53
8.0.210.0000.00818.45
8.0.200.0060.00318.46
8.0.190.0030.00518.45
8.0.180.0000.00718.50
8.0.170.0000.00818.56
8.0.160.0080.00018.38
8.0.150.0040.00318.39
8.0.140.0040.00418.50
8.0.130.0030.00313.30
8.0.120.0080.00018.64
8.0.110.0000.00818.47
8.0.100.0050.00318.76
8.0.90.0030.00518.75
8.0.80.0130.00318.60
8.0.70.0030.00618.63
8.0.60.0080.00018.62
8.0.50.0050.00318.62
8.0.30.0090.00918.97
8.0.20.0140.00818.65
8.0.10.0000.00718.36
8.0.00.0110.00918.56
7.4.330.0000.00515.08
7.4.320.0070.00018.42
7.4.300.0040.00418.34
7.4.290.0000.00718.30
7.4.280.0060.00318.36
7.4.270.0040.00418.38
7.4.260.0070.00018.25
7.4.250.0040.00418.18
7.4.240.0000.00718.18
7.4.230.0030.00418.28
7.4.220.0000.01818.38
7.4.210.0000.01418.20
7.4.200.0030.00518.26
7.4.160.0160.00718.16
7.4.150.0070.01418.10
7.4.140.0080.01018.17
7.4.130.0140.00418.24
7.4.120.0080.01018.12
7.4.110.0140.00418.11
7.4.100.0060.01218.05
7.4.90.0170.00018.15
7.4.80.0040.01319.39
7.4.70.0100.00618.17
7.4.60.0060.00918.20
7.4.50.0180.00017.88
7.4.40.0090.00918.19
7.4.30.0030.01318.16
7.4.00.0080.01016.49
7.3.330.0050.00313.17
7.3.320.0000.00513.09
7.3.310.0020.00518.00
7.3.300.0030.00317.98
7.3.290.0110.01017.99
7.3.280.0080.00918.05
7.3.270.0150.00617.97
7.3.260.0040.01318.40
7.3.250.0140.00818.15
7.3.240.0130.00818.23
7.3.230.0120.00918.33
7.3.210.0030.01418.08
7.3.200.0100.01319.39
7.3.190.0100.01018.05
7.3.180.0100.00718.14
7.3.170.0120.00618.23
7.3.160.0110.00718.21
7.3.120.0090.00916.44
7.3.110.0140.00616.52
7.3.100.0070.01016.47
7.3.90.0090.00916.71
7.3.80.0040.01116.35
7.3.70.0130.00016.65
7.3.60.0070.00716.55
7.3.50.0040.01216.59
7.3.40.0040.00716.80
7.3.30.0100.00316.70
7.3.20.0030.01318.03
7.3.10.0120.00018.18
7.3.00.0000.01518.00
7.2.330.0110.00718.27
7.2.320.0170.00618.50
7.2.310.0140.00318.47
7.2.300.0090.01018.19
7.2.290.0100.00618.28
7.2.250.0110.00816.64
7.2.240.0070.01316.48
7.2.230.0090.00916.55
7.2.220.0030.01116.79
7.2.210.0090.00616.63
7.2.200.0000.01416.47
7.2.190.0030.00916.49
7.2.180.0100.00616.32
7.2.170.0120.00316.65
7.2.60.0070.01018.47
7.2.00.0090.01221.38
7.1.330.0060.00717.04
7.1.320.0070.00717.16
7.1.310.0070.00717.44
7.1.300.0100.00717.37
7.1.290.0130.00017.57
7.1.280.0050.00517.26
7.1.270.0040.00717.29
7.1.260.0030.01317.57
7.1.200.0040.01217.46
7.1.100.0100.00319.79
7.1.70.0040.00818.95
7.1.60.0120.01219.30
7.1.00.0070.07024.46
7.0.200.0060.00618.79
7.0.60.0170.04721.65
7.0.50.0330.06722.00
7.0.40.0300.06721.84
7.0.30.0170.08022.05
7.0.20.0400.06021.98
7.0.10.0330.06721.83
7.0.00.0430.06321.81
5.6.280.0130.06322.51
5.6.210.0070.08322.28
5.6.200.0100.06322.86
5.6.190.0430.06722.64
5.6.180.0170.06722.61
5.6.170.0330.07322.61
5.6.160.0330.05322.61
5.6.150.0230.06322.82
5.6.140.0400.04722.79
5.6.130.0200.05322.88
5.6.120.0100.06722.45
5.6.110.0100.06022.69
5.6.100.0200.06322.88
5.6.90.0300.07022.79
5.6.80.0100.05722.24
5.6.70.0100.06322.07
5.6.60.0300.06322.05
5.6.50.0300.06022.25
5.6.40.0270.05322.15
5.6.30.0370.05321.96
5.6.20.0070.06721.75
5.6.10.0330.05022.05
5.6.00.0130.06322.21
5.5.350.0270.05022.11
5.5.340.0230.05722.25
5.5.330.0370.05722.54
5.5.320.0170.06322.58
5.5.310.0270.06722.57
5.5.300.0370.06722.51
5.5.290.0370.07722.51
5.5.280.0200.06022.48
5.5.270.0270.06022.24
5.5.260.0300.06722.56
5.5.250.0070.06322.06
5.5.240.0300.05721.82
5.5.230.0170.06721.79
5.5.220.0230.09021.77
5.5.210.0370.05021.78
5.5.200.0330.06321.80
5.5.190.0370.04021.72
5.5.180.0170.06021.96
5.5.160.0170.06321.83
5.5.150.0170.06021.59
5.5.140.0170.07021.89
5.5.130.0230.07021.96
5.5.120.0170.08021.92
5.5.110.0230.07321.82
5.5.100.0330.06321.58
5.5.90.0500.04721.71
5.5.80.0230.06021.82
5.5.70.0270.07321.88
5.5.60.0100.06021.78
5.5.50.0200.06321.88
5.5.40.0200.06021.47
5.5.30.0130.06321.79
5.5.20.0300.04321.47
5.5.10.0170.06021.77
5.5.00.0230.07021.77

preferences:
32.29 ms | 401 KiB | 5 Q