note 41888 added to function.opendir
| From: | ewoodlief at rn2 dot php dot net | Date: | Sat, 24 Apr 2004 19:48:54 +0000 |
| Subject: | note 41888 added to function.opendir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68742@lists.php.net to get a copy of this message | ||
There is an extra = sign in the "while" condition for example #1. Line #7 should read:
<?php
while (($file = readdir($dh)) != false) {
?>
----
Manual Page -- http://www.php.net/manual/en/function.opendir.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41888
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41888&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41888&report=yes
Search -- http://master.php.net/manage/user-notes.php