function set_timeout($timeout) {
        if (!is_integer($timeout)) {
            if (is_numeric($timeout)) {
                $this->timeout = (integer)$timeout;
                return true;
            }
            return false;
        }
        $this->timeout = $timeout;
        return true;
    }
function set_timeout($timeout) {
        if (!is_integer($timeout)) {
            if (is_numeric($timeout)) {
                $this->timeout = (integer)$timeout;
                return true;
            }
            return false;
        }
        $this->timeout = $timeout;
        return true;
    }
function set_timeout ( $ timeout ) { if ( ! is_integer ( $ timeout ) ) { if ( is_numeric ( $ timeout ) ) { $ this -> timeout = ( integer ) $ timeout ; return true ; } return false ; } $ this -> timeout = $ timeout ; return true ; }
Allow users to override the default timeout
@param   int $timeout    Request timeout in seconds
$return  bool            True if param is an integer or integer string
Allow users to override the default timeout