Let's say you have a php array filled with dictionaries/associative arrays of first and last names, like so:
$userList = array(array('first'=>'Jim', 'last'=>'Kirk'), array('first'=>'George', 'last'=>'Bush'));
/*
$userList now looks like
{
{
first => Jim,
last => Kirk
},
{
first => George,
last => Bush
}
}
*/
How do I tell php to "Remove elements from $userList as $users where $user['first'] === 'George'"
?