3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new MessageFormatter("en_US", "{0, number} monkeys on {1, number} trees"); $str = $fmt->format(array()); if(!$str) { echo "ERROR: ".$fmt->getErrorMessage() . " (" . $fmt->getErrorCode() . ")\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.0130.01020.43
8.3.50.0170.00320.58
8.3.40.0160.00320.18
8.3.30.0040.01120.04
8.3.20.0080.00020.16
8.3.10.0080.00023.02
8.3.00.0080.00023.45
8.2.180.0070.01725.92
8.2.170.0120.00620.37
8.2.160.0080.00822.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0050.00323.68
8.2.120.0040.00426.35
8.2.110.0030.00723.00
8.2.100.0090.00319.59
8.2.90.0060.00819.66
8.2.80.0050.00319.80
8.2.70.0040.00419.68
8.2.60.0000.00820.09
8.2.50.0050.00319.38
8.2.40.0000.00820.85
8.2.30.0000.00822.10
8.2.20.0090.00019.91
8.2.10.0030.00619.89
8.2.00.0000.00820.86
8.1.280.0040.01125.92
8.1.270.0090.00021.83
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0080.00823.55
8.1.230.0140.00722.71
8.1.220.0080.00019.53
8.1.210.0090.00619.23
8.1.200.0060.00619.10
8.1.190.0000.01019.10
8.1.180.0080.00019.38
8.1.170.0080.00020.46
8.1.160.0040.00420.38
8.1.150.0000.00920.44
8.1.140.0000.00820.32
8.1.130.0040.00419.31
8.1.120.0090.00319.27
8.1.110.0000.00819.46
8.1.100.0110.00319.41
8.1.90.0080.00519.44
8.1.80.0040.00419.58
8.1.70.0090.00419.51
8.1.60.0120.00619.26
8.1.50.0080.00819.27
8.1.40.0030.00519.55
8.1.30.0000.01119.72
8.1.20.0160.00319.64
8.1.10.0030.00519.41
8.1.00.0060.00319.29
8.0.300.0130.00021.01
8.0.290.0080.00018.75
8.0.280.0000.00719.99
8.0.270.0070.00018.68
8.0.260.0070.00018.55
8.0.250.0000.00918.75
8.0.240.0070.00018.89
8.0.230.0080.00018.64
8.0.220.0060.00318.67
8.0.210.0080.00018.76
8.0.200.0030.00618.71
8.0.190.0090.00018.92
8.0.180.0090.00418.67
8.0.170.0060.00318.70
8.0.160.0040.00718.57
8.0.150.0070.00418.48
8.0.140.0000.00818.62
8.0.130.0030.00313.32
8.0.120.0030.00518.85
8.0.110.0000.00718.96
8.0.100.0000.00819.03
8.0.90.0030.00519.12
8.0.80.0100.01018.94
8.0.70.0040.00418.68
8.0.60.0030.00618.93
8.0.50.0040.00419.11
8.0.30.0110.01019.12
8.0.20.0170.00719.19
8.0.10.0040.00418.80
8.0.00.0120.01418.75
7.4.330.0020.00215.55
7.4.320.0070.00018.58
7.4.300.0070.00018.59
7.4.290.0040.00418.47
7.4.280.0000.01218.47
7.4.270.0070.00318.51
7.4.260.0000.00718.48
7.4.250.0000.00818.55
7.4.240.0060.00318.63
7.4.230.0080.00018.70
7.4.220.0040.00418.50
7.4.210.0140.00418.61
7.4.200.0000.00818.63
7.4.160.0110.00918.46
7.4.140.0120.00818.58
7.4.130.0130.00718.59
7.4.120.0110.01018.34
7.4.110.0090.00918.36
7.4.100.0140.00418.44
7.4.90.0120.00818.60
7.4.80.0070.01019.39
7.4.70.0120.01218.42
7.4.60.0160.01018.20
7.4.50.0080.00818.68
7.4.40.0070.01318.61
7.4.00.0050.01116.97
7.3.330.0030.00313.16
7.3.320.0050.00013.11
7.3.310.0000.00718.21
7.3.300.0030.00318.21
7.3.290.0040.00418.27
7.3.280.0080.01118.36
7.3.260.0170.00618.28
7.3.240.0090.00918.58
7.3.230.0130.00418.31
7.3.210.0060.01318.27
7.3.200.0070.01018.41
7.3.190.0060.01018.35
7.3.180.0100.01018.53
7.3.170.0120.01218.43
7.3.160.0060.00918.55
7.3.120.0030.01216.64
7.3.110.0070.01016.86
7.3.100.0030.00716.75
7.3.90.0130.00616.79
7.3.80.0030.01416.66
7.3.70.0070.01116.94
7.3.60.0030.00917.08
7.3.50.0070.00716.78
7.3.40.0030.01016.83
7.3.30.0080.00616.85
7.3.20.0090.00618.36
7.3.10.0090.00618.23
7.3.00.0090.00618.41
7.2.330.0250.00018.78
7.2.320.0130.00618.52
7.2.310.0030.01718.34
7.2.300.0090.00918.71
7.2.290.0130.01018.29
7.2.250.0000.01716.96
7.2.240.0100.01016.96
7.2.230.0060.00916.85
7.2.220.0030.00717.00
7.2.210.0100.00616.90
7.2.200.0100.00016.86
7.2.190.0060.00916.71
7.2.180.0070.00716.68
7.2.170.0080.00417.06
7.2.100.4350.01316.09
7.2.90.4620.00716.33
7.2.80.2310.00316.36
7.2.70.3300.01016.82
7.2.60.3530.01316.64
7.2.50.2880.01016.42
7.2.40.3360.01616.24
7.2.30.3350.01616.40
7.2.20.3430.01016.41
7.2.10.3320.00716.48
7.2.00.3710.01016.66
7.1.330.0000.01317.44
7.1.320.0040.00717.69
7.1.310.0070.00717.52
7.1.300.0070.00717.56
7.1.290.0030.01017.36
7.1.280.0040.00417.60
7.1.270.0080.00317.48
7.1.260.0000.01417.82
7.1.210.4810.00315.44
7.1.200.3750.00715.60
7.1.190.2940.01615.77
7.1.180.3030.00015.16
7.1.170.3250.00715.17
7.1.160.4080.00715.61
7.1.150.3480.00715.71
7.1.140.3680.00615.47
7.1.130.3040.00615.55
7.1.120.3860.00315.57
7.1.110.3780.01015.44
7.1.100.3600.00715.60
7.1.90.3770.00315.80
7.1.80.3490.01316.05
7.1.70.3560.00916.02
7.1.60.3980.00331.66
7.1.50.4450.01031.62
7.1.40.5210.01031.83
7.1.30.0410.00931.77
7.1.20.1790.01031.56
7.1.10.2580.00315.62
7.1.00.4240.01315.53

preferences:
54.37 ms | 400 KiB | 5 Q