[doc-en] master: Use correct value for PECL DS `MIN_CAPACITY` constants (#5082)

From: Date: Fri, 09 Jan 2026 13:07:49 +0000
Subject: [doc-en] master: Use correct value for PECL DS `MIN_CAPACITY` constants (#5082)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-22931@lists.php.net to get a copy of this message
Author: Léon Melis (LeonMelis) Committer: GitHub (web-flow) Pusher: Girgias Date: 2026-01-09T13:07:47Z Commit: https://github.com/php/doc-en/commit/94b069b1154e462a3625cd5a262e8883a44be22a Raw diff: https://github.com/php/doc-en/commit/94b069b1154e462a3625cd5a262e8883a44be22a.diff Use correct value for PECL DS MIN_CAPACITY constants (#5082) * Update \Ds\Map::MIN_CAPACITY to reflect actual value The MIN_CAPACITY was changed in PECL DS library from 16 to 8 in July 2017. See: https://github.com/php-ds/ext-ds/commit/9904fca6b328c4a0e45b32ec329fca0f973c1d46 * Update \Ds\Set::MIN_CAPACITY to reflect actual value Update \Ds\Set::MIN_CAPACITY to reflect actual value The MIN_CAPACITY was changed in PECL DS library from 16 to 8 in July 2017. See: php-ds/ext-ds@9904fca * Update \Ds\Vector::MIN_CAPACITY to reflect actual value Update \Ds\Vector::MIN_CAPACITY to reflect actual value The MIN_CAPACITY was changed in PECL DS library from 16 to 8 in July 2017. See: php-ds/ext-ds@9904fca * Add change of Vector::MIN_CAPACITY to changelog * Add change of Set::MIN_CAPACITY to changelog * Add change of Map::MIN_CAPACITY to changelog Changed paths: M reference/ds/ds.map.xml M reference/ds/ds.set.xml M reference/ds/ds.vector.xml Diff: diff --git a/reference/ds/ds.map.xml b/reference/ds/ds.map.xml index e55830b59c3b..0079ed800748 100644 --- a/reference/ds/ds.map.xml +++ b/reference/ds/ds.map.xml @@ -69,7 +69,7 @@ <modifier>const</modifier> <type>int</type> <varname linkend="ds-map.constants.min-capacity">Ds\Map::MIN_CAPACITY</varname> - <initializer>16</initializer> + <initializer>8</initializer> </fieldsynopsis> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> @@ -113,6 +113,12 @@ The class now implements <classname>ArrayAccess</classname>. </entry> </row> + <row> + <entry>PECL ds 1.2.0</entry> + <entry> + <constant>Ds\Map::MIN_CAPACITY</constant> changed from 16 to 8. + </entry> + </row> </tbody> </tgroup> </informaltable> diff --git a/reference/ds/ds.set.xml b/reference/ds/ds.set.xml index abe82685caae..70ccf2d01f85 100644 --- a/reference/ds/ds.set.xml +++ b/reference/ds/ds.set.xml @@ -82,7 +82,7 @@ <modifier>const</modifier> <type>int</type> <varname linkend="ds-set.constants.min-capacity">Ds\Set::MIN_CAPACITY</varname> - <initializer>16</initializer> + <initializer>8</initializer> </fieldsynopsis> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> @@ -132,6 +132,12 @@ Added the <methodname>Ds\Set::map</methodname> method. </entry> </row> + <row> + <entry>PECL ds 1.2.0</entry> + <entry> + <constant>Ds\Set::MIN_CAPACITY</constant> changed from 16 to 8. + </entry> + </row> </tbody> </tgroup> </informaltable> diff --git a/reference/ds/ds.vector.xml b/reference/ds/ds.vector.xml index 0c2c2730d477..efd2b0c2b037 100644 --- a/reference/ds/ds.vector.xml +++ b/reference/ds/ds.vector.xml @@ -76,7 +76,7 @@ <modifier>const</modifier> <type>int</type> <varname linkend="ds-vector.constants.min-capacity">Ds\Vector::MIN_CAPACITY</varname> - <initializer>10</initializer> + <initializer>8</initializer> </fieldsynopsis> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> @@ -122,6 +122,12 @@ The class now implements <classname>ArrayAccess</classname>. </entry> </row> + <row> + <entry>PECL ds 1.2.0</entry> + <entry> + <constant>Ds\Vector::MIN_CAPACITY</constant> changed from 10 to 8. + </entry> + </row> </tbody> </tgroup> </informaltable>

« previous php.doc.cvs (#22931) next »