WordPress at a glance
function is not described

getid3_lib::SimpleXMLelement2array() public WP 1.0

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

Mixed. Nothing.

Usage

$result = getid3_lib::SimpleXMLelement2array( $XMLobject );
$XMLobject *(SimpleXMLElement array mixed) (required)*

Code of getid3_lib::SimpleXMLelement2array() WP 5.7.2

<?php
public static function SimpleXMLelement2array($XMLobject) {
	if (!is_object($XMLobject) && !is_array($XMLobject)) {
		return $XMLobject;
	}
	$XMLarray = $XMLobject instanceof SimpleXMLElement ? get_object_vars($XMLobject) : $XMLobject;
	foreach ($XMLarray as $key => $value) {
		$XMLarray[$key] = self::SimpleXMLelement2array($value);
	}
	return $XMLarray;
}