3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("pt_BR", \NumberFormatter::DECIMAL); $a->setAttribute(\NumberFormatter::FRACTION_DIGITS, 2); $a->setAttribute(\NumberFormatter::GROUPING_SEPARATOR_SYMBOL, ':'); echo $a->format(12345.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.70.0080.00818.53
8.3.60.0070.01320.31
8.3.50.0200.00622.90
8.3.40.0190.00420.16
8.3.30.0070.01120.27
8.3.20.0030.00621.57
8.3.10.0000.00924.82
8.3.00.0050.00321.72
8.2.190.0090.00618.45
8.2.180.0060.00918.35
8.2.170.0120.00622.96
8.2.160.0000.01421.58
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00020.89
8.2.120.0060.00326.35
8.2.110.0070.00323.61
8.2.100.0060.00619.55
8.2.90.0000.00820.48
8.2.80.0000.00819.24
8.2.70.0000.00919.38
8.2.60.0040.00419.30
8.2.50.0040.00819.11
8.2.40.0060.00323.48
8.2.30.0040.00421.98
8.2.20.0000.00819.32
8.2.10.0000.00719.63
8.2.00.0040.00419.62
8.1.280.0120.00625.92
8.1.270.0030.00721.61
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0060.00325.22
8.1.230.0090.00320.73
8.1.220.0000.00919.29
8.1.210.0030.00618.98
8.1.200.0060.00618.98
8.1.190.0030.00518.86
8.1.180.0000.00819.14
8.1.170.0000.00820.12
8.1.160.0060.00322.00
8.1.150.0040.00420.17
8.1.140.0090.00021.23
8.1.130.0070.00019.41
8.1.120.0000.00719.34
8.1.110.0040.00418.97
8.1.100.0030.00519.20
8.1.90.0000.00819.16
8.1.80.0030.00619.27
8.1.70.0000.00719.25
8.1.60.0000.00819.43
8.1.50.0060.00319.38
8.1.40.0000.00819.41
8.1.30.0080.00019.48
8.1.20.0050.00319.59
8.1.10.0000.00819.41
8.1.00.0050.00519.38
8.0.300.0040.00418.77
8.0.290.0080.00018.38
8.0.280.0040.00419.72
8.0.270.0040.00418.96
8.0.260.0000.00718.97
8.0.250.0000.00718.57
8.0.240.0000.00718.52
8.0.230.0000.00718.55
8.0.220.0050.00218.60
8.0.210.0060.00318.55
8.0.200.0030.00318.51
8.0.190.0040.00418.55
8.0.180.0000.00818.55
8.0.170.0050.00518.64
8.0.160.0070.00318.40
8.0.150.0030.00618.46
8.0.140.0030.00618.47
8.0.130.0000.00513.29
8.0.120.0080.00018.86
8.0.110.0000.00818.57
8.0.100.0040.00418.72
8.0.90.0080.00018.66
8.0.80.0030.01618.78
8.0.70.0020.00518.71
8.0.60.0000.00818.67
8.0.50.0040.00418.77
8.0.30.0060.01218.70
8.0.20.0090.01218.89
8.0.10.0040.00418.80
8.0.00.0080.01018.64
7.4.330.0000.00516.73
7.4.320.0070.00018.39
7.4.300.0000.00618.22
7.4.290.0000.00818.46
7.4.280.0000.01018.32
7.4.270.0030.00318.40
7.4.260.0000.00718.38
7.4.250.0000.00718.48
7.4.240.0050.00318.35
7.4.230.0000.00718.36
7.4.220.0080.01118.57
7.4.210.0000.01418.39
7.4.200.0000.00818.50
7.4.160.0090.00618.40
7.4.150.0130.00718.34
7.4.140.0160.00318.33
7.4.130.0110.00718.27
7.4.120.0080.01118.29
7.4.110.0110.00718.11
7.4.100.0040.01418.14
7.4.90.0150.00318.26
7.4.80.0110.00719.39
7.4.70.0100.00718.21
7.4.60.0070.01118.44
7.4.50.0060.01018.26
7.4.40.0060.01118.08
7.4.30.0140.00318.23
7.4.00.0080.00816.74
7.3.330.0050.00013.12
7.3.320.0020.00313.10
7.3.310.0040.00418.22
7.3.300.0080.00017.71
7.3.290.0100.00618.08
7.3.280.0070.01218.08
7.3.270.0070.01118.23
7.3.260.0090.01318.46
7.3.250.0140.00718.16
7.3.240.0100.01018.20
7.3.230.0090.00918.13
7.3.210.0030.01318.29
7.3.200.0100.00718.20
7.3.190.0030.01518.39
7.3.180.0000.01818.05
7.3.170.0110.01118.25
7.3.160.0100.00618.11
7.2.330.0120.00918.19
7.2.320.0150.00918.50
7.2.310.0190.00318.24
7.2.300.0120.00618.38
7.2.290.0020.00618.11
7.2.60.0000.01618.56
7.1.200.0180.00017.29
7.1.70.0060.00318.75
7.1.60.0000.01119.52
7.1.50.0070.01418.92
7.1.00.0070.07324.40
7.0.200.0040.00418.69
7.0.60.0100.08721.77
7.0.50.0100.07717.92
7.0.40.0030.06321.93
7.0.30.0270.06021.83
7.0.20.0370.06321.79
7.0.10.0130.08321.75
7.0.00.0130.08321.85
5.6.280.0030.03022.73
5.6.210.0170.06722.46
5.6.200.0100.08018.23
5.6.190.0130.07022.16
5.6.180.0270.08321.93
5.6.170.0300.07722.23
5.6.160.0070.07022.21
5.6.150.0070.06318.12
5.6.140.0070.07318.18
5.6.130.0030.06318.07
5.6.120.0070.08022.72
5.6.110.0100.07022.88
5.6.100.0030.04322.88
5.6.90.0100.08022.73
5.6.80.0030.04322.17
5.5.350.0230.05722.17
5.5.340.0070.08317.89
5.5.330.0000.04722.30
5.5.320.0430.04721.78
5.5.310.0130.04721.93
5.5.300.0030.04017.96
5.5.290.0030.04018.02
5.5.280.0170.07322.27
5.5.270.0030.04722.52
5.5.260.0100.08022.24
5.5.250.0100.07722.52
5.5.240.0230.07722.08

preferences:
39.98 ms | 401 KiB | 5 Q