title: Get key using array_search in multidimensional array
body: <p>I have to get the array key name using <code>array_search</code> but it gives me 0 and 1 rather than "login" or "home"</p>
  
  <p>this is my code</p>
  
  <pre><code>  $PAGINATOR = array("login" =&gt; array("permission" =&gt; false,
                                    "auth"           =&gt; false,
                                    "title"          =&gt; "Login",
                                    "slug"           =&gt; "?id=login",
                                    "layout"         =&gt; "pages/login.php",
                                    "default"        =&gt; true),
                   "home"  =&gt; array("permission"     =&gt; false,
                                    "auth"           =&gt; true,
                                    "title"          =&gt; "Home",
                                    "slug"           =&gt; "?id=home",
                                    "layout"        =&gt; "pages/home.php",
                                    "default"       =&gt; false));
  
  array_search(true, array_column($PAGINATOR, 'default'))
  </code></pre>