使用Header()函数重定向时剥离或更改User-Agent

Is it possible to alter the User-Agent string before redirecting to a location in PHP with header('Location: https://example.com/')?