3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ("one", "two"); $b = array ("three"); if(in_array("one", array_merge($a,$b))){ echo "yes"; }

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.00718.18
8.3.50.0070.01321.27
8.3.40.0100.00718.71
8.3.30.0070.00720.15
8.3.20.0040.00420.34
8.3.10.0000.00721.08
8.3.00.0080.00023.52
8.2.180.0110.01116.50
8.2.170.0110.00622.96
8.2.160.0030.01020.38
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00721.04
8.2.110.0060.00321.05
8.2.100.0070.00417.91
8.2.90.0060.00319.25
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0070.00318.03
8.2.50.0000.00818.07
8.2.40.0060.00318.09
8.2.30.0040.00419.49
8.2.20.0050.00217.68
8.2.10.0040.00417.61
8.2.00.0000.00717.53
8.1.280.0070.00725.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0100.00328.09
8.1.240.0060.00322.02
8.1.230.0030.00917.42
8.1.220.0040.00418.77
8.1.210.0040.00418.85
8.1.200.0090.00017.22
8.1.190.0040.00417.41
8.1.180.0000.00818.10
8.1.170.0000.00818.41
8.1.160.0080.00018.88
8.1.150.0040.00418.55
8.1.140.0070.00017.39
8.1.130.0000.00717.86
8.1.120.0030.00317.29
8.1.110.0040.00417.37
8.1.100.0000.00717.36
8.1.90.0040.00417.33
8.1.80.0000.00817.36
8.1.70.0000.00717.32
8.1.60.0090.00017.50
8.1.50.0040.00417.30
8.1.40.0070.00017.45
8.1.30.0040.00417.43
8.1.20.0030.00617.57
8.1.10.0030.00517.48
8.1.00.0040.00417.38
8.0.300.0000.00819.89
8.0.290.0000.00717.05
8.0.280.0000.00718.42
8.0.270.0070.00017.16
8.0.260.0030.00316.86
8.0.250.0000.00716.86
8.0.240.0030.00816.88
8.0.230.0040.00416.76
8.0.220.0070.00016.82
8.0.210.0000.00716.78
8.0.200.0000.00716.75
8.0.190.0030.00316.90
8.0.180.0030.00616.89
8.0.170.0080.00016.71
8.0.160.0000.00716.84
8.0.150.0040.00416.77
8.0.140.0040.00416.78
8.0.130.0090.00013.25
8.0.120.0040.00416.64
8.0.110.0080.00016.79
8.0.100.0030.00516.68
8.0.90.0000.00816.82
8.0.80.0030.01316.82
8.0.70.0000.00716.77
8.0.60.0040.00416.62
8.0.50.0000.00816.80
8.0.30.0070.01117.13
8.0.20.0200.01817.40
8.0.10.0000.00716.99
8.0.00.0090.01116.79
7.4.330.0000.00616.79
7.4.320.0000.00716.43
7.4.300.0030.00316.48
7.4.290.0000.00616.45
7.4.280.0070.00016.40
7.4.270.0000.00716.54
7.4.260.0000.00513.23
7.4.250.0070.00016.38
7.4.240.0070.00016.36
7.4.230.0030.00316.27
7.4.220.0030.01416.44
7.4.210.0060.01116.53
7.4.200.0040.00416.55
7.4.190.0000.00716.52
7.4.160.0100.00616.36
7.4.150.0150.00317.40
7.4.140.0060.01217.86
7.4.130.0080.00816.52
7.4.120.0100.01016.36
7.4.110.0130.00316.38
7.4.100.0090.00816.52
7.4.90.0130.01016.50
7.4.80.0040.01519.39
7.4.70.0110.00516.47
7.4.60.0140.00816.48
7.4.50.0090.00016.54
7.4.40.0110.00422.77
7.4.30.0090.01316.33
7.4.00.0100.00715.00
7.3.330.0000.00512.89
7.3.320.0050.00012.97
7.3.310.0040.00416.19
7.3.300.0070.00016.14
7.3.290.0060.00916.06
7.3.280.0070.00916.15
7.3.270.0100.00717.40
7.3.260.0110.00618.24
7.3.250.0070.01116.35
7.3.240.0150.00316.48
7.3.230.0070.01016.41
7.3.210.0030.01316.15
7.3.200.0130.00319.39
7.3.190.0030.01216.26
7.3.180.0120.00616.22
7.3.170.0200.00316.27
7.3.160.0140.00716.14
7.3.120.0030.01014.75
7.2.330.0060.01216.58
7.2.320.0130.01016.23
7.2.310.0080.00916.58
7.2.300.0080.00816.52
7.2.290.0120.00616.32
7.2.60.0030.01016.62
7.2.00.0030.01018.92
7.1.200.0070.00415.63
7.1.100.0070.00318.10
7.1.70.0000.00917.17
7.1.60.0070.00719.17
7.1.50.0070.01716.98
7.1.00.0030.04322.36
7.0.200.0030.00716.74
7.0.140.0000.07722.07
7.0.100.0070.06719.96
7.0.90.0170.07319.97
7.0.80.0100.08020.00
7.0.70.0100.07719.89
7.0.60.0170.06319.93
7.0.50.0030.08020.21
7.0.40.0200.07020.09
7.0.30.0000.05320.07
7.0.20.0070.07020.09
7.0.10.0100.08720.06
7.0.00.0130.04720.03
5.6.280.0030.07321.06
5.6.250.0100.07720.69
5.6.240.0100.08320.70
5.6.230.0070.09320.63
5.6.220.0070.07320.52
5.6.210.0170.04320.75
5.6.200.0170.06721.04
5.6.190.0000.08721.01
5.6.180.0130.07720.93
5.6.170.0170.07721.07
5.6.160.0100.07321.09
5.6.150.0100.04020.99
5.6.140.0070.05020.99
5.6.130.0000.05321.06
5.6.120.0070.04721.13
5.6.110.0070.08021.04
5.6.100.0130.08021.13
5.6.90.0070.08320.92
5.6.80.0070.08020.55
5.6.70.0000.08020.32
5.6.60.0030.05020.40
5.6.50.0030.05720.36
5.6.40.0000.07720.38
5.6.30.0000.09020.41
5.6.20.0170.06720.40
5.6.10.0100.07720.39
5.6.00.0170.07320.45
5.5.380.0000.08720.40
5.5.370.0130.07720.39
5.5.360.0030.08320.34
5.5.350.0100.08320.39
5.5.340.0100.07320.94
5.5.330.0070.04720.76
5.5.320.0070.07720.87
5.5.310.0070.08020.93
5.5.300.0100.08020.91
5.5.290.0030.05320.73
5.5.280.0130.07320.80
5.5.270.0170.07720.91
5.5.260.0070.08020.82
5.5.250.0200.06720.63
5.5.240.0000.04720.30
5.5.230.0030.04320.24
5.5.220.0100.07720.10
5.5.210.0100.07320.25
5.5.200.0070.05320.28
5.5.190.0070.06320.12
5.5.180.0100.07320.18
5.5.160.0070.08020.20
5.5.150.0200.04719.94
5.5.140.0200.04719.98
5.5.130.0030.04720.16
5.5.120.0070.07720.27
5.5.110.0130.07320.14
5.5.100.0100.07320.07
5.5.90.0030.04320.07
5.5.80.0170.05320.07
5.5.70.0170.07320.06
5.5.60.0070.04720.14
5.5.50.0030.05719.96
5.5.40.0100.06720.11
5.5.30.0070.08020.14
5.5.20.0070.07020.04
5.5.10.0100.07320.07
5.5.00.0030.08020.12
5.4.450.0030.08319.36
5.4.440.0070.08319.27
5.4.430.0130.06319.29
5.4.420.0130.07319.39
5.4.410.0030.08019.27
5.4.400.0070.03718.98
5.4.390.0130.07018.98
5.4.380.0130.06318.79
5.4.370.0070.07718.97
5.4.360.0030.07718.79
5.4.350.0130.07318.82
5.4.340.0170.06719.07
5.4.320.0070.06318.96
5.4.310.0000.04719.00
5.4.300.0170.06018.78
5.4.290.0100.07319.03
5.4.280.0200.07018.93
5.4.270.0100.07318.81
5.4.260.0100.07019.03
5.4.250.0070.07719.09
5.4.240.0070.07319.14
5.4.230.0170.06319.04
5.4.220.0030.08018.81
5.4.210.0130.06719.02
5.4.200.0170.06319.02
5.4.190.0070.04018.77
5.4.180.0200.06319.07
5.4.170.0030.08019.13
5.4.160.0070.06719.21
5.4.150.0270.06019.11
5.4.140.0030.07316.37
5.4.130.0100.06716.27
5.4.120.0100.07016.37
5.4.110.0100.07316.29
5.4.100.0100.04016.43
5.4.90.0130.06716.43
5.4.80.0070.06716.50
5.4.70.0070.06716.37
5.4.60.0070.06716.24
5.4.50.0070.07016.34
5.4.40.0030.05316.29
5.4.30.0070.04016.21
5.4.20.0130.02716.20
5.4.10.0070.07316.30
5.4.00.0030.07015.57
5.3.290.0070.06714.63
5.3.280.0030.05714.60
5.3.270.0030.08314.59
5.3.260.0070.07014.52
5.3.250.0030.07714.54
5.3.240.0170.06314.61
5.3.230.0070.07714.54
5.3.220.0100.07314.41
5.3.210.0100.07314.52
5.3.200.0100.03314.53
5.3.190.0130.07314.41
5.3.180.0000.06314.55
5.3.170.0070.04014.51
5.3.160.0100.07014.41
5.3.150.0000.05314.53
5.3.140.0100.04014.53
5.3.130.0100.06714.43
5.3.120.0030.04314.40
5.3.110.0100.08314.50
5.3.100.0070.03713.88
5.3.90.0070.06714.00
5.3.80.0030.06314.02
5.3.70.0030.07013.80
5.3.60.0030.07313.96
5.3.50.0000.04713.94
5.3.40.0000.04013.80
5.3.30.0070.07013.82
5.3.20.0130.04013.55
5.3.10.0000.05313.64
5.3.00.0030.07013.60
5.2.170.0070.06312.17
5.2.160.0030.05712.17
5.2.150.0030.03712.17
5.2.140.0000.07012.17
5.2.130.0030.06012.17
5.2.120.0100.05312.17
5.2.110.0070.05712.17
5.2.100.0100.03312.17
5.2.90.0000.06712.17
5.2.80.0070.06312.17
5.2.70.0030.06012.17
5.2.60.0030.06312.17
5.2.50.0000.06012.17
5.2.40.0070.06012.17
5.2.30.0030.03312.17
5.2.20.0030.06312.17
5.2.10.0030.06012.17
5.2.00.0030.06012.17
5.1.60.0030.05712.17
5.1.50.0070.05012.17
5.1.40.0070.05312.17
5.1.30.0030.05712.17
5.1.20.0100.05712.17
5.1.10.0070.05312.17
5.1.00.0070.05012.17
5.0.50.0070.04312.17
5.0.40.0070.04012.17
5.0.30.0030.06712.17
5.0.20.0030.03712.17
5.0.10.0030.04712.17
5.0.00.0030.06312.17
4.4.90.0030.02012.17
4.4.80.0000.03712.17
4.4.70.0000.02012.17
4.4.60.0030.01712.17
4.4.50.0030.01712.17
4.4.40.0000.05312.17
4.4.30.0070.01712.17
4.4.20.0030.03312.17
4.4.10.0000.03712.17
4.4.00.0000.03712.17
4.3.110.0000.03712.17
4.3.100.0030.03312.17
4.3.90.0000.03712.17
4.3.80.0030.05012.17
4.3.70.0000.03312.17
4.3.60.0070.03012.17
4.3.50.0030.03312.17
4.3.40.0030.03712.17
4.3.30.0030.02312.17
4.3.20.0000.03712.17
4.3.10.0030.03312.17
4.3.00.0000.03712.17

preferences:
41.59 ms | 401 KiB | 5 Q