Lines Matching defs:idx
59 $idx = array_search($choice, $value);
62 $checked = ($idx !== false) ? 'checked="checked"' : '';
65 $class = (($idx !== false) === (false !== $idx_default)) ? " selectiondefault" : "";
76 if ($idx !== false) unset($value[$idx]);
118 $idx = [];
120 if (($idx[] = array_search($val, $array)) === false) break;
123 if (count($idx) && $idx[count($idx) - 1] !== false) {
124 foreach ($idx as $i) unset($array[$i]);
152 $idx = array_search($key, $array);
153 if ($idx !== false) {
154 unset($array[$idx]);