PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

XMLDiff\File::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\File::diffDiff two XML files

Description

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.

Return Values

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

PHP Manual