Skip to content

Kirby 4.5.0

Html::parse()

Parses an XML string and returns an array

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

Parameters

Name Type Default
$xml * string

Return type

array|null

Parent class

Kirby\Cms\Html inherited from Kirby\Toolkit\Xml