Skip to content

Kirby 4.4.1

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\Toolkit\Html inherited from Kirby\Toolkit\Xml