nuxodin/diff_match_patch-php — Issue #6: $uri_translateFrom and $uri_translateTo are not explicitly defined in the global scope
Author: cogentParadigm
Created: 2012-01-29 08:59:59+00:00
State: open

the variables $uri_translateFrom and $uri_translateTo are not explicitly defined in the global scope. this means if you include it from within a function, these variables are lost.

adding the following line before assigning the variables resolves this issue:
global $uri_translateFrom, $uri_translateTo;