PHP_INT_MAX) { #require_once 'Zend/XmlRpc/Value/Exception.php'; throw new Zend_XmlRpc_Value_Exception('Overlong integer given'); } $this->_type = self::XMLRPC_TYPE_INTEGER; $this->_value = (int)$value; // Make sure this value is integer } /** * Return the value of this object, convert the XML-RPC native integer value into a PHP integer * * @return int */ public function getValue() { return $this->_value; } }