update : 2015.11.03
php.shukuma.com

검색:
 
 
Diff two DOMDocument objects

XMLDiff\DOM::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::diffDiff 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.

인수

from

Source DOMDocument object.

to

Target DOMDocument object.

반환값

DOMDocument with the diff information or NULL.