DiffMatchPatch\DiffMatchPatch::diff_prettyHtml PHP Method

diff_prettyHtml() public method

Convert a diff array into a pretty HTML report.
public diff_prettyHtml ( array $diffs ) : string
$diffs array Array of diff arrays.
return string HTML representation.
    public function diff_prettyHtml($diffs)
    {
        $this->diff->setChanges($diffs);
        return $this->diff->prettyHtml();
    }