original_string: public static function getBytesFromSizeMeasurement($measurement) {
  		$bytes = doubleval($measurement);
  		if (stripos($measurement, 'G')) {
  			$bytes *= 1024 * 1024 * 1024;
  		} elseif (stripos($measurement, 'M')) {
  			$bytes *= 1024 * 1024;
  		} elseif (stripos($measurement, 'K')) {
  			$bytes *= 1024;
  		}
  		return $bytes;
  	}
code: public static function getBytesFromSizeMeasurement($measurement) {
  		$bytes = doubleval($measurement);
  		if (stripos($measurement, 'G')) {
  			$bytes *= 1024 * 1024 * 1024;
  		} elseif (stripos($measurement, 'M')) {
  			$bytes *= 1024 * 1024;
  		} elseif (stripos($measurement, 'K')) {
  			$bytes *= 1024;
  		}
  		return $bytes;
  	}
code_tokens: public static function getBytesFromSizeMeasurement ( $ measurement ) { $ bytes = doubleval ( $ measurement ) ; if ( stripos ( $ measurement , 'G' ) ) { $ bytes *= 1024 * 1024 * 1024 ; } elseif ( stripos ( $ measurement , 'M' ) ) { $ bytes *= 1024 * 1024 ; } elseif ( stripos ( $ measurement , 'K' ) ) { $ bytes *= 1024 ; } return $ bytes ; }
docstring: Gets the bytes value from a measurement string like "100k".
  
  @param string $measurement: The measurement (e.g. "100k")
  @return integer The bytes value (e.g. 102400)
docstring_tokens: Gets the bytes value from a measurement string like 100k .