Jump to content

PHP diff/merge


The Little Guy

Recommended Posts

I am writing a site where you can edit answers users provide. I am wondering, how can I use php to do a diff on two strings, and then also merge two strings into one, similar to the way git works.

 

Does anyone know how this can be done or is their a library available to do both of these things?

Link to comment
https://forums.phpfreaks.com/topic/273161-php-diffmerge/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.