0

I am interested in usging the library google-diff-match-patch with PHP. Unfortunately it is not available in this language. It is available "only" in Java, JavaScript, Dart, C++, C#, Objective C, Lua and Python.

So is there a tool to automatically convert one of those language into PHP ? Do you have other suggestions how I could use this library with PHP. I would like to avoid calling it via exec() to make the installation of my program simpler.

2 Answers 2

3

Automatic conversion? Will that ever work? Here is a PHP port: diff_match_patch-php.

Sign up to request clarification or add additional context in comments.

Comments

0

Yes, it's possible to convert Java to PHP, but it does still require some manual intervention. See here: http://javatophp.com

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.