pschultz/php-bytes
Composer 安装命令:
composer require pschultz/php-bytes
包简介
Converts PHP's short hand byte strings into bytes: bytes('1K') == 1024
README 文档
README
Provides the function \bytes(string) : int, which converts shorthand memory
notations (such as in ini settings) into number of bytes:
bytes('1K') == 1024
The second function, \memory_limit_bytes(void), returns either the memory
limit in bytes, or INF if there is no memory limit.
统计信息
- 总下载量: 226
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-10