An implementation of the 'longest common subsequence' algorithm for PHP.