ALIAS

sxload()

ShortPHP reference for simplexml_load_string().

Signature

simplexml_load_string(string $data, ?string $class_name = null, int $options = 0, string $namespace_or_prefix = "", bool $is_prefix = false): SimpleXMLElement|false

Example

sxload(...);

PHP equivalent

simplexml_load_string() is the canonical PHP function. ShortPHP provides sxload() as the convenience alias.

Extension: SimpleXML

Official PHP manual ↗

Reference navigation

Previous: sxfile()

Next: has()

Back to reference