PEAR  
Search package by name
 

Package Management
Package Management

 

Package Search
Package Search

 

Channel Management
Channel Management

 

Configuration
Configuration

 
Warning: This package management website is not protected with a password, this is a MAJOR security risk. Please read the README.
  About pear.php.net/File_Util-1.0.0
Release Type PEAR-style PHP-based Package
Name File_Util
Channel pear.php.net
Summary Common file and directory utility functions
Description Common file and directory utility functions.
Path handling, temp dir/file, sorting of files, listDirs, isIncludable and more
Maintainers Helgi Þormar Þorbjörnsson <helgi@php.net> (lead)
Michael Wallner <mike@php.net> (lead, inactive)
Release Date 2011-03-18 22:25:20
Release Version 1.0.0 (stable)
API Version 1.0.0 (stable)
License PHP (http://www.php.net/license)
Release Notes 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]
Required Dependencies PHP version 4.3.0
PEAR installer version 1.7.0 or newer
Package pear.php.net/File
Version 1.4.0 or newer
Extension pcre
package.xml version 2.0
Last Modified 2015-04-21 22:52
Previous Installed Version - None -
Options uninstall Uninstall package
More ./.. List Files
extra info Extended Package Information
manual pear.php.net Developer Documentation
manual pear.php.net Package Manual