Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Paul Scott  >  SPLObjects  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: SPLObjects
Retrieve directory listings with SPL iterators
Author: By
Last change:
Date: 6 years ago
Size: 155 bytes
 

Contents

Class file image Download
<?php

// Example for the SPL classes

require_once('splstdlib_class_inc.php');

$foo = new splstdlib();
var_dump($foo->dirTree('/var/www/spl/code/'));

?>