cvs: phpdoc /en/reference/filesystem/functions stream-set-timeout.xml

From: Date: Mon, 28 Oct 2002 10:19:32 +0000
Subject: cvs: phpdoc /en/reference/filesystem/functions stream-set-timeout.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349301@lists.php.net to get a copy of this message
betz Mon Oct 28 05:19:32 2002 EDT Modified files: /phpdoc/en/reference/filesystem/functions stream-set-timeout.xml Log: example correction Index: phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml diff -u phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml:1.1 phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml:1.2 --- phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml:1.1 Sat Sep 28 19:30:31 2002 +++ phpdoc/en/reference/filesystem/functions/stream-set-timeout.xml Mon Oct 28 05:19:32 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.stream-set-timeout"> <refnamediv> @@ -29,7 +29,7 @@ } else { fputs($fp, "GET / HTTP/1.0\n\n"); $start = time(); - socket_set_timeout($fp, 2); + stream_set_timeout($fp, 2); $res = fread($fp, 2000); var_dump(stream_get_meta_data($fp)); fclose($fp);

« previous php.doc (#969349301) next »