This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace LajosBencz; | |
class ConvertByteSize | |
{ | |
const FORMAT_BYTE_SIZE_PATTERN = '(yotta|zetta|exa|peta|tera|giga|mega|kilo|y|z|e|p|t|g|m|k)\s*(bit|byte|b)?'; | |
public static $formatByteSize_Unit = 'mB'; | |
public static $formatByteSize_Format = '%0.2f %s'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use ArrayAccess; | |
class ConsoleParameters implements ArrayAccess | |
{ | |
/** | |
* Prefix for flag names | |
* @var string | |
*/ |
NewerOlder