Download the PHP package openlss/func-format without Composer
On this page you can find all versions of the php package openlss/func-format. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download openlss/func-format
More information about openlss/func-format
Files in openlss/func-format
Download openlss/func-format
More information about openlss/func-format
Files in openlss/func-format
Vendor openlss
Package func-format
Short Description Display formatting functions
License LGPL-3.0+
Homepage http://openlss.org
Package func-format
Short Description Display formatting functions
License LGPL-3.0+
Homepage http://openlss.org
Please rate this library. Is it a good library?
Informations about the package func-format
openlss/func-format
Usage
Reference
(string) format_bytes($val,$force=null,$suf='B')
- $val The byte integer to be formatted
- $force Instead of auto-selected a divisor force one
- '' (blank) force bytes
- k force kilobytes
- m force megabytes
- g force gigabytes
- t force terabytes
- p force petabytes
- $suf The suffix to be added example 'B' yields 100MB if blank 100M
(string) format_ip($ip='0.0.0.0',$padding='',$web=false)
- $ip The IP address to be formatted in octect format
- $padding Padding to use between IPs
- $web When TRUE will change spaces to
All versions of func-format with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.2
The package openlss/func-format contains the following files
Loading the files please wait ....