Home » File System » File_Find
A Class the facilitates the search of filesystems
This package is unmaintained.
Download latest release 1.3.3 (archived versions might be outdated)
License: PHP
Description
File_Find, created as a replacement for its Perl counterpart, also named
File_Find, is a directory searcher, which handles, globbing, recursive
directory searching, as well as a slew of other cool features.
Documentation
Maintainers
- Sterling Hughes (sterling) — lead, active
- Mika Tuupola (tuupola) — lead, active
- Anatoly Techtonik (techtonik) — developer, active
Dependencies
Required
- PHP (>= 4.0.0)
- PEAR Installer (>= 1.4.0b1)
Releases
- 1.3.3 (stable, 2014-03-09)
Release notes
License: PHP
Fix release
- 1.3.2 (stable, 2012-10-23)
- 1.3.1 (stable, 2010-10-05)
Release notes
License: PHP
QA release
package 2.0
Bug #2132 Doc state &search() can be called statically. It isn't true.
Bug #2773 Directories with other directories named 0
Bug #4669 Repeated calls to search or maptree return multiple copies of results
Bug #4983 Error in install
Bug #4994 Close TODO
Bug #7966 File_Find Stream Support
Bug #14816 Unit test failures - 1.3.0 (stable, 2006-06-30)
- 1.2.2 (stable, 2006-02-17)
Release notes
License: PHP
+ Empty pattern workaround from bug #6173 also in glob method
Various 'enhancements' to 'shell' method
http://pear.php.net/manual/en/package.filesystem.file-find.searchmethods.php* Empty pattern specified in 'shell' is equal to '*.*'
- Empty exclude mask of a 'shell' pattern is detected correctly now
+ Use *. to match files without extension
+ use filename.*. to match files with only one 'extension' (bug #5503)
- 1.2.1 (stable, 2006-02-02)
Release notes
License: PHP
* Fixed bug #5892 and other "Only variable references should be returned
by reference" errors.* Fixed bug #6173. Check for empty strings given as ereg to search().
* silence errors if mapTreeMultiple() encounters an unreadable
directory (thanks to Erik Stainsby) - 1.2.0 (stable, 2005-10-04)
Release notes
License: PHP
+ new 'shell' match method
- 1.1.0 (stable, 2005-09-13)
Release notes
License: PHP
* use only native system directory delimiters for consistency
* search() method can now match files, directories or both
* port tests to windows platform
- 1.0.1 (stable, 2005-08-30)
Release notes
License: PHP
* fixed package.xml to avoid installation problems with PHP 5.1.X
- 0.4.0 (beta, 2005-06-03)
Release notes
License: PHP
* Error handling now uses PEAR::raiseError() instead of FileFindException.
This might cause BC break if you were checking errors with is_a()
instead of PEAR::isError() of File_Find::isError()!* All output is now consistent having the leading directory separator
stripped out from directory names.- FileFindException error class was removed
- File_Find_version() method was removed
- 0.3.1 (beta, 2005-01-13)
Release notes
License: PHP
* fixed bug search() where static calls to search() failed
if it was called inside instance of another object
(Anatoly Techtonik) - 0.3.0 (beta, 2004-12-17)
- 0.2.0 (stable, 2002-11-14)
Release notes
License: PHP
* added mapTreeMultiple() function / method
* improved portability for non UNIX platforms
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #67 | Closed | Bug | 2003-10-05 | maptree error: Problem with method call | |
| #712 | Closed | Req | 2004-02-09 | File_Find::search() matches REGEX against fullpath | |
| #2132 | Closed | Bug | 2004-08-16 | Doc state &search() can be called statically. It isn't true. | |
| #2773 | Closed | Bug | 2004-11-16 | Directories with other directories named 0 | |
| #4669 | Closed | Bug | 2005-06-23 | Repeated calls to search or maptree return multiple copies of results | |
| #4956 | Bogus | Bug | 2005-07-31 | static methods cannot know this | |
| #4983 | Closed | Bug | 2005-08-03 | Error in install | |
| #4994 | Closed | Bug | 2005-08-04 | Close TODO | |
| #5015 | Closed | Req | 2005-08-05 | add 'shell' search mask | |
| #5503 | Closed | Bug | 2005-09-23 | shell matching not working as expected? | |
| #5756 | Bogus | Bug | 2005-10-22 | $fullpath is not changing the result | |
| #5892 | Closed | Bug | 2005-11-08 | Reference issues with PHP 4.4.x | |
| #6173 | Closed | Bug | 2005-12-06 | Providing an empty string as parameter causes (almost) unlimited loop | |
| #6279 | Bogus | Bug | 2005-12-18 | Only variable references should be returned by reference | |
| #7966 | Closed | Req | 1.2.2 | 2006-06-22 | File_Find Stream Support |
| #14816 | Closed | Bug | CVS | 2008-10-17 | Unit test failures |
| #18779 | Closed | Bug | 1.3.1 | 2011-09-02 | PHP Deprecated: Assigning the return value of new by reference is deprecated i |
| #19530 | Closed | Bug | 1.3.1 | 2012-07-27 | Array to string conversion |
| #20143 | Open | Bug | 1.3.2 | 2013-12-06 | Folders Missing |
| #20198 | Closed | Bug | 1.3.2 | 2014-02-12 | 1.3.2 tarball broken |
| #20256 | Open | Bug | SVN | 2014-04-28 | Please change license |