よくわからんけどこういう書き方ができるようになるんだね
setcookie('name', 'value', ['expires' => $tsp]); setcookie('name', 'value', ['expires' => $tsn, 'path' => '/path/', 'domain' => 'domain.tld', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
208.43.231.11 Git - php-src.git/blobdiff - ext/standard/tests/network/setcookie.phpt
RFCはすでに実装済みステータス https://wiki.php.net/rfc/same-site-cookie