« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 627 for code (0.002 sec.)
IntlChar クラス | PHP 8.3 10504
IntlChar クラス (PHP 7, PHP 8) はじめに IntlChar クラスは、 Unicode 文字に関する情報にアクセスするための、 たくさんの便利メソッドを提供しています。 このクラスのメソッドと定数は、 依存している ICU ライブラリで使われている名前や振る舞いにとて ... も近いものです。 クラス概要 class IntlChar { /* 定数 */ public const string UNICODE_VERSION ; public const int CODEPOINT_MIN ; public const int CODEPOINT_MAX ; public const float NO_NUMERIC_VALUE ; public c ... L ; public const int PROPERTY_BIDI_MIRRORED ; public const int PROPERTY_DASH ; public const int PROPERTY_DEFAULT_IGNORABLE_CODE_POINT ; public const int PROPERTY_DEPRECATED ; public const int PROPERTY_DIACRITIC ; public const int PROPERTY_EXTENDER ; ... _EXCEPTION ; public const int PROPERTY_LOWERCASE ; public const int PROPERTY_MATH ; public const int PROPERTY_NONCHARACTER_CODE_POINT ; public const int PROPERTY_QUOTATION_MARK ; public const int PROPERTY_RADICAL ; public const int PROPERTY_SOFT_DOTT ...
https://man.mtool.work/php/8.3/class.intlchar.html
cubrid_error_code_facility — Get the facility code of error | PHP 8.3 7505
cubrid_error_code_facility (PECL CUBRID >= 8.3.0) cubrid_error_code_facility — Get the facility code of error 説明 function cubrid_error_code_facility (): int The cubrid_error_code_facility() function is used to get the facility code (level ... in which the error occurred) from the error code of the error that occurred during the API execution. Usually, you can get the error code when API returns false as its ret ... urn value. パラメータ この関数にはパラメータはありません。 戻り値 Facility code of the error code that occurred: CUBRID_FACILITY_DBMS , CUBRID_FACILITY_CAS , CUBRID_FACILITY_CCI , CUBRID_FACILITY_CLIENT ... . 例 例1 cubrid_error_code_facility() example <?php $conn = cubrid_connect ( "localhost" , 33000 , "demodb" ); $req = @ cubrid_execute ( $conn , "SEL ...
https://man.mtool.work/php/8.3/function.cubrid-error-code-facility.html
cubrid_error_code — Get error code for the most recent function call | PHP 8.3 7475
cubrid_error_code (PECL CUBRID >= 8.3.0) cubrid_error_code — Get error code for the most recent function call 説明 function cubrid_error_code (): int The cubrid_error_code() function is used to get the error code of the error that occurred ... during the API execution. Usually, it gets the error code when API returns false as its return value. パラメータ この関数にはパラメータはありません。 戻り値 Error code of the error ... that occurred, or 0 (zero) if no error occurred. 例 例1 cubrid_error_code() example <?php $conn = cubrid_connect ( "localhost" , 33000 , "demodb" ); $req = cubrid_prepare ( $conn , "SELECT * FROM ... code WHERE s_name=?" ); $req = @ cubrid_execute ( $req ); if (! $req ) { printf ( "Error facility: %d\nError code: %d\nError msg: %s\n" , cubrid_error_code_facility (), cubrid_error_code (), cubrid_error_msg ()); cubrid_disconnect ( $co ...
https://man.mtool.work/php/8.3/function.cubrid-error-code.html
http_response_code — HTTP レスポンスコードを取得または設定 | PHP 8.3 7183
http_response_code (PHP 5 >= 5.4.0, PHP 7, PHP 8) http_response_code — HTTP レスポンスコードを取得または設定 説明 function http_response_code ( int $response_code = 0 ): int | bool HTTP レスポンスのステータスコードを取得したり設定したりしま ... す。 パラメータ response_code オプションの response_code は、レスポンスコードを設定します。 戻り値 response_code を指定した場合は、変更前に設定されていた ... ステータスコードを返します。 response_code を省略した場合は、現在のステータスコードを返します。 どちらの場合でも、Web サーバー環境におけるデフォルトのステータスコード ... は 200 です。 response_code が省略されており、 かつ Web サーバー環境以外 (CLI アプリケーションなど) で実行した場合には、 false を返します。 response_c ...
https://man.mtool.work/php/8.3/function.http-response-code.html
LuaSandbox::loadString — Load Lua code into the Lua environment | PHP 8.3 7146
LuaSandbox::loadString (PECL luasandbox >= 1.0.0) LuaSandbox::loadString — Load Lua code into the Lua environment 説明 public function LuaSandbox::loadString ( string $code , string $chunkName = '' ): LuaSandboxFunction Loads Lua code into ... the Lua environment. This is the equivalent of standard Lua's loadstring() function. パラメータ code Lua code. chunkName Name for the loaded chunk, for use in error traces. 戻り値 Returns a LuaSandboxFunction which, when ex ... ecuted, will execute the passed $code . 例 例1 Loading code into Lua <?php // create a new LuaSandbox $sandbox = new LuaSandbox (); // Load the code $function = ... $sandbox -> loadString ( <<<CODE return "Hello, world" CODE ); // Execute the loaded code var_dump ( $function -> call () ); ?> 上の例の出力は以下となります ...
https://man.mtool.work/php/8.3/luasandbox.loadstring.html
geoip_region_name_by_code — 国コードと地域コードから地域名を返す | PHP 8.3 6561
geoip_region_name_by_code (PECL geoip >= 1.0.4) geoip_region_name_by_code — 国コードと地域コードから地域名を返す 説明 function geoip_region_name_by_code ( string $country_code , string $region_code ): string geoip_region_name_by_code() 関数 ... 降を使っている場合に使用可能です。 データは直接 GeoIP Library から受け取り、データベースは使用しません。 パラメータ country_code 二文字の国コード ( geoip_country_code_by_name() を参照ください)。 region_code 二文字 (あるいは二桁) の地域コード ( geoip_r ... ドの組に対応する地域が見つからなかった場合は false を返します。 例 例1 US/Canada の地域コードを使用した geoip_region_name_by_code() の例 これは、国 CA (カナダ)、地域 QC (ケベック) に対応する地域名を表示します。 <?php $region = geoip_region_name_by_code ... gion ; } ?> 上の例の出力は以下となります。 Region name for CA/QC is: Quebec 例2 FIPS コードを使用した geoip_region_name_by_code() の例 これは、国 JP (日本)、地域 01 に対応する地域名を表示します。 <?php $region = geoip_region_name_by_code ( 'JP' , '01 ...
https://man.mtool.work/php/8.3/function.geoip-region-name-by-code.html
PDO::cubrid_schema — 指定したスキーマ情報を取得する | PHP 8.3 6334
PDO::cubrid_schema (PECL PDO_CUBRID >= 8.3.0.0001) PDO::cubrid_schema — 指定したスキーマ情報を取得する 説明 public function PDO::cubrid_schema ( int $schema_type , string $table_name = ? , string $col_name = ? ): array 指定したスキーマ情報を ... ( $fk_list ); ?> 上の例の出力は以下となります。 Result: Array ( [0] => Array ( [CLASS_NAME] => game [ATTR_NAME] => athlete_code [KEY_SEQ] => 3 [KEY_NAME] => pk_game_host_year_event_code_athlete_code ) [1] => Array ( [CLASS_NAME] => game [ATTR_NAME] = ... > event_code [KEY_SEQ] => 2 [KEY_NAME] => pk_game_host_year_event_code_athlete_code ) [2] => Array ( [CLASS_NAME] => game [ATTR_NAME] = ... > host_year [KEY_SEQ] => 1 [KEY_NAME] => pk_game_host_year_event_code_athlete_code ) ) Array ( [0] => Array ( [PKTABLE_NAME] => athlete [PKCOLUMN_NAME] => code [FKTABLE_NAME] => game [FKCOLUMN ...
https://man.mtool.work/php/8.3/pdo.cubrid-schema.html
win32_set_service_exit_code — Define or return the exit code for the current ru... 6137
win32_set_service_exit_code (PECL win32service >=0.4.0) win32_set_service_exit_code — Define or return the exit code for the current running service 説明 function win32_set_service_exit_code ( int $exitCode = 1 ): int Change or return the e ... xit code. The exit code is used only if the exit mode is not graceful. If the value is not zero, the recovery configuration can be ... used after service fail. See » Microsoft system error codes for more details 警告 This function work only in "cli" SAPI. On other SAPI this function is disabled. パラメータ exitCode ... The return code used on exit. 戻り値 Return the current or old exit code. エラー / 例外 Prior to version 1.0.0, if the SAPI is not "cli" , ...
https://man.mtool.work/php/8.3/function.win32-set-service-exit-code.html
cubrid_schema — Get the requested schema information | PHP 8.3 6078
cubrid_schema (PECL CUBRID >= 8.3.0) cubrid_schema — Get the requested schema information 説明 function cubrid_schema ( resource $conn_identifier , int $schema_type , string $class_name = ? , string $attr_name = ? ): array The cubrid_schema ... ます。 --- Primary Key --- array(3) { [0]=> array(4) { ["CLASS_NAME"]=> string(4) "game" ["ATTR_NAME"]=> string(12) "athlete_code" ["KEY_SEQ"]=> string(1) "3" ["KEY_NAME"]=> string(41) "pk_game_host_year_event_code_athlete_code" } [1]=> array(4) { ["CL ... ASS_NAME"]=> string(4) "game" ["ATTR_NAME"]=> string(10) "event_code" ["KEY_SEQ"]=> string(1) "2" ["KEY_NAME"]=> string(41) "pk_game_host_year_event_code_athlete_code" } [2]=> array(4) { ["CL ... game" ["ATTR_NAME"]=> string(9) "host_year" ["KEY_SEQ"]=> string(1) "1" ["KEY_NAME"]=> string(41) "pk_game_host_year_event_code_athlete_code" } } --- Foreign Keys --- array(2) { [0]=> array(9) { ["PKTABLE_NAME"]=> string(7) "athlete" ["PKCOLUMN_NAME" ...
https://man.mtool.work/php/8.3/function.cubrid-schema.html
geoip_record_by_name — GeoIP データベースで見つかった詳細な都市情報を返す | PHP... 6078
geoip_record_by_name (PECL geoip >= 0.2.0) geoip_record_by_name — GeoIP データベースで見つかった詳細な都市情報を返す 説明 function geoip_record_by_name ( string $hostname ): array geoip_record_by_name() 関数は、 ホスト名あるいは IP アドレス ... ースが見つからない場合には警告が発生します。 返される連想配列には、以下のようなさまざまな名前のキーが含まれます。 "continent_code" -- 二文字の大陸コード (バージョン 1.0.4 以降で libgeoip 1.4.3 以降を使用した場合) "country_code" -- 二文字の国コード ( ge ... oip_country_code_by_name() を参照ください) "country_code3" -- 三文字の国コード ( geoip_country_code3_by_name() を参照ください) "country_nam ... 国名 ( geoip_country_name_by_name() を参照ください) "region" -- 地域コード (例: カリフォルニアなら CA) "city" -- 市 "postal_code" -- 郵便番号、FSA あるいは Zip コード "latitude" -- 緯度 (符号付き浮動小数点形式( float )) "longitude" -- 経度 (符号付浮動 ...
https://man.mtool.work/php/8.3/function.geoip-record-by-name.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT