PHP implementation of a Fine granularity Diff engine