I have an array like this:
 $arr = array(
        "Posts" => "post", 
        "Projects" => "project"
 );
I want to add new element "News" => "new" to $arr on top with the same format, I have tried with below
 $new_element = array("News" => "new");
 array_unshift($arr, $new_element);
but I got
     Array ( 
       [0] => Array ( [News] => news ) 
       [Posts] => post
       [Projects] => project 
    )
They don't have the same format, please give advice. Thank you very much.