Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion reference/curl/constants_curl_setopt.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 5cdc4c99779c1bd1b770b15a5fc6438b39223c28 Maintainer: nsfisis Status: ready -->
<!-- EN-Revision: d4a33d889b8db025b5e00c2defc167eb3e7de4bc Maintainer: nsfisis Status: ready -->
<variablelist role="constant_list">
<title><function>curl_setopt</function></title>
<varlistentry xml:id="constant.curlopt-abstract-unix-socket">
Expand Down Expand Up @@ -798,6 +798,13 @@
この定数は <link xmlns="http://docbook.org/ns/docbook" linkend="ini.open-basedir">open_basedir</link> が有効になっていると利用できません。
cURL 7.1.0 以降で利用可能です。
</para>
<simpara>
PHP 8.5.0 以降、このオプションの値は整数として扱われます。
<constant>CURLFOLLOW_ALL</constant> は、このオプションを &true; に設定することと同じです。
<constant>CURLFOLLOW_OBEYCODE</constant> は、許可されるリダイレクトのステータスコードについて、
より厳密にリダイレクトを追跡します。
<constant>CURLFOLLOW_FIRSTONLY</constant> は、最初のリダイレクトだけを追跡します。
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.curlopt-forbid-reuse">
Expand Down Expand Up @@ -3734,6 +3741,18 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.curlopt-ssl-signature-algorithms">
<term>
<constant>CURLOPT_SSL_SIGNATURE_ALGORITHMS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
TLS 認証に使用する署名アルゴリズムをコロン区切りリストで指定します。
PHP 8.5.0 以降かつ cURL 7.89.0 以降で利用可能です。
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.curlopt-stderr">
<term>
<constant>CURLOPT_STDERR</constant>
Expand Down
28 changes: 27 additions & 1 deletion reference/curl/curlsharepersistenthandle.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 01d19a544891db839e36de8316e78f81de56c1ca Maintainer: mumumu Status: ready -->
<!-- EN-Revision: d4a33d889b8db025b5e00c2defc167eb3e7de4bc Maintainer: mumumu Status: ready -->
<reference xml:id="class.curlsharepersistenthandle" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>CurlSharePersistentHandle クラス</title>
<titleabbrev>CurlSharePersistentHandle</titleabbrev>
Expand All @@ -11,7 +11,11 @@
<section xml:id="curlsharepersistenthandle.intro">
&reftitle.intro;
<simpara>
<function>curl_share_init_persistent</function> で作成される、
持続的な cURL "共有" ハンドルを表します。
<function>curl_share_init</function> で作成される <classname>CurlShareHandle</classname> とは異なり、
このハンドルはリクエストにまたがって持続します。
共有するデータは <function>curl_share_setopt</function> で設定します。
</simpara>
</section>
<!-- }}} -->
Expand Down Expand Up @@ -53,6 +57,28 @@
<!-- }}} -->


<section role="changelog" xml:id="curlsharepersistenthandle.changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.5.0</entry>
<entry>
このクラスが追加されました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>

</partintro>

<!-- &reference.curl.entities.curlsharepersistenthandle; -->
Expand Down
88 changes: 88 additions & 0 deletions reference/curl/functions/curl-multi-get-handles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: d4a33d889b8db025b5e00c2defc167eb3e7de4bc Maintainer: KentarouTakeda Status: ready -->
<refentry xml:id="function.curl-multi-get-handles" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>curl_multi_get_handles</refname>
<refpurpose>CurlMultiHandle に現在アタッチされている CurlHandle オブジェクトの配列を返す</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>curl_multi_get_handles</methodname>
<methodparam><type>CurlMultiHandle</type><parameter>multi_handle</parameter></methodparam>
</methodsynopsis>
<simpara>
指定した <classname>CurlMultiHandle</classname> に現在アタッチされている
<classname>CurlHandle</classname> オブジェクトをすべて返します。
これには、<function>curl_multi_add_handle</function> で追加したハンドルと、
<constant>CURLMOPT_PUSHFUNCTION</constant> のコールバックが受け入れたハンドルが含まれます。
</simpara>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
&curl.mh.description;
</variablelist>
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
<classname>CurlHandle</classname> オブジェクトの配列を返します。
</simpara>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.5.0</entry>
<entry>
この関数が追加されました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>curl_multi_add_handle</function></member>
<member><function>curl_multi_remove_handle</function></member>
</simplelist>
</refsect1>

</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
4 changes: 2 additions & 2 deletions reference/curl/functions/curl-unescape.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: fc9a0a8b29a7a099998bdd71fe5350a10b18fe62 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 4372c2fc19d3addb446b68e6db4187df6119a95d Maintainer: takagi Status: ready -->

<refentry xml:id="function.curl-unescape" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand Down Expand Up @@ -63,7 +63,7 @@
&reftitle.examples;
<para>
<example>
<title><function>curl_escape</function> の例</title>
<title><function>curl_unescape</function> の例</title>
<programlisting role="php">
<![CDATA[
<?php
Expand Down
4 changes: 2 additions & 2 deletions reference/curl/functions/curl-upkeep.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: fc9a0a8b29a7a099998bdd71fe5350a10b18fe62 Maintainer: mumumu Status: ready -->
<!-- EN-Revision: 4372c2fc19d3addb446b68e6db4187df6119a95d Maintainer: mumumu Status: ready -->
<refentry xml:id="function.curl_upkeep" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>curl_upkeep</refname>
Expand Down Expand Up @@ -61,7 +61,7 @@ curl_setopt($ch, CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_2_0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_UPKEEP_INTERVAL_MS, 200);
if (curl_exec($ch)) {
usleep(300);
usleep(300000);
var_dump(curl_upkeep($ch));
}
?>
Expand Down
Loading