title: troubles when getting information from dir - (php)
body: <p>This is my code:</p>
  
  <pre><code>$flags=FileSystemIterator::CURRENT_AS_FILEINFO | FileSystemIterator::SKIP_DOTS;
  $ul = new FileSystemIterator(__DIR__."/../",$flags);
  // $ul = new FileSystemIterator("/../",$flags);
  foreach($ul as $file){
      if($file-&gt;isDir()){
          print $file-&gt;getFilename()."&lt;br /&gt;";
      }
  }
  </code></pre>
  
  <p>Its <strong>DIR</strong> is /var/www/html/dir1/dir2/dir3/test.php</p>
  
  <p>It shows as the result of command : <code>ls /var/www/html/dir1/dir2/</code></p>
  
  <p>replace <code>$ul = new FileSystemIterator(__DIR__."/../",$flags);</code> 
  with <code>$ul = new FileSystemIterator("/../",$flags);</code></p>
  
  <p>It shows as the result of command : <code>ls /var/www/html/dir1/</code>
  Why the second show happen?</p>