cvs: phpdoc /en/functions network.xml

From: Date: Wed, 03 Jan 2001 20:10:26 +0000
Subject: cvs: phpdoc /en/functions network.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333431@lists.php.net to get a copy of this message
jmoore Wed Jan 3 12:10:26 2001 EDT Modified files: /phpdoc/en/functions network.xml Log: Correcting example so pass by ref error isnt shown (although when I tested this it didnt happen to me). Anyway new example also works fine. Index: phpdoc/en/functions/network.xml diff -u phpdoc/en/functions/network.xml:1.28 phpdoc/en/functions/network.xml:1.29 --- phpdoc/en/functions/network.xml:1.28 Tue Dec 12 20:51:24 2000 +++ phpdoc/en/functions/network.xml Wed Jan 3 12:10:26 2001 @@ -209,7 +209,7 @@ <example> <title><function>Fsockopen</function> Example</title> <programlisting role="php"> -$fp = fsockopen ("www.php.net", 80, &amp;$errno, &amp;$errstr, 30); +$fp = fsockopen ("www.php.net", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)&lt;br&gt;\n"; } else { @@ -227,7 +227,7 @@ <title>Using UDP connection</title> <programlisting role="php"> &lt;?php -$fp = fsockopen("udp://127.0.0.1", 13, &amp;$errno, &amp;$errstr); +$fp = fsockopen("udp://127.0.0.1", 13, $errno, $errstr); if (!$fp) { echo "ERROR: $errno - $errstr&lt;br&gt;\n"; } else {

« previous php.doc (#969333431) next »