Skip to content

Commit cfb03e7

Browse files
Add a versionadded note
1 parent c7f71f1 commit cfb03e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/configuration/framework.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ If not set, ``php.ini``'s `session.gc_divisor`_ directive will be relied on.
18451845
gc_probability
18461846
..............
18471847

1848-
**type**: ``integer`` **default**: ``1``
1848+
**type**: ``integer``
18491849

18501850
This defines the probability that the garbage collector (GC) process is
18511851
started on every session initialization. The probability is calculated by
@@ -1854,6 +1854,10 @@ chance that the GC process will start on each request.
18541854

18551855
If not set, ``php.ini``'s `session.gc_probability`_ directive will be relied on.
18561856

1857+
.. versionadded:: 7.2
1858+
1859+
Relying on ``php.ini``'s directive as default for ``gc_probability`` was introduced in symfony 7.2.
1860+
18571861
gc_maxlifetime
18581862
..............
18591863

0 commit comments

Comments
 (0)