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(1000000000000000); ?>

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.0080.01220.93
8.3.50.0110.00923.30
8.3.40.0070.01020.59
8.3.30.0080.01220.43
8.3.20.0040.00422.09
8.3.10.0080.00025.52
8.3.00.0000.00921.51
8.2.180.0160.00621.04
8.2.170.0060.00922.96
8.2.160.0110.01122.27
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0100.00019.75
8.2.120.0060.00326.35
8.2.110.0040.00722.31
8.2.100.0080.00420.18
8.2.90.0040.00420.92
8.2.80.0080.00019.84
8.2.70.0050.00519.63
8.2.60.0090.00020.18
8.2.50.0040.00419.88
8.2.40.0060.00321.66
8.2.30.0000.00822.45
8.2.20.0030.00819.95
8.2.10.0000.00920.25
8.2.00.0050.00320.30
8.1.280.0130.00325.92
8.1.270.0060.00625.71
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0060.00323.80
8.1.230.0060.00619.91
8.1.220.0040.00719.91
8.1.210.0080.00019.48
8.1.200.0000.01019.48
8.1.190.0030.00619.47
8.1.180.0090.00019.55
8.1.170.0000.00820.86
8.1.160.0000.00823.79
8.1.150.0040.00420.62
8.1.140.0060.00621.61
8.1.130.0040.00419.86
8.1.120.0050.00319.72
8.1.110.0040.00419.53
8.1.100.0000.00819.96
8.1.90.0000.00819.82
8.1.80.0030.00619.83
8.1.70.0060.00319.91
8.1.60.0030.00520.13
8.1.50.0000.00919.56
8.1.40.0070.00619.67
8.1.30.0030.00619.96
8.1.20.0030.00620.19
8.1.10.0000.01019.87
8.1.00.0080.00019.83
8.0.300.0080.00019.16
8.0.290.0030.00518.88
8.0.280.0060.00320.16
8.0.270.0030.00719.54
8.0.260.0030.00619.40
8.0.250.0050.00319.23
8.0.240.0000.00719.13
8.0.230.0000.00719.16
8.0.220.0000.00918.89
8.0.210.0030.00619.18
8.0.200.0040.00419.23
8.0.190.0030.00519.05
8.0.180.0040.00919.03
8.0.170.0000.00819.05
8.0.160.0000.00818.91
8.0.150.0000.00818.87
8.0.140.0060.00319.17
8.0.130.0030.00313.36
8.0.120.0080.00019.35
8.0.110.0030.00519.45
8.0.100.0000.00819.33
8.0.90.0080.00019.29
8.0.80.0000.01719.34
8.0.70.0030.00619.45
8.0.60.0030.00519.39
8.0.50.0080.00019.21
8.0.30.0070.01119.57
8.0.20.0130.00719.52
8.0.10.0040.00419.43
8.0.00.0100.00719.01
7.4.330.0050.00016.66
7.4.320.0080.00018.99
7.4.300.0000.00718.91
7.4.290.0000.00718.95
7.4.280.0040.00419.09
7.4.270.0000.00718.98
7.4.260.0000.00719.06
7.4.250.0000.00819.06
7.4.240.0050.00419.00
7.4.230.0000.00719.11
7.4.220.0070.01718.89
7.4.210.0130.00318.94
7.4.200.0030.00618.95
7.4.160.0030.01618.61
7.4.150.0090.01018.99
7.4.140.0100.01118.92
7.4.130.0100.00918.80
7.4.120.0090.01018.86
7.4.110.0100.01018.84
7.4.100.0130.01018.79
7.4.90.0110.00818.79
7.4.80.0110.00719.39
7.4.70.0120.01118.83
7.4.60.0160.00618.79
7.4.50.0060.01318.51
7.4.40.0060.01318.99
7.4.30.0070.01718.63
7.4.00.0070.01217.53
7.3.330.0020.00213.10
7.3.320.0030.00213.23
7.3.310.0000.00818.56
7.3.300.0040.00418.74
7.3.290.0120.00918.63
7.3.280.0090.01218.52
7.3.270.0070.01118.69
7.3.260.0110.01118.74
7.3.240.0070.01218.93
7.3.230.0050.01418.33
7.3.210.0090.00919.04
7.3.200.0100.00718.96
7.3.190.0090.00918.65
7.3.180.0090.00918.49
7.3.170.0060.01318.79
7.3.160.0140.00418.70
7.3.120.0000.01617.17
7.3.110.0070.01317.26
7.3.100.0140.00317.46
7.3.90.0070.01117.30
7.3.80.0140.00317.57
7.3.70.0100.00717.45
7.3.60.0070.00717.41
7.3.50.0090.00317.51
7.3.40.0040.00817.41
7.3.30.0040.01217.20
7.3.20.0060.00918.84
7.3.10.0070.00518.63
7.3.00.0080.00618.67
7.2.330.0100.01018.37
7.2.320.0150.01218.75
7.2.310.0220.00719.11
7.2.300.0060.01218.87
7.2.290.0060.01319.00
7.2.250.0130.01017.47
7.2.240.0070.01317.63
7.2.230.0100.01017.71
7.2.220.0030.01217.38
7.2.210.0040.01217.34
7.2.200.0130.00317.32
7.2.190.0080.00317.42
7.2.180.0150.00017.46
7.2.170.0070.00717.11
7.2.130.0090.00618.70
7.2.120.0040.01118.55
7.2.110.0120.00618.78
7.2.100.0140.00318.81
7.2.90.0240.00018.74
7.2.80.0100.01418.82
7.2.70.0120.00618.96
7.2.60.0090.01118.89
7.2.50.0120.00318.65
7.2.40.0130.01318.47
7.2.30.0160.00918.68
7.2.20.0140.01018.66
7.2.10.0260.00018.69
7.2.00.0090.01120.51
7.1.330.0090.00618.42
7.1.320.0060.01218.22
7.1.310.0090.00318.39
7.1.300.0070.00718.59
7.1.290.0000.01218.21
7.1.280.0080.00818.13
7.1.270.0070.00718.06
7.1.260.0030.01018.17
7.1.250.0130.00317.58
7.1.200.0030.01018.14
7.1.100.0060.00920.49
7.1.70.0000.00819.73
7.1.60.0100.01719.83
7.1.50.0130.01319.19
7.1.00.0070.07325.23
7.0.200.0260.01117.30
7.0.60.0130.04722.39
7.0.50.0100.04017.90
7.0.40.0070.04322.60
7.0.30.0200.04722.54
7.0.20.0400.07722.32
7.0.10.0100.08322.51
7.0.00.0030.07722.36
5.6.280.0000.03323.48
5.6.210.0070.08323.33
5.6.200.0030.08318.18
5.6.190.0100.05023.10
5.6.180.0400.07022.91
5.6.170.0070.05022.86
5.6.160.0130.07722.91
5.6.150.0030.07318.11
5.6.140.0100.03318.07
5.6.130.0070.08718.21
5.6.120.0200.04023.44
5.6.110.0000.07723.54
5.6.100.0070.08323.39
5.6.90.0200.05323.36
5.6.80.0030.05722.73
5.5.350.3630.04322.88
5.5.340.0100.07718.00
5.5.330.0030.04322.66
5.5.320.0070.07322.44
5.5.310.0230.07722.40
5.5.300.0100.03317.98
5.5.290.0070.08017.96
5.5.280.0030.05723.15
5.5.270.0000.05323.33
5.5.260.0070.07723.32
5.5.250.0070.05723.13
5.5.240.0330.06722.73

preferences:
52.76 ms | 401 KiB | 5 Q