3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'Duane'; $monthsAtMSE = 8; if($monthsAtMSE < 12){ echo $name . " has been at MSE for " . $monthsAtMSE . " months"; }

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.0070.00718.18
8.3.50.0130.00821.02
8.3.40.0140.00718.90
8.3.30.0160.00018.92
8.3.20.0080.00020.33
8.3.10.0180.00021.96
8.3.00.0080.00022.47
8.2.180.0120.00316.32
8.2.170.0040.01122.96
8.2.160.0170.00319.03
8.2.150.0160.00324.18
8.2.140.0050.00324.66
8.2.130.0100.00726.16
8.2.120.0080.00019.48
8.2.110.0100.00022.11
8.2.100.0080.00417.72
8.2.90.0040.00417.97
8.2.80.0060.00317.97
8.2.70.0050.00517.63
8.2.60.0000.00818.05
8.2.50.0030.00718.07
8.2.40.0050.00319.84
8.2.30.0040.00418.08
8.2.20.0040.00417.68
8.2.10.0040.00417.69
8.2.00.0040.00417.78
8.1.280.0070.00725.92
8.1.270.0110.00822.03
8.1.260.0030.01526.35
8.1.250.0070.00028.09
8.1.240.0030.00622.53
8.1.230.0100.00020.95
8.1.220.0030.00517.74
8.1.210.0000.00818.88
8.1.200.0030.00617.13
8.1.190.0000.00817.55
8.1.180.0030.00618.70
8.1.170.0000.00718.46
8.1.160.0040.00422.01
8.1.150.0050.00218.68
8.1.140.0030.00617.44
8.1.130.0000.00817.73
8.1.120.0000.00717.36
8.1.110.0070.00017.38
8.1.100.0040.00417.43
8.1.90.0070.00017.34
8.1.80.0030.00617.35
8.1.70.0030.00317.39
8.1.60.0040.00417.57
8.1.50.0030.00517.52
8.1.40.0060.00317.39
8.1.30.0070.00017.58
8.1.20.0000.00817.60
8.1.10.0030.00617.43
8.1.00.0050.00317.45
8.0.300.0030.00320.09
8.0.290.0000.00717.05
8.0.280.0070.00018.44
8.0.270.0050.00217.18
8.0.260.0000.00716.82
8.0.250.0070.00016.96
8.0.240.0000.00716.82
8.0.230.0000.00716.83
8.0.220.0070.00016.92
8.0.210.0030.00316.79
8.0.200.0060.00016.94
8.0.190.0050.00316.86
8.0.180.0030.00616.77
8.0.170.0040.00416.82
8.0.160.0000.00716.77
8.0.150.0040.00416.88
8.0.140.0070.00016.91
8.0.130.0030.00313.36
8.0.120.0040.00416.82
8.0.110.0080.00016.88
8.0.100.0030.00516.82
8.0.90.0000.00816.95
8.0.80.0100.00616.86
8.0.70.0000.00716.78
8.0.60.0020.00516.77
8.0.50.0040.00416.79
8.0.30.0120.00616.98
8.0.20.0100.00917.40
8.0.10.0000.00716.91
8.0.00.0120.00816.76
7.4.330.0020.00215.03
7.4.320.0000.00816.50
7.4.300.0030.00316.50
7.4.290.0000.00716.63
7.4.280.0040.00416.57
7.4.270.0000.00616.59
7.4.260.0000.00616.63
7.4.250.0000.00816.55
7.4.240.0040.00316.50
7.4.230.0000.00716.54
7.4.220.0070.01016.57
7.4.210.0060.00816.56
7.4.200.0030.00316.46
7.4.190.0030.00316.34
7.4.160.0100.00616.47
7.4.150.0100.00717.40
7.4.140.0070.01417.86
7.4.130.0100.01016.41
7.4.120.0080.00916.36
7.4.110.0140.00316.51
7.4.100.0170.00816.34
7.4.90.0100.01416.44
7.4.80.0070.01019.39
7.4.70.0090.01216.37
7.4.60.0070.01016.43
7.4.50.0000.00816.42
7.4.40.0070.01022.77
7.4.30.0220.03416.44
7.4.00.0050.01314.95
7.3.330.0030.00413.25
7.3.320.0000.00512.98
7.3.310.0030.00316.13
7.3.300.0060.00016.25
7.3.290.0070.00916.22
7.3.280.0070.00816.25
7.3.270.0080.01517.40
7.3.260.0110.01116.66
7.3.250.0100.00716.58
7.3.240.0120.00616.25
7.3.230.0140.00316.45
7.3.210.0170.00616.28
7.3.200.0060.01019.39
7.3.190.0100.00516.57
7.3.180.0090.00616.36
7.3.170.0070.01016.56
7.3.160.0060.00916.29
7.3.120.0060.00914.93
7.3.110.0100.00715.02
7.3.100.0080.00414.86
7.3.90.0060.00314.50
7.3.80.0030.01014.86
7.3.70.0030.01014.70
7.3.60.0030.01014.98
7.3.50.0040.00414.59
7.3.40.0100.00314.79
7.3.30.0120.00414.65
7.3.20.0100.00716.74
7.3.10.0090.00316.45
7.3.00.0090.00516.61
7.2.330.0120.00916.85
7.2.320.0100.00716.67
7.2.310.0190.00416.38
7.2.300.0120.00416.75
7.2.290.0070.01016.44
7.2.250.0000.02114.87
7.2.240.0070.01315.08
7.2.230.0080.00314.85
7.2.220.0110.00314.96
7.2.210.0000.01214.73
7.2.200.0060.00615.09
7.2.190.0060.00914.76
7.2.180.0060.00614.82
7.2.170.0070.01015.08
7.2.130.0000.01516.93
7.2.120.0060.00917.02
7.2.110.0070.00416.98
7.2.100.0030.01016.62
7.2.90.0080.00416.64
7.2.80.0090.00316.91
7.2.70.0080.00316.91
7.2.60.0070.00716.87
7.2.50.0060.00617.01
7.2.40.0070.00417.04
7.2.30.0070.00417.02
7.2.20.0000.01216.98
7.2.10.0070.00316.70
7.2.00.0060.00618.24
7.1.330.0060.00615.77
7.1.320.0030.00915.74
7.1.310.0040.01115.76
7.1.300.0140.00015.78
7.1.290.0070.00415.75
7.1.280.0030.01115.57
7.1.270.0060.00815.84
7.1.260.0130.00015.81
7.1.250.0060.00315.86
7.1.200.0060.00615.53
7.1.100.0030.00617.90
7.1.70.0040.01217.28
7.1.60.0130.01319.82
7.1.50.0130.00616.96
7.1.00.0030.05022.35
7.0.200.0070.00316.70
7.0.140.0000.07722.00
7.0.60.0030.09019.89
7.0.50.0130.07717.77
7.0.40.0100.09020.40
7.0.30.0270.08020.18
7.0.20.0200.07320.04
7.0.10.0130.05720.18
7.0.00.0000.09720.20
5.6.210.0030.08020.50
5.6.200.0070.08018.17
5.6.190.0000.05720.39
5.6.180.3830.04320.35
5.6.170.0270.04320.47
5.6.160.0100.07020.55
5.6.150.0130.07318.18
5.6.140.0100.08018.08
5.6.130.0030.08718.18
5.6.120.0070.05020.93
5.6.110.0070.08721.13
5.6.100.0000.08721.13
5.6.90.0070.06320.99
5.6.80.0230.06720.28
5.6.70.0270.08020.27
5.5.350.0300.07020.48
5.5.340.0170.06718.02
5.5.330.0000.04720.21
5.5.320.0170.06720.21
5.5.310.0170.04320.17
5.5.300.0100.06317.95
5.5.290.0000.04317.98
5.5.280.0100.04320.89
5.5.270.0100.08020.83
5.5.260.0030.08720.71
5.5.250.0170.07720.53
5.5.240.0070.07720.26
5.4.450.0730.05719.41
5.4.440.0800.05719.10
5.4.430.0000.06319.09
5.4.420.0670.05319.31
5.4.410.0830.05019.34
5.4.400.1370.05718.72
5.4.390.1100.06018.62
5.4.380.0270.05018.61
5.4.370.0170.05018.52
5.4.360.0200.04718.46
5.4.350.0030.06718.59
5.4.340.0230.04318.69
5.4.320.0060.03612.45
5.4.310.0030.04112.45
5.4.300.0080.04112.45
5.4.290.0070.03812.45
5.4.280.0060.03712.35
5.4.270.0060.03812.35
5.4.260.0130.04719.02
5.4.250.0000.06018.80
5.4.240.0170.05718.91
5.4.230.0170.06318.88
5.4.220.0100.05318.87
5.4.210.0200.04718.77
5.4.200.0200.06319.02
5.4.190.0100.07318.79
5.4.180.0230.06019.02
5.4.170.0130.05018.73
5.4.160.0030.06718.89
5.4.150.0100.07718.98
5.4.140.0170.06316.50
5.4.130.0130.04316.26
5.4.120.0070.05316.26
5.4.110.0170.04316.49
5.4.100.0100.04716.35
5.4.90.0070.04716.50
5.4.80.0100.04316.42
5.4.70.0030.05316.32
5.4.60.0070.05016.40
5.4.50.0130.04716.26
5.4.40.0100.04316.53
5.4.30.0070.04716.25
5.4.20.0100.07316.37
5.4.10.0070.05016.45
5.4.00.0100.04715.93
5.3.290.0050.04112.80
5.3.280.0030.06314.29
5.3.270.0100.05314.29
5.3.260.0100.07314.48
5.3.250.0270.05714.61
5.3.240.0070.07014.69
5.3.230.0130.04714.64
5.3.220.0030.06014.58
5.3.210.0030.05714.26
5.3.200.0100.04314.43
5.3.190.0070.05014.48
5.3.180.0100.05714.56
5.3.170.0030.07714.57
5.3.160.0070.05014.56
5.3.150.0200.06314.33
5.3.140.0100.04714.56
5.3.130.0170.05014.61
5.3.120.0200.05714.54
5.3.110.0170.04314.65
5.3.100.0200.05714.12
5.3.90.0030.05014.02
5.3.80.0030.05014.02
5.3.70.0030.05013.95
5.3.60.0130.04313.82
5.3.50.0070.04713.95
5.3.40.0030.05314.00
5.3.30.0070.04713.75
5.3.20.0100.04313.84
5.3.10.0030.05013.34
5.3.00.0030.05013.49
5.2.170.0030.04310.90
5.2.160.0070.04311.05
5.2.150.0030.04311.14
5.2.140.0030.04011.14
5.2.130.0030.04311.21
5.2.120.0030.04011.02
5.2.110.0070.03711.09
5.2.100.0030.04010.98
5.2.90.0030.04010.86
5.2.80.0100.05011.00
5.2.70.0030.04011.24
5.2.60.0030.04710.96
5.2.50.0030.04010.91
5.2.40.0000.04310.83
5.2.30.0070.04010.96
5.2.20.0070.04310.96
5.2.10.0130.03310.85
5.2.00.0070.04010.78
5.1.60.0030.03710.04
5.1.50.0030.0339.91
5.1.40.0000.0379.88
5.1.30.0030.03710.30
5.1.20.0000.04010.56
5.1.10.0070.03010.06
5.1.00.0000.04010.13
5.0.50.0030.0308.63
5.0.40.0100.0238.23
5.0.30.0000.0478.19
5.0.20.0030.0278.25
5.0.10.0030.0278.08
5.0.00.0000.0438.15
4.4.90.0000.0237.28
4.4.80.0070.0207.28
4.4.70.0030.0207.28
4.4.60.0000.0237.28
4.4.50.0030.0207.28
4.4.40.0000.0377.28
4.4.30.0030.0207.28
4.4.20.0000.0237.28
4.4.10.0030.0207.28
4.4.00.0070.0337.28
4.3.110.0000.0237.28
4.3.100.0000.0207.28
4.3.90.0030.0207.28
4.3.80.0030.0307.28
4.3.70.0030.0177.28
4.3.60.0030.0207.28
4.3.50.0030.0207.28
4.3.40.0000.0377.28
4.3.30.0000.0237.28
4.3.20.0000.0237.28
4.3.10.0000.0237.28
4.3.00.0070.0277.18

preferences:
50.51 ms | 401 KiB | 5 Q