XML_Util::replaceEntities XML_Util::splitQualifiedName

XML_Util

PEAR Manual


XML_Util::reverseEntities

XML_Util::reverseEntities() -- replace XML entities

Synopsis

      require_once 'XML/Util.php';
     

string XML_Util::reverseEntities ( string $string )

Description

This is the reverse function to XML_Util::replaceEntities()(). It replaces all XML (or HTML) entities in a string by their corresponding characters. This can be useful when working with XML documents without using an XML parser.

This method has been added in XML_Util 1.0.0.

Parameter

  • string $string - string, in which entities have to be removed

Return value

string string with entities removed

Note

This function should be called statically.



XML_Util::replaceEntities XML_Util::splitQualifiedName

XML_Util

PEAR Manual