title: PHP arrangement paths
body: <p>Arrange array of paths:   </p>
  
  <pre><code>$paths = array(
                  "C:\test1\file1.txt",
                  "C:\test1\file2.txt",
                  "C:\test2\test1\file15.txt",
                  "C:\test1\file4.txt"
              );
  </code></pre>
  
  <p>PHP code return data - <em>If possible as array multi-dimension</em> :</p>
  
  <pre><code>You have 2 folders [count array of folders]
  In folder 1 you have 3 files [count array of files]
  In folder 2 you have 1 files [count array of files]
  
  [C:\test1\] =&gt;  file1.txt,file2.txt,file4.txt
  [C:\test2\test1\] =&gt;  file15.txt
  </code></pre>