CVS update: php3/doc/functions
| From: | amitay | Date: | Tue, 11 Aug 1998 07:23:18 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-92@lists.php.net to get a copy of this message | ||
Date: Tuesday August 11, 1998 @ 3:23
Author: amitay
Update of /repository/php3/doc/functions
In directory asf:/tmp/cvs-serv24703/doc/functions
Modified Files:
ldap.sgml
Log Message:
don't need ldap_free_entry any more.
Updated the docs accordingly.
Index: php3/doc/functions/ldap.sgml
diff -c php3/doc/functions/ldap.sgml:1.18 php3/doc/functions/ldap.sgml:1.19
*** php3/doc/functions/ldap.sgml:1.18 Mon Aug 10 15:18:48 1998
--- php3/doc/functions/ldap.sgml Tue Aug 11 03:23:18 1998
***************
*** 462,488 ****
</refentry>
- <refentry id="function.ldap-free-entry">
- <refnamediv>
- <refname>ldap_free_entry</refname>
- <refpurpose>Free entry result memory</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <funcsynopsis>
- <funcdef>int <function>ldap_free_entry</function></funcdef>
- <paramdef>int
<parameter>result_entry_identifier</parameter></paramdef>
- </funcsynopsis>
- <para>
- Returns true on success and false on error.
- <para>
- ldap_free_entry() deallocates memory used to store the entries in LDAP
- result. All memory allocated for entries is automatically freed when
- the script terminates.
- </refsect1>
- </refentry>
-
-
<refentry id="function.ldap-free-result">
<refnamediv>
<refname>ldap_free_result</refname>
--- 462,467 ----
***************
*** 500,505 ****
--- 479,489 ----
ldap_free_result() frees up the memory allocated internally to store
the result and pointed by the result_identifier. All result memory
will be automatically freed when the script terminates.
+ <para>
+ Typically all the memory allocated for the ldap result gets freed at
+ the end of the script. In case the script is making successive searches
+ which return large result sets, ldap_free_result() could be called
+ to keep the runtime memory usage by the script low.
</refsect1>
</refentry>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net