code: public static function getTotalMemory()
  		{
  			$wmi = Windows::getInstance();
  
  			foreach ($wmi->ExecQuery("SELECT TotalPhysicalMemory FROM Win32_ComputerSystem") as $mem) {
  				return $mem->TotalPhysicalMemory;
  			}
  
  			return NULL;
  		}
docs: Gets total physical memory
  
  @return array|null