SimpleXMLElement deprecated

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

mixed getAttributeAsPhp(string $name)

Converts an attribute as a PHP type.

Parameters

string $name

Return Value

mixed

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

Returns arguments as valid PHP types.

Parameters

string $name
bool $lowercase

Return Value

mixed

static mixed phpize(mixed $value)

Converts an xml value to a PHP type.

Parameters

mixed $value

Return Value

mixed

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/DependencyInjection/SimpleXMLElement.html