Function _filesize
Find the size of the given file.
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
string |
$file |
The file name (file must exist) |
integer |
$digits = 2 |
Number of precisions |
array |
$sizes = array("MB","KB","B") |
Array of size units, e.g., array("TB","GB","MB","KB","B"). Default is array("MB","KB","B") |
string|boolean
|
The size unit (B, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB) or FALSE for non-existence file
|