Skip to content

Add partitioned for setcookie and setrawcookie#5051

Open
jordikroon wants to merge 2 commits intophp:masterfrom
jordikroon:docs/cookie-partitioned
Open

Add partitioned for setcookie and setrawcookie#5051
jordikroon wants to merge 2 commits intophp:masterfrom
jordikroon:docs/cookie-partitioned

Conversation

@jordikroon
Copy link
Copy Markdown
Member

@jordikroon jordikroon commented Dec 22, 2025

Add documentation for the new "partitioned" cookie option introduced in PHP 8.5.0 (CHIPS support). Updates include:

  • Added "partitioned" to the list of supported cookie options in setcookie() and setrawcookie() functions
  • Documented the new session.cookie_partitioned INI directive with description of CHIPS functionality
  • Added changelog entries for PHP 8.5.0 in affected function documentation
  • Updated session cookie parameter function references to include the new partitioned option

Ref: #4886

@jordikroon jordikroon force-pushed the docs/cookie-partitioned branch 2 times, most recently from ec542de to 201478e Compare December 25, 2025 23:48
@cweiske
Copy link
Copy Markdown
Contributor

cweiske commented Mar 6, 2026

Could you please rebase against current master?

@jordikroon jordikroon closed this Mar 6, 2026
@jordikroon jordikroon force-pushed the docs/cookie-partitioned branch from 8e64af8 to 9434c94 Compare March 6, 2026 18:29
@jordikroon jordikroon reopened this Mar 6, 2026
@jordikroon jordikroon force-pushed the docs/cookie-partitioned branch from 24239d9 to af182be Compare March 6, 2026 18:32
@jordikroon
Copy link
Copy Markdown
Member Author

@cweiske PR has been rebased. (ignore the close/reopen). Thanks for the ping.

Comment thread reference/session/functions/session-get-cookie-params.xml
Comment thread reference/session/functions/session-set-cookie-params.xml Outdated
Comment thread reference/session/ini.xml Outdated
<member>
<link linkend="ini.session.cookie-httponly">session.cookie_httponly</link>
</member>
<member>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the new config option be listed in the return value, too?

<member>
<link linkend="ini.session.cookie-httponly">session.cookie_httponly</link>
</member>
<member>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the new config option be listed in $lifetime_or_options, too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants