Skip to content

re: #159 each() deprecation #167

@jchimene

Description

@jchimene

I'm seeing a deprecation warning at line 3100 in XMLRPC. See #159.

Deprecated: The each() function is deprecated.

	// DEPRECATED
	function serializeval($o)
	{
		// add check? slower, but helps to avoid recursion in serializing broken xmlrpcvals...
		//if (is_object($o) && (get_class($o) == 'xmlrpcval' || is_subclass_of($o, 'xmlrpcval')))
		//{
			$ar=$o->me;
			reset($ar);
			list($typ, $val) = each($ar);
			return '<value>' . $this->serializedata($typ, $val) . "</value>\n";
		//}
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions