<?php array_intersect_key(array $array, array ...$arrays): array
<?php ]; $overriddenKeys = array_intersect_key($expectedGlobalVariables['$_SERVER'], $expectedCommonVariables); $expectedCommonVariables = array_merge($expectedCommonVariables, $overriddenKeys); self::assertArraySubset($expectedCommonVariables, $response['$_SERVER']);