protected function verifyServerMemoryValues($key, $necessaryValueInBytes)
    {
        $serverValueInBytes = $this->returnBytes(ini_get($key));

        if ($serverValueInBytes == -1) {
            return true;
        }

        return ($serverValueInBytes >= $necessaryValueInBytes);
    }
protected function verifyServerMemoryValues($key, $necessaryValueInBytes)
    {
        $serverValueInBytes = $this->returnBytes(ini_get($key));

        if ($serverValueInBytes == -1) {
            return true;
        }

        return ($serverValueInBytes >= $necessaryValueInBytes);
    }
protected function verifyServerMemoryValues ( $ key , $ necessaryValueInBytes ) { $ serverValueInBytes = $ this -> returnBytes ( ini_get ( $ key ) ) ; if ( $ serverValueInBytes == - 1 ) { return true ; } return ( $ serverValueInBytes >= $ necessaryValueInBytes ) ; }
Check if a server memory value is met or not

@param string $key                   .ini file key
@param int    $necessaryValueInBytes Expected value in bytes

@return bool
Check if a server memory value is met or not