correction of htmlDiff() to accept array, and add file test.php like python