compare()
compare(array $filteredHeaders, array $actualHeaders) : array|boolean
Compare HTTP headers and use special markup to filter values A header prefixed with '!' means it must not exist A header prefixed with '_' means it must be ignored A header value of '*' means anything after the * will be ignored
Parameters
array | $filteredHeaders | Array of special headers |
array | $actualHeaders | Array of headers to check against |
Returns
array|boolean —Returns an array of the differences or FALSE if none