getMemory() public static method

Get usage memory
public static getMemory ( boolean $isPeak = true ) : string
$isPeak boolean
return string
示例#1
0
文件: SysTest.php 项目: jbzoo/utils
 public function testGetMemory()
 {
     isTrue(Sys::getMemory());
     isTrue(Sys::getMemory(true));
     isTrue(Sys::getMemory(false));
 }