array_intersect_key

Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Computes the intersection of arrays using keys for comparison
<?php array_intersect_key(array $array, array ...$arrays): array
<?php         $platformOptions1 = $column1->getPlatformOptions();

        $platformOptions2 = $column2->getPlatformOptions();



        foreach (array_keys(array_intersect_key($platformOptions1, $platformOptions2)) as $key) {

            if ($properties1[$key] === $properties2[$key]) {

                continue;

            }
<?php                     ),

                ],

            ],

            array_intersect_key($params, ['primary' => null, 'replica' => null])

        );

    }