Home » File System » File_Util
Common file and directory utility functions
This package is unmaintained.
Download latest release 1.0.0 (archived versions might be outdated)
License: PHP
Description
Common file and directory utility functions.
Path handling, temp dir/file, sorting of files, listDirs, isIncludable and more
Maintainers
- Helgi Þormar Þorbjörnsson (dufuz) — lead, active
- Michael Wallner (mike) — lead, inactive
Dependencies
Required
- PHP (>= 4.3.0)
- PEAR Installer (>= 1.7.0)
- File (>= 1.4.0)
- pcre (extension)
Releases
- 1.0.0 (stable, 2011-03-18)
Release notes
License: PHP
Bugs:
* Fixed Bug #12741: Failed to test on Linux and FreeBSD [dufuz]
* Fixed Bug #16425: File_Util::isAbsolute(), Windows can resolve /foo/bar as absolute [dufuz]Features:
* Implement Request #2798: function for human readable filesize conversion [cweiske]
Usage: File_Util::prefixed($size, $decimals = 1, $long = false, $oldStyle = true, $useBiBytes = true)integer $size The size to convert
integer $decimals The number of decimals to use
boolean $long Use long names (kilobyte) instead of
short ones (kB)
boolean $oldStyle If the old style should be used
boolean $useBiBytes If the "BiBytes" names should be
used [applies only to !$bOldStyle] - 1.0.0alpha1 (alpha, 2008-10-26)
Release notes
License: PHP
- Split File_Util from File into it's own package
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #2798 | Closed | Req | 2004-11-19 | function for human readable filesize conversion | |
| #12741 | Closed | Bug | 2007-12-20 | Failed to test on Linux and FreeBSD | |
| #16425 | Closed | Bug | 2009-07-10 | File_Util::isAbsolute(), Windows can resolve /foo/bar as absolute | |
| #19104 | Closed | Bug | SVN | 2011-12-07 | remove error_reporting (for PEAR QA team) |
| #20926 | Open | Bug | SVN | 2015-07-26 | Dynamic loading |