| Total Complexity | 7 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class ByteHelper |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @param $value |
||
| 9 | * @return mixed |
||
| 10 | */ |
||
| 11 | public static function str2bytes($value) |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The maximum file upload size by getting PHP settings |
||
| 27 | * |
||
| 28 | * @return integer|float|false file size limit in BYTES based |
||
| 29 | */ |
||
| 30 | public static function maximum_upload_size() |
||
| 43 | } |
||
| 44 | } |