PHP Error on new RecursiveDirectoryIterator -


i want recursively through folder , listen folder in it. got code:

  $dir_iterator = new    recursivedirectoryiterator("../targetdirectory");   $iterator = new recursiveiteratoriterator($dir_iterator, recursiveiteratoriterator::child_first);      foreach ($iterator $file) {       echo $file; // line 36      } 

and en error: parse error: syntax error, unexpected ' ' (t_string) in ... line 36

can please give me hint. reason error;


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -