title: In PHP, what is the difference between Array and array, in type declaration?
body: <p>In <a href="https://www.youtube.com/watch?v=zmhKXSCXn-k&amp;list=PLzEjYXjNpfl7YfeAPHVeKE-BfQhraHmva&amp;index=7" rel="noreferrer">this</a> OOP tutorial, I noticed the following code:</p>
  
  <pre><code>public function validate(Array $data, Array $rules){}
  </code></pre>
  
  <p>My question is if that is the same as:</p>
  
  <pre><code>public function validate(array $data, array $rules){}
  </code></pre>
  
  <p>In the <a href="http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration" rel="noreferrer">PHP.net documentation</a>, I could find a reference only to the second form.</p>