dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Directory::close> <Predefined Constants
[edit] Last updated: Fri, 28 Jun 2013

view this page in

The Directory class

(PHP 4, PHP 5)

Introduction

Instances of Directory are created by calling the dir() function, not by the new operator.

Class synopsis

Directory {
/* Properties */
public string $path ;
public resource $handle ;
/* Methods */
public void close ([ resource $dir_handle ] )
public string read ([ resource $dir_handle ] )
public void rewind ([ resource $dir_handle ] )
}

Properties

path

The directory that was opened.

handle

Can be used with other directory functions such as readdir(), rewinddir() and closedir().

Table of Contents



add a note add a note User Contributed Notes Directory - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites