3v4l.org

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

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.0130.02025.13
8.3.50.0260.01326.83
8.3.40.0120.01525.40
8.3.30.0110.01425.14
8.3.20.0070.00726.66
8.3.10.0070.01329.92
8.3.00.0040.01126.13
8.2.180.0170.01725.92
8.2.170.0160.01625.45
8.2.160.0170.01028.80
8.2.150.0030.01025.14
8.2.140.0040.01127.05
8.2.130.0120.00324.50
8.2.120.0060.00928.88
8.2.110.0100.00728.62
8.2.100.0090.01324.68
8.2.90.0150.00025.72
8.2.80.0030.01224.50
8.2.70.0070.01024.50
8.2.60.0040.01124.80
8.2.50.0040.01124.50
8.2.40.0130.00626.00
8.2.30.0000.01427.19
8.2.20.0120.00624.66
8.2.10.0040.01225.08
8.2.00.0040.01125.05
8.1.280.0100.02426.43
8.1.270.0070.01028.64
8.1.260.0100.01028.52
8.1.250.0090.00628.69
8.1.240.0040.01130.46
8.1.230.0100.01024.61
8.1.220.0040.01124.66
8.1.210.0060.00924.10
8.1.200.0070.01024.10
8.1.190.0000.01624.10
8.1.180.0040.01124.40
8.1.170.0070.01025.71
8.1.160.0040.01128.28
8.1.150.0080.00825.30
8.1.140.0120.00426.50
8.1.130.0120.00924.52
8.1.120.0120.00324.67
8.1.110.0140.00724.21
8.1.100.0030.01224.51
8.1.90.0000.01424.48
8.1.80.0040.01124.52
8.1.70.0070.00724.20
8.1.60.0080.00824.63
8.1.50.0070.01024.51
8.1.40.0030.01224.38
8.1.30.0030.01324.61
8.1.20.0070.01424.54
8.1.10.0040.01124.60
8.1.00.0060.00924.65
8.0.300.0060.00925.71
8.0.290.0030.01323.63
8.0.280.0000.01624.87
8.0.270.0040.01124.19
8.0.260.0030.01024.18
8.0.250.0080.01524.08
8.0.240.0060.00924.08
8.0.230.0030.01323.94
8.0.220.0150.00823.77
8.0.210.0040.01123.95
8.0.200.0040.01123.99
8.0.190.0000.01723.90
8.0.180.0030.01324.07
8.0.170.0100.00724.02
8.0.160.0040.01123.89
8.0.150.0060.00923.89
8.0.140.0000.01523.84
8.0.130.0030.00313.41
8.0.120.0030.01423.79
8.0.110.0030.01223.99
8.0.100.0000.01523.96
8.0.90.0040.01123.86
8.0.80.0300.01723.92
8.0.70.0060.00923.77
8.0.60.0060.01023.86
8.0.50.0000.01523.97
8.0.30.0200.01824.04
8.0.20.0170.02624.14
8.0.10.0060.00924.02
8.0.00.0130.02523.91
7.4.330.0030.00316.76
7.4.320.0030.01023.58
7.4.300.0070.00723.77
7.4.290.0080.00623.63
7.4.280.0060.01523.55
7.4.270.0000.01423.61
7.4.260.0110.00423.69
7.4.250.0040.01223.69
7.4.240.0030.01223.77
7.4.230.0070.00723.57
7.4.220.0100.02923.78
7.4.210.0140.02723.75
7.4.200.0040.01123.61
7.4.160.0060.02623.47
7.4.150.0160.02023.57
7.4.140.0210.01623.48
7.4.130.0150.02523.54
7.4.120.0140.02723.55
7.4.110.0160.02023.75
7.4.100.0220.02323.61
7.4.90.0200.01723.57
7.4.80.0160.01923.84
7.4.70.0170.02423.64
7.4.60.0120.02723.59
7.4.50.0030.02123.40
7.4.40.0200.01523.90
7.4.30.0100.02623.53
7.4.00.0140.01121.91
7.3.330.0000.00513.14
7.3.320.0000.00513.20
7.3.310.0070.00723.23
7.3.300.0000.01423.27
7.3.290.0070.00723.11
7.3.280.0140.01723.22
7.3.270.0270.02723.48
7.3.260.0160.01923.49
7.3.250.0220.02823.21
7.3.240.0120.02523.28
7.3.230.0090.02823.58
7.3.210.0170.01823.38
7.3.200.0190.03223.43
7.3.190.0130.02523.18
7.3.180.0200.02123.23
7.3.170.0160.02923.42
7.3.160.0100.02323.43
7.2.330.0130.02023.43
7.2.320.0070.03123.50
7.2.310.0210.01623.53
7.2.300.0270.01023.35
7.2.290.0190.02923.84
7.2.60.0230.00023.35
7.2.00.0030.02026.90
7.1.200.0070.01722.82
7.1.100.0060.01824.83
7.1.70.0070.01024.22
7.1.60.0180.01824.10
7.1.50.0060.02324.11
7.1.00.0100.08329.71
7.0.200.1020.00921.42
7.0.60.0030.05327.23
7.0.50.0000.07317.88
7.0.40.0030.06726.38
7.0.30.0300.06026.28
7.0.20.0430.09726.30
7.0.10.0200.06726.39
7.0.00.0100.04326.30
5.6.280.0030.06328.28
5.6.210.0030.06327.80
5.6.200.0130.08018.11
5.6.190.0030.05026.93
5.6.180.0470.07727.05
5.6.170.0330.03726.99
5.6.160.0070.09027.11
5.6.150.0100.04318.15
5.6.140.0170.03018.11
5.6.130.0030.08318.12
5.6.120.0100.05327.86
5.6.110.0030.09327.62
5.6.100.0170.09027.74
5.6.90.0100.06727.63
5.6.80.0100.08027.13
5.5.350.4100.05027.31
5.5.340.0070.08017.99
5.5.330.0170.08726.81
5.5.320.0130.05726.66
5.5.310.0200.04726.70
5.5.300.0000.06017.98
5.5.290.0070.05018.02
5.5.280.0070.04727.36
5.5.270.0070.04327.18
5.5.260.0000.05027.51
5.5.250.0070.08327.33
5.5.240.0330.07026.57

preferences:
64.77 ms | 401 KiB | 5 Q