3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( msgfmt_format_message('en_GB', 'Peter has {0, plural, =0{no cat} =1{a cat} other{# cats}}', [0]), msgfmt_format_message('en_GB', 'Peter has {0, plural, =0{no cat} =1{a cat} other{# cats}}', [1]), msgfmt_format_message('en_GB', 'Peter has {0, plural, =0{no cat} =1{a cat} other{# cats}}', [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.0100.01018.61
8.3.50.0200.00822.09
8.3.40.0120.00420.04
8.3.30.0030.01219.94
8.3.20.0030.00621.72
8.3.10.0060.00324.88
8.3.00.0050.00324.93
8.2.180.0080.00820.22
8.2.170.0120.00322.96
8.2.160.0070.01423.65
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0030.00619.25
8.2.110.0070.00321.14
8.2.100.0070.00819.38
8.2.90.0000.00820.42
8.2.80.0030.00619.12
8.2.70.0030.00619.25
8.2.60.0030.00619.65
8.2.50.0110.00019.13
8.2.40.0060.00622.70
8.2.30.0160.00319.86
8.2.20.0030.00619.49
8.2.10.0060.00319.72
8.2.00.0020.00519.68
8.1.280.0120.00625.92
8.1.270.0060.00321.88
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00725.48
8.1.230.0060.00619.53
8.1.220.0050.00319.41
8.1.210.0080.00019.23
8.1.200.0030.00918.98
8.1.190.0060.00319.10
8.1.180.0080.00021.05
8.1.170.0110.00020.59
8.1.160.0000.00823.38
8.1.150.0000.00820.20
8.1.140.0050.00319.20
8.1.130.0000.00819.50
8.1.120.0040.00419.24
8.1.110.0030.00519.38
8.1.100.0070.00019.35
8.1.90.0040.00419.36
8.1.80.0030.00719.31
8.1.70.0000.00819.40
8.1.60.0030.00919.54
8.1.50.0030.00619.45
8.1.40.0040.00419.45
8.1.30.0140.00719.51
8.1.20.0000.00819.62
8.1.10.0000.00819.38
8.1.00.0080.00819.21
8.0.300.0040.00418.85
8.0.290.0040.00418.50
8.0.280.0060.00319.69
8.0.270.0060.00618.92
8.0.260.0070.00018.98
8.0.250.0000.00718.65
8.0.240.0080.00018.74
8.0.230.0020.00518.58
8.0.220.0040.00418.48
8.0.210.0040.00418.62
8.0.200.0070.00018.70
8.0.190.0000.00818.71
8.0.180.0040.00418.77
8.0.170.0000.00818.69
8.0.160.0040.00418.48
8.0.150.0030.00618.46
8.0.140.0110.00618.38
8.0.130.0030.00313.33
8.0.120.0030.00518.60
8.0.110.0080.00018.71
8.0.100.0030.00518.53
8.0.90.0040.00418.85
8.0.80.0170.00318.81
8.0.70.0040.00418.74
8.0.60.0030.00518.72
8.0.50.0040.00418.88
8.0.30.0130.00618.90
8.0.20.0080.01218.89
8.0.10.0080.00018.91
8.0.00.0130.00818.55
7.4.330.0000.00615.19
7.4.320.0080.00018.21
7.4.300.0030.00318.41
7.4.290.0000.00718.24
7.4.280.0060.00318.35
7.4.270.0070.00018.35
7.4.260.0000.01018.39
7.4.250.0070.00418.46
7.4.240.0020.00618.38
7.4.230.0040.00418.59
7.4.220.0030.01818.53
7.4.210.0030.01218.33
7.4.200.0070.00018.61
7.4.160.0070.01018.25
7.4.150.0070.01118.30
7.4.140.0160.01318.20
7.4.130.0110.01018.28
7.4.120.0100.01118.32
7.4.110.0070.01118.47
7.4.100.0060.01218.54
7.4.90.0090.00918.11
7.4.80.0110.00719.39
7.4.70.0140.00718.09
7.4.60.0030.01418.41
7.4.50.0000.00618.53
7.4.40.0110.00718.25
7.4.30.0090.00918.41
7.4.10.0100.01017.04
7.4.00.0040.01416.79
7.3.330.0000.00813.00
7.3.320.0000.00613.06
7.3.310.0000.00718.24
7.3.300.0050.00218.17
7.3.290.0080.00918.16
7.3.280.0080.01318.13
7.3.270.0130.00418.13
7.3.260.0110.00718.20
7.3.250.0080.01018.47
7.3.240.0090.01218.28
7.3.230.0340.00618.20
7.3.210.0110.00818.49
7.3.200.0120.00618.25
7.3.190.0140.00318.17
7.3.180.0110.01118.40
7.3.170.0150.00318.28
7.3.160.0030.01518.24
7.3.130.0070.01116.61
7.3.120.0040.01316.67
7.3.110.0090.00916.58
7.3.100.0090.00516.69
7.3.90.0080.00816.60
7.3.80.0060.00616.63
7.3.70.0050.00816.67
7.3.60.0050.00816.61
7.3.50.0040.01216.70
7.3.40.0100.00316.74
7.3.30.0050.00916.58
7.3.20.0050.01018.23
7.3.10.0090.00618.07
7.3.00.0060.01018.32
7.2.330.0100.01018.50
7.2.320.0120.00618.41
7.2.310.0070.01018.21
7.2.300.0110.00618.20
7.2.290.0100.00718.36
7.2.260.0070.01116.92
7.2.250.0090.00916.80
7.2.240.0060.01216.65
7.2.230.0080.00816.68
7.2.220.0020.01216.79
7.2.210.0060.00816.65
7.2.200.0060.00516.74
7.2.190.0090.00516.60
7.2.180.0060.00816.68
7.2.170.0060.00716.77
7.2.160.0060.00916.75
7.2.150.0000.01018.73
7.2.140.0070.00718.38
7.2.130.0070.00818.63
7.2.120.0010.00918.51
7.2.110.0020.01418.38
7.2.100.0050.00918.56
7.2.90.0060.00718.52
7.2.80.0050.00718.70
7.2.70.0040.01018.72
7.2.60.0060.00618.56
7.2.50.0040.00818.53
7.2.40.0050.01018.48
7.2.30.0030.01118.60
7.2.20.0070.00818.54
7.2.10.0050.01018.56
7.2.00.0090.00819.53
7.1.330.0080.00717.54
7.1.320.0040.00617.38
7.1.310.0080.00717.48
7.1.300.0070.00717.47
7.1.290.0040.00717.37
7.1.280.0060.00917.23
7.1.270.0060.00817.53
7.1.260.0030.01017.66
7.1.250.0070.00917.72
7.1.240.0050.00517.69
7.1.230.0000.01417.66
7.1.220.0020.01117.65
7.1.210.0060.00717.57
7.1.200.0030.01117.74
7.1.190.0080.00317.62
7.1.180.0040.00717.73
7.1.170.0040.00917.70
7.1.160.0090.00317.50
7.1.150.0050.00817.58
7.1.140.0040.01017.69
7.1.130.0040.01017.50
7.1.120.0020.00817.70
7.1.110.0020.01017.60
7.1.100.0080.00618.45
7.1.90.0050.00817.68
7.1.80.0030.00917.60
7.1.70.0050.00818.18
7.1.60.0080.00818.18
7.1.50.0090.00818.20
7.1.40.0060.00817.71
7.1.30.0050.00817.65
7.1.20.0050.00817.45
7.1.10.0070.00617.63
7.1.00.0080.02719.91
7.0.330.0040.00917.21
7.0.320.0070.00717.25
7.0.310.0080.00517.15
7.0.300.0030.01117.22
7.0.290.0040.00917.29
7.0.280.0050.00817.33
7.0.270.0090.00517.31
7.0.260.0090.00017.04
7.0.250.0060.00517.35
7.0.240.0030.01117.36
7.0.230.0060.00817.27
7.0.220.0040.01117.23
7.0.210.0070.00717.15
7.0.200.0070.00517.80
7.0.190.0040.00717.27
7.0.180.0080.00517.40
7.0.170.0100.00317.38
7.0.160.0040.00717.33
7.0.150.0060.00917.29
7.0.140.0020.00917.27
7.0.130.0060.00817.19
7.0.120.0020.01017.03
7.0.110.0060.00617.00
7.0.100.0050.00916.97
7.0.90.0030.01017.32
7.0.80.0100.00516.92
7.0.70.0050.00617.21
7.0.60.0040.03018.75
7.0.50.0060.02217.40
7.0.40.0050.02117.35
7.0.30.0120.02817.43
7.0.20.0110.03317.33
7.0.10.0040.03017.41
7.0.00.0030.02217.38
5.6.400.0070.00316.07
5.6.390.0050.00316.07
5.6.380.0080.00616.12
5.6.370.0050.00716.08
5.6.360.0070.00916.17
5.6.350.0050.00915.98
5.6.340.0030.01016.33
5.6.330.0070.00615.74
5.6.320.0030.00816.23
5.6.310.0060.00816.14
5.6.300.0030.00816.16
5.6.290.0050.01016.20
5.6.280.0050.02618.36
5.6.270.0070.00616.34
5.6.260.0020.00916.18
5.6.250.0110.00116.13
5.6.240.0050.01016.22
5.6.230.0060.00616.07
5.6.220.0060.00616.00
5.6.210.0040.01618.16
5.6.200.0030.02516.73
5.6.190.0010.02518.10
5.6.180.0190.03218.14
5.6.170.0130.01818.06
5.6.160.0010.04218.05
5.6.150.0070.02316.70
5.6.140.0080.03116.84
5.6.130.0080.01616.79
5.6.120.0080.01718.30
5.6.110.0080.02818.34
5.6.100.0040.02518.40
5.6.90.0060.03218.43
5.6.80.0060.02218.19
5.6.70.0080.01016.07
5.6.60.0050.01016.08
5.6.50.0070.00916.21
5.6.40.0090.00715.84
5.6.30.0100.00516.12
5.6.20.0000.01315.93
5.6.10.0050.00816.00
5.6.00.0080.00716.05
5.5.380.0030.00613.57
5.5.370.0030.00913.67
5.5.360.0080.00313.69
5.5.350.0130.02716.54
5.5.340.0040.02315.12
5.5.330.0060.02916.32
5.5.320.0130.02716.56
5.5.310.0120.03016.47
5.5.300.0060.03215.11
5.5.290.0060.01615.05
5.5.280.0050.03016.64
5.5.270.0040.03216.69
5.5.260.0030.01716.57
5.5.250.0030.01916.59
5.5.240.0010.02816.50
5.5.230.0070.00613.57
5.5.220.0050.00813.43
5.5.210.0060.00213.66
5.5.200.0050.00313.53
5.5.190.0030.00913.63
5.5.180.0040.00613.58
5.5.170.0060.00913.54
5.5.160.0020.01213.64
5.5.150.0050.01013.41
5.5.140.0050.00613.56
5.5.130.0050.00513.65
5.5.120.0020.00613.59
5.5.110.0020.00713.43
5.5.100.0080.00513.59
5.5.90.0030.01013.63
5.5.80.0060.00713.57
5.5.70.0050.00613.59
5.5.60.0060.00513.64
5.5.50.0030.00913.63
5.5.40.0080.00313.63
5.5.30.0070.00513.53
5.5.20.0090.00313.62
5.5.10.0050.00913.43
5.5.00.0070.00713.49
5.4.450.0090.02714.57
5.4.440.0360.02314.61
5.4.430.0330.02414.63
5.4.420.0300.02814.64
5.4.410.0330.01814.58
5.4.400.0250.02214.50
5.4.390.0270.02714.48
5.4.380.0240.02314.53
5.4.370.0210.02314.51
5.4.360.0240.02714.55
5.4.350.0110.01614.45
5.4.340.0110.02614.46
5.4.330.0060.00411.37
5.4.320.0060.02514.48
5.4.310.0130.01614.53
5.4.300.0280.02214.44
5.4.290.0250.01714.48
5.4.280.0110.02214.49
5.4.270.0080.02914.45
5.4.260.0090.03014.55
5.4.250.0110.02114.51
5.4.240.0150.02614.51
5.4.230.0140.01914.44
5.4.220.0140.02214.54
5.4.210.0180.02014.53
5.4.200.0110.02713.71
5.4.190.0120.02114.50
5.4.180.0090.02314.53
5.4.170.0100.02314.60
5.4.160.0090.02514.56
5.4.150.0120.02714.43
5.4.140.0080.02513.63
5.4.130.0100.02613.64
5.4.120.0100.02013.77
5.4.110.0080.02213.64
5.4.100.0140.02013.72
5.4.90.0120.01913.59
5.4.80.0080.02113.68
5.4.70.0120.02013.58
5.4.60.0080.02213.74
5.4.50.0090.02013.63
5.4.40.0090.01913.65
5.4.30.0140.02113.68
5.4.20.0090.02213.55
5.4.10.0090.02113.70
5.4.00.0130.02013.44
5.3.290.0150.02712.91
5.3.280.0170.02412.80
5.3.270.0150.02812.83
5.3.260.0100.03412.94
5.3.250.0110.03212.81
5.3.240.0180.03512.87
5.3.230.0190.02312.80
5.3.220.0080.03212.79
5.3.210.0070.04012.81
5.3.200.0150.03512.80
5.3.190.0100.03312.77
5.3.180.0130.02712.79
5.3.170.0150.02812.80
5.3.160.0120.02512.84
5.3.150.0100.03012.79
5.3.140.0140.02812.79
5.3.130.0170.03212.78
5.3.120.0070.03512.85
5.3.110.0150.03712.83
5.3.100.0120.02912.65
5.3.90.0170.02212.52
5.3.80.0110.02812.54
5.3.70.0080.02812.51
5.3.60.0080.03412.56
5.3.50.0120.03312.48
5.3.40.0130.03012.46
5.3.30.0160.02312.48
5.3.20.0030.03512.32
5.3.10.0120.02612.30
5.3.00.0100.02812.33
5.2.170.0100.02211.13
5.2.160.0070.02511.19
5.2.150.0100.02211.13
5.2.140.0130.02411.24
5.2.130.0100.02211.06
5.2.120.0080.02211.18
5.2.110.0120.02011.13
5.2.100.0080.02011.04
5.2.90.0010.02811.11
5.2.80.0160.02311.06
5.2.70.0100.03211.05
5.2.60.0130.02811.10
5.2.50.0080.02311.09
5.2.40.0110.01811.01
5.2.30.0050.03411.12
5.2.20.0160.02711.07
5.2.10.0120.02511.00
5.2.00.0050.02310.87
5.1.60.0060.01810.63
5.1.50.0030.02210.55
5.1.40.0080.01810.51
5.1.30.0020.02510.80
5.1.20.0100.02310.72
5.1.10.0120.01510.57
5.1.00.0070.02110.61
5.0.50.0080.0149.80
5.0.40.0070.0209.78
5.0.30.0070.0309.64
5.0.20.0050.0189.76
5.0.10.0050.0179.75
5.0.00.0110.0189.74
4.4.90.0060.0169.60
4.4.80.0040.0139.60
4.4.70.0060.0129.60
4.4.60.0050.0159.60
4.4.50.0100.0139.60
4.4.40.0080.0229.60
4.4.30.0050.0179.60
4.4.20.0030.0209.60
4.4.10.0090.0149.60
4.4.00.0020.0259.60
4.3.110.0070.0129.60
4.3.100.0050.0139.60
4.3.90.0060.0119.60
4.3.80.0020.0239.60
4.3.70.0030.0129.60
4.3.60.0080.0109.60
4.3.50.0020.0159.60
4.3.40.0020.0219.60
4.3.30.0020.0149.60
4.3.20.0030.0139.60
4.3.10.0050.0129.60
4.3.00.0020.0139.13

preferences:
35.99 ms | 401 KiB | 5 Q