3v4l.org

run code in 300+ PHP versions simultaneously
<?php $entries = array( array("exoutdoorspaceplottotals" => "111 222 465"), array("exoutdoorspaceplottotals" => "666 123 412"), array("exoutdoorspaceplottotals" => "000 999"), ); $test = array(111, 465, 555, 666, 777); $counter = 0; while ($row = array_shift($entries)) { $plotsTotal1 = explode(' ', $row['exoutdoorspaceplottotals']); $plotsTotal2 = array_filter($plotsTotal1); $matches = array_intersect($test, $plotsTotal2); if (count($matches) > 0) { echo 'Entry ' . ++$counter . ' contains ' . implode(',', $matches) . "\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.0120.00318.30
8.3.50.0240.00222.06
8.3.40.0060.00918.77
8.3.30.0060.00919.21
8.3.20.0000.00720.18
8.3.10.0080.00021.86
8.3.00.0030.00522.52
8.2.180.0110.00416.63
8.2.170.0150.00022.96
8.2.160.0110.00420.88
8.2.150.0080.00024.18
8.2.140.0110.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00817.50
8.2.110.0090.00022.14
8.2.100.0060.00617.84
8.2.90.0040.00419.21
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0040.00418.03
8.2.50.0000.00818.07
8.2.40.0040.00418.22
8.2.30.0040.00718.00
8.2.20.0000.00817.79
8.2.10.0040.00417.74
8.2.00.0000.00917.75
8.1.280.0100.01025.92
8.1.270.0090.00022.23
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00423.91
8.1.230.0030.00719.10
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.22
8.1.190.0000.00817.41
8.1.180.0050.00318.10
8.1.170.0000.00818.57
8.1.160.0000.00721.97
8.1.150.0040.00418.54
8.1.140.0040.00417.36
8.1.130.0040.00417.82
8.1.120.0040.00417.37
8.1.110.0050.00317.35
8.1.100.0000.00717.45
8.1.90.0000.00817.32
8.1.80.0040.00417.45
8.1.70.0070.00017.36
8.1.60.0030.00617.62
8.1.50.0040.00417.50
8.1.40.0000.00717.53
8.1.30.0000.00817.54
8.1.20.0050.00317.49
8.1.10.0000.00917.58
8.1.00.0070.00017.54
8.0.300.0000.00718.77
8.0.290.0000.00817.18
8.0.280.0030.00318.43
8.0.270.0070.00017.22
8.0.260.0030.00316.79
8.0.250.0000.00716.85
8.0.240.0000.00716.86
8.0.230.0030.00516.85
8.0.220.0070.00016.83
8.0.210.0070.00016.88
8.0.200.0060.00016.95
8.0.190.0100.00016.82
8.0.180.0000.00816.93
8.0.170.0040.00416.82
8.0.160.0040.00416.75
8.0.150.0000.00716.75
8.0.140.0070.00016.89
8.0.130.0000.00613.30
8.0.120.0000.00816.83
8.0.110.0040.00416.87
8.0.100.0040.00416.91
8.0.90.0000.00716.69
8.0.80.0100.00716.82
8.0.70.0040.00416.89
8.0.60.0080.00016.95
8.0.50.0030.00316.84
8.0.30.0110.00717.13
8.0.20.0080.01017.40
8.0.10.0040.00416.97
8.0.00.0090.01016.96
7.4.330.0000.00515.00
7.4.320.0000.00616.50
7.4.300.0000.00616.60
7.4.290.0030.00316.49
7.4.280.0080.00016.51
7.4.270.0000.00716.61
7.4.260.0000.00716.45
7.4.250.0040.00416.46
7.4.240.0020.00516.54
7.4.230.0030.00316.65
7.4.220.0070.01016.54
7.4.210.0120.00616.65
7.4.200.0040.00416.25
7.4.190.0030.00316.56
7.4.160.0090.00616.46
7.4.150.0190.00817.40
7.4.140.0090.01117.86
7.4.130.0170.00216.47
7.4.120.0070.01316.49
7.4.110.0120.01216.55
7.4.100.0120.01016.54
7.4.90.0090.01516.50
7.4.80.0090.00919.39
7.4.70.0110.00516.34
7.4.60.0080.00816.32
7.4.50.0040.00016.39
7.4.40.0000.01022.77
7.4.30.0060.00916.66
7.4.00.0060.00615.00
7.3.330.0050.00013.13
7.3.320.0000.00513.31
7.3.310.0000.00716.25
7.3.300.0070.00016.26
7.3.290.0200.00016.23
7.3.280.0130.00616.27
7.3.270.0170.00017.40
7.3.260.0040.01916.41
7.3.250.0110.00816.50
7.3.240.0080.00816.56
7.3.230.0130.00316.49
7.3.210.0100.00716.22
7.3.200.0180.00419.39
7.3.190.0140.00316.41
7.3.180.0160.00616.58
7.3.170.0150.00316.38
7.3.160.0100.00716.48
7.3.120.0070.00414.55
7.2.330.0070.01116.63
7.2.320.0130.01016.60
7.2.310.0090.00916.82
7.2.300.0100.00716.52
7.2.290.0120.00416.41
7.2.60.0030.01016.85
7.2.00.0000.01319.35
7.1.200.0070.00715.79
7.1.100.0880.01516.31
7.1.70.0040.00417.20
7.1.60.0030.01719.82
7.1.50.0040.00716.91
7.1.00.0000.07722.34
7.0.200.0110.00516.74
7.0.140.0000.07721.95
7.0.60.0030.08320.20
7.0.50.0030.07718.25
7.0.40.0100.07020.33
7.0.30.0200.07720.26
7.0.20.0300.07320.48
7.0.10.0270.07720.39
7.0.00.0200.07320.58
5.6.280.0100.07021.12
5.6.210.0100.08020.53
5.6.200.0000.06318.18
5.6.190.0000.06020.45
5.6.180.0030.08320.33
5.6.170.0230.04720.46
5.6.160.0070.07720.51
5.6.150.0070.08318.17
5.6.140.0030.07018.21
5.6.130.0070.03718.11
5.6.120.0070.06721.04
5.6.110.0130.07720.96
5.6.100.0030.04020.98
5.6.90.0070.03720.98
5.6.80.0200.07320.39
5.6.70.0300.06720.50
5.5.350.0030.08320.43
5.5.340.0070.05018.00
5.5.330.0030.07720.40
5.5.320.0370.07720.31
5.5.310.0330.04320.32
5.5.300.0070.08017.91
5.5.290.0070.08017.90
5.5.280.0170.03320.65
5.5.270.0100.06020.82
5.5.260.0070.08720.64
5.5.250.0000.04320.49
5.5.240.0030.08020.13
5.4.450.0570.05019.21
5.4.440.0570.04019.46
5.4.430.0230.04319.38
5.4.420.0430.04319.38
5.4.410.0070.06718.68
5.4.400.0070.06018.73
5.4.390.0100.05318.67
5.4.380.0100.05718.61
5.4.370.0130.05318.71
5.4.360.0130.05018.49
5.4.350.0230.04318.58
5.4.340.0170.05018.68
5.4.320.0080.03812.45
5.4.310.0060.03812.45
5.4.300.0060.03712.46
5.4.290.0080.03912.45
5.4.280.0080.03312.32
5.4.270.0090.03112.32
5.4.260.0050.03812.32
5.4.250.0060.03912.32
5.4.240.0050.03612.32
5.4.230.0030.04312.31
5.4.220.0050.04312.31
5.4.210.0070.03512.31
5.4.200.0060.03712.31
5.4.190.0060.03512.31
5.4.180.0050.03612.30
5.4.170.0060.03612.32
5.4.160.0060.03612.31
5.4.150.0030.03912.30
5.4.140.0040.03911.99
5.4.130.0040.03711.98
5.4.120.0070.03411.93
5.4.110.0070.03411.93
5.4.100.0060.03711.93
5.4.90.0040.04111.93
5.4.80.0040.04511.93
5.4.70.0100.04511.93
5.4.60.0070.03411.93
5.4.50.0050.03711.93
5.4.40.0050.03511.92
5.4.30.0080.03411.91
5.4.20.0040.03611.92
5.4.10.0060.03711.92
5.4.00.0060.03511.41
5.3.290.0070.04812.80
5.3.280.0050.03812.70
5.3.270.0030.04112.72
5.3.260.0060.04012.72
5.3.250.0040.03912.72
5.3.240.0030.03912.72
5.3.230.0030.03912.71
5.3.220.0040.03712.68
5.3.210.0070.03712.68
5.3.200.0030.03812.68
5.3.190.0040.04112.68
5.3.180.0040.03712.67
5.3.170.0020.04012.67
5.3.160.0010.04012.67
5.3.150.0060.04012.67
5.3.140.0050.03612.66
5.3.130.0060.03812.66
5.3.120.0040.03912.66
5.3.110.0050.03812.66
5.3.100.0080.03412.12
5.3.90.0070.04412.08
5.3.80.0060.03712.07
5.3.70.0040.03812.08
5.3.60.0060.03612.06
5.3.50.0040.03812.00
5.3.40.0080.03512.00
5.3.30.0070.03311.94
5.3.20.0060.03811.70
5.3.10.0070.03311.66
5.3.00.0050.03611.65
5.2.170.0070.0329.15
5.2.160.0070.0309.15
5.2.150.0050.0319.15
5.2.140.0010.0339.15
5.2.130.0030.0309.11
5.2.120.0040.0289.11
5.2.110.0040.0299.11
5.2.100.0040.0289.12
5.2.90.0020.0309.11
5.2.80.0070.0269.11
5.2.70.0020.0359.11
5.2.60.0060.0329.06
5.2.50.0020.0329.03
5.2.40.0050.0329.00
5.2.30.0010.0398.98
5.2.20.0050.0338.97
5.2.10.0040.0298.91
5.2.00.0020.0308.77
5.1.60.0050.0228.05
5.1.50.0060.0248.05
5.1.40.0040.0248.04
5.1.30.0040.0268.39
5.1.20.0040.0278.41
5.1.10.0010.0298.13
5.1.00.0050.0308.13
5.0.50.0050.0236.61
5.0.40.0040.0246.46
5.0.30.0020.0326.28
5.0.20.0040.0186.26
5.0.10.0030.0206.23
5.0.00.0040.0316.22
4.4.90.0030.0154.78
4.4.80.0040.0154.76
4.4.70.0010.0174.75
4.4.60.0030.0154.75
4.4.50.0020.0164.77
4.4.40.0040.0294.70
4.4.30.0010.0184.76
4.4.20.0020.0164.85
4.4.10.0020.0164.85
4.4.00.0030.0244.76
4.3.110.0040.0144.67
4.3.100.0030.0144.66
4.3.90.0030.0134.63
4.3.80.0060.0204.58
4.3.70.0020.0164.63
4.3.60.0020.0154.63
4.3.50.0020.0244.62
4.3.40.0040.0264.54
4.3.30.0020.0223.29
4.3.20.0020.0163.27
4.3.10.0020.0153.23
4.3.00.0070.01315.11

preferences:
50.14 ms | 400 KiB | 5 Q