title: Php get keys from associative array
body: <p>How could I get only the entire first row from an array. (I use Laravel)</p>
  
  <p>For example when I say:</p>
  
  <pre><code>$request-all();
  </code></pre>
  
  <p>I receive:</p>
  
  <pre><code>array:2 [
    "email" =&gt; "james@hotmail.com"
    "password" =&gt; "adms|Wh"
  ]
  </code></pre>
  
  <p>I want to receive:</p>
  
  <pre><code>email
  password
  </code></pre>