3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array=array('A-C','A-E','Yes or No'); $result=array_map("showresult",$array); function showresult($a){ echo $a."<br/>"; }

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.40.0040.01118.54
8.3.30.0080.00518.83
8.3.20.0040.00420.16
8.3.10.0070.00723.66
8.3.00.0040.01119.26
8.2.170.0030.01222.96
8.2.160.0070.01420.34
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0030.00622.23
8.2.110.0070.00322.04
8.2.100.0040.00717.91
8.2.90.0040.00419.03
8.2.80.0000.00718.04
8.2.70.0080.00017.38
8.2.60.0110.00017.91
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0050.00218.16
8.2.20.0070.00017.58
8.2.10.0080.00018.03
8.2.00.0000.00717.61
8.1.270.0000.00823.96
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0030.00624.03
8.1.230.0040.00819.08
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0100.00017.48
8.1.190.0040.00417.40
8.1.180.0080.00018.10
8.1.170.0050.00318.53
8.1.160.0040.00421.98
8.1.150.0090.00018.51
8.1.140.0000.00717.29
8.1.130.0040.00417.83
8.1.120.0000.00717.45
8.1.110.0000.00717.38
8.1.100.0000.00717.27
8.1.90.0000.00817.35
8.1.80.0000.00717.38
8.1.70.0000.00717.34
8.1.60.0040.00417.54
8.1.50.0080.00017.40
8.1.40.0030.00617.27
8.1.30.0050.00317.56
8.1.20.0050.00217.55
8.1.10.0070.00017.50
8.1.00.0070.00017.37
8.0.300.0000.00718.77
8.0.290.0000.00717.16
8.0.280.0070.00018.38
8.0.270.0070.00017.25
8.0.260.0030.00316.80
8.0.250.0000.00716.89
8.0.240.0000.00816.94
8.0.230.0070.00016.93
8.0.220.0070.00016.80
8.0.210.0000.00716.92
8.0.200.0000.00616.83
8.0.190.0040.00416.91
8.0.180.0000.00816.83
8.0.170.0000.00716.87
8.0.160.0000.00716.82
8.0.150.0000.00716.82
8.0.140.0000.00716.74
8.0.130.0050.00013.27
8.0.120.0000.00816.83
8.0.110.0050.00216.71
8.0.100.0040.00416.70
8.0.90.0040.00416.95
8.0.80.0110.01416.87
8.0.70.0000.00716.70
8.0.60.0040.00416.73
8.0.50.0040.00416.75
8.0.30.0120.00717.01
8.0.20.0110.00917.40
8.0.10.0040.00416.82
8.0.00.0060.01316.72
7.4.330.0000.00815.00
7.4.320.0060.00016.54
7.4.300.0030.00316.44
7.4.290.0000.00716.45
7.4.280.0080.00016.37
7.4.270.0030.00316.33
7.4.260.0000.00716.32
7.4.250.0040.00416.54
7.4.240.0030.00416.41
7.4.230.0040.00416.39
7.4.220.0110.00716.55
7.4.210.0090.00716.52
7.4.200.0040.00416.41
7.4.190.0000.00716.49
7.4.160.0120.00816.51
7.4.150.0080.00817.40
7.4.140.0150.01117.86
7.4.130.0090.00816.36
7.4.120.0090.00816.52
7.4.110.0120.01216.38
7.4.100.0150.00316.48
7.4.90.0100.00716.54
7.4.80.0060.01119.39
7.4.70.0080.00816.32
7.4.60.0110.00716.46
7.4.50.0040.00416.25
7.4.40.0040.01122.77
7.4.30.0030.01416.58
7.4.00.0060.01014.84
7.3.330.0030.00313.30
7.3.320.0070.00012.99
7.3.310.0050.00216.07
7.3.300.0070.00016.09
7.3.290.0080.00716.22
7.3.280.0070.00816.27
7.3.270.0090.00917.40
7.3.260.0100.01416.15
7.3.250.0130.00516.26
7.3.240.0060.01016.30
7.3.230.0090.00616.39
7.3.210.0070.01016.17
7.3.200.0050.01219.39
7.3.190.0080.00916.42
7.3.180.0090.00616.48
7.3.170.0100.00616.27
7.3.160.0070.01016.41
7.3.120.0060.00914.73
7.2.330.0100.00716.67
7.2.320.0130.00716.32
7.2.310.0130.01016.44
7.2.300.0060.01216.73
7.2.290.0070.01016.70
7.2.00.0040.00819.53
7.1.200.0040.00615.55
7.1.100.0000.01418.27
7.1.70.0040.00417.24
7.1.60.0120.01219.33
7.1.50.0160.00616.57
7.1.00.0030.07722.33
7.0.200.0110.00016.64
7.0.140.0070.07022.05
7.0.110.0170.08019.96
7.0.100.0230.06719.84
7.0.90.0170.08019.91
7.0.80.0200.07719.98
7.0.70.0170.07719.82
7.0.60.0100.08719.95
7.0.50.0130.07319.98
7.0.40.0170.07019.65
7.0.30.0070.06719.75
7.0.20.0070.07719.73
7.0.10.0000.08719.87
7.0.00.0030.08319.77
5.6.280.0000.07721.07
5.6.260.0070.07720.60
5.6.250.0100.07320.72
5.6.240.0070.08320.72
5.6.230.0070.08020.64
5.6.220.0070.07320.62
5.6.210.0130.07720.66
5.6.200.0070.08720.69
5.6.190.0030.08720.65
5.6.180.0070.06720.65
5.6.170.0070.05020.56
5.6.160.0070.07720.69
5.6.150.0100.06020.62
5.6.140.0130.07320.65
5.6.130.0170.03020.46
5.6.120.0170.07020.86
5.6.110.0000.05320.65
5.6.100.0100.08020.65
5.6.90.0100.08020.54
5.6.80.0100.03720.04
5.6.70.0130.07020.02
5.6.60.0200.06720.00
5.6.50.0130.07320.23
5.6.40.0130.04320.02
5.6.30.0100.04020.00
5.6.20.0070.08019.95
5.6.10.0030.05020.00
5.6.00.0070.04720.04
5.5.380.0000.08017.70
5.5.370.0100.07317.47
5.5.360.0030.08017.68
5.5.350.0100.07717.65
5.5.340.0100.07317.93
5.5.330.0170.04717.83
5.5.320.0100.08018.07
5.5.310.0070.05718.10
5.5.300.0200.07018.27
5.5.290.0030.07718.09
5.5.280.0030.08318.10
5.5.270.0130.06718.22
5.5.260.0130.04317.90
5.5.250.0000.05317.89
5.5.240.0030.08017.32
5.5.230.0070.07017.21
5.5.220.0100.07317.63
5.5.210.0130.07017.43
5.5.200.0000.05317.29
5.5.190.0070.07717.45
5.5.180.0000.08317.57
5.5.160.0000.04317.45
5.5.150.0000.08317.44
5.5.140.0030.06317.42
5.5.130.0030.07717.42
5.5.120.0030.07317.26
5.5.110.0000.06717.57
5.5.100.0070.07717.17
5.5.90.0130.07317.18
5.5.80.0030.08017.35
5.5.70.0070.07717.36
5.5.60.0070.07017.33
5.5.50.0030.07717.46
5.5.40.0000.05017.17
5.5.30.0000.08017.20
5.5.20.0100.07317.19
5.5.10.0170.06317.50
5.5.00.0100.07317.30
5.4.450.0100.06319.52
5.4.440.0100.07719.30
5.4.430.0100.07719.41
5.4.420.0100.06719.50
5.4.410.0070.05319.20
5.4.400.0200.06718.96
5.4.390.0000.05318.98
5.4.380.0030.07719.31
5.4.370.0170.06718.95
5.4.360.0030.07718.95
5.4.350.0030.08018.95
5.4.340.0070.04319.02
5.4.320.0000.07719.01
5.4.310.0030.05019.09
5.4.300.0030.07719.24
5.4.290.0000.08319.09
5.4.280.0170.06719.00
5.4.270.0070.07019.07
5.4.260.0070.08019.31
5.4.250.0130.07319.30
5.4.240.0070.07719.33
5.4.230.0130.07019.31
5.4.220.0100.07719.24
5.4.210.0230.06018.95
5.4.200.0170.06719.33
5.4.190.0100.06719.00
5.4.180.0100.07318.98
5.4.170.0130.07318.99
5.4.160.0030.08019.16
5.4.150.0130.07018.93
5.4.140.0200.06716.54
5.4.130.0000.08016.37
5.4.120.0000.06716.54
5.4.110.0070.04316.41
5.4.100.0070.07716.41
5.4.90.0070.04316.42
5.4.80.0100.07016.39
5.4.70.0170.06316.56
5.4.60.0100.03316.34
5.4.50.0030.07016.63
5.4.40.0070.07016.50
5.4.30.0000.06016.61
5.4.20.0100.07316.47
5.4.10.0000.07316.52
5.4.00.0000.06715.73
5.3.290.0030.05014.66
5.3.280.0030.08014.57
5.3.270.0070.06714.73
5.3.260.0200.06314.63
5.3.250.0130.04714.73
5.3.240.0070.07714.84
5.3.230.0070.07314.58
5.3.220.0070.07714.65
5.3.210.0070.07714.42
5.3.200.0030.07714.57
5.3.190.0100.07314.57
5.3.180.0130.06714.52
5.3.170.0070.08014.57
5.3.160.0070.07714.58
5.3.150.0070.08014.57
5.3.140.0030.07714.55
5.3.130.0100.07314.54
5.3.120.0100.08014.52
5.3.110.0030.08714.39
5.3.100.0000.04714.03
5.3.90.0100.03014.05
5.3.80.0030.03314.01
5.3.70.0000.04014.08
5.3.60.0100.03014.01
5.3.50.0030.03314.01
5.3.40.0000.04014.09
5.3.30.0030.03313.93
5.3.20.0000.03713.77
5.3.10.0000.03713.66
5.3.00.0030.03313.86
5.2.170.0000.03311.10
5.2.160.0100.02011.13
5.2.150.0070.02711.14
5.2.140.0030.02711.28
5.2.130.0070.02711.05
5.2.120.0030.02711.09
5.2.110.0000.03011.18
5.2.100.0070.02711.23
5.2.90.0000.02711.09
5.2.80.0000.03311.08
5.2.70.0070.03011.06
5.2.60.0070.03011.05
5.2.50.0000.06711.24
5.2.40.0070.03711.22
5.2.30.0070.03711.05
5.2.20.0030.03711.05
5.2.10.0030.05711.05
5.2.00.0000.06011.05
5.1.60.0000.05311.05
5.1.50.0030.05711.05
5.1.40.0000.04711.05
5.1.30.0030.05711.05
5.1.20.0000.05711.05
5.1.10.0030.02311.05
5.1.00.0100.03011.05
5.0.50.0000.02311.05
5.0.40.0030.01711.05
5.0.30.0000.05311.05
5.0.20.0000.02311.05
5.0.10.0000.02011.05
5.0.00.0030.03011.05
4.4.90.0000.02011.05
4.4.80.0030.01311.05
4.4.70.0030.02711.05
4.4.60.0000.03011.05
4.4.50.0030.03711.05
4.4.40.0030.05011.05
4.4.30.0030.03311.05
4.4.20.0030.03011.05
4.4.10.0000.03011.05
4.4.00.0000.02711.05
4.3.110.0030.03311.05
4.3.100.0000.02011.05
4.3.90.0000.01711.05
4.3.80.0000.02711.05
4.3.70.0000.02311.05
4.3.60.0000.01311.05
4.3.50.0030.01311.05
4.3.40.0030.04011.05
4.3.30.0000.02011.05
4.3.20.0030.02011.05
4.3.10.0000.01711.05
4.3.00.0000.01711.05

preferences:
34.26 ms | 400 KiB | 5 Q