Метод compare

public static

Сигнатура метода

public static function compare(array $previousValues, array $currentValues): Difference

Возвращает: Difference

Описание

Compare two associative arrays and return object that represents a difference between them

Параметры

2
Имя Тип По умолчанию Флаги
$previousValues array —
—
$currentValues array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/comparer/comparerbase.php
Расположение метода в файле
Строки 35–38

Исходный код

PHP