Skip to content

Kirby 4.5.0

Xml::parse()

Parses an XML string and returns an array

Xml::parse(string $xml): array|null

Parameters

Name Type Default
$xml * string

Return type

array|null

Parent class

Kirby\Toolkit\Xml