note 45474 deleted from class.dir by aidan
| From: | aidan@php.net | Date: | Thu, 09 Sep 2004 02:07:08 +0000 |
| Subject: | note 45474 deleted from class.dir by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76264@lists.php.net to get a copy of this message | ||
Note Submitter: melissa
----
dir() is not a class in the traditional sense of what classes are. When a class object is
instantiated "new" is not used. Also, dir() cannot be extended as a normal class can.
Since there already exists a function called "scandir", this class is basically useless.