title: array_filter() expects parameter 1 to be array in PHP
body: <p>i have an issue with a line for several days. </p>
  
  <p>Here is my code : </p>
  
  <pre><code>$files = array();
  $count = count(array_filter($_FILES['fichier']['name']));
  echo $count;
  
  for($i=0;$i&lt;$count;$i++){
      array_push($files, $_FILES['fichier']['tmp_name'][$i]);
  }
  </code></pre>
  
  <p>This code is in a form, but when i submit my form, i have this error message : </p>
  
  <blockquote>
    <p>Warning: array_filter() expects parameter 1 to be array, null given
    in...</p>
  </blockquote>
  
  <p>This part of code works in FR version, but when i tried to copy/paste in EN version, it doesn't work. </p>
  
  <p>I've tried everything, nothing happens. </p>
  
  <p>Thanks.</p>
  
  <p><strong>EDIT :</strong></p>
  
  <pre><code>var_dump(array_filter($_FILES['fichier']['name']));
  </code></pre>
  
  <p>return me this : </p>
  
  <blockquote>
    <p>NULL</p>
  </blockquote>
  
  <p>when i'm trying to upload 1 or many files.</p>