PHPのお勉強!

PHP TOP

定義済み定数

以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。

Descriptions and uses for these constants are described within the curl_setopt(), curl_multi_setopt() and curl_getinfo() documentation.

定数 説明
CURLALTSVC_H1 (int) Available as of PHP 8.2.0 and cURL 7.64.1.
CURLALTSVC_H2 (int) Available as of PHP 8.2.0 and cURL 7.64.1.
CURLALTSVC_H3 (int) Available as of PHP 8.2.0 and cURL 7.64.1.
CURLALTSVC_READONLYFILE (int) Available as of PHP 8.2.0 and cURL 7.64.1.
CURLAUTH_ANY (int)
CURLAUTH_ANYSAFE (int)
CURLAUTH_AWS_SIGV4 (int) Available as of PHP 8.2.0 and cURL 7.75.0.
CURLAUTH_BASIC (int)
CURLAUTH_BEARER (int) Available as of PHP 7.3.0 and cURL 7.61.0.
CURLAUTH_DIGEST (int)
CURLAUTH_DIGEST_IE (int) Use HTTP Digest authentication with an IE flavor. Available as of cURL 7.19.3.
CURLAUTH_GSSAPI (int) Available as of PHP 7.3.0 and cURL 7.54.1
CURLAUTH_GSSNEGOTIATE (int)
CURLAUTH_NEGOTIATE (int) Available as of PHP 7.0.7 and cURL 7.38.0.
CURLAUTH_NONE (int) Available as of cURL 7.10.6.
CURLAUTH_NTLM (int)
CURLAUTH_NTLM_WB (int) Available as of PHP 7.0.7 and cURL 7.22.0
CURLAUTH_ONLY (int) This is a meta symbol. OR this value together with a single specific auth value to force libcurl to probe for unrestricted auth and if not, only that single auth algorithm is acceptable. Available as of cURL 7.21.3.
CURLFTPAUTH_DEFAULT (int)
CURLFTPAUTH_SSL (int)
CURLFTPAUTH_TLS (int)
CURLFTPMETHOD_DEFAULT (int) Available as of PHP 8.2.0 and cURL 7.15.3.
CURLFTPMETHOD_MULTICWD (int) Do a single CWD operation for each path part in the given URL. Available as of cURL 7.15.3.
CURLFTPMETHOD_NOCWD (int) libcurl makes no CWD at all. libcurl does SIZE, RETR, STOR etc. and gives a full path to the server for all these commands. Available as of cURL 7.15.3.
CURLFTPMETHOD_SINGLECWD (int) libcurl does one CWD with the full target directory and then operates on the file like in the multicwd case. Available as of cURL 7.15.3.
CURLFTPSSL_ALL (int)
CURLFTPSSL_CCC_ACTIVE (int) Initiate the shutdown and wait for a reply. Available as of cURL 7.16.2.
CURLFTPSSL_CCC_NONE (int) Do not attempt to use CCC (Clear Command Channel). Available as of cURL 7.16.2.
CURLFTPSSL_CCC_PASSIVE (int) Do not initiate the shutdown, but wait for the server to do it. Do not send a reply. Available as of cURL 7.16.1.
CURLFTPSSL_CONTROL (int)
CURLFTPSSL_NONE (int)
CURLFTPSSL_TRY (int)
CURLFTP_CREATE_DIR (int) Available as of PHP 7.0.7 and cURL 7.19.3
CURLFTP_CREATE_DIR_NONE (int) Available as of PHP 7.0.7 and cURL 7.19.3
CURLFTP_CREATE_DIR_RETRY (int) Available as of PHP 7.0.7 and cURL 7.19.3
CURLGSSAPI_DELEGATION_FLAG (int) Allow unconditional GSSAPI credential delegation. Available as of cURL 7.22.0.
CURLGSSAPI_DELEGATION_POLICY_FLAG (int) Delegate only if the OK-AS-DELEGATE flag is set in the service ticket if this feature is supported by the GSS-API implementation