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

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.0220.00724.25
8.3.60.0190.01624.38
8.3.50.0130.02025.86
8.3.40.0150.00924.57
8.3.30.0170.01724.34
8.3.20.0000.01425.83
8.3.10.0000.01429.53
8.3.00.0070.01125.38
8.2.180.0210.01526.29
8.2.170.0100.01624.57
8.2.160.0110.01827.98
8.2.150.0070.00724.47
8.2.140.0070.00726.14
8.2.130.0090.00623.63
8.2.120.0060.00627.83
8.2.110.0040.01226.27
8.2.100.0120.00823.97
8.2.90.0030.01024.97
8.2.80.0090.00623.88
8.2.70.0040.01123.88
8.2.60.0030.01624.18
8.2.50.0030.01023.88
8.2.40.0070.01325.70
8.2.30.0030.01026.36
8.2.20.0070.00723.86
8.2.10.0030.01024.15
8.2.00.0030.01024.26
8.1.280.0100.01725.92
8.1.270.0100.00727.89
8.1.260.0130.00028.09
8.1.250.0060.00629.66
8.1.240.0140.00329.71
8.1.230.0100.01026.97
8.1.220.0000.01423.89
8.1.210.0040.01523.48
8.1.200.0040.01123.25
8.1.190.0040.01123.35
8.1.180.0030.01023.75
8.1.170.0000.01726.72
8.1.160.0130.00027.54
8.1.150.0070.00724.51
8.1.140.0000.01425.81
8.1.130.0030.01323.95
8.1.120.0070.00723.68
8.1.110.0040.01323.50
8.1.100.0100.00323.74
8.1.90.0030.01023.59
8.1.80.0030.01023.54
8.1.70.0030.01023.58
8.1.60.0090.00623.74
8.1.50.0120.00323.73
8.1.40.0110.00323.81
8.1.30.0070.00724.04
8.1.20.0000.02123.82
8.1.10.0100.00323.99
8.1.00.0040.01123.63
8.0.300.0110.00323.04
8.0.290.0060.00923.00
8.0.280.0060.00624.09
8.0.270.0000.01323.50
8.0.260.0080.00423.51
8.0.250.0120.00623.36
8.0.240.0040.01123.39
8.0.230.0030.01023.30
8.0.220.0040.00823.16
8.0.210.0060.00623.13
8.0.200.0030.01023.03
8.0.190.0030.01023.27
8.0.180.0000.01323.21
8.0.170.0060.00923.14
8.0.160.0000.01422.99
8.0.150.0030.01222.91
8.0.140.0070.00723.00
8.0.130.0000.00713.29
8.0.120.0080.00823.09
8.0.110.0070.00723.21
8.0.100.0100.00722.98
8.0.90.0030.01023.11
8.0.80.0090.01823.14
8.0.70.0060.00923.27
8.0.60.0000.01423.04
8.0.50.0090.00623.14
8.0.30.0140.02223.44
8.0.20.0180.01523.47
8.0.10.0060.01023.23
8.0.00.0110.02223.05
7.4.330.0020.00216.83
7.4.320.0030.00922.93
7.4.300.0080.00423.07
7.4.290.0030.01022.86
7.4.280.0000.01722.72
7.4.270.0070.00722.94
7.4.260.0000.01322.98
7.4.250.0000.01422.80
7.4.240.0050.00822.93
7.4.230.0000.01323.02
7.4.220.0090.02822.98
7.4.210.0130.01822.96
7.4.200.0060.00622.86
7.4.160.0100.01722.84
7.4.150.0060.02822.88
7.4.140.0110.02822.77
7.4.130.0160.02322.74
7.4.120.0150.01722.86
7.4.110.0030.03222.91
7.4.100.0190.01322.77
7.4.90.0120.02122.83
7.4.80.0200.01322.75
7.4.70.0150.02222.83
7.4.60.0090.02122.74
7.4.50.0070.01722.70
7.4.40.0130.01922.76
7.4.30.0200.02322.80
7.4.00.0080.02021.15
7.3.330.0030.00313.05
7.3.320.0000.00513.14
7.3.310.0030.01022.55
7.3.300.0110.00422.52
7.3.290.0030.00922.29
7.3.280.0110.02322.51
7.3.270.0230.02322.25
7.3.260.0070.02722.57
7.3.240.0100.03022.57
7.3.230.0210.01422.50
7.3.210.0070.02422.48
7.3.200.0060.02722.79
7.3.190.0160.01622.80
7.3.180.0190.01722.68
7.3.170.0120.01922.53
7.3.160.0100.02022.79
7.3.120.0160.01921.09
7.3.110.0220.00320.96
7.3.100.0170.01021.03
7.3.90.0110.01120.95
7.3.80.0100.01320.91
7.3.70.0070.01620.65
7.3.60.0040.01220.86
7.3.50.0100.01320.98
7.3.40.0060.01220.77
7.3.30.0130.01320.60
7.3.20.0060.01522.70
7.3.10.0120.00922.48
7.3.00.0100.01322.57
7.2.330.0140.02223.11
7.2.320.0210.01122.66
7.2.310.0150.01523.00
7.2.300.0090.02522.82
7.2.290.0220.01123.00
7.2.250.0060.02220.90
7.2.240.0030.02420.98
7.2.230.0130.01021.07
7.2.220.0140.00721.09
7.2.210.0070.01421.10
7.2.200.0060.01620.97
7.2.190.0030.01721.07
7.2.180.0150.00720.98
7.2.170.0030.02320.94
7.2.60.0160.02022.07
7.2.00.0060.01325.77
7.1.330.0090.01521.66
7.1.320.0060.01621.85
7.1.310.0000.01521.68
7.1.300.0070.01721.91
7.1.290.0080.01122.11
7.1.280.0100.01321.91
7.1.270.0100.01321.58
7.1.260.0000.01621.79
7.1.200.0140.00321.66
7.1.100.0070.01424.27
7.1.70.0070.01723.16
7.1.60.0090.02223.66
7.1.50.0160.01923.39
7.1.00.0000.09028.64
7.0.200.0850.01021.00
7.0.60.0070.08726.26
7.0.50.0130.07717.80
7.0.40.0100.04326.26
7.0.30.0330.07725.98
7.0.20.0500.04025.89
7.0.10.0070.04725.91
7.0.00.0100.04025.97
5.6.280.0030.03727.36
5.6.210.0030.05026.92
5.6.200.0070.06718.22
5.6.190.0100.08726.64
5.6.180.0470.07026.56
5.6.170.0200.04726.54
5.6.160.0030.05726.32
5.6.150.0030.04018.16
5.6.140.0100.03018.11
5.6.130.0100.08018.09
5.6.120.0070.09327.23
5.6.110.0070.09027.30
5.6.100.0130.09027.26
5.6.90.0030.05327.58
5.6.80.0130.09026.71
5.5.350.4030.04726.77
5.5.340.0100.07718.01
5.5.330.0130.08726.33
5.5.320.0170.06326.36
5.5.310.0100.06026.26
5.5.300.0070.08017.87
5.5.290.0070.04017.91
5.5.280.0130.08727.03
5.5.270.0070.04327.24
5.5.260.0130.09027.32
5.5.250.0070.08726.96
5.5.240.0270.08026.57

preferences:
56.95 ms | 401 KiB | 5 Q