public static function getTotalMemory()
		{
			$wmi = Windows::getInstance();

			foreach ($wmi->ExecQuery("SELECT TotalPhysicalMemory FROM Win32_ComputerSystem") as $mem) {
				return $mem->TotalPhysicalMemory;
			}

			return NULL;
		}
public static function getTotalMemory()
		{
			$wmi = Windows::getInstance();

			foreach ($wmi->ExecQuery("SELECT TotalPhysicalMemory FROM Win32_ComputerSystem") as $mem) {
				return $mem->TotalPhysicalMemory;
			}

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

@return array|null
Gets total physical memory