Simple one, I was just wondering if there is a clean and eloquent way of returning all values from an associative array that do not match a given key(s)?
$array
$alphaAndGamma = $array; unset($alphaAndGamma['alpha']); $onlyBeta = $array; unset($onlyBeta['alpha'], $onlyBeta['gamma']);