PHP 4.0 Bug #5455 Updated: readdir() still doesn't work

From: Date: Sat, 15 Jul 2000 13:53:01 +0000
Subject: PHP 4.0 Bug #5455 Updated: readdir() still doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-24529@lists.php.net to get a copy of this message
ID: 5455 User Update by: johan@ekenberg.se Status: Feedback Bug Type: Misbehaving function Description: readdir() still doesn't work Stefan Kirch [s.kirch at bauer-kirch.de] mailed me: -- start quote -- I have the same problem (#5535) and found a "work-around" like the following: if (ereg("^foo$", $file)) { RegEx works fine, so it seems to be a problom of string-comparison. Codes like if ($x == "5") { also breaks the loop, on the other hand, numerical comparisons like if ($x == 5) { works fine. -- end quote -- I don't know if this might give any clues to the experts? Full Bug description available at: http://bugs.php.net/?id=5455

« previous php.dev (#24529) next »