svn: /phpdoc/en/trunk/ appendices/migration70/new-functions.xml reference/info/functions/gc-mem-caches.xml reference/info/versions.xml
| From: | Adam Harvey | Date: | Mon, 21 Sep 2015 12:17:43 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ appendices/migration70/new-functions.xml reference/info/functions/gc-mem-caches.xml reference/info/versions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13757@lists.php.net to get a copy of this message | ||
aharvey Mon, 21 Sep 2015 12:17:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337878
Log:
Add gc_mem_caches() documentation. If only I knew what it did.
Changed paths:
U phpdoc/en/trunk/appendices/migration70/new-functions.xml
A phpdoc/en/trunk/reference/info/functions/gc-mem-caches.xml
U phpdoc/en/trunk/reference/info/versions.xml
Modified: phpdoc/en/trunk/appendices/migration70/new-functions.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration70/new-functions.xml 2015-09-21 12:17:38 UTC (rev 337877)
+++ phpdoc/en/trunk/appendices/migration70/new-functions.xml 2015-09-21 12:17:43 UTC (rev 337878)
@@ -93,6 +93,18 @@
</itemizedlist>
</sect2>
+ <sect2 xml:id="migration70.new-functions.info">
+ <title><link linkend="book.info">PHP
Options/Info</link></title>
+
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <function>gc_mem_caches</function>
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
<sect2 xml:id="migration70.new-functions.posix">
<title><link linkend="book.posix">POSIX</link></title>
Added: phpdoc/en/trunk/reference/info/functions/gc-mem-caches.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/gc-mem-caches.xml (rev 0)
+++ phpdoc/en/trunk/reference/info/functions/gc-mem-caches.xml 2015-09-21 12:17:43 UTC (rev 337878)
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<refentry xml:id="function.gc-mem-caches" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>gc_mem_caches</refname>
+ <refpurpose>
+ Reclaims memory used by the Zend Engine memory manager
+ </refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>int</type><methodname>gc_mem_caches</methodname>
+ <void/>
+ </methodsynopsis>
+ <para>
+ Reclaims memory used by the Zend Engine memory manager.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Returns the number of bytes freed.
+ </para>
+ </refsect1>
+
+ <!-- Use when ERRORS exist
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ When does this function throw E_* level errors, or exceptions?
+ </para>
+ </refsect1>
+ -->
+
+ <!-- Use when a CHANGELOG exists
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>Enter the PHP version of change here</entry>
+ <entry>Description of change</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+ -->
+
+ <!-- Use when examples exist
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>A <function>gc_collect_cycles</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';
+}
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+Use the PEAR Coding Standards
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+ -->
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><link linkend="features.gc">Garbage
Collection</link></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Modified: phpdoc/en/trunk/reference/info/versions.xml
===================================================================
--- phpdoc/en/trunk/reference/info/versions.xml 2015-09-21 12:17:38 UTC (rev 337877)
+++ phpdoc/en/trunk/reference/info/versions.xml 2015-09-21 12:17:43 UTC (rev 337878)
@@ -14,6 +14,7 @@
<function name='gc_disable' from='PHP 5 >= 5.3.0'/>
<function name='gc_enable' from='PHP 5 >= 5.3.0'/>
<function name='gc_enabled' from='PHP 5 >= 5.3.0'/>
+ <function name='gc_mem_caches' from='PHP 7'/>
<function name='get_cfg_var' from='PHP 4, PHP 5'/>
<function name='get_current_user' from='PHP 4, PHP 5'/>
<function name='get_defined_constants' from='PHP 4 >= 4.1.0, PHP
5'/>