PHP 4.0 Bug #5717: Crashing when using opendir()
| From: | neilson at predialnet dot com dot br | Date: | Fri, 21 Jul 2000 06:33:34 +0000 |
| Subject: | PHP 4.0 Bug #5717: Crashing when using opendir() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25314@lists.php.net to get a copy of this message | ||
From: neilson@predialnet.com.br
Operating system: Intel Solaris 8
PHP version: 4.0.1pl2
PHP Bug Type: Reproduceable crash
Bug description: Crashing when using opendir()
#!/usr/local/bin/php
<?php
$handle=opendir('.');
echo "Directory handle: $handle\n";
echo "Files:\n";
while ($file = readdir($handle)) {
echo "$file\n";
}
closedir($handle);
?>
configured with: --with-mysql=../mysql-3.23.21-beta
My PHP.ini is default