略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: XMLDiff\Base::diff

2025-02-27

XMLDiff\Base::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\Base::diffProduce diff of two XML documents

说明

abstract public XMLDiff\Base::diff(mixed $from, mixed $to): mixed

Abstract diff method to be implemented by inheriting classes.

The basic purpose of this method is to produce diff of the two documents. The param order matters and will produce different output.

参数

from

Source XML document.

to

Target XML document.

返回值

Implementation dependent.

添加备注

用户贡献的备注

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

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

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