summaryrefslogtreecommitdiff
path: root/ext/spl/examples/findfile.inc
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2004-01-26 01:59:15 +0000
committerSVN Migration <svn@php.net>2004-01-26 01:59:15 +0000
commitc99a4f4747eac00e5e7fb44eb9e6467e258b30c6 (patch)
tree99ab150cf56eb6b75e0c0327d0b608e74445df58 /ext/spl/examples/findfile.inc
parent3507f040622d2267950f26c69b6ac30c1beb94f4 (diff)
downloadphp-git-RELEASE_1_3b6.tar.gz
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_3b6'.RELEASE_1_3b6
Diffstat (limited to 'ext/spl/examples/findfile.inc')
-rwxr-xr-xext/spl/examples/findfile.inc25
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/spl/examples/findfile.inc b/ext/spl/examples/findfile.inc
deleted file mode 100755
index e0c685b659..0000000000
--- a/ext/spl/examples/findfile.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-/**
- * @brief Base class to find files
- * @author Marcus Boerger
- * @version 1.0
- *
- */
-class FindFile extends FilterIterator
-{
- protected $file;
-
- function __construct($path, $file)
- {
- $this->file = $file;
- parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
- }
-
- function accept()
- {
- return !strcmp($this->current(), $this->file);
- }
-}
-
-?> \ No newline at end of file