3v4l.org

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

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.0130.01924.25
8.3.50.0180.01625.82
8.3.40.0170.00724.29
8.3.30.0110.01424.38
8.3.20.0030.01025.96
8.3.10.0100.00329.36
8.3.00.0130.00025.26
8.2.180.0130.02026.04
8.2.170.0040.02124.56
8.2.160.0100.01325.97
8.2.150.0100.00324.47
8.2.140.0100.00326.28
8.2.130.0090.00623.75
8.2.120.0030.01028.04
8.2.110.0090.00628.00
8.2.100.0130.00624.05
8.2.90.0000.01325.09
8.2.80.0030.01023.75
8.2.70.0160.00323.62
8.2.60.0000.01524.05
8.2.50.0070.00723.75
8.2.40.0000.01425.37
8.2.30.0030.01026.44
8.2.20.0110.00923.81
8.2.10.0030.01024.20
8.2.00.0000.01424.25
8.1.280.0070.02025.92
8.1.270.0110.01127.77
8.1.260.0070.00728.09
8.1.250.0060.00628.09
8.1.240.0120.00928.28
8.1.230.0090.00924.01
8.1.220.0110.00324.01
8.1.210.0110.00423.48
8.1.200.0100.00723.35
8.1.190.0060.00923.48
8.1.180.0070.00723.53
8.1.170.0070.01324.65
8.1.160.0060.00627.64
8.1.150.0070.00724.57
8.1.140.0070.00725.73
8.1.130.0000.01323.89
8.1.120.0080.01223.65
8.1.110.0060.00723.57
8.1.100.0030.01023.73
8.1.90.0070.00723.67
8.1.80.0100.00323.63
8.1.70.0130.00023.55
8.1.60.0000.01423.72
8.1.50.0000.01523.80
8.1.40.0060.00923.75
8.1.30.0110.00424.04
8.1.20.0040.01123.89
8.1.10.0000.01523.83
8.1.00.0000.01423.70
8.0.300.0030.01023.10
8.0.290.0040.00922.88
8.0.280.0080.00424.01
8.0.270.0030.00923.40
8.0.260.0060.00623.36
8.0.250.0070.00723.37
8.0.240.0080.00423.18
8.0.230.0030.01023.32
8.0.220.0000.01323.05
8.0.210.0040.01123.15
8.0.200.0070.00723.09
8.0.190.0040.01123.16
8.0.180.0030.01023.09
8.0.170.0000.01423.31
8.0.160.0000.01523.15
8.0.150.0000.01322.90
8.0.140.0000.01423.13
8.0.130.0000.00613.27
8.0.120.0110.00423.11
8.0.110.0050.00823.14
8.0.100.0030.01022.99
8.0.90.0100.00323.23
8.0.80.0190.00923.09
8.0.70.0100.00323.34
8.0.60.0030.01023.02
8.0.50.0000.01323.20
8.0.30.0110.02023.28
8.0.20.0180.02223.41
8.0.10.0070.00723.24
8.0.00.0160.01523.08
7.4.330.0000.00516.81
7.4.320.0060.00622.86
7.4.300.0030.01022.86
7.4.290.0070.00722.67
7.4.280.0070.00722.75
7.4.270.0040.00822.75
7.4.260.0110.00322.88
7.4.250.0110.00322.80
7.4.240.0050.00822.94
7.4.230.0000.01323.04
7.4.220.0130.02323.01
7.4.210.0130.01322.86
7.4.200.0030.01422.90
7.4.160.0110.01822.72
7.4.150.0210.01122.84
7.4.140.0130.01922.85
7.4.130.0170.01622.65
7.4.120.0080.02522.74
7.4.110.0130.02222.81
7.4.100.0190.02622.55
7.4.90.0160.01622.71
7.4.80.0030.03122.92
7.4.70.0100.02623.11
7.4.60.0190.01522.56
7.4.50.0070.01822.69
7.4.40.0180.01422.67
7.4.30.0130.02822.81
7.4.00.0070.01721.32
7.3.330.0030.00313.18
7.3.320.0000.00513.06
7.3.310.0000.01322.53
7.3.300.0040.00822.51
7.3.290.0080.02122.51
7.3.280.0090.02322.47
7.3.270.0130.02022.44
7.3.260.0130.02022.25
7.3.250.0190.01222.61
7.3.240.0090.02422.73
7.3.230.0120.03122.75
7.3.210.0140.01722.58
7.3.200.0030.03122.96
7.3.190.0090.02222.78
7.3.180.0150.01622.69
7.3.170.0130.01922.49
7.3.160.0140.01722.60
7.2.330.0090.02523.04
7.2.320.0180.02122.64
7.2.310.0100.02422.80
7.2.300.0100.02422.70
7.2.290.0060.02622.99
7.2.60.0110.01123.04
7.2.00.0070.01125.47
7.1.200.0070.01321.80
7.1.100.0030.01724.20
7.1.70.0000.01323.27
7.1.60.0060.01223.53
7.1.50.0030.01723.32
7.1.40.0000.01623.17
7.1.30.0040.01423.26
7.1.20.0150.00623.62
7.1.10.0000.02923.07
7.1.00.0060.00923.11
7.0.200.0030.01023.04
7.0.190.0030.01023.12
7.0.180.0000.01622.77
7.0.170.0100.01022.79
7.0.160.0060.00622.76
7.0.150.0000.01323.15
7.0.140.0070.01022.81
7.0.130.0120.02522.81
7.0.120.0060.00922.55
7.0.110.0070.00722.54
7.0.100.0060.00922.72
7.0.90.0110.00422.39
7.0.80.0030.01622.52
7.0.70.0000.02522.78
7.0.60.0030.02322.40
7.0.50.0000.01322.70
7.0.40.0000.01520.68
7.0.30.0000.01720.82
7.0.20.0000.01420.82
7.0.10.0030.01020.55
7.0.00.0030.01020.76
5.6.300.0070.08627.36
5.6.290.0000.06227.29
5.6.280.0030.09027.29
5.6.270.0070.04827.36
5.6.260.0030.04727.28
5.6.250.0070.04327.37
5.6.240.0390.02627.34
5.6.230.0030.06427.17
5.6.220.0030.06327.39
5.6.210.0070.09227.30
5.6.200.0070.07927.14
5.6.190.0030.04927.25
5.6.180.0030.05327.45
5.6.170.0030.04927.43
5.6.160.0000.05627.42
5.6.150.0130.03927.50
5.6.140.0100.06027.33
5.6.130.0030.05027.13
5.6.120.0100.04727.39
5.6.110.0070.04927.37
5.6.100.0000.06527.37
5.6.90.0070.04827.22
5.6.80.0070.04926.76
5.6.70.0030.04426.59
5.6.60.0100.04426.56
5.6.50.0060.04826.76
5.6.40.0100.04426.66
5.6.30.0100.04426.35
5.6.20.0270.04126.63
5.6.10.0030.04626.44
5.6.00.0070.04426.61
5.5.380.0000.04717.57
5.5.370.0030.04417.45
5.5.360.0070.06617.49
5.5.350.0000.06417.47
5.5.340.0030.04118.06
5.5.330.0170.04117.70
5.5.320.0170.03818.03
5.5.310.0030.04318.02
5.5.300.0030.04218.00
5.5.290.0030.06117.95
5.5.280.0170.05217.96
5.5.270.0060.04518.02
5.5.260.0030.04918.00
5.5.250.0100.03117.75
5.5.240.0030.04017.42
5.5.230.0000.04217.31
5.5.220.0000.04317.31
5.5.210.0000.04217.39
5.5.200.0070.03717.41
5.5.190.0060.03917.33
5.5.180.0030.03917.36
5.5.160.0130.03017.41
5.5.150.0000.04417.38
5.5.140.0070.03517.30
5.5.130.0000.04317.20
5.5.120.0060.03917.36
5.5.110.0030.04017.04
5.5.100.0070.03817.19
5.5.90.0030.04017.31
5.5.80.0100.03317.29
5.5.70.0030.04217.11
5.5.60.0030.03817.19
5.5.50.0000.04517.26
5.5.40.0210.04217.30
5.5.30.0030.03917.23
5.5.20.0100.04917.18
5.5.10.0000.04017.27
5.5.00.0030.03616.93

preferences:
50.46 ms | 401 KiB | 5 Q