in this code i try to unset first and last item of $status array to unset but the last item that i tried place thier pointer in $end not unset what can I do for thi
$item[$fieldneedle] = " node_os_disk_danger "; $status = preg_split('/_/',$item[$fieldneedle]); $status = array_slice($status, 1, -1);