Closed yangguangwuwu closed 1 year ago
https://www.php.net/manual/en/function.setcookie.php
Alternative signature available as of PHP 7.3.0 (not supported with named parameters):
setcookie(string $name, string $value = "", array $options = []): bool
Some frameworks use
We need to add the samesite, here and in Workerman.
https://www.php.net/manual/en/function.setcookie.php
Alternative signature available as of PHP 7.3.0 (not supported with named parameters):
setcookie(string $name, string $value = "", array $options = []): bool