php-doc-en/reference/mysqli/functions/mysqli-free-result.xml
Jakub Vrana 008a657c1a Change "object" to specific objects
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172550 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-12 14:01:04 +00:00

75 lines
2.2 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<refentry id="function.mysqli-free-result">
<refnamediv>
<refname>mysqli_free_result</refname>
<refname>result->free</refname>
<refpurpose>Frees the memory associated with a result</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>void</type><methodname>mysqli_free_result</methodname>
<methodparam><type>mysqli_result</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>mysqli_result</classname></ooclass>
<methodsynopsis>
<type>void</type><methodname>free</methodname>
<void />
</methodsynopsis>
</classsynopsis>
<para>
The <function>mysqli_free_result</function> function frees the memory
associated with the result represented by the
<parameter>result</parameter> parameter, which was allocated by
<function>mysqli_query</function>, <function>mysqli_store_result</function>
or <function>mysqli_use_result</function>.
</para>
<note>
<para>
You should always free your result with <function>mysqli_free_result</function>,
when your result object is not needed anymore.
</para>
</note>
</refsect1>
<refsect1>
&reftitle.returnvalues;
<para>
This function doesn't return any value.
</para>
</refsect1>
<refsect1>
&reftitle.seealso;
<para>
<function>mysqli_query</function>,
<function>mysqli_stmt_store_result</function>,
<function>mysqli_store_result</function>&listendand;
<function>mysqli_use_result</function>.
</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:"../../../../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
-->