svn_diff

PECL svn >= 0.1.0
svn_diff - Recursively diffs two paths
Manual
Code Examples

Example #1 Basic example

Result: Index: http://www.example.com/svnroot/trunk/foo =================================================================== --- http://www.example.com/svnroot/trunk/foo (.../foo) (revision 23) +++ http://www.example.com/svnroot/branches/dev/foo (.../foo) (revision 27) // further diff output
PHP Version:

Example #2 Diffing two revisions of a repository path

PHP Version:

Example #3 Portably diffing two local files

PHP Version: