略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: XMLDiff\Memory::diff

2024-12-21

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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/xmldiff-memory.diff.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3