$value) { if (strcasecmp((string) $name, 'Authorization') === 0 && is_string($value) && $value !== '') { return $value; } } } } return null; }