3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('be', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-ordinal-masculine"); 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.0180.00019.50
8.3.50.0210.00523.55
8.3.40.0100.00720.80
8.3.30.0160.00020.79
8.3.20.0060.00322.54
8.3.10.0000.00826.04
8.3.00.0070.00422.12
8.2.180.0170.00721.66
8.2.170.0120.00922.96
8.2.160.0040.01222.90
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0080.00322.18
8.2.120.0000.00826.35
8.2.110.0060.00624.70
8.2.100.0080.00620.47
8.2.90.0140.00720.63
8.2.80.0030.00620.38
8.2.70.0040.00720.80
8.2.60.0060.00620.79
8.2.50.0060.00320.49
8.2.40.0060.00322.92
8.2.30.0090.00322.93
8.2.20.0030.01020.59
8.2.10.0000.00920.84
8.2.00.0040.00820.83
8.1.280.0070.01425.92
8.1.270.0100.00024.27
8.1.260.0060.00328.09
8.1.250.0060.00328.09
8.1.240.0070.00426.30
8.1.230.0030.01021.99
8.1.220.0100.00020.52
8.1.210.0070.00320.00
8.1.200.0060.00919.97
8.1.190.0070.00419.85
8.1.180.0000.01019.97
8.1.170.0100.00021.34
8.1.160.0050.00524.28
8.1.150.0050.00921.10
8.1.140.0030.00722.33
8.1.130.0080.00420.57
8.1.120.0070.00720.38
8.1.110.0070.00720.30
8.1.100.0030.00720.42
8.1.90.0000.01020.42
8.1.80.0060.00620.34
8.1.70.0060.00320.24
8.1.60.0060.00320.53
8.1.50.0030.00620.48
8.1.40.0120.00420.40
8.1.30.0060.01220.55
8.1.20.0030.00720.39
8.1.10.0000.01020.49
8.1.00.0070.01020.42
8.0.300.0040.00423.84
8.0.290.0030.00619.63
8.0.280.0000.00920.72
8.0.270.0040.00720.04
8.0.260.0040.00820.11
8.0.250.0000.00919.74
8.0.240.0000.01120.02
8.0.230.0110.00419.71
8.0.220.0070.00419.56
8.0.210.0110.00019.79
8.0.200.0030.00619.76
8.0.190.0060.00319.68
8.0.180.0060.00619.84
8.0.170.0060.00319.79
8.0.160.0060.00319.61
8.0.150.0090.00319.57
8.0.140.0060.00619.52
8.0.130.0000.00513.28
8.0.120.0060.00619.70
8.0.110.0060.00319.80
8.0.100.0040.00719.64
8.0.90.0030.00619.67
8.0.80.0150.00819.68
8.0.70.0000.01219.80
8.0.60.0070.00219.82
8.0.50.0000.00919.90
8.0.30.0170.00619.88
8.0.20.0100.01219.97
8.0.10.0060.00619.78
8.0.00.0140.01019.50
7.4.330.0000.00516.82
7.4.320.0030.00619.43
7.4.300.0080.00419.54
7.4.290.0070.00319.58
7.4.280.0030.01019.57
7.4.270.0080.00519.25
7.4.260.0060.00619.53
7.4.250.0000.01019.54
7.4.240.0050.00619.50
7.4.230.0060.00319.70
7.4.220.0100.02419.52
7.4.210.0150.00619.16
7.4.200.0030.00719.55
7.4.160.0090.01219.00
7.4.150.0090.01219.33
7.4.140.0140.01019.25
7.4.130.0090.01919.36
7.4.120.0140.01319.33
7.4.110.0040.01719.07
7.4.100.0160.01619.46
7.4.90.0140.01119.27
7.4.80.0110.01119.39
7.4.70.0160.00619.14
7.4.60.0170.01019.21
7.4.50.0140.00419.14
7.4.40.0250.00319.35
7.4.30.0100.02119.11
7.4.10.0160.00617.73
7.4.00.0060.01717.69
7.3.330.0050.00013.19
7.3.320.0030.00313.00
7.3.310.0030.00619.06
7.3.300.0040.00718.97
7.3.290.0080.01018.98
7.3.280.0130.01119.08
7.3.270.0100.01019.32
7.3.260.0030.01619.15
7.3.250.0150.00919.25
7.3.240.0180.01219.07
7.3.230.0160.00319.42
7.3.210.0060.01919.36
7.3.200.0210.00719.14
7.3.190.0130.01219.19
7.3.180.0100.01419.30
7.3.170.0110.01119.43
7.3.160.0220.00618.95
7.3.130.0120.01217.54
7.3.120.0150.00717.53
7.3.110.0150.00717.49
7.3.100.0050.01117.57
7.3.90.0060.00517.72
7.3.80.0000.01417.97
7.3.70.0080.00517.66
7.3.60.0030.01217.48
7.3.50.0070.00717.68
7.3.40.0130.00317.53
7.3.30.0030.01317.80
7.3.20.0080.00719.31
7.3.10.0020.01419.16
7.3.00.0080.00819.13
7.2.330.0120.01219.59
7.2.320.0150.01119.54
7.2.310.0140.01419.71
7.2.300.0100.01719.63
7.2.290.0140.00919.50
7.2.260.0210.00417.70
7.2.250.0110.01117.95
7.2.240.0080.00817.81
7.2.230.0040.00917.78
7.2.220.0060.01117.88
7.2.210.0050.00817.93
7.2.200.0070.00717.86
7.2.190.0070.01017.87
7.2.180.0040.00917.72
7.2.170.0110.00317.94
7.2.160.0060.01317.62
7.2.150.0060.00619.32
7.2.140.0050.01019.58
7.2.130.0050.00819.68
7.2.120.0070.00719.58
7.2.110.0030.00919.67
7.2.100.0060.01119.67
7.2.90.0070.00819.50
7.2.80.0020.01419.56
7.2.70.0050.00719.46
7.2.60.0070.01019.46
7.2.50.0050.00819.28
7.2.40.0020.01019.50
7.2.30.0060.00919.53
7.2.20.0030.01419.55
7.2.10.0080.01019.71
7.2.00.0060.01020.59
7.1.330.0100.00618.38
7.1.320.0060.00818.45
7.1.310.0050.00618.40
7.1.300.0080.00618.36
7.1.290.0040.01118.62
7.1.280.0030.01218.55
7.1.270.0080.01118.49
7.1.260.0110.00518.49
7.1.250.0030.00818.46
7.1.240.0110.00718.36
7.1.230.0030.01018.50
7.1.220.0000.01418.40
7.1.210.0070.00718.37
7.1.200.0070.00818.55
7.1.190.0060.00618.21
7.1.180.0090.00318.63
7.1.170.0000.01718.60
7.1.160.0060.00618.79
7.1.150.0090.00618.27
7.1.140.0030.01318.45
7.1.130.0120.00918.70
7.1.120.0070.00318.41
7.1.110.0100.00718.38
7.1.100.0030.01219.82
7.1.90.0110.00418.47
7.1.80.0000.01018.39
7.1.70.0050.01119.26
7.1.60.0110.01319.23
7.1.50.0050.01319.14
7.1.40.0040.00818.33
7.1.30.0070.01018.93
7.1.20.0100.00618.45
7.1.10.0030.01218.76
7.1.00.0030.04521.81
7.0.330.0000.01518.36
7.0.320.0100.00618.07
7.0.310.0070.00718.50
7.0.300.0000.01018.32
7.0.290.0040.00918.34
7.0.280.0030.01218.50
7.0.270.0040.01618.54
7.0.260.0000.01518.46
7.0.250.0070.00718.61
7.0.240.0070.00718.32
7.0.230.0060.01018.44
7.0.220.0060.00618.28
7.0.210.0120.00618.61
7.0.200.0190.00717.82
7.0.190.0040.01218.02
7.0.180.0070.01018.59
7.0.170.0090.00618.61
7.0.160.0100.00718.49
7.0.150.0090.00918.22
7.0.140.0060.00918.45
7.0.130.0110.00318.16
7.0.120.0080.00818.55
7.0.110.0030.01518.35
7.0.100.0000.01418.12
7.0.90.0070.00717.99
7.0.80.0060.00318.21
7.0.70.0080.00418.26
7.0.60.0020.03820.66
7.0.50.0070.04918.02
7.0.40.0020.03919.48
7.0.30.0220.03819.44
7.0.20.0240.03619.46
7.0.10.0080.02519.60
7.0.00.0050.04819.31
5.6.400.0040.01417.68
5.6.390.0070.00317.66
5.6.380.0070.01117.15
5.6.370.0060.00917.70
5.6.360.0080.00417.63
5.6.350.0000.01017.79
5.6.340.0040.01517.70
5.6.330.0100.00417.38
5.6.320.0030.00617.22
5.6.310.0040.01217.40
5.6.300.0000.01017.13
5.6.290.0070.01017.16
5.6.280.0070.02820.87
5.6.270.0070.01017.71
5.6.260.0070.00417.64
5.6.250.0030.00917.58
5.6.240.0040.00817.44
5.6.230.0040.01117.39
5.6.220.0180.00017.46
5.6.210.0050.03920.34
5.6.200.0040.03417.70
5.6.190.0100.02220.18
5.6.180.0110.03320.24
5.6.170.0190.02820.28
5.6.160.0020.05220.38
5.6.150.0080.04317.85
5.6.140.0060.03217.78
5.6.130.0030.03717.69
5.6.120.0080.03320.82
5.6.110.0130.04320.78
5.6.100.0080.04720.55
5.6.90.0070.03520.64
5.6.80.0100.04720.46
5.6.70.0100.01317.30
5.6.60.0060.01517.58
5.6.50.0000.01917.50
5.6.40.0070.01117.20
5.6.30.0150.00417.26
5.6.20.0030.01617.30
5.6.10.0030.01417.55
5.6.00.0100.01017.50
5.5.380.0080.00817.65
5.5.370.0060.00917.54
5.5.360.0030.00717.10
5.5.350.1360.02320.47
5.5.340.0070.04417.74
5.5.330.0070.05020.25
5.5.320.0050.03220.33
5.5.310.0180.04020.21
5.5.300.0030.04017.57
5.5.290.0060.04617.68
5.5.280.0070.03920.71
5.5.270.0140.03520.45
5.5.260.0090.03720.17
5.5.250.0090.04320.45
5.5.240.0210.04020.17
5.5.230.0060.01617.63
5.5.220.0090.01217.52
5.5.210.0000.01417.26
5.5.200.0100.00716.95
5.5.190.0130.00317.29
5.5.180.0040.01117.55
5.5.170.0030.01417.48
5.5.160.0000.01517.20
5.5.150.0130.00317.36
5.5.140.0070.01017.56
5.5.130.0070.00717.30
5.5.120.0090.00316.95
5.5.110.0000.01517.53
5.5.100.0100.01017.42
5.5.90.0070.01017.48
5.5.80.0070.01017.39
5.5.70.0070.01017.25
5.5.60.0100.01017.13
5.5.50.0060.01317.39
5.5.40.0060.00617.21
5.5.30.0060.01017.46
5.5.20.0060.01016.95
5.5.10.0090.00916.79
5.5.00.0070.01017.24

preferences:
52.21 ms | 401 KiB | 5 Q