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

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.40.0130.01324.20
8.3.30.0070.01824.52
8.3.20.0060.00625.78
8.3.10.0070.00729.40
8.3.00.0070.00725.51
8.2.170.0110.01524.75
8.2.160.0140.01027.88
8.2.150.0130.00024.60
8.2.140.0060.00626.27
8.2.130.0070.01023.88
8.2.120.0070.00728.04
8.2.110.0030.01225.98
8.2.100.0100.01024.29
8.2.90.0000.01325.02
8.2.80.0040.01123.75
8.2.70.0100.00723.84
8.2.60.0060.01023.91
8.2.50.0030.01023.75
8.2.40.0120.00325.68
8.2.30.0000.01326.28
8.2.20.0000.01523.93
8.2.10.0100.00324.32
8.2.00.0030.01024.22
8.1.270.0090.00627.93
8.1.260.0070.00728.09
8.1.250.0030.01028.09
8.1.240.0100.00728.41
8.1.230.0100.01023.78
8.1.220.0070.00723.55
8.1.210.0100.00323.48
8.1.200.0030.01323.35
8.1.190.0080.00623.35
8.1.180.0040.01123.78
8.1.170.0060.00924.87
8.1.160.0040.00927.64
8.1.150.0030.01024.63
8.1.140.0040.01125.73
8.1.130.0030.01523.92
8.1.120.0040.00923.55
8.1.110.0030.01323.72
8.1.100.0030.01023.60
8.1.90.0030.01023.73
8.1.80.0000.01323.58
8.1.70.0000.01323.59
8.1.60.0070.00723.76
8.1.50.0040.01123.75
8.1.40.0090.00623.63
8.1.30.0040.01123.88
8.1.20.0110.00723.91
8.1.10.0110.00423.81
8.1.00.0030.01023.58
8.0.300.0000.01523.16
8.0.290.0100.00323.00
8.0.280.0060.00624.20
8.0.270.0030.01023.35
8.0.260.0030.01023.49
8.0.250.0060.01223.30
8.0.240.0060.00923.21
8.0.230.0060.00623.19
8.0.220.0030.01323.11
8.0.210.0080.00623.30
8.0.200.0030.00923.16
8.0.190.0140.00023.18
8.0.180.0000.01423.08
8.0.170.0120.00323.30
8.0.160.0070.00723.03
8.0.150.0030.01022.89
8.0.140.0100.00323.20
8.0.130.0040.00413.37
8.0.120.0100.00723.09
8.0.110.0030.01023.09
8.0.100.0030.01023.34
8.0.90.0030.01023.26
8.0.80.0100.01723.11
8.0.70.0030.01223.34
8.0.60.0030.01023.20
8.0.50.0070.00723.34
8.0.30.0140.02123.12
8.0.20.0140.01923.17
8.0.10.0030.01023.46
8.0.00.0130.02123.05
7.4.330.0000.00516.87
7.4.320.0030.00922.99
7.4.300.0060.00622.90
7.4.290.0060.00622.89
7.4.280.0040.01122.81
7.4.270.0030.01022.85
7.4.260.0030.01022.86
7.4.250.0060.00922.91
7.4.240.0060.00822.93
7.4.230.0100.00322.88
7.4.220.0070.04122.79
7.4.210.0100.01822.94
7.4.200.0070.00723.04
7.4.160.0090.02122.93
7.4.150.0200.01322.82
7.4.140.0200.03022.67
7.4.130.0140.02222.58
7.4.120.0120.02022.64
7.4.110.0200.01722.81
7.4.100.0140.02122.85
7.4.90.0160.01622.75
7.4.80.0200.02622.59
7.4.70.0130.02422.73
7.4.60.0260.00422.51
7.4.50.0030.01722.67
7.4.40.0160.01622.78
7.4.30.0140.03122.83
7.4.10.0130.02021.08
7.4.00.0080.01720.92
7.3.330.0000.00513.17
7.3.320.0060.00013.02
7.3.310.0040.00922.41
7.3.300.0030.00922.30
7.3.290.0030.00922.51
7.3.280.0100.02222.43
7.3.270.0220.02622.51
7.3.260.0100.02222.86
7.3.250.0120.02022.52
7.3.240.0110.02022.54
7.3.230.0160.02222.68
7.3.210.0160.02322.39
7.3.200.0150.01822.83
7.3.190.0160.01522.41
7.3.180.0130.02222.75
7.3.170.0070.02622.86
7.3.160.0070.02322.62
7.3.130.0100.02021.02
7.3.120.0060.01620.80
7.3.110.0100.02320.82
7.3.100.0130.01021.10
7.3.90.0140.01021.09
7.3.80.0030.02221.12
7.3.70.0120.00920.82
7.3.60.0110.01520.86
7.3.50.0130.01020.72
7.3.40.0120.00320.72
7.3.30.0090.01320.81
7.3.20.0070.01422.32
7.3.10.0070.01522.42
7.3.00.0070.01122.59
7.2.330.0100.02322.84
7.2.320.0190.01522.93
7.2.310.0100.02122.80
7.2.300.0140.02122.55
7.2.290.0100.03522.68
7.2.260.0070.02121.05
7.2.250.0070.02321.24
7.2.240.0030.01720.90
7.2.230.0070.02121.11
7.2.220.0030.02221.30
7.2.210.0100.01021.51
7.2.200.0060.01620.99
7.2.190.0030.02420.98
7.2.180.0090.01521.26
7.2.170.0100.01021.14
7.2.160.0070.01421.27
7.2.150.0000.02822.99
7.2.140.0000.02922.75
7.2.130.0070.01322.84
7.2.120.0050.01422.84
7.2.110.0090.01222.76
7.2.100.0050.01622.96
7.2.90.0080.01222.95
7.2.80.0050.01522.95
7.2.70.0070.01223.02
7.2.60.0070.01522.73
7.2.50.0070.01522.93
7.2.40.0020.01623.15
7.2.30.0070.01523.03
7.2.20.0080.01322.83
7.2.10.0080.01223.02
7.2.00.0080.01523.51
7.1.330.0100.01022.22
7.1.320.0130.01322.02
7.1.310.0070.01721.84
7.1.300.0160.00621.93
7.1.290.0070.01021.77
7.1.280.0070.01121.85
7.1.270.0120.01221.90
7.1.260.0040.01821.87
7.1.250.0090.01321.87
7.1.240.0030.01521.76
7.1.230.0050.01721.82
7.1.220.0070.01221.94
7.1.210.0100.01021.90
7.1.200.0070.01721.91
7.1.190.0070.01221.84
7.1.180.0050.01621.98
7.1.170.0100.01021.89
7.1.160.0070.01221.90
7.1.150.0050.01621.80
7.1.140.0100.01322.00
7.1.130.0070.01422.01
7.1.120.0110.00921.93
7.1.110.0030.01421.93
7.1.100.0090.01522.60
7.1.90.0050.01521.97
7.1.80.0040.01621.78
7.1.70.0030.01622.21
7.1.60.0060.01422.34
7.1.50.0110.01522.34
7.1.40.0080.01222.13
7.1.30.0050.01622.04
7.1.20.0070.01321.94
7.1.10.0090.01221.91
7.1.00.0090.03324.01
7.0.330.0070.01321.71
7.0.320.0020.01821.66
7.0.310.0070.01221.67
7.0.300.0070.01321.79
7.0.290.0050.01421.72
7.0.280.0090.01321.64
7.0.270.0070.01421.72
7.0.260.0050.01421.71
7.0.250.0080.01321.80
7.0.240.0050.01521.78
7.0.230.0020.01821.58
7.0.220.0110.01121.70
7.0.210.0080.01121.57
7.0.200.0130.01121.44
7.0.190.0050.01321.75
7.0.180.0070.01521.60
7.0.170.0050.01521.85
7.0.160.0070.01521.74
7.0.150.0050.01721.83
7.0.140.0060.01621.69
7.0.130.0110.00921.54
7.0.120.0030.01721.63
7.0.110.0090.01021.67
7.0.100.0060.01521.63
7.0.90.0050.01521.62
7.0.80.0090.01421.60
7.0.70.0080.01321.32
7.0.60.0070.03523.07
7.0.50.0100.03420.43
7.0.40.0060.03921.81
7.0.30.0120.02621.84
7.0.20.0230.02221.78
7.0.10.0100.03921.76
7.0.00.0080.02821.72
5.6.400.0070.01320.57
5.6.390.0080.00820.43
5.6.380.0070.01720.23
5.6.370.0090.01220.55
5.6.360.0070.01120.79
5.6.350.0100.01120.49
5.6.340.0150.01020.69
5.6.330.0120.01020.62
5.6.320.0080.01120.57
5.6.310.0140.00820.53
5.6.300.0140.01120.57
5.6.290.0050.01720.41
5.6.280.0140.03222.81
5.6.270.0050.01620.63
5.6.260.0130.00620.77
5.6.250.0100.01020.64
5.6.240.0110.01120.56
5.6.230.0080.01220.55
5.6.220.0060.01620.67
5.6.210.0080.02122.68
5.6.200.0070.02619.77
5.6.190.0050.02622.63
5.6.180.0230.03522.43
5.6.170.0150.02322.53
5.6.160.0110.03922.53
5.6.150.0080.03219.73
5.6.140.0040.02919.80
5.6.130.0090.03219.86
5.6.120.0070.03122.68
5.6.110.0110.03022.93
5.6.100.0100.02622.72
5.6.90.0090.02922.73
5.6.80.0110.03722.62
5.6.70.0080.01320.53
5.6.60.0100.01320.62
5.6.50.0080.01320.57
5.6.40.0090.01520.57
5.6.30.0100.01020.63
5.6.20.0120.00920.58
5.6.10.0030.01520.51
5.6.00.0070.01520.63
5.5.380.0050.00815.61
5.5.370.0090.00515.58
5.5.360.0050.01215.75
5.5.350.1440.02519.43
5.5.340.0070.02416.40
5.5.330.0060.03919.08
5.5.320.0020.03519.15
5.5.310.0110.02119.13
5.5.300.0120.02916.48
5.5.290.0030.03716.23
5.5.280.0080.02019.46
5.5.270.0060.02319.50
5.5.260.0080.02119.51
5.5.250.0080.03019.33
5.5.240.0110.03719.24
5.5.230.0050.01015.52
5.5.220.0080.01215.40
5.5.210.0050.01215.60
5.5.200.0050.01015.48
5.5.190.0030.01115.56
5.5.180.0080.00815.51
5.5.170.0070.00915.65
5.5.160.0020.01515.71
5.5.150.0050.01115.47
5.5.140.0040.00615.79
5.5.130.0080.00815.35
5.5.120.0040.00915.70
5.5.110.0050.00915.84
5.5.100.0030.01115.63
5.5.90.0070.01115.71
5.5.80.0050.01315.43
5.5.70.0060.01515.80
5.5.60.0080.01215.63
5.5.50.0070.00715.78
5.5.40.0090.00815.59
5.5.30.0070.00815.84
5.5.20.0020.01215.75
5.5.10.0090.00715.45
5.5.00.0030.01015.74

preferences:
59.24 ms | 400 KiB | 5 Q