Ticket #3307 (new defect)

Opened 2 years ago

Last modified 17 months ago

dir object broken, at least on mingw

Reported by: weyrick Owned by: anonymous
Priority: urgent Milestone: 3.0.0 release
Component: Standard Library Version: trunk
Severity: major Keywords:
Cc:

Description (last modified by weyrick) (diff)

# reading directories from $root_dir
     $root_dir='c:\pub\pdmt\\';  # I've tested it with $root_dir='/pub/pdmt'; also
     echo "Reading entries from : $root_dir\n";
     $dir=&dir($root_dir);
     while ($entry=$dir->read()) {
          if (($entry<>'.') and ($entry<>'..')) {
               array_push($dir_ar,$entry);
               echo "$entry\n";
          }
     }
     $dir->close();
     echo "Whole table : \n";
     print_r($dir_ar);

Change History

Changed 21 months ago by weyrick

  • version set to 2.9.0 beta
  • type set to defect
  • description modified (diff)
  • milestone set to 2.9.x beta

Changed 17 months ago by weyrick

dir object is completely removed as of 2.9.1 and needs to be rewritten using the real php-object API

Note: See TracTickets for help on using tickets.