Hi , i have tried working with XMLDiff\File with the following code: <?php $file1=1.xml; $file2=2.xml; $dxml=new XMLDiff\File; $diff = $dxml->diff($file1, $file2); echo $diff; ?> The code is working fine in command line PHP. and not working when I called the script via web browser. Is anything i am doing wrong here? Regards, Ganesh