- var_export: documentation ( source)
- in_array: documentation ( source)
<?php
$array = [[0, 3, 10, 5, 6, 9, 2, 7, 1, 4, 8, 11], [0,1], [0,1], [0,1]];
$deletes = [3, 5];
$results = [];
foreach ($array as $value) {
foreach ($value as $valueVal) {
$results[] = in_array($valueVal, $deletes);
}
}
var_export($results);