Documentation

getDiffScript

array public
\Bitrix\Main\Text\Diff::getDiffScript(
 array $a,
 array $b
);

Non-static method gets two versions of array and returns script, required for converting first array into the second.

Parameters

ParameterDescriptionVersion
$aFirst array.
$bSecond array.

Example



© «Bitrix24», 2001-2022
Up