1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Update gc.xml (#2533)

Fix typo GC_THRESHOLD_DEFAULT
This commit is contained in:
SVGAnimate
2023-06-19 23:54:08 +02:00
committed by GitHub
parent 5e41012cfd
commit 3f93d2472f

View File

@@ -405,7 +405,7 @@ a: (refcount=2, is_ref=1)=array (
When the garbage collector is turned on, the cycle-finding algorithm as
described above is executed whenever the root buffer runs full. The root
buffer has a fixed size of 10,000 possible roots (although you can alter
this by changing the <constant>GC_DEFAULT_THRESHOLD</constant> constant in
this by changing the <constant>GC_THRESHOLD_DEFAULT</constant> constant in
<literal>Zend/zend_gc.c</literal> in the PHP source code, and re-compiling
PHP). When the garbage collector is turned off, the cycle-finding
algorithm will never run. However, possible roots will always be recorded