<?php
$old_article = 'Hello, my buddy!';
$new_article = 'Hallo, my good buddy?';
$diff = xdiff_string_diff($old_article, $new_article, 1);
if (is_string($diff)) {
echo "Differences between two articles:\n";
echo $diff;
}
Fatal error: Uncaught Error: Call to undefined function xdiff_string_diff() in /in/RXX3s:5
Stack trace:
#0 {main}
thrown in /in/RXX3s on line 5
Process exited with code 255.