nicobn Thu Aug 16 18:22:54 2007 UTC
Modified files:
/phpdoc/en/reference/sockets/functions socket-close.xml
Log:
Moved the note to method synopsis, like all the other socket functions
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-close.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/sockets/functions/socket-close.xml
diff -u phpdoc/en/reference/sockets/functions/socket-close.xml:1.8
phpdoc/en/reference/sockets/functions/socket-close.xml:1.9
--- phpdoc/en/reference/sockets/functions/socket-close.xml:1.8 Wed Jun 20
22:25:25 2007
+++ phpdoc/en/reference/sockets/functions/socket-close.xml Thu Aug 16
18:22:54 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.socket-close">
<refnamediv>
<refname>socket_close</refname>
@@ -14,7 +14,8 @@
</methodsynopsis>
<para>
<function>socket_close</function> closes the socket resource
- given by <parameter>socket</parameter>.
+ given by <parameter>socket</parameter>. This function is specific to sockets
+ and cannot be used on any other type of resources.
</para>
</refsect1>
@@ -25,16 +26,10 @@
<varlistentry>
<term><parameter>socket</parameter></term>
<listitem>
- <note>
<para>
- <function>socket_close</function> can't be used on PHP file resources
- created with <function>fopen</function>, <function>popen</function>,
- <function>fsockopen</function>, or <function>pfsockopen</function>;
- it is meant for sockets created with
- <function>socket_create</function> or
- <function>socket_accept</function>.
+ A valid socket resource created with <function>socket_create</function>
+ or <function>socket_accept</function>.
</para>
- </note>
</listitem>
</varlistentry>
</variablelist>