예제 #1
0
function compare_cache($old, $new)
{
    $diffs = array();
    $diffs["add"] = compare_add($old, $new);
    $diffs["del"] = compare_del($old, $new);
    return $diffs;
}
예제 #2
0
function compare_views($old, $new)
{
    $diffs = array();
    $diffs["add"] = compare_add($old, $new);
    $diffs["del"] = compare_del($old, $new);
    $diffs["update"] = compare_update($old, $new);
    return $diffs;
}