class SimpleXMLElement extends SimpleXMLElement

deprecated since version 2.5, to be removed in 3.0.

SimpleXMLElement class.

Methods

mixed
getAttributeAsPhp(string $name)

Converts an attribute as a PHP type.

mixed
getArgumentsAsPhp(string $name, bool $lowercase = true)

Returns arguments as valid PHP types.

static mixed
phpize(mixed $value)

Converts an xml value to a PHP type.

Details

at line line 35
mixed getAttributeAsPhp(string $name)

Converts an attribute as a PHP type.

Parameters

string $name

Return Value

mixed

at line line 48
mixed getArgumentsAsPhp(string $name, bool $lowercase = true)

Returns arguments as valid PHP types.

Parameters

string $name
bool $lowercase

Return Value

mixed

at line line 112
static mixed phpize(mixed $value)

Converts an xml value to a PHP type.

Parameters

mixed $value

Return Value

mixed