3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('ua', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-cardinal"); echo $formatter->format(1000000000000); ?>

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.0060.01319.13
8.3.50.0100.00923.35
8.3.40.0100.00620.37
8.3.30.0090.00620.42
8.3.20.0050.00222.22
8.3.10.0040.00425.35
8.3.00.0080.00021.38
8.2.180.0070.01521.16
8.2.170.0040.01122.96
8.2.160.0170.00322.27
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0060.00319.88
8.2.120.0040.00426.35
8.2.110.0090.00322.27
8.2.100.0030.01020.18
8.2.90.0080.00021.01
8.2.80.0040.00419.88
8.2.70.0060.00319.63
8.2.60.0070.00320.16
8.2.50.0030.00619.75
8.2.40.0080.00021.45
8.2.30.0080.00022.54
8.2.20.0030.00620.01
8.2.10.0040.00420.14
8.2.00.0080.00020.30
8.1.280.0100.00625.92
8.1.270.0030.01025.48
8.1.260.0030.00528.09
8.1.250.0080.00028.09
8.1.240.0030.00623.82
8.1.230.0030.00919.89
8.1.220.0030.00620.01
8.1.210.0060.00319.38
8.1.200.0060.00319.60
8.1.190.0030.00619.35
8.1.180.0080.00019.66
8.1.170.0030.00520.98
8.1.160.0040.00423.68
8.1.150.0040.00420.60
8.1.140.0060.00321.85
8.1.130.0090.00019.75
8.1.120.0040.00419.82
8.1.110.0080.00019.95
8.1.100.0090.00019.93
8.1.90.0000.00819.52
8.1.80.0030.00619.91
8.1.70.0000.00819.80
8.1.60.0000.00819.66
8.1.50.0030.00619.61
8.1.40.0030.00719.89
8.1.30.0030.00720.18
8.1.20.0050.00320.13
8.1.10.0030.00620.06
8.1.00.0080.00019.94
8.0.300.0050.00319.22
8.0.290.0040.00418.88
8.0.280.0000.00720.19
8.0.270.0070.00319.42
8.0.260.0080.00019.42
8.0.250.0050.00319.07
8.0.240.0040.00419.33
8.0.230.0000.00819.13
8.0.220.0000.00719.17
8.0.210.0030.00619.20
8.0.200.0000.00718.99
8.0.190.0060.00319.44
8.0.180.0120.00019.20
8.0.170.0000.00919.25
8.0.160.0000.00818.99
8.0.150.0000.00718.89
8.0.140.0030.00619.02
8.0.130.0030.00313.38
8.0.120.0060.00319.31
8.0.110.0000.00819.19
8.0.100.0040.00418.89
8.0.90.0000.00819.48
8.0.80.0030.01319.39
8.0.70.0050.00319.18
8.0.60.0000.00819.48
8.0.50.0040.00419.47
8.0.30.0090.01019.66
8.0.20.0130.00819.61
8.0.10.0080.00019.32
8.0.00.0110.00819.13
7.4.330.0000.00516.73
7.4.320.0000.00718.93
7.4.300.0000.00718.97
7.4.290.0070.00019.05
7.4.280.0000.00818.99
7.4.270.0070.00018.97
7.4.260.0080.00019.06
7.4.250.0030.00619.00
7.4.240.0050.00318.96
7.4.230.0000.00819.16
7.4.220.0120.00618.91
7.4.210.0060.01019.09
7.4.200.0000.00819.20
7.4.160.0090.00918.80
7.4.150.0110.00818.75
7.4.140.0140.01018.84
7.4.130.0160.00918.84
7.4.120.0090.01218.73
7.4.110.0060.01318.76
7.4.100.0070.01318.75
7.4.90.0140.01018.83
7.4.80.0090.00919.39
7.4.70.0060.01318.85
7.4.60.0110.01018.79
7.4.50.0030.01218.82
7.4.40.0090.00918.76
7.4.30.0070.01118.83
7.4.00.0080.01017.51
7.3.330.0060.00013.10
7.3.320.0050.00013.15
7.3.310.0020.00518.62
7.3.300.0000.00718.73
7.3.290.0090.00918.60
7.3.280.0130.01018.67
7.3.270.0120.00618.78
7.3.260.0100.01018.71
7.3.240.0110.01118.68
7.3.230.0070.01018.90
7.3.210.0060.01218.94
7.3.200.0090.00918.68
7.3.190.0080.01118.98
7.3.180.0090.00918.93
7.3.170.0080.01118.80
7.3.160.0120.01218.50
7.3.120.0100.00717.35
7.3.110.0090.00617.48
7.3.100.0060.00917.42
7.3.90.0120.00817.32
7.3.80.0060.00617.20
7.3.70.0070.01017.49
7.3.60.0040.01117.62
7.3.50.0040.00817.73
7.3.40.0060.00617.39
7.3.30.0030.01317.51
7.3.20.0070.00318.94
7.3.10.0150.00018.78
7.3.00.0110.00418.72
7.2.330.0130.00819.02
7.2.320.0090.01618.96
7.2.310.0080.01219.13
7.2.300.0160.00719.09
7.2.290.0030.02018.87
7.2.250.0090.00717.32
7.2.240.0120.00917.59
7.2.230.0030.01617.19
7.2.220.0080.00317.75
7.2.210.0030.01217.25
7.2.200.0060.00617.35
7.2.190.0100.00017.32
7.2.180.0100.00317.46
7.2.170.0000.01417.45
7.2.00.0160.00521.70
7.1.330.0170.00018.34
7.1.320.0030.01018.14
7.1.310.0030.00617.95
7.1.300.0040.01418.21
7.1.290.0040.00818.21
7.1.280.0040.00818.05
7.1.270.0030.00618.36
7.1.260.0060.00918.04
7.1.100.0070.00720.54
7.1.70.0000.00819.63
7.1.60.0060.00619.70
7.1.50.0130.01319.52
7.1.00.0100.07325.18
7.0.200.0120.01219.18
7.0.100.0430.05722.41
7.0.90.0370.09022.39
7.0.80.0100.04322.38
7.0.70.0030.08722.43
7.0.60.0100.06322.32
7.0.50.0030.05322.76
7.0.40.0030.08022.53
7.0.30.0030.05722.48
7.0.20.0030.06022.46
7.0.10.0200.07322.48
7.0.00.0100.05322.53
5.6.280.0030.03023.39
5.6.250.0070.04723.04
5.6.240.0100.08322.83
5.6.230.0070.09323.03
5.6.220.0100.04322.80
5.6.210.0200.04723.05
5.6.200.0100.07323.38
5.6.190.0100.06723.35
5.6.180.0030.08723.38
5.6.170.0100.08323.35
5.6.160.0130.06023.57
5.6.150.0130.06723.57
5.6.140.0130.04023.39
5.6.130.0130.04023.64
5.6.120.0200.06323.71
5.6.110.0170.04323.28
5.6.100.0130.08323.64
5.6.90.0170.08023.47
5.6.80.0100.06323.00
5.6.70.0100.07322.77
5.6.60.0030.05323.02
5.6.50.0170.07023.03
5.6.40.0030.07723.00
5.6.30.0230.05723.00
5.6.20.0070.04723.00
5.6.10.0100.08323.00
5.6.00.0230.04023.05
5.5.380.0070.05722.55
5.5.370.0070.06322.98
5.5.360.0030.09022.77
5.5.350.0130.07323.07
5.5.340.0130.07023.03
5.5.330.0100.08023.13
5.5.320.0100.08723.09
5.5.310.0030.04723.06
5.5.300.0030.07323.44
5.5.290.0030.09323.37
5.5.280.0130.06723.21
5.5.270.0030.08723.05
5.5.260.0100.04723.10
5.5.250.0070.05023.05
5.5.240.0030.08322.94
5.5.230.0000.06322.54
5.5.220.0130.04022.54
5.5.210.0070.07722.74
5.5.200.0130.06722.72
5.5.190.0100.07722.71
5.5.180.0130.03322.41
5.5.160.0100.06322.71
5.5.150.0130.07322.41
5.5.140.0070.06322.51
5.5.130.0100.06022.62
5.5.120.0100.07022.41
5.5.110.0030.04322.40
5.5.100.0100.08022.35
5.5.90.0030.07022.66
5.5.80.0130.03022.68
5.5.70.0070.06322.69
5.5.60.0070.07022.63
5.5.50.0100.05322.62
5.5.40.0070.08022.69
5.5.30.0070.08022.52
5.5.20.0170.07022.30
5.5.10.0070.07022.62
5.5.00.0070.08322.66

preferences:
57.45 ms | 401 KiB | 5 Q