我有这样的数组:
$array1 = array(
'peter@example.com' => array(
'peter' => 'Smith',
),
'john@example.com' => array(
'john' => 'Smith',
),
'louis@example.com' => array(
'louis' => 'Smith',
),
'jane@example.com' => array(
'jane' => 'Smith',
),
);
$array2 = array(
'0' => 'peter@example.com',
'1' => 'john@example.com',
);
Run Code Online (Sandbox Code Playgroud)
如何删除array1中与array2匹配的数组元素?