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

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.0160.01624.13
8.3.60.0130.01924.13
8.3.50.0210.01925.92
8.3.40.0190.00624.42
8.3.30.0180.01124.29
8.3.20.0100.00325.84
8.3.10.0000.01629.23
8.3.00.0070.00725.50
8.2.180.0140.02026.29
8.2.170.0130.01324.70
8.2.160.0100.01327.87
8.2.150.0030.01024.52
8.2.140.0060.00626.34
8.2.130.0110.00323.63
8.2.120.0000.01327.91
8.2.110.0040.01126.11
8.2.100.0280.00323.92
8.2.90.0060.00824.67
8.2.80.0100.01023.50
8.2.70.0030.01423.88
8.2.60.0000.01324.18
8.2.50.0070.00723.99
8.2.40.0170.01025.31
8.2.30.0070.00726.27
8.2.20.0070.00723.77
8.2.10.0090.00624.23
8.2.00.0030.01024.06
8.1.280.0140.02125.92
8.1.270.0070.00727.69
8.1.260.0070.01028.09
8.1.250.0030.01028.09
8.1.240.0090.00627.81
8.1.230.0090.00923.66
8.1.220.0060.00924.01
8.1.210.0030.01123.36
8.1.200.0000.01523.60
8.1.190.0030.01023.38
8.1.180.0100.00323.54
8.1.170.0070.00725.15
8.1.160.0040.01127.66
8.1.150.0060.00624.46
8.1.140.0090.00625.83
8.1.130.0000.01823.88
8.1.120.0000.01323.71
8.1.110.0120.00623.55
8.1.100.0070.00723.62
8.1.90.0040.00923.42
8.1.80.0070.00723.54
8.1.70.0030.01023.52
8.1.60.0090.00623.83
8.1.50.0040.01123.82
8.1.40.0100.00423.62
8.1.30.0000.01423.72
8.1.20.0060.01323.72
8.1.10.0100.00323.68
8.1.00.0140.00023.63
8.0.300.0070.00724.96
8.0.290.0000.01322.88
8.0.280.0070.00724.04
8.0.270.0070.00723.35
8.0.260.0130.00023.57
8.0.250.0070.01123.19
8.0.240.0060.00923.14
8.0.230.0030.01223.32
8.0.220.0030.01323.11
8.0.210.0000.01323.02
8.0.200.0070.00723.16
8.0.190.0000.01523.16
8.0.180.0040.01123.28
8.0.170.0060.00923.35
8.0.160.0070.00723.08
8.0.150.0040.01122.87
8.0.140.0040.01123.08
8.0.130.0000.00713.28
8.0.120.0040.01422.98
8.0.110.0070.00723.14
8.0.100.0000.01422.98
8.0.90.0100.00323.23
8.0.80.0130.02223.14
8.0.70.0070.01023.11
8.0.60.0030.01022.91
8.0.50.0080.00523.27
8.0.30.0100.02123.40
8.0.20.0150.01923.23
8.0.10.0080.00523.20
8.0.00.0150.01923.10
7.4.330.0050.00016.70
7.4.320.0060.00622.92
7.4.300.0060.00622.86
7.4.290.0070.00722.99
7.4.280.0100.00322.79
7.4.270.0100.00322.84
7.4.260.0030.01022.71
7.4.250.0000.01422.96
7.4.240.0020.01122.86
7.4.230.0100.00323.10
7.4.220.0200.01722.73
7.4.210.0080.02022.96
7.4.200.0090.00623.00
7.4.160.0030.02522.69
7.4.150.0100.02323.01
7.4.140.0200.02522.81
7.4.130.0120.02522.69
7.4.120.0190.01922.82
7.4.110.0130.02522.86
7.4.100.0060.02822.65
7.4.90.0200.01222.83
7.4.80.0190.02522.70
7.4.70.0170.01622.77
7.4.60.0140.02122.67
7.4.50.0100.01422.48
7.4.40.0060.02622.96
7.4.30.0130.02322.80
7.4.10.0180.01520.84
7.4.00.0110.01821.25
7.3.330.0050.00013.00
7.3.320.0030.00313.11
7.3.310.0100.00322.38
7.3.300.0070.00722.58
7.3.290.0030.01022.50
7.3.280.0110.02022.53
7.3.270.0130.03322.67
7.3.260.0100.02122.63
7.3.250.0160.01522.67
7.3.240.0160.02422.56
7.3.230.0100.02322.83
7.3.210.0200.01622.56
7.3.200.0180.02622.61
7.3.190.0090.02222.68
7.3.180.0230.01522.79
7.3.170.0250.02222.61
7.3.160.0220.00722.67
7.3.130.0130.01920.89
7.3.120.0150.01221.11
7.3.110.0200.01020.71
7.3.100.0070.01420.84
7.3.90.0060.01620.96
7.3.80.0030.02620.87
7.3.70.0110.01420.88
7.3.60.0070.02120.79
7.3.50.0070.02420.72
7.3.40.0080.01520.91
7.3.30.0070.01420.83
7.3.20.0030.02222.38
7.3.10.0170.01022.54
7.3.00.0200.00322.38
7.2.330.0140.01822.61
7.2.320.0130.01922.60
7.2.310.0140.01722.93
7.2.300.0100.03322.75
7.2.290.0100.02323.07
7.2.260.0140.01720.84
7.2.250.0160.01621.20
7.2.240.0070.01021.27
7.2.230.0110.01820.73
7.2.220.0030.02420.62
7.2.210.0030.01721.29
7.2.200.0100.01621.01
7.2.190.0140.01821.21
7.2.180.0070.01721.01
7.2.170.0040.01520.73
7.2.160.0070.01721.13
7.2.150.0100.02022.86
7.2.140.0140.01122.86
7.2.130.0070.01323.03
7.2.120.0100.01722.88
7.2.110.0130.01622.96
7.2.100.0030.01322.95
7.2.90.0040.01623.09
7.2.80.0060.01923.00
7.2.70.0000.02122.65
7.2.60.0150.00822.85
7.2.50.0070.01122.89
7.2.40.0110.01122.70
7.2.30.0070.01622.80
7.2.20.0100.01422.82
7.2.10.0030.01523.28
7.2.00.0070.01722.86
7.1.330.0070.01622.00
7.1.320.0060.01921.74
7.1.310.0040.01921.92
7.1.300.0130.01021.93
7.1.290.0130.01021.80
7.1.280.0140.01021.81
7.1.270.0170.01022.03
7.1.260.0070.01722.02
7.1.250.0030.01321.86
7.1.240.0070.01321.76
7.1.230.0100.01921.94
7.1.220.0110.00421.98
7.1.210.0030.01921.84
7.1.200.0050.02021.85
7.1.190.0030.01321.65
7.1.180.0040.01521.89
7.1.170.0100.00721.97
7.1.160.0100.01321.88
7.1.150.0080.01521.63
7.1.140.0100.01321.90
7.1.130.0090.00921.93
7.1.120.0100.01321.75
7.1.110.0040.02521.65
7.1.100.0080.01122.07
7.1.90.0040.01121.78
7.1.80.0110.01121.88
7.1.70.0030.02522.74
7.1.60.0120.01722.69
7.1.50.0110.01822.68
7.1.40.0040.01922.07
7.1.30.0060.01222.08
7.1.20.0030.01722.12
7.1.10.0090.00921.72
7.1.00.0070.04725.12
7.0.330.0030.02021.66
7.0.320.0060.01321.69
7.0.310.0150.01221.44
7.0.300.0190.00321.83
7.0.290.0120.00621.85
7.0.280.0100.01021.59
7.0.270.0130.00921.99
7.0.260.0070.01721.66
7.0.250.0070.02121.60
7.0.240.0060.00921.78
7.0.230.0000.02021.77
7.0.220.0070.01321.58
7.0.210.0070.01321.82
7.0.200.0180.01421.24
7.0.190.0100.01321.71
7.0.180.0070.02121.36
7.0.170.0100.01721.95
7.0.160.0000.02021.84
7.0.150.0070.01821.71
7.0.140.0040.01521.86
7.0.130.0130.01621.70
7.0.120.0000.02421.47
7.0.110.0130.00721.64
7.0.100.0140.00421.47
7.0.90.0040.01521.39
7.0.80.0070.01021.30
7.0.70.0070.01321.50
7.0.60.0020.06323.99
7.0.50.0080.02819.82
7.0.40.0050.03622.86
7.0.30.0180.05022.87
7.0.20.0120.03823.06
7.0.10.0080.05322.86
7.0.00.0100.03122.90
5.6.400.0040.01520.59
5.6.390.0100.01620.39
5.6.380.0000.02020.56
5.6.370.0070.01020.54
5.6.360.0000.01820.56
5.6.350.0100.00720.09
5.6.340.0120.01220.44
5.6.330.0120.00920.48
5.6.320.0110.01120.30
5.6.310.0030.01520.49
5.6.300.0070.01020.77
5.6.290.0060.01620.53
5.6.280.0050.03923.95
5.6.270.0040.01220.85
5.6.260.0070.01320.54
5.6.250.0030.02020.53
5.6.240.0030.01520.63
5.6.230.0140.00320.55
5.6.220.0030.02320.62
5.6.210.0070.04723.66
5.6.200.0070.04219.33
5.6.190.0140.04023.65
5.6.180.0320.04923.61
5.6.170.0200.03323.59
5.6.160.0080.05323.67
5.6.150.0070.04219.27
5.6.140.0100.03119.30
5.6.130.0050.04319.31
5.6.120.0030.04724.01
5.6.110.0070.05424.00
5.6.100.0100.04823.89
5.6.90.0080.03124.01
5.6.80.0110.04123.75
5.6.70.0070.01720.41
5.6.60.0100.00620.39
5.6.50.0030.01720.34
5.6.40.0120.00920.27
5.6.30.0090.01320.47
5.6.20.0140.00720.55
5.6.10.0070.01720.36
5.6.00.0060.01220.59
5.5.380.0060.01220.33
5.5.370.0090.00920.46
5.5.360.0070.01720.44
5.5.350.2030.03023.44
5.5.340.0140.03919.14
5.5.330.0080.05123.27
5.5.320.0110.02923.55
5.5.310.0120.03323.33
5.5.300.0100.03219.28
5.5.290.0080.04319.26
5.5.280.0080.04823.70
5.5.270.0080.02623.83
5.5.260.0020.03323.93
5.5.250.0070.05223.58
5.5.240.0170.04523.33
5.5.230.0090.00920.73
5.5.220.0090.01220.25
5.5.210.0120.01320.73
5.5.200.0130.00720.46
5.5.190.0060.01420.48
5.5.180.0120.00620.48
5.5.170.0030.02020.38
5.5.160.0160.00620.04
5.5.150.0070.01820.61
5.5.140.0030.01820.60
5.5.130.0040.01220.26
5.5.120.0080.00820.72
5.5.110.0030.01720.61
5.5.100.0160.00920.46
5.5.90.0160.01320.23
5.5.80.0130.01320.57
5.5.70.0130.01620.03
5.5.60.0070.02320.61
5.5.50.0130.01320.16
5.5.40.0000.02020.69
5.5.30.0060.00920.26
5.5.20.0070.01620.60
5.5.10.0070.01319.91
5.5.00.0070.01420.81

preferences:
56.03 ms | 401 KiB | 5 Q