note 52036 rejected from class.dir by betz

From: Date: Wed, 20 Apr 2005 07:43:32 +0000
Subject: note 52036 rejected from class.dir by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-88238@lists.php.net to get a copy of this message
Note Submitter: scott at slerman dot net ---- The documentation here is rather confusing, at least to me. My initial understanding was that 'dir' was a class and that objects should be created in the normal way ($d = new dir("path")). Apparently this isn't the case though. As the example shows, dir() is a normal function that returns an object of type Directory. The description of dir() could be a little clearer about this.

« previous php.notes (#88238) next »