3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = new NumberFormatter("en", NumberFormatter::ORDINAL ); echo $f->format(12);

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.00419.00
8.3.50.0100.01018.96
8.3.40.0080.00820.14
8.3.30.0100.00620.21
8.3.20.0080.00021.82
8.3.10.0080.00025.28
8.3.00.0040.00423.70
8.2.180.0130.00919.13
8.2.170.0090.00622.96
8.2.160.0070.00720.76
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00021.37
8.2.120.0040.00426.35
8.2.110.0040.00721.97
8.2.100.0210.00019.71
8.2.90.0040.00420.64
8.2.80.0030.00620.00
8.2.70.0060.00319.75
8.2.60.0040.00420.03
8.2.50.0060.00320.04
8.2.40.0000.00822.09
8.2.30.0080.00022.57
8.2.20.0030.00520.07
8.2.10.0030.00519.98
8.2.00.0050.00320.00
8.1.280.0140.00425.92
8.1.270.0080.00023.62
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0110.00725.73
8.1.230.0120.00019.89
8.1.220.0030.00519.76
8.1.210.0030.00519.12
8.1.200.0040.00419.35
8.1.190.0000.00819.35
8.1.180.0040.00419.53
8.1.170.0030.00520.64
8.1.160.0030.00520.63
8.1.150.0040.00422.22
8.1.140.0000.00821.66
8.1.130.0000.00820.36
8.1.120.0060.00319.77
8.1.110.0000.00819.63
8.1.100.0060.00319.79
8.1.90.0040.00419.35
8.1.80.0030.00619.70
8.1.70.0040.00419.35
8.1.60.0030.00619.62
8.1.50.0040.00419.83
8.1.40.0060.00319.78
8.1.30.0000.00819.78
8.1.20.0030.01019.98
8.1.10.0060.00319.81
8.1.00.0040.00419.84
8.0.300.0040.00419.64
8.0.290.0040.00418.59
8.0.280.0040.00420.02
8.0.270.0050.00319.37
8.0.260.0070.00018.98
8.0.250.0020.00518.99
8.0.240.0030.00718.96
8.0.230.0080.00019.01
8.0.220.0040.00418.90
8.0.210.0040.00419.19
8.0.200.0000.00718.88
8.0.190.0050.00318.90
8.0.180.0030.00619.08
8.0.170.0000.00718.95
8.0.160.0030.00618.90
8.0.150.0000.00718.77
8.0.140.0000.00818.91
8.0.130.0000.00513.35
8.0.120.0040.00419.23
8.0.110.0020.00519.07
8.0.100.0040.00418.88
8.0.90.0000.00918.72
8.0.80.0110.01119.07
8.0.70.0080.00019.11
8.0.60.0000.00819.27
8.0.50.0080.00019.00
8.0.30.0120.00919.14
8.0.20.0170.00719.38
8.0.10.0080.00019.22
8.0.00.0110.00718.73
7.4.330.0020.00215.55
7.4.320.0070.00018.91
7.4.300.0000.00718.85
7.4.290.0050.00318.75
7.4.280.0040.00418.91
7.4.270.0000.00718.95
7.4.260.0030.00518.76
7.4.250.0040.00418.76
7.4.240.0000.00718.79
7.4.230.0040.00418.97
7.4.220.0030.01718.79
7.4.210.0120.00318.96
7.4.200.0050.00218.93
7.4.160.0100.00818.56
7.4.150.0120.00618.70
7.4.140.0120.00718.58
7.4.130.0100.01018.74
7.4.120.0110.00918.73
7.4.110.0060.01218.86
7.4.100.0110.01118.56
7.4.90.0060.01218.86
7.4.80.0090.00919.39
7.4.70.0060.01018.71
7.4.60.0120.00518.47
7.4.50.0080.01118.63
7.4.40.0080.00818.60
7.4.30.0060.01318.71
7.4.00.0090.00616.92
7.3.330.0070.00013.00
7.3.320.0000.00513.02
7.3.310.0070.00018.50
7.3.300.0040.00418.52
7.3.290.0050.00918.47
7.3.280.0100.00918.50
7.3.270.0070.01918.79
7.3.260.0080.01218.74
7.3.250.0110.00918.58
7.3.240.0080.01318.58
7.3.230.0100.01618.57
7.3.210.0130.00418.44
7.3.200.0060.01218.67
7.3.190.0060.01218.44
7.3.180.0140.00818.72
7.3.170.0110.00718.70
7.3.160.0000.01718.85
7.2.330.0090.00918.85
7.2.320.0140.00318.63
7.2.310.0100.00718.71
7.2.300.0120.00618.84
7.2.290.0150.00719.05
7.2.60.0420.01119.04
7.2.00.0070.00321.90
7.1.200.0000.01318.08
7.1.100.0100.00020.52
7.1.70.0040.01919.28
7.1.60.0230.00734.95
7.1.50.0160.01337.16
7.1.40.0340.01034.18
7.1.30.0310.00334.39
7.1.20.0170.01434.33
7.1.10.0060.01219.03
7.1.00.0070.00718.73
7.0.200.0040.01119.15
7.0.190.0000.01319.06
7.0.180.0080.00518.77
7.0.170.0000.01518.69
7.0.160.0060.01218.89
7.0.150.0070.00718.70
7.0.140.0040.01118.61
7.0.130.0030.01018.90
7.0.120.0070.00718.54
7.0.110.0030.01618.48
7.0.100.0040.01118.65
7.0.90.0040.01018.27
7.0.80.0070.01318.37
7.0.70.0120.00918.46
7.0.60.0030.01218.40
7.0.50.0000.01418.37
7.0.40.0030.01218.54
7.0.30.0000.01418.50
7.0.20.0080.00518.81
7.0.10.0030.01018.60
7.0.00.0060.00918.81

preferences:
50.67 ms | 400 KiB | 5 Q