xml_error_string

(PHP 4, PHP 5, PHP 7) Get XML parser error string string xml_error_string ( int $code ) Gets the XML parser error string associated with the given code. Parameters: code An error code from xml_get_error_code(). Returns: Returns a string with a textual description of the error code, or FALSE if no description was found.

utf8_encode

(PHP 4, PHP 5, PHP 7) Encodes an ISO-8859-1 string to UTF-8 string utf8_encode ( string $data ) This function encodes the string data to UTF-8, and returns the encoded version. UTF-8 is a standard mechanism used by Unicode for encoding wide character values into a byte stream. UTF-8 is transparent to plain ASCII characters, is self-synchronized (meaning it is possible for a program to figure out where in the bytestream chara

utf8_decode

(PHP 4, PHP 5, PHP 7) Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1 string utf8_decode ( string $data ) This function decodes data, assumed to be UTF-8 encoded, to ISO-8859-1. Parameters: data An UTF-8 encoded string. Returns: Returns the ISO-8859-1 translation of data.

XMLDiff\File::merge

(PECL xmldiff >= 0.8.0) Produce merged XML document public string XMLDiff\File::merge ( string $src, string $diff ) Create new XML document based on diffs and source document. Parameters: src Path to the source XML document. diff Path to the XML document with the diff information. Returns: String with the ne

XMLDiff\File::diff

(PECL xmldiff >= 0.8.0) Diff two XML files public string XMLDiff\File::diff ( string $from, string $to ) Diff two local XML files and produce string with the diff information. Parameters: from Path to the source document. to Path to the target document. Returns: String with the XML document containing the di

XMLDiff\Memory::merge

(PECL xmldiff >= 0.8.0) Produce merged XML document public string XMLDiff\Memory::merge ( string $src, string $diff ) Create new XML document based on diffs and source document. Parameters: src Source XML document. diff XML document containing diff information. Returns: String with the new XML document or NU

XMLDiff\Memory::diff

(PECL xmldiff >= 0.8.0) Diff two XML documents public string XMLDiff\Memory::diff ( string $from, string $to ) Diff two strings containing XML documents and produce the diff information. Parameters: from Source XML document. to Target XML document. Returns: String with the XML document containing the diff in

XMLDiff\DOM::merge

(PECL xmldiff >= 0.8.0) Produce merged DOMDocument public DOMDocument XMLDiff\DOM::merge ( DOMDocument $src, DOMDocument $diff ) Create new DOMDocument based on the diff. Parameters: src Source DOMDocument object. diff DOMDocument object containing the diff information. Returns: Merged DOMDocument or NULL.

XMLDiff\DOM::diff

(PECL xmldiff >= 0.8.0) Diff two DOMDocument objects public DOMDocument XMLDiff\DOM::diff ( DOMDocument $from, DOMDocument $to ) Diff two DOMDocument instances and produce the new one containing the diff information. Parameters: from Source DOMDocument object. to Target DOMDocument object. Returns: DOMDocume

XMLDiff\Base::merge

(PECL xmldiff >= 0.8.0) Produce new XML document based on diff abstract public mixed XMLDiff\Base::merge ( mixed $src, mixed $diff ) Abstract merge method to be implemented by inheriting classes. Basically the method purpose is to produce a new XML document based on the diff information. Parameters: src Source XML document. diff Do