lib/AmazonSNS.php
public function getTopicAttributes($topicArn) {
		if(empty($topicArn)) {
			throw new InvalidArgumentException('Must supply a TopicARN to get topic attributes');
		}

		$resultXml = $this->_request('GetTopicAttributes', array('TopicArn' => $topicArn));

		// Get attributes
		$attributes = $resultXml->GetTopicAttributesResult->Attributes->entry;

		// Unfortunately cannot use _processXmlToArray here, so process manually
		$returnArray = array();

		// Process into array
		foreach($attributes as $attribute) {
			// Store attribute key as array key
			$returnArray[strval($attribute->key)] = strval($attribute->value);
		}

		return $returnArray;
	}
public function getTopicAttributes($topicArn) {
		if(empty($topicArn)) {
			throw new InvalidArgumentException('Must supply a TopicARN to get topic attributes');
		}

		$resultXml = $this->_request('GetTopicAttributes', array('TopicArn' => $topicArn));

		// Get attributes
		$attributes = $resultXml->GetTopicAttributesResult->Attributes->entry;

		// Unfortunately cannot use _processXmlToArray here, so process manually
		$returnArray = array();

		// Process into array
		foreach($attributes as $attribute) {
			// Store attribute key as array key
			$returnArray[strval($attribute->key)] = strval($attribute->value);
		}

		return $returnArray;
	}
Get the attributes of a topic like owner, ACL, display name

@link http://docs.amazonwebservices.com/sns/latest/api/API_GetTopicAttributes.html
@param string $topicArn
@return array
@throws InvalidArgumentException