You can use array slice function:
$desired_array = array();
for($i = 0; $i < count($my_array); $i++)
{
if($my_array[$i]["ApplicationStatus"] == 868)
{
$desired_array = array_slice($my_array, 0, $i);
}
}
solved How to remove particular index from array