3v4l.org

run code in 300+ PHP versions simultaneously
<? $it_ordinal_masculine = new NumberFormatter('ru', NumberFormatter::SPELLOUT); $it_ordinal_masculine->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-ordinal-masculine"); echo $it_ordinal_masculine->format(2); ?>

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.0110.01118.50
8.3.50.0100.00721.90
8.3.40.0090.00618.54
8.3.30.0070.01318.91
8.3.20.0070.00020.18
8.3.10.0050.00323.61
8.3.00.0050.00220.80
8.2.180.0120.00616.50
8.2.170.0100.01022.96
8.2.160.0140.00420.47
8.2.150.0030.00524.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.76
8.2.110.0070.00320.52
8.2.100.0070.00717.59
8.2.90.0080.00019.28
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0070.00417.80
8.2.50.0050.00318.07
8.2.40.0000.01018.16
8.2.30.0050.00317.98
8.2.20.0040.00417.45
8.2.10.0050.00217.91
8.2.00.0050.00217.41
8.1.280.0070.00725.92
8.1.270.0140.00423.82
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0100.00023.83
8.1.230.0090.00320.93
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0100.00618.43
8.1.160.0040.00421.91
8.1.150.0040.00418.50
8.1.140.0040.00417.30
8.1.130.0050.00217.75
8.1.120.0000.00717.37
8.1.110.0040.00417.23
8.1.100.0030.00317.19
8.1.90.0040.00417.27
8.1.80.0040.00417.27
8.1.70.0040.00417.17
8.1.60.0060.00317.43
8.1.50.0060.00317.22
8.1.40.0040.00417.37
8.1.30.0060.00617.44
8.1.20.0000.00717.53
8.1.10.0000.00717.34
8.1.00.0040.00417.38
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0030.00318.29
8.0.270.0040.00417.11
8.0.260.0030.00317.14
8.0.250.0030.00316.90
8.0.240.0030.00316.82
8.0.230.0050.00316.72
8.0.220.0000.00716.66
8.0.210.0070.00016.82
8.0.200.0000.00616.82
8.0.190.0000.00716.84
8.0.180.0000.00816.66
8.0.170.0000.00816.73
8.0.160.0030.00316.64
8.0.150.0040.00416.70
8.0.140.0070.00016.73
8.0.130.0000.00513.40
8.0.120.0050.00316.74
8.0.110.0040.00416.77
8.0.100.0090.00016.54
8.0.90.0000.00716.78
8.0.80.0060.00916.72
8.0.70.0000.00716.57
8.0.60.0050.00216.63
8.0.50.0000.00716.57
8.0.30.0070.01217.05
8.0.20.0070.01217.40
8.0.10.0080.00016.73
8.0.00.0050.01216.67
7.4.330.0030.00315.00
7.4.320.0070.00016.37
7.4.300.0030.00316.46
7.4.290.0030.00316.28
7.4.280.0030.00316.30
7.4.270.0000.00716.41
7.4.260.0040.00416.27
7.4.250.0000.00716.37
7.4.240.0040.00316.38
7.4.230.0040.00416.53
7.4.220.0120.00616.52
7.4.210.0120.00616.42
7.4.200.0030.00316.36
7.4.190.0000.00716.61
7.4.160.0080.00816.43
7.4.150.0060.01017.40
7.4.140.0120.00817.86
7.4.130.0080.01016.40
7.4.120.0100.01116.32
7.4.110.0090.00916.32
7.4.100.0100.00616.58
7.4.90.0060.01016.32
7.4.80.0030.01519.39
7.4.70.0070.01016.14
7.4.60.0060.00916.36
7.4.50.0040.00416.49
7.4.40.0000.02216.35
7.4.30.0130.00316.33
7.4.00.0060.00914.89
7.3.330.0060.00013.19
7.3.320.0020.00213.06
7.3.310.0030.00316.05
7.3.300.0030.00316.03
7.3.290.0070.01316.23
7.3.280.0110.00516.12
7.3.270.0100.00617.40
7.3.260.0180.00616.50
7.3.250.0110.00616.40
7.3.240.0090.00916.46
7.3.230.0130.00416.42
7.3.210.0150.00316.31
7.3.200.0120.00919.39
7.3.190.0030.01316.20
7.3.180.0080.00816.29
7.3.170.0090.00616.30
7.3.160.0100.00716.12
7.3.120.0000.01314.62
7.3.10.0100.01122.50
7.3.00.0080.01222.64
7.2.330.0100.01416.59
7.2.320.0110.00816.50
7.2.310.0100.01316.40
7.2.300.0100.00716.20
7.2.290.0100.00716.23
7.2.130.0070.01622.97
7.2.120.0100.01323.08
7.2.110.0070.01522.89
7.2.100.0040.01622.97
7.2.90.0090.01423.17
7.2.80.0100.01023.01
7.2.70.0070.01022.97
7.2.60.0070.01622.75
7.2.50.0080.01322.97
7.2.40.0130.00623.12
7.2.30.0080.01122.88
7.2.20.0100.01322.81
7.2.10.0050.01622.94
7.2.00.0070.01423.81
7.1.250.0100.01121.94
7.1.200.0070.01622.04
7.1.100.0150.01224.21
7.1.70.0070.02123.03
7.1.60.0100.01023.52
7.1.50.0120.00923.44
7.1.00.0100.08028.75
7.0.200.0070.00723.17
7.0.140.0030.07728.43
7.0.60.0000.07326.37
7.0.50.0070.08017.86
7.0.40.0130.05026.55
7.0.30.0230.05025.78
7.0.20.0100.05325.96
7.0.10.0130.08326.07
7.0.00.0030.08025.88
5.6.280.0030.08026.99
5.6.210.0130.09026.95
5.6.200.0070.06018.12
5.6.190.0070.04326.66
5.6.180.0270.07726.56
5.6.170.0330.08026.48
5.6.160.0070.08326.33
5.6.150.0030.09318.12
5.6.140.0030.08018.21
5.6.130.0130.08318.17
5.6.120.0170.08327.05
5.6.110.0070.06727.55
5.6.100.0030.08727.37
5.6.90.0030.09027.24
5.6.80.0000.08026.70
5.5.350.0300.07026.73
5.5.340.0030.04318.02
5.5.330.0130.04326.20
5.5.320.0400.06726.39
5.5.310.0330.07326.52
5.5.300.0030.04018.00
5.5.290.0000.05017.86
5.5.280.0070.05027.13
5.5.270.0130.08727.21
5.5.260.0030.09027.18
5.5.250.0070.08027.07
5.5.240.0200.07326.57
5.4.450.0400.04721.75
5.4.440.1200.03021.70
5.4.430.1030.04321.75
5.4.420.0770.03321.70
5.4.410.0170.04321.75
5.4.400.0470.03321.22
5.4.390.1100.04021.21
5.4.380.0300.05721.05
5.4.370.0270.05721.12
5.4.360.0300.05020.88
5.4.350.0330.06021.11
5.4.340.0230.05721.08
5.4.320.0050.03812.45
5.4.310.0070.03812.45
5.4.300.0030.04112.45
5.4.290.0060.05312.45
5.4.280.0090.04312.34
5.4.270.0090.04012.34
5.4.260.0070.05812.34
5.4.250.0100.05012.35
5.4.240.0070.03812.35
5.4.230.0080.05412.34
5.4.220.0110.05512.34
5.4.210.0060.06012.34
5.4.200.0100.05912.34
5.4.190.0090.05212.34
5.4.180.0050.04512.34
5.4.170.0100.05612.35
5.4.160.0100.05012.34
5.4.150.0050.05612.34
5.4.140.0060.05112.02
5.4.130.0070.06412.01
5.4.120.0060.05611.96
5.4.110.0060.06011.96
5.4.100.0090.04911.96
5.4.90.0120.04911.96
5.4.80.0100.04111.96
5.4.70.0070.05411.96
5.4.60.0090.03611.96
5.4.50.0080.03611.96
5.4.40.0080.04111.95
5.4.30.0050.03811.95
5.4.20.0040.03911.94
5.4.10.0080.03411.94
5.4.00.0060.03711.44
5.3.290.0070.04312.80
5.3.280.0070.03912.71
5.3.270.0060.04512.73
5.3.260.0070.04312.72
5.3.250.0070.04012.72
5.3.240.0110.06412.72
5.3.230.0090.05612.71
5.3.220.0060.04412.68
5.3.210.0080.06412.68
5.3.200.0110.05012.68
5.3.190.0050.05412.68
5.3.180.0080.04612.67
5.3.170.0070.05312.66
5.3.160.0060.05412.67
5.3.150.0140.05512.67
5.3.140.0080.04912.66
5.3.130.0110.05312.66
5.3.120.0070.05812.66
5.3.110.0060.04412.65
5.3.100.0060.04812.12
5.3.90.0080.05012.08
5.3.80.0080.05012.08
5.3.70.0190.06212.07
5.3.60.0170.05212.06
5.3.50.0180.06212.00
5.3.40.0070.05212.00
5.3.30.0070.04311.94
5.3.20.0070.03611.72
5.3.10.0070.05111.69
5.3.00.0060.05211.67
5.2.170.0050.0379.17
5.2.160.0040.0329.18
5.2.150.0060.0429.18
5.2.140.0070.0349.17
5.2.130.0090.0299.13
5.2.120.0080.0369.13
5.2.110.0060.0409.14
5.2.100.0090.0399.14
5.2.90.0060.0429.13
5.2.80.0070.0429.13
5.2.70.0070.0429.13
5.2.60.0090.0399.09
5.2.50.0050.0369.05
5.2.40.0030.0379.03
5.2.30.0040.0319.01
5.2.20.0030.0329.00
5.2.10.0060.0308.92
5.2.00.0030.0338.77
5.1.60.0030.0258.05
5.1.50.0040.0258.05
5.1.40.0050.0238.04
5.1.30.0040.0278.39
5.1.20.0100.0228.41
5.1.10.0060.0298.13
5.1.00.0050.0358.13
5.0.50.0010.0316.61
5.0.40.0050.0236.47
5.0.30.0050.0316.29
5.0.20.0050.0186.26
5.0.10.0040.0196.23
5.0.00.0060.0316.23
4.4.90.0050.0134.78
4.4.80.0010.0184.75
4.4.70.0030.0154.75
4.4.60.0030.0184.76
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0020.0174.76
4.4.20.0050.0144.85
4.4.10.0020.0174.84
4.4.00.0040.0264.76
4.3.110.0040.0154.67
4.3.100.0040.0144.67
4.3.90.0070.0264.64
4.3.80.0030.0294.58
4.3.70.0020.0214.63
4.3.60.0030.0154.62
4.3.50.0030.0154.63
4.3.40.0040.0324.53
4.3.30.0020.0153.28
4.3.20.0030.0153.26
4.3.10.0050.0183.21
4.3.00.0170.01316.15

preferences:
51.66 ms | 401 KiB | 5 Q