3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("pt_BR", \NumberFormatter::DECIMAL); $a->setAttribute(NumberFormatter::MULTIPLIER, ':'); echo $a->format(12345.12345, \NumberFormatter::TYPE_DOUBLE );

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.0140.00420.30
8.3.50.0090.00619.81
8.3.40.0150.00020.27
8.3.30.0130.01020.04
8.3.20.0000.00821.58
8.3.10.0050.00525.08
8.3.00.0040.00421.54
8.2.180.0100.01018.63
8.2.170.0060.00922.96
8.2.160.0100.00721.82
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0060.00320.81
8.2.120.0040.00426.35
8.2.110.0060.00323.58
8.2.100.0040.00819.55
8.2.90.0060.00320.42
8.2.80.0060.00319.36
8.2.70.0000.00919.38
8.2.60.0060.00319.55
8.2.50.0050.00319.25
8.2.40.0000.00823.70
8.2.30.0030.00521.89
8.2.20.0030.00519.41
8.2.10.0000.00719.68
8.2.00.0040.00419.60
8.1.280.0070.01425.92
8.1.270.0070.01121.57
8.1.260.0040.00428.09
8.1.250.0090.00028.09
8.1.240.0090.00023.39
8.1.230.0090.00319.27
8.1.220.0050.00319.27
8.1.210.0080.00019.10
8.1.200.0050.00518.98
8.1.190.0040.00418.75
8.1.180.0030.00519.15
8.1.170.0040.00420.28
8.1.160.0020.00522.09
8.1.150.0050.00320.06
8.1.140.0030.00521.22
8.1.130.0070.00019.32
8.1.120.0050.00319.11
8.1.110.0040.00419.30
8.1.100.0030.00519.30
8.1.90.0030.00619.25
8.1.80.0040.00419.15
8.1.70.0070.00019.16
8.1.60.0060.00319.18
8.1.50.0060.00319.36
8.1.40.0000.00819.43
8.1.30.0000.00919.55
8.1.20.0060.00319.46
8.1.10.0000.00819.20
8.1.00.0030.00619.34
8.0.300.0040.00418.77
8.0.290.0050.00318.38
8.0.280.0070.00019.66
8.0.270.0000.00818.90
8.0.260.0070.00018.96
8.0.250.0030.00318.66
8.0.240.0030.00318.52
8.0.230.0070.00018.76
8.0.220.0000.00818.67
8.0.210.0030.00318.77
8.0.200.0000.00718.61
8.0.190.0000.00718.66
8.0.180.0040.00418.54
8.0.170.0030.01018.52
8.0.160.0040.00418.46
8.0.150.0000.00718.47
8.0.140.0040.00418.54
8.0.130.0000.00513.29
8.0.120.0000.00818.58
8.0.110.0030.00518.80
8.0.100.0030.00518.89
8.0.90.0080.00018.62
8.0.80.0100.01418.77
8.0.70.0080.00018.81
8.0.60.0040.00418.72
8.0.50.0040.00418.86
8.0.30.0080.01018.99
8.0.20.0100.00918.84
8.0.10.0000.00818.90
8.0.00.0130.00718.62
7.4.330.0000.00516.73
7.4.320.0030.00318.34
7.4.300.0030.00318.40
7.4.290.0080.00018.38
7.4.280.0000.00818.48
7.4.270.0030.00318.55
7.4.260.0030.00318.38
7.4.250.0040.00418.55
7.4.240.0050.00318.51
7.4.230.0000.00718.50
7.4.220.0120.00618.49
7.4.210.0100.00618.55
7.4.200.0000.00718.50
7.4.160.0120.00318.22
7.4.150.0140.01118.26
7.4.140.0110.01118.32
7.4.130.0090.00918.13
7.4.120.0140.00718.32
7.4.110.0090.00918.14
7.4.100.0140.00318.16
7.4.90.0150.00318.29
7.4.80.0130.01119.39
7.4.70.0070.01018.52
7.4.60.0070.01018.14
7.4.50.0060.00918.25
7.4.40.0110.00718.30
7.4.30.0100.00618.24
7.4.00.0060.00616.85
7.3.330.0000.00613.20
7.3.320.0030.00313.14
7.3.310.0000.00717.96
7.3.300.0070.00018.04
7.3.290.0060.01118.07
7.3.280.0060.01018.00
7.3.270.0120.00618.45
7.3.260.0120.00618.17
7.3.250.0150.01018.31
7.3.240.0110.00918.29
7.3.230.0070.01018.09
7.3.210.0030.01418.50
7.3.200.0100.00718.30
7.3.190.0060.01118.25
7.3.180.0110.00718.42
7.3.170.0120.00918.55
7.3.160.0060.01018.36
7.3.10.0070.01018.27
7.3.00.0100.00317.92
7.2.330.0160.01018.56
7.2.320.0060.01218.35
7.2.310.0100.00718.46
7.2.300.0090.00918.64
7.2.290.0120.01218.02
7.2.130.0000.01418.38
7.2.120.0030.01018.44
7.2.110.0000.01318.41
7.2.100.0090.00318.64
7.2.90.0040.00818.46
7.2.80.0070.00718.80
7.2.70.0140.00018.54
7.2.60.0170.00818.27
7.2.50.0070.00717.78
7.2.40.0070.00718.35
7.2.30.0030.01018.51
7.2.20.0070.00718.55
7.2.10.0030.01018.27
7.2.00.0070.00720.02
7.1.250.0080.00517.14
7.1.200.0060.00917.48
7.1.100.0100.00219.92
7.1.70.0040.00718.89
7.1.60.0090.01519.52
7.1.50.0070.01118.89
7.1.00.0100.06324.41
7.0.200.0100.00318.75
7.0.60.0070.07723.59
7.0.50.0070.06717.81
7.0.40.0030.09322.10
7.0.30.0330.07321.55
7.0.20.0170.05021.94
7.0.10.0070.09021.84
7.0.00.0100.04321.83
5.6.280.0030.03022.47
5.6.210.0170.07022.27
5.6.200.0000.08718.13
5.6.190.0000.05722.04
5.6.180.0230.08722.13
5.6.170.0200.06022.23
5.6.160.0030.04021.96
5.6.150.0030.04318.13
5.6.140.0200.06318.18
5.6.130.0070.07718.18
5.6.120.0030.09022.66
5.6.110.0100.08022.60
5.6.100.0030.07022.88
5.6.90.0100.04722.70
5.6.80.0130.08022.36
5.5.350.0200.08022.09
5.5.340.0030.08318.01
5.5.330.0030.04322.25
5.5.320.0500.05022.10
5.5.310.0100.09721.74
5.5.300.0070.04017.94
5.5.290.0100.07717.89
5.5.280.0030.04022.71
5.5.270.0100.08022.49
5.5.260.0200.07722.27
5.5.250.0070.04322.18
5.5.240.0200.03321.77

preferences:
45.09 ms | 401 KiB | 5 Q