3v4l.org

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

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.0200.00724.50
8.3.60.0220.01124.00
8.3.50.0190.01925.80
8.3.40.0070.01824.29
8.3.30.0240.00724.39
8.3.20.0100.00325.96
8.3.10.0040.01129.27
8.3.00.0100.00325.63
8.2.180.0250.01126.16
8.2.170.0100.01424.79
8.2.160.0100.01425.25
8.2.150.0100.00324.47
8.2.140.0040.00826.10
8.2.130.0040.01123.88
8.2.120.0130.00027.88
8.2.110.0150.00025.57
8.2.100.0140.00725.76
8.2.90.0080.00524.28
8.2.80.0030.01023.75
8.2.70.0030.01123.75
8.2.60.0070.00724.18
8.2.50.0070.00723.50
8.2.40.0000.01425.38
8.2.30.0100.00326.23
8.2.20.0000.01723.81
8.2.10.0000.01324.18
8.2.00.0070.00724.13
8.1.280.0170.01725.92
8.1.270.0060.01327.74
8.1.260.0100.00328.09
8.1.250.0070.00729.30
8.1.240.0230.00327.88
8.1.230.0060.01327.14
8.1.220.0070.00723.91
8.1.210.0000.01424.77
8.1.200.0060.01023.47
8.1.190.0120.00323.47
8.1.180.0110.00423.75
8.1.170.0060.00824.71
8.1.160.0000.01427.71
8.1.150.0000.01324.52
8.1.140.0060.00925.69
8.1.130.0070.01023.89
8.1.120.0070.00723.63
8.1.110.0060.00923.41
8.1.100.0070.00723.70
8.1.90.0000.01323.68
8.1.80.0030.01023.43
8.1.70.0030.00923.57
8.1.60.0040.01123.85
8.1.50.0070.00723.70
8.1.40.0140.00023.70
8.1.30.0060.00923.94
8.1.20.0090.00923.80
8.1.10.0000.01323.80
8.1.00.0070.00723.75
8.0.300.0070.00725.73
8.0.290.0040.00922.88
8.0.280.0070.00724.08
8.0.270.0000.01323.44
8.0.260.0030.00923.47
8.0.250.0040.01123.33
8.0.240.0060.00923.25
8.0.230.0060.00623.24
8.0.220.0030.01023.13
8.0.210.0060.00623.27
8.0.200.0030.01023.13
8.0.190.0040.01123.21
8.0.180.0030.01023.11
8.0.170.0060.00923.35
8.0.160.0030.01023.08
8.0.150.0070.00722.95
8.0.140.0000.01323.09
8.0.130.0030.00313.28
8.0.120.0030.01323.18
8.0.110.0070.00723.21
8.0.100.0070.01023.02
8.0.90.0030.01023.10
8.0.80.0100.02023.25
8.0.70.0030.01223.20
8.0.60.0030.01023.22
8.0.50.0030.01023.05
8.0.30.0170.01323.23
8.0.20.0150.02523.50
8.0.10.0070.00723.13
8.0.00.0120.02123.09
7.4.330.0000.00616.71
7.4.320.0000.01222.97
7.4.300.0080.00422.87
7.4.290.0040.00922.79
7.4.280.0070.00723.00
7.4.270.0000.01223.01
7.4.260.0030.01022.76
7.4.250.0110.00422.88
7.4.240.0080.00522.86
7.4.230.0000.01323.11
7.4.220.0150.01922.73
7.4.210.0150.01322.83
7.4.200.0030.01023.06
7.4.160.0120.01522.65
7.4.150.0000.03822.63
7.4.140.0100.02722.73
7.4.130.0140.01922.72
7.4.120.0160.01922.74
7.4.110.0130.02022.61
7.4.100.0170.02022.46
7.4.90.0060.02822.79
7.4.80.0190.01322.88
7.4.70.0140.03122.52
7.4.60.0130.01922.66
7.4.50.0120.01622.81
7.4.40.0140.01723.04
7.4.30.0270.00722.60
7.4.00.0090.01921.16
7.3.330.0030.00313.09
7.3.320.0030.00213.14
7.3.310.0000.01322.57
7.3.300.0040.01222.36
7.3.290.0060.00622.42
7.3.280.0130.02222.43
7.3.270.0070.03222.64
7.3.260.0100.02322.50
7.3.250.0180.01622.54
7.3.240.0110.02122.46
7.3.230.0170.02722.43
7.3.210.0190.01322.29
7.3.200.0140.01722.43
7.3.190.0220.01622.60
7.3.180.0070.02522.81
7.3.170.0070.02422.61
7.3.160.0130.01622.63
7.3.120.0200.01720.96
7.3.110.0150.02120.87
7.3.100.0130.00920.93
7.3.90.0070.02321.11
7.3.80.0130.01320.75
7.3.70.0030.01720.68
7.3.60.0070.01020.86
7.3.50.0090.01620.78
7.3.40.0110.01420.57
7.3.30.0040.01620.86
7.3.20.0110.00722.68
7.3.10.0000.02422.61
7.3.00.0040.02122.58
7.2.330.0060.02622.83
7.2.320.0140.01822.82
7.2.310.0120.01822.63
7.2.300.0110.03222.36
7.2.290.0090.02822.68
7.2.250.0190.01921.27
7.2.240.0130.02620.92
7.2.230.0070.02421.02
7.2.220.0070.01821.26
7.2.210.0120.01521.10
7.2.200.0060.01521.01
7.2.190.0070.01320.94
7.2.180.0030.02121.15
7.2.170.0030.01321.07
7.2.60.0100.01322.35
7.2.00.0030.01725.66
7.1.330.0060.01521.84
7.1.320.0060.01521.65
7.1.310.0150.01221.82
7.1.300.0030.01721.91
7.1.290.0130.01021.83
7.1.280.0070.01021.79
7.1.270.0030.01521.75
7.1.260.0040.01821.87
7.1.200.0000.01721.82
7.1.100.0110.01124.21
7.1.70.0000.01323.23
7.1.60.0130.01723.64
7.1.50.0070.03123.35
7.1.00.0130.07728.90
7.0.200.0780.00721.16
7.0.60.0030.05326.29
7.0.50.0100.07717.91
7.0.40.0200.08026.09
7.0.30.0300.04725.88
7.0.20.0200.05025.82
7.0.10.0130.09025.88
7.0.00.0100.09325.82
5.6.280.0100.03327.39
5.6.210.0070.09326.93
5.6.200.0100.03318.13
5.6.190.0230.07026.68
5.6.180.0430.07726.66
5.6.170.0270.08326.40
5.6.160.0030.06726.40
5.6.150.0070.08318.13
5.6.140.0070.08018.17
5.6.130.0100.07718.11
5.6.120.0130.05727.13
5.6.110.0100.09327.43
5.6.100.0130.08727.57
5.6.90.0100.09327.56
5.6.80.0130.07726.80
5.5.350.4200.04026.61
5.5.340.0100.03317.96
5.5.330.0100.06026.20
5.5.320.0030.09326.45
5.5.310.0100.05326.46
5.5.300.0070.05018.02
5.5.290.0030.08317.91
5.5.280.0100.04327.10
5.5.270.0070.05327.05
5.5.260.0100.08326.89
5.5.250.0170.08027.06
5.5.240.0300.04726.57

preferences:
29.3 ms | 401 KiB | 5 Q