2 ms·
> stock PHP would want you to use the header("Location: https://google.com"); https://google.com"); variant Which is actually a broken abstraction, because in
by TazeTSchnitzel 11y ago
> stock PHP would want you to use the header("Location: https://google.com"); https://google.com"); variant
Which is actually a broken abstraction, because in most PHP SAPIs that doesn't actually spit out a header line directly. Instead, it's parsed into its components, and PHP additionally sets the HTTP status code to a redirection one.