3v4l.org

run code in 300+ PHP versions simultaneously
<?php $format = new MessageFormatter('en_US', 'Italy owns {0, plural, =0{no acres} =1{# acre} other{# acres}} of land!'); echo $format->format([0]), "\n"; echo $format->format([1]), "\n"; echo $format->format([2]), "\n";

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.0120.00920.56
8.3.50.0040.01118.64
8.3.40.0160.00020.06
8.3.30.0110.00420.26
8.3.20.0080.00021.56
8.3.10.0080.00024.95
8.3.00.0030.00320.88
8.2.180.0030.01318.75
8.2.170.0120.00322.96
8.2.160.0070.00721.75
8.2.150.0000.00824.18
8.2.140.0050.00524.66
8.2.130.0070.00726.16
8.2.120.0080.00023.68
8.2.110.0050.00520.83
8.2.100.0040.00819.53
8.2.90.0100.00019.78
8.2.80.0000.00820.54
8.2.70.0040.00419.25
8.2.60.0060.00319.38
8.2.50.0000.00819.25
8.2.40.0060.00320.03
8.2.30.0000.00919.76
8.2.20.0030.00619.43
8.2.10.0040.00419.92
8.2.00.0000.00819.48
8.1.270.0090.00023.51
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00023.57
8.1.230.0080.00424.44
8.1.220.0060.00319.53
8.1.210.0000.01120.62
8.1.200.0030.00619.10
8.1.190.0030.00619.10
8.1.180.0140.00019.10
8.1.170.0000.00819.23
8.1.160.0030.00520.11
8.1.150.0090.00020.01
8.1.140.0040.00419.20
8.1.130.0040.00419.66
8.1.120.0040.00419.46
8.1.110.0080.00019.53
8.1.100.0040.00419.49
8.1.90.0040.00419.51
8.1.80.0050.00219.48
8.1.70.0050.00219.07
8.1.60.0050.00519.49
8.1.50.0090.00019.55
8.1.40.0060.00319.43
8.1.30.0090.00019.63
8.1.20.0050.00319.68
8.1.10.0030.00519.61
8.1.00.0000.00819.37
8.0.300.0000.00821.33
8.0.290.0110.00018.38
8.0.280.0080.00019.74
8.0.270.0000.00719.07
8.0.260.0030.00318.98
8.0.250.0020.00518.82
8.0.240.0060.00318.81
8.0.230.0080.00518.61
8.0.220.0090.00018.62
8.0.210.0040.00418.73
8.0.200.0070.00018.75
8.0.190.0040.00818.84
8.0.180.0040.00418.65
8.0.170.0090.00018.73
8.0.160.0040.00418.61
8.0.150.0000.00818.55
8.0.140.0040.00418.73
8.0.130.0000.00613.36
8.0.120.0000.00818.57
8.0.110.0000.00818.96
8.0.100.0070.00319.03
8.0.90.0000.01018.86
8.0.80.0070.01018.91
8.0.70.0030.00518.92
8.0.60.0000.00818.87
8.0.50.0090.00018.80
8.0.30.0140.01019.05
8.0.20.0070.01319.19
8.0.10.0000.00818.90
8.0.00.0100.01018.90
7.4.330.0000.00615.00
7.4.320.0040.00418.58
7.4.300.0000.00618.46
7.4.290.0000.00818.53
7.4.280.0060.00318.48
7.4.270.0000.00718.45
7.4.260.0000.00718.42
7.4.250.0050.00318.46
7.4.240.0020.00618.61
7.4.230.0080.00018.68
7.4.220.0080.01118.65
7.4.210.0110.00318.38
7.4.200.0000.00718.47
7.4.160.0080.00818.21
7.4.150.0170.00718.34
7.4.140.0090.01118.40
7.4.130.0080.01218.34
7.4.120.0090.01318.28
7.4.110.0130.00718.41
7.4.100.0060.01218.71
7.4.90.0050.01518.68
7.4.80.0130.00619.39
7.4.70.0070.01018.29
7.4.60.0080.00818.28
7.4.50.0040.00418.49
7.4.40.0000.01818.55
7.4.30.0060.01118.38
7.4.00.0070.01017.04
7.3.330.0000.00513.21
7.3.320.0020.00213.25
7.3.310.0040.00418.18
7.3.300.0070.00018.25
7.3.290.0120.00918.18
7.3.280.0100.01018.17
7.3.270.0100.01018.20
7.3.260.0060.01218.13
7.3.250.0160.00118.35
7.3.240.0130.01018.25
7.3.230.0070.01218.43
7.3.210.0060.01318.05
7.3.200.0140.00419.39
7.3.190.0070.01018.17
7.3.180.0100.00718.25
7.3.170.0070.01118.53
7.3.160.0160.00018.40
7.2.330.0060.01218.44
7.2.320.0030.01418.16
7.2.310.0110.00718.81
7.2.300.0000.01718.62
7.2.290.0100.01418.57
7.2.60.0030.00918.79
7.1.200.0060.00917.74
7.1.100.0030.01220.02
7.1.70.0100.01419.21
7.1.60.0100.01719.29
7.1.50.0090.01619.07
7.1.00.0000.08024.54
7.0.200.0030.00619.07
7.0.140.0130.06724.18
7.0.60.0100.08021.83
7.0.50.0100.08017.81
7.0.40.0100.08721.75
7.0.30.0370.07021.72
7.0.20.0170.04721.72
7.0.10.0070.08021.88
7.0.00.0070.07021.96
5.6.280.0000.07323.05
5.6.210.0130.07322.55
5.6.200.0070.08018.23
5.6.190.0100.08322.01
5.6.180.0200.04022.61
5.6.170.1200.04722.03
5.6.160.0070.08722.09
5.6.150.0100.08318.18
5.6.140.0100.05718.20
5.6.130.0030.06318.16
5.6.120.0100.06022.95
5.6.110.0000.10022.88
5.6.100.0100.07022.73
5.6.90.0030.08722.84
5.6.80.0100.03722.10
5.5.350.0100.08022.28
5.5.340.0070.04017.88
5.5.330.0000.06022.00
5.5.320.0370.07722.18
5.5.310.0200.05022.00
5.5.300.0030.04017.89
5.5.290.0000.04317.89
5.5.280.0170.07722.86
5.5.270.0030.08722.43
5.5.260.0030.04022.82
5.5.250.0170.07722.43
5.5.240.0130.04322.25
5.4.450.0300.04320.98
5.4.440.0270.07321.08
5.4.430.0300.05021.16
5.4.420.0370.06321.18
5.4.410.0230.04020.93
5.4.400.0300.06720.75
5.4.390.0230.05020.74
5.4.380.0230.07020.78
5.4.370.0170.07320.73
5.4.360.0230.06320.84
5.4.350.0370.05020.96
5.4.340.0300.07020.85
5.4.320.0270.07020.93
5.4.310.0200.05720.93
5.4.300.0370.06320.73
5.4.290.0370.06320.77
5.4.280.0270.06720.95
5.4.270.0270.04020.73
5.4.260.0370.06320.96
5.4.250.0230.04020.65
5.4.240.0230.05020.77
5.4.230.0400.05320.84
5.4.220.0270.04020.73
5.4.210.0300.04720.64
5.4.200.0200.07720.76
5.4.190.0330.06720.83
5.4.180.0230.07320.95
5.4.170.0230.04720.76
5.4.160.0230.03320.75
5.4.150.0230.05720.67
5.4.140.0230.03718.15
5.4.130.0200.03718.35
5.4.120.0230.05318.08
5.4.110.0200.05018.23
5.4.100.0230.05318.34
5.4.90.0200.04018.13
5.4.80.0170.06018.30
5.4.70.0230.06318.12
5.4.60.0230.03318.13
5.4.50.0400.06318.02
5.4.40.0200.04018.10
5.4.30.0300.06718.23
5.4.20.0200.07718.11
5.4.10.0300.05718.20
5.4.00.0230.07317.63
5.3.290.0200.06014.54
5.3.280.0330.05714.64
5.3.270.0230.07014.45
5.3.260.0330.08014.59
5.3.250.0170.07014.70
5.3.240.0270.07314.63
5.3.230.0270.04014.44
5.3.220.0170.04714.54
5.3.210.0200.04014.42
5.3.200.0230.05714.52
5.3.190.0300.07014.52
5.3.180.0270.06714.40
5.3.170.0270.05714.41
5.3.160.0300.06314.42
5.3.150.0230.04014.61
5.3.140.0270.06714.51
5.3.130.0330.07014.48
5.3.120.0330.07014.43
5.3.110.0330.06714.60
5.3.100.0230.07714.02
5.3.90.0470.04013.93
5.3.80.0330.05313.89
5.3.70.0330.06013.98
5.3.60.0200.04013.98
5.3.50.0230.03713.97
5.3.40.0300.07013.99
5.3.30.0230.06013.91
5.3.20.0270.06313.67
5.3.10.0230.05313.44
5.3.00.0270.04013.67
5.2.170.0330.04712.70
5.2.160.0230.03712.70
5.2.150.0300.05012.70
5.2.140.0170.06712.70
5.2.130.0230.03712.70
5.2.120.0170.03312.70
5.2.110.0270.03012.70
5.2.100.0230.06012.70
5.2.90.0170.04712.70
5.2.80.0270.03012.70
5.2.70.0270.03312.70
5.2.60.0230.05312.70
5.2.50.0370.06012.70
5.2.40.0200.05712.70
5.2.30.0270.03712.70
5.2.20.0200.06012.70
5.2.10.0230.05312.70
5.2.00.0170.04312.70
5.1.60.0230.03712.70
5.1.50.0230.05012.70
5.1.40.0200.04312.70
5.1.30.0130.06012.70
5.1.20.0170.05312.70
5.1.10.0170.06012.70
5.1.00.0230.04312.70
5.0.50.0170.02712.70
5.0.40.0130.04312.70
5.0.30.0100.05712.70
5.0.20.0070.04312.70
5.0.10.0070.04312.70
5.0.00.0100.06012.70
4.4.90.0070.03312.70
4.4.80.0070.03312.70
4.4.70.0100.03312.70
4.4.60.0170.03012.70
4.4.50.0070.03312.70
4.4.40.0100.05012.70
4.4.30.0030.03712.70
4.4.20.0100.02012.70
4.4.10.0070.03312.70
4.4.00.0100.04012.70
4.3.110.0130.03012.70
4.3.100.0100.02012.70
4.3.90.0130.02712.70
4.3.80.0100.03712.70
4.3.70.0100.02712.70
4.3.60.0100.03012.70
4.3.50.0070.03012.70
4.3.40.0130.04312.70
4.3.30.0070.03712.70
4.3.20.0070.01712.70
4.3.10.0030.03312.70
4.3.00.0130.02312.70

preferences:
50.85 ms | 400 KiB | 5 Q