mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
add http's timeout context
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228122 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
72740b64e1
commit
78de09265c
1 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.68 $ -->
|
||||
<!-- $Revision: 1.69 $ -->
|
||||
<appendix id="wrappers">
|
||||
<title>List of Supported Protocols/Wrappers</title>
|
||||
<para>
|
||||
|
@ -385,6 +385,14 @@ $result = file_get_contents('http://example.com/submit.php', false, $context);
|
|||
</entry>
|
||||
<entry>1.0</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>timeout</literal></entry>
|
||||
<entry>
|
||||
Read timeout in seconds, specified by a <type>float</type> (e.g.
|
||||
<literal>10.5</literal>). Added in PHP 5.2.1.
|
||||
</entry>
|
||||
<entry><link linkend="ini.default-socket-timeout">default_socket_timeout</link></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue