setrawcookie
(PHP 5, PHP 7, PHP 8)
setrawcookie — Send a cookie without urlencoding the cookie value
Description
setrawcookie(
string $name
,
string $value
= ?,
int $expires_or_options
= 0,
string $path
= ?,
string $domain
= ?,
bool $secure
= false
,
bool $httponly
= false
): bool
setrawcookie(string $name
, string $value
= ?, array $options
= []): bool
Parameters
For parameter information, see the setcookie()
documentation.
Return Values
Returns true
on success or false
on failure.