📅  最后修改于: 2022-03-11 14:54:43.836000             🧑  作者: Mango
function removeElementWithValue($array, $key, $value){
foreach($array as $subKey => $subArray){
if($subArray[$key] == $value){
unset($array[$subKey]);
}
}
return $array;
}