3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('da', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-ordinal-common"); echo $formatter->format(1); ?>

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.0090.01218.88
8.3.50.0130.00320.68
8.3.40.0090.00620.38
8.3.30.0190.00020.37
8.3.20.0030.00521.96
8.3.10.0060.00325.53
8.3.00.0030.00621.51
8.2.180.0120.00320.79
8.2.170.0070.00722.96
8.2.160.0150.00022.08
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0060.00319.75
8.2.120.0040.00426.35
8.2.110.0070.00322.17
8.2.100.0040.01120.30
8.2.90.0050.00321.02
8.2.80.0040.00419.63
8.2.70.0070.00319.88
8.2.60.0040.00420.05
8.2.50.0030.00619.88
8.2.40.0080.00021.67
8.2.30.0080.00022.34
8.2.20.0000.01119.91
8.2.10.0000.00920.21
8.2.00.0000.00920.10
8.1.280.0060.01625.92
8.1.270.0060.00325.79
8.1.260.0060.00328.09
8.1.250.0050.00328.09
8.1.240.0100.00725.71
8.1.230.0040.00819.90
8.1.220.0060.00319.68
8.1.210.0040.00419.36
8.1.200.0060.00319.48
8.1.190.0080.00419.25
8.1.180.0040.00419.78
8.1.170.0030.00520.73
8.1.160.0000.00823.80
8.1.150.0000.00820.61
8.1.140.0030.00521.68
8.1.130.0040.00419.96
8.1.120.0030.00519.93
8.1.110.0040.00419.84
8.1.100.0090.00019.51
8.1.90.0040.00419.77
8.1.80.0040.00419.77
8.1.70.0000.00719.83
8.1.60.0090.00019.97
8.1.50.0000.00919.94
8.1.40.0040.00420.02
8.1.30.0030.00620.09
8.1.20.0000.00819.98
8.1.10.0080.00019.95
8.1.00.0030.00620.00
8.0.300.0000.00819.16
8.0.290.0000.00819.00
8.0.280.0040.00420.27
8.0.270.0000.00819.50
8.0.260.0000.00719.41
8.0.250.0040.00419.14
8.0.240.0040.00419.25
8.0.230.0030.00618.96
8.0.220.0040.00419.04
8.0.210.0050.00319.43
8.0.200.0030.00319.21
8.0.190.0040.00419.07
8.0.180.0030.00519.20
8.0.170.0030.00619.15
8.0.160.0000.00818.93
8.0.150.0000.00819.03
8.0.140.0080.00019.11
8.0.130.0060.00013.36
8.0.120.0060.00319.36
8.0.110.0000.00819.34
8.0.100.0000.00818.99
8.0.90.0040.00419.00
8.0.80.0100.01319.25
8.0.70.0000.01019.40
8.0.60.0040.00419.37
8.0.50.0030.00519.26
8.0.30.0140.00619.43
8.0.20.0140.01319.42
8.0.10.0000.00819.04
8.0.00.0080.01019.13
7.4.330.0060.00016.67
7.4.320.0000.00718.94
7.4.300.0070.00318.91
7.4.290.0000.00719.04
7.4.280.0060.00319.14
7.4.270.0000.00818.96
7.4.260.0050.00318.75
7.4.250.0000.00919.06
7.4.240.0040.00318.99
7.4.230.0000.00718.97
7.4.220.0150.00918.96
7.4.210.0080.00818.96
7.4.200.0000.00719.03
7.4.160.0090.01618.60
7.4.150.0140.00618.71
7.4.140.0090.01218.87
7.4.130.0060.01518.72
7.4.120.0100.00718.84
7.4.110.0120.00918.94
7.4.100.0070.01118.74
7.4.90.0110.00718.71
7.4.80.0150.00919.39
7.4.70.0100.01318.80
7.4.60.0060.01018.72
7.4.50.0030.01418.64
7.4.40.0030.01518.46
7.4.30.0100.00918.59
7.4.00.0030.01317.63
7.3.330.0030.00513.05
7.3.320.0050.00013.23
7.3.310.0000.00718.49
7.3.300.0070.00018.56
7.3.290.0070.00918.63
7.3.280.0120.00618.49
7.3.270.0090.00918.59
7.3.260.0130.00618.89
7.3.250.0100.00918.60
7.3.240.0120.00718.82
7.3.230.0090.01218.53
7.3.210.0180.00718.77
7.3.200.0060.01118.49
7.3.190.0000.01818.68
7.3.180.0090.00918.75
7.3.170.0100.00718.54
7.3.160.0180.00018.72
7.2.330.0170.00318.70
7.2.320.0130.00918.54
7.2.310.0090.00918.77
7.2.300.0070.01118.78
7.2.290.0090.00918.84
7.2.60.0030.01019.25
7.2.00.0060.00621.93
7.1.200.0050.00817.93
7.1.100.0060.00920.44
7.1.70.0060.00919.52
7.1.60.0170.00719.61
7.1.50.0100.01319.46
7.1.00.0100.07325.12
7.0.200.0000.00919.39
7.0.60.0100.03322.30
7.0.50.0130.07717.83
7.0.40.0100.06022.36
7.0.30.0200.07022.58
7.0.20.0300.07322.28
7.0.10.0200.07322.32
7.0.00.0070.04022.45
5.6.280.0000.07023.57
5.6.210.0070.08023.03
5.6.200.0100.08318.13
5.6.190.0100.07322.86
5.6.180.3400.04322.86
5.6.170.0270.07722.56
5.6.160.0070.05322.75
5.6.150.0070.03718.12
5.6.140.0070.07318.17
5.6.130.0030.08318.11
5.6.120.0070.06023.44
5.6.110.0030.07723.34
5.6.100.0070.03723.73
5.6.90.0070.06023.58
5.6.80.0030.08023.10
5.5.350.3770.03322.82
5.5.340.0130.07017.96
5.5.330.0030.08322.51
5.5.320.0000.09022.66
5.5.310.0100.05722.61
5.5.300.0170.07017.94
5.5.290.0000.04317.95
5.5.280.0070.04323.43
5.5.270.0070.05023.20
5.5.260.0130.08023.50
5.5.250.0070.07023.15
5.5.240.0200.05722.81

preferences:
61.75 ms | 400 KiB | 5 Q