PHP 8.4.2 Released!

XMLDiff\Memory::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\Memory::diffDiff two XML documents

说明

public XMLDiff\Memory::diff(string $from, string $to): string

Diff two strings containing XML documents and produce the diff information.

参数

from

Source XML document.

to

Target XML document.

返回值

String with the XML document containing the diff information or NULL.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top