Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何熟悉等价物sdiff(甚至差异)但通过 PHP 执行的人。注意:我不能shell_exec()用来执行 bash 脚本。现在我正在拉两页,想比较一下增量是什么。赞赏
sdiff
shell_exec()
我正在尝试逐行比较 sdiff -l -w 140 $variable1 $variable2(它们都是通过cURL0
sdiff -l -w 140 $variable1 $variable2
cURL0
使用 PHP 检查这些实现:
http://code.iamkate.com/php/diff-implementation/
https://github.com/sebastianbergmann/diff