svn: /phpdoc/en/trunk/reference/info/functions/ gc-collect-cycles.xml gc-disable.xml gc-enable.xml gc-enabled.xml

From: Date: Tue, 10 Jan 2012 00:19:12 +0000
Subject: svn: /phpdoc/en/trunk/reference/info/functions/ gc-collect-cycles.xml gc-disable.xml gc-enable.xml gc-enabled.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9369@lists.php.net to get a copy of this message
frozenfire Tue, 10 Jan 2012 00:19:12 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=321980 Log: Documented garbage collection functions. Changed paths: U phpdoc/en/trunk/reference/info/functions/gc-collect-cycles.xml U phpdoc/en/trunk/reference/info/functions/gc-disable.xml U phpdoc/en/trunk/reference/info/functions/gc-enable.xml U phpdoc/en/trunk/reference/info/functions/gc-enabled.xml Modified: phpdoc/en/trunk/reference/info/functions/gc-collect-cycles.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/gc-collect-cycles.xml 2012-01-09 23:32:36 UTC (rev 321979) +++ phpdoc/en/trunk/reference/info/functions/gc-collect-cycles.xml 2012-01-10 00:19:12 UTC (rev 321980) @@ -12,7 +12,6 @@ <type>int</type><methodname>gc_collect_cycles</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; <para> Forces collection of any existing garbage cycles. </para> @@ -94,17 +93,14 @@ </refsect1> --> - <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> - <member><function></function></member> - <member>Or <link linkend="somethingelse">something else</link></member> + <member><link linkend="features.gc">Garbage Collection</link></member> </simplelist> </para> </refsect1> - --> </refentry> Modified: phpdoc/en/trunk/reference/info/functions/gc-disable.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/gc-disable.xml 2012-01-09 23:32:36 UTC (rev 321979) +++ phpdoc/en/trunk/reference/info/functions/gc-disable.xml 2012-01-10 00:19:12 UTC (rev 321980) @@ -12,9 +12,9 @@ <type>void</type><methodname>gc_disable</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; <para> - Deactivates the circular reference collector. + Deactivates the circular reference collector, setting + <link linkend="ini.zend.enable-gc">zend.enable_gc</link> to <literal>0</literal>. </para> </refsect1> @@ -94,17 +94,14 @@ </refsect1> --> - <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> - <member><function></function></member> - <member>Or <link linkend="somethingelse">something else</link></member> + <member><link linkend="features.gc">Garbage Collection</link></member> </simplelist> </para> </refsect1> - --> </refentry> Modified: phpdoc/en/trunk/reference/info/functions/gc-enable.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/gc-enable.xml 2012-01-09 23:32:36 UTC (rev 321979) +++ phpdoc/en/trunk/reference/info/functions/gc-enable.xml 2012-01-10 00:19:12 UTC (rev 321980) @@ -12,9 +12,9 @@ <type>void</type><methodname>gc_enable</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; <para> - Activates the circular reference collector. + Activates the circular reference collector, setting + <link linkend="ini.zend.enable-gc">zend.enable_gc</link> to <literal>1</literal>. </para> </refsect1> @@ -94,17 +94,14 @@ </refsect1> --> - <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> - <member><function></function></member> - <member>Or <link linkend="somethingelse">something else</link></member> + <member><link linkend="features.gc">Garbage Collection</link></member> </simplelist> </para> </refsect1> - --> </refentry> Modified: phpdoc/en/trunk/reference/info/functions/gc-enabled.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/gc-enabled.xml 2012-01-09 23:32:36 UTC (rev 321979) +++ phpdoc/en/trunk/reference/info/functions/gc-enabled.xml 2012-01-10 00:19:12 UTC (rev 321980) @@ -12,7 +12,6 @@ <type>bool</type><methodname>gc_enabled</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; <para> Returns status of the circular reference collector. </para> @@ -63,48 +62,30 @@ </refsect1> --> - <!-- Use when examples exist <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A <function>gc_enabled</function> example</title> - <para> - Any text that describes the purpose of the example, or - what goes on in the example should go here (inside the - <example> tag, not out - </para> <programlisting role="php"> <![CDATA[ <?php -if ($anexample === true) { - echo 'Use the PEAR Coding Standards'; -} +if(gc_enabled()) gc_collect_cycles(); ?> ]]> </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Use the PEAR Coding Standards -]]> - </screen> </example> </para> </refsect1> - --> - <!-- Use when adding See Also links <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> - <member><function></function></member> - <member>Or <link linkend="somethingelse">something else</link></member> + <member><link linkend="features.gc">Garbage Collection</link></member> </simplelist> </para> </refsect1> - --> </refentry>

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