original_string: public static function getObjectInfo($bucket, $uri, $returnInfo = true)
  	{
  		$rest = new S3Request('HEAD', $bucket, $uri, self::$endpoint);
  		$rest = $rest->getResponse();
  		if ($rest->error === false && ($rest->code !== 200 && $rest->code !== 404))
  			$rest->error = array('code' => $rest->code, 'message' => 'Unexpected HTTP status');
  		if ($rest->error !== false)
  		{
  			self::__triggerError(sprintf("S3::getObjectInfo({$bucket}, {$uri}): [%s] %s",
  			$rest->error['code'], $rest->error['message']), __FILE__, __LINE__);
  			return false;
  		}
  		return $rest->code == 200 ? $returnInfo ? $rest->headers : true : false;
  	}
code: public static function getObjectInfo($bucket, $uri, $returnInfo = true)
  	{
  		$rest = new S3Request('HEAD', $bucket, $uri, self::$endpoint);
  		$rest = $rest->getResponse();
  		if ($rest->error === false && ($rest->code !== 200 && $rest->code !== 404))
  			$rest->error = array('code' => $rest->code, 'message' => 'Unexpected HTTP status');
  		if ($rest->error !== false)
  		{
  			self::__triggerError(sprintf("S3::getObjectInfo({$bucket}, {$uri}): [%s] %s",
  			$rest->error['code'], $rest->error['message']), __FILE__, __LINE__);
  			return false;
  		}
  		return $rest->code == 200 ? $returnInfo ? $rest->headers : true : false;
  	}
code_tokens: public static function getObjectInfo ( $ bucket , $ uri , $ returnInfo = true ) { $ rest = new S3Request ( 'HEAD' , $ bucket , $ uri , self :: $ endpoint ) ; $ rest = $ rest -> getResponse ( ) ; if ( $ rest -> error === false && ( $ rest -> code !== 200 && $ rest -> code !== 404 ) ) $ rest -> error = array ( 'code' => $ rest -> code , 'message' => 'Unexpected HTTP status' ) ; if ( $ rest -> error !== false ) { self :: __triggerError ( sprintf ( "S3::getObjectInfo({$bucket}, {$uri}): [%s] %s" , $ rest -> error [ 'code' ] , $ rest -> error [ 'message' ] ) , __FILE__ , __LINE__ ) ; return false ; } return $ rest -> code == 200 ? $ returnInfo ? $ rest -> headers : true : false ; }
docstring: Get object information
  
  @param string $bucket Bucket name
  @param string $uri Object URI
  @param boolean $returnInfo Return response information
  @return mixed | false
docstring_tokens: Get object information