getDiffHtml
string public \Bitrix\Main\Text\Diff::getDiffHtml( string $a, string $b );
Non-static method gets two versions of text and returns text with visually highlighted differences in versions.
Parameters
Parameter | Description | Version |
---|---|---|
$a | First version of text for comparison. | |
$b | Second version of text for comparison. |
Example
© «Bitrix24», 2001-2024
Up