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

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.0270.00024.25
8.3.50.0180.01725.91
8.3.40.0130.01724.63
8.3.30.0190.00624.43
8.3.20.0100.00326.08
8.3.10.0070.00729.41
8.3.00.0030.01025.50
8.2.180.0100.01724.25
8.2.170.0190.00624.75
8.2.160.0160.01027.88
8.2.150.0000.01324.65
8.2.140.0060.00626.10
8.2.130.0070.01023.88
8.2.120.0070.00728.03
8.2.110.0040.01126.20
8.2.100.0100.01024.05
8.2.90.0090.00624.93
8.2.80.0070.00723.88
8.2.70.0000.01423.75
8.2.60.0100.00324.28
8.2.50.0030.01024.00
8.2.40.0090.00625.71
8.2.30.0060.00626.36
8.2.20.0110.00423.93
8.2.10.0070.00724.25
8.2.00.0000.01324.27
8.1.280.0140.01425.92
8.1.270.0040.01127.80
8.1.260.0060.00628.09
8.1.250.0130.00029.54
8.1.240.0090.00629.71
8.1.230.0110.00823.89
8.1.220.0030.01023.90
8.1.210.0060.00823.48
8.1.200.0060.00923.25
8.1.190.0120.00323.48
8.1.180.0060.00923.65
8.1.170.0000.01525.22
8.1.160.0040.01127.77
8.1.150.0030.01024.55
8.1.140.0000.01425.66
8.1.130.0070.01123.99
8.1.120.0070.00723.75
8.1.110.0060.01323.76
8.1.100.0000.01323.70
8.1.90.0080.00523.73
8.1.80.0040.00923.64
8.1.70.0030.00923.50
8.1.60.0060.00923.78
8.1.50.0040.01123.80
8.1.40.0070.00723.74
8.1.30.0080.00623.96
8.1.20.0030.01423.88
8.1.10.0070.00723.87
8.1.00.0000.01423.64
8.0.300.0080.00623.16
8.0.290.0100.00322.88
8.0.280.0000.01224.00
8.0.270.0030.00923.58
8.0.260.0060.00623.58
8.0.250.0000.01923.23
8.0.240.0070.00723.36
8.0.230.0070.00723.18
8.0.220.0100.00723.14
8.0.210.0030.01023.30
8.0.200.0060.00623.23
8.0.190.0040.01123.21
8.0.180.0070.00723.18
8.0.170.0070.00723.30
8.0.160.0030.01023.24
8.0.150.0030.01023.04
8.0.140.0030.01023.13
8.0.130.0030.00313.31
8.0.120.0030.01323.25
8.0.110.0000.01323.18
8.0.100.0030.01023.23
8.0.90.0030.01023.23
8.0.80.0100.01723.05
8.0.70.0120.00323.00
8.0.60.0030.01023.00
8.0.50.0080.00623.29
8.0.30.0150.01923.31
8.0.20.0110.02223.51
8.0.10.0040.01123.31
8.0.00.0100.02322.96
7.4.330.0030.00316.89
7.4.320.0060.00623.08
7.4.300.0060.00622.93
7.4.290.0030.01022.95
7.4.280.0100.00723.04
7.4.270.0060.00923.02
7.4.260.0030.01022.79
7.4.250.0040.01122.94
7.4.240.0000.01422.99
7.4.230.0030.00922.96
7.4.220.0100.02422.94
7.4.210.0090.02423.01
7.4.200.0070.00623.17
7.4.160.0190.01122.76
7.4.150.0110.02122.86
7.4.140.0160.02022.64
7.4.130.0070.02522.59
7.4.120.0100.02922.77
7.4.110.0060.02822.64
7.4.100.0160.01622.80
7.4.90.0150.01822.80
7.4.80.0190.01923.00
7.4.70.0170.02022.70
7.4.60.0130.01622.71
7.4.50.0110.01122.55
7.4.40.0160.02822.63
7.4.30.0200.02322.82
7.4.00.0030.02021.04
7.3.330.0000.00613.01
7.3.320.0000.00512.99
7.3.310.0060.00622.61
7.3.300.0070.00722.43
7.3.290.0030.01022.45
7.3.280.0170.01422.46
7.3.270.0170.02522.73
7.3.260.0140.01722.34
7.3.250.0130.02022.60
7.3.240.0160.01622.65
7.3.230.0090.02222.70
7.3.210.0170.01722.55
7.3.200.0160.01922.61
7.3.190.0130.02322.68
7.3.180.0170.01722.70
7.3.170.0100.02322.59
7.3.160.0030.02822.61
7.2.330.0060.02722.71
7.2.320.0270.00722.85
7.2.310.0160.01622.63
7.2.300.0190.01323.14
7.2.290.0120.02422.61
7.2.60.0140.00723.20
7.2.00.0210.00725.69
7.1.200.0100.01022.11
7.1.100.0000.02024.12
7.1.70.0040.01223.34
7.1.60.0090.00923.64
7.1.50.0120.01523.29
7.1.00.0100.08028.84
7.0.200.0850.00921.12
7.0.100.0330.07026.25
7.0.90.0030.05326.34
7.0.80.0170.08326.14
7.0.70.0230.06326.43
7.0.60.0100.08026.35
7.0.50.0070.04326.45
7.0.40.0070.04726.41
7.0.30.0100.05026.31
7.0.20.0100.04726.39
7.0.10.0070.04326.41
7.0.00.0030.05026.38
5.6.280.0000.04027.05
5.6.250.0100.10326.99
5.6.240.0070.07726.99
5.6.230.0100.09326.81
5.6.220.0130.03726.91
5.6.210.0200.07026.83
5.6.200.0070.07327.18
5.6.190.0030.08727.48
5.6.180.0130.04027.53
5.6.170.0070.04727.49
5.6.160.0030.05027.37
5.6.150.0100.04027.32
5.6.140.0070.04327.14
5.6.130.0070.04727.30
5.6.120.0100.07727.32
5.6.110.0130.03727.07
5.6.100.0030.04726.94
5.6.90.0070.05027.29
5.6.80.0070.04326.81
5.6.70.0030.04726.87
5.6.60.0070.04726.75
5.6.50.0100.03726.76
5.6.40.0030.04726.68
5.6.30.0070.04726.63
5.6.20.0000.04026.90
5.6.10.0030.04726.79
5.6.00.0070.04026.48
5.5.380.0070.06326.81
5.5.370.0100.08326.84
5.5.360.0100.07326.88
5.5.350.0030.08726.68
5.5.340.0030.07327.08
5.5.330.0070.05027.10
5.5.320.0100.04326.89
5.5.310.0070.04727.04
5.5.300.0030.04726.91
5.5.290.0000.07727.15
5.5.280.0100.04326.88
5.5.270.0100.04727.21
5.5.260.0030.05027.07
5.5.250.0070.04326.83
5.5.240.0030.05026.48
5.5.230.0070.04726.38
5.5.220.0070.04326.54
5.5.210.0070.04326.57
5.5.200.0030.04726.40
5.5.190.0100.04026.56
5.5.180.0030.03726.36
5.5.160.0030.05026.34
5.5.150.0000.05026.57
5.5.140.0030.05326.71
5.5.130.0100.04026.59
5.5.120.0030.03726.52
5.5.110.0130.03326.55
5.5.100.0030.04726.09
5.5.90.0070.04326.53
5.5.80.0030.05026.26
5.5.70.0070.03726.25
5.5.60.0100.03026.37
5.5.50.0200.02326.11
5.5.40.0070.03326.33
5.5.30.0070.03726.30
5.5.20.0070.04026.46
5.5.10.0100.03326.10
5.5.00.0030.03726.22

preferences:
31.41 ms | 401 KiB | 5 Q