Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion reference/network/functions/setcookie.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@
<simpara>
An associative <type>array</type> which may have any of the keys
<literal>expires</literal>, <literal>path</literal>, <literal>domain</literal>,
<literal>secure</literal>, <literal>httponly</literal> and <literal>samesite</literal>.
<literal>secure</literal>, <literal>httponly</literal>,
<literal>samesite</literal> and, as of PHP 8.5.0,
<literal>partitioned</literal>.
</simpara>
<simpara>
The values have the same meaning as described for the
Expand All @@ -183,6 +185,15 @@
blocked by the client.
</simpara>
</note>
<note>
<simpara>
As of PHP 8.5.0, the <literal>partitioned</literal> option marks the
cookie for partitioned storage using an independent partition per
top-level site (CHIPS). It must be used together with
<literal>secure</literal>; otherwise a
<exceptionname>ValueError</exceptionname> is thrown.
</simpara>
</note>
</listitem>
</varlistentry>
</variablelist>
Expand Down Expand Up @@ -229,6 +240,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.5.0</entry>
<entry>
The <parameter>options</parameter> array now supports the
<literal>partitioned</literal> key.
</entry>
</row>
<row>
<entry>8.2.0</entry>
<entry>
Expand Down
7 changes: 7 additions & 0 deletions reference/network/functions/setrawcookie.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.5.0</entry>
<entry>
The <parameter>options</parameter> array now supports the
<literal>partitioned</literal> key.
</entry>
</row>
<row>
<entry>7.3.0</entry>
<entry>
Expand Down