3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("pt_BR", \NumberFormatter::DECIMAL); $a->setAttribute(\NumberFormatter::FRACTION_DIGITS, 2); echo $a->getSymbol(\NumberFormatter::DECIMAL_SEPARATOR_SYMBOL) . "\n"; echo $a->getSymbol(\NumberFormatter::GROUPING_SEPARATOR_SYMBOL) . "\n"; echo $a->getSymbol(\NumberFormatter::PATTERN_SEPARATOR_SYMBOL) . "\n"; echo $a->format(1234745673345.1);

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.40.0150.00620.07
8.3.30.0000.01620.09
8.3.20.0040.00421.57
8.3.10.0000.00824.98
8.3.00.0090.00021.60
8.2.170.0120.00322.96
8.2.160.0140.00021.84
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0120.00021.02
8.2.120.0080.00026.35
8.2.110.0030.00622.93
8.2.100.0080.00419.55
8.2.90.0000.00820.42
8.2.80.0080.00019.38
8.2.70.0050.00919.38
8.2.60.0080.00019.41
8.2.50.0050.00519.25
8.2.40.0050.00323.88
8.2.30.0040.00422.16
8.2.20.0030.00519.36
8.2.10.0040.00419.68
8.2.00.0050.00219.79
8.1.270.0000.00821.83
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0070.00323.47
8.1.230.0000.01119.51
8.1.220.0080.00019.41
8.1.210.0040.00419.11
8.1.200.0060.00319.10
8.1.190.0040.00418.98
8.1.180.0080.00019.18
8.1.170.0050.00320.43
8.1.160.0060.00322.19
8.1.150.0040.00420.30
8.1.140.0040.00421.22
8.1.130.0000.00719.57
8.1.120.0000.00719.10
8.1.110.0000.00819.40
8.1.100.0080.00019.45
8.1.90.0030.00519.13
8.1.80.0080.00019.34
8.1.70.0040.00419.30
8.1.60.0040.00419.51
8.1.50.0060.00319.45
8.1.40.0060.00319.45
8.1.30.0000.00919.68
8.1.20.0040.00419.67
8.1.10.0030.00619.46
8.1.00.0040.00419.53
8.0.300.0000.00718.77
8.0.290.0040.00418.63
8.0.280.0000.00719.75
8.0.270.0000.00718.96
8.0.260.0040.00418.93
8.0.250.0050.00318.91
8.0.240.0030.00318.66
8.0.230.0050.00318.77
8.0.220.0000.00718.61
8.0.210.0040.00418.57
8.0.200.0040.00418.69
8.0.190.0040.00418.69
8.0.180.0040.00418.55
8.0.170.0030.00618.61
8.0.160.0040.00718.62
8.0.150.0020.00518.39
8.0.140.0000.00918.62
8.0.130.0000.00613.40
8.0.120.0060.00318.76
8.0.110.0000.00818.81
8.0.100.0000.00818.96
8.0.90.0040.00418.78
8.0.80.0040.01218.66
8.0.70.0050.00318.76
8.0.60.0030.00618.45
8.0.50.0040.00418.89
8.0.30.0090.01018.99
8.0.20.0120.00819.08
8.0.10.0040.00419.02
8.0.00.0070.01418.65
7.4.330.0050.00016.65
7.4.320.0050.00218.35
7.4.300.0030.00318.41
7.4.290.0030.00318.17
7.4.280.0040.00418.37
7.4.270.0040.00418.41
7.4.260.0000.00718.46
7.4.250.0040.00418.43
7.4.240.0020.00718.37
7.4.230.0040.00418.37
7.4.220.0030.02218.52
7.4.210.0100.00718.38
7.4.200.0000.00718.32
7.4.160.0100.00718.38
7.4.150.0120.01218.13
7.4.140.0120.00918.33
7.4.130.0170.00318.27
7.4.120.0100.00818.31
7.4.110.0060.01218.27
7.4.100.0090.00918.35
7.4.90.0110.00618.34
7.4.80.0060.01519.39
7.4.70.0120.00618.22
7.4.60.0070.01018.25
7.4.50.0040.01518.02
7.4.40.0120.00618.24
7.4.30.0070.01018.16
7.4.00.0100.00616.70
7.3.330.0060.00013.10
7.3.320.0050.00013.10
7.3.310.0030.00317.94
7.3.300.0040.00418.01
7.3.290.0090.00718.17
7.3.280.0090.01218.21
7.3.270.0150.00418.09
7.3.260.0070.01118.59
7.3.250.0130.00718.28
7.3.240.0100.00918.35
7.3.230.0100.00718.09
7.3.210.0090.01518.30
7.3.200.0130.00318.43
7.3.190.0030.01818.53
7.3.180.0100.00718.57
7.3.170.0030.01318.27
7.3.160.0070.01018.12
7.3.10.0040.00418.27
7.3.00.0050.00518.18
7.2.330.0090.00918.18
7.2.320.0160.01018.41
7.2.310.0120.00618.34
7.2.300.0060.01218.46
7.2.290.0120.01218.41
7.2.130.0050.00518.60
7.2.120.0050.00518.51
7.2.110.0080.00418.37
7.2.100.0060.00618.13
7.2.90.0090.00918.64
7.2.80.0100.00318.32
7.2.70.0040.01118.37
7.2.60.0090.00318.46
7.2.50.0040.00918.38
7.2.40.0080.00418.70
7.2.30.0140.00018.58
7.2.20.0000.01518.64
7.2.10.0080.00318.41
7.2.00.0070.00619.99
7.1.250.0040.00417.68
7.1.200.0080.00417.59
7.1.100.0040.00719.68
7.1.70.0000.00818.90
7.1.60.0120.00619.52
7.1.50.0210.00918.88
7.1.00.0000.08024.49
7.0.200.0130.00018.84
7.0.60.0130.08021.81
7.0.50.0070.05317.86
7.0.40.0070.04321.80
7.0.30.0200.03721.79
7.0.20.0330.08321.82
7.0.10.0170.07021.77
7.0.00.0030.09321.85
5.6.280.0070.03022.65
5.6.210.0130.07722.37
5.6.200.0130.06718.14
5.6.190.0030.04321.97
5.6.180.0270.05022.07
5.6.170.0370.05022.15
5.6.160.0100.08722.00
5.6.150.0100.07018.22
5.6.140.0070.08018.16
5.6.130.0100.03718.15
5.6.120.0100.05022.96
5.6.110.0130.07022.64
5.6.100.0130.03022.63
5.6.90.0030.05722.86
5.6.80.0000.06322.05
5.5.350.0370.04322.21
5.5.340.0170.05717.93
5.5.330.0030.05021.93
5.5.320.0670.05721.95
5.5.310.0300.03321.86
5.5.300.0000.05017.88
5.5.290.0100.08017.92
5.5.280.0030.08722.28
5.5.270.0170.07322.60
5.5.260.0070.08322.71
5.5.250.0100.08322.30
5.5.240.0030.03722.10

preferences:
47.73 ms | 400 KiB | 5 Q