Results of 1 - 10 of about 262 for defined (0.004 sec.)
- 指定した名前の定数が存在するかどうかを調べる 9009
- « define die » PHP Manual その他の関数 指定した名前の定数が存在するかどうかを調べる 検索 defined (PHP 4, PHP 5, PHP 7, PHP 8) defined — 指定した名前の定数が存在するかどうかを調べる 説明 function defined ( string $constant_name ): bool const
... ラス定数 や 列挙型の case に対しても動作します。 注意 : 変数が存在するかどうかを知りたければ、 isset() を利用してください。 defined() は 定数 にしか適用できません。 関数が存在するかどうかを知りたければ、 function_exists() を利用してください。 パラメータ ... constant_name 定数名。 注意 : defined() は名前を通常の文字列として受け取り、 現在の 名前空間 を基準に 解決することはありません。 名前はグローバル名前空間から探さ ... 前空間にある同名の定数が 黙って調べられることがあります。 名前空間の中で宣言された定数が定義されているかどうかを調べるには、 defined('My\Namespace\MYCONST') や defined(__NAMESPACE__ . '\MYCONST') のように、名前空間を名前の一部に含める必要があります。 名前 ...
-
https://man.mtool.work/php/8.3/function.defined.html
- 指定した名前の定数が存在するかどうかを調べる 8950
- « define die » PHP Manual その他の関数 指定した名前の定数が存在するかどうかを調べる 検索 defined (PHP 4, PHP 5, PHP 7, PHP 8) defined — 指定した名前の定数が存在するかどうかを調べる 説明 function defined ( string $constant_name ): bool const
... ラス定数 や 列挙型の case に対しても動作します。 注意 : 変数が存在するかどうかを知りたければ、 isset() を利用してください。 defined() は 定数 にしか適用できません。 関数が存在するかどうかを知りたければ、 function_exists() を利用してください。 パラメータ ... constant_name 定数名。 注意 : defined() は名前を通常の文字列として受け取り、 現在の 名前空間 を基準に 解決することはありません。 名前はグローバル名前空間から探さ ... 前空間にある同名の定数が 黙って調べられることがあります。 名前空間の中で宣言された定数が定義されているかどうかを調べるには、 defined('My\Namespace\MYCONST') や defined(__NAMESPACE__ . '\MYCONST') のように、名前空間を名前の一部に含める必要があります。 名前 ...
-
https://man.mtool.work/php/8.3/function.defined.html
- 全ての定義済の変数を配列で返す 8900
- « get_debug_type get_resource_id » PHP Manual 変数操作 関数 全ての定義済の変数を配列で返す 検索 get_defined_vars (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) get_defined_vars — 全ての定義済の変数を配列で返す 説明 function get_defined_vars (): arra
... y この関数は、環境変数、サーバー変数、 get_defined_vars() がコールされたスコープ内でユーザーが定義した変数を含む、全ての の定義済の変数のリストを有する多次元の配列を返します ... 。 パラメータ この関数にはパラメータはありません。 戻り値 すべての変数を含む多次元の配列を返します。 例 例1 get_defined_vars() の例 <?php $b = array( 1 , 1 , 2 , 3 , 5 , 8 ); $arr = get_defined_vars (); // $b を出力 print_r ( $arr [ "b" ]); / ... / サーバー変数を全て表示 print_r ( $arr [ "_SERVER" ]); // 変数の配列で利用可能なキーを全て出力 print_r ( array_keys ( get_defined_vars ())); ?> 参考 isset() - 変数が宣言されていること、そして null とは異なることを検査する get_defined_functions() - 定義 ...
-
https://man.mtool.work/php/8.3/function.get-defined-vars.html
- 全ての定義済の変数を配列で返す 8851
- « get_debug_type get_resource_id » PHP Manual 変数操作 関数 全ての定義済の変数を配列で返す 検索 get_defined_vars (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) get_defined_vars — 全ての定義済の変数を配列で返す 説明 function get_defined_vars (): arra
... y この関数は、環境変数、サーバー変数、 get_defined_vars() がコールされたスコープ内でユーザーが定義した変数を含む、全ての の定義済の変数のリストを有する多次元の配列を返します ... 。 パラメータ この関数にはパラメータはありません。 戻り値 すべての変数を含む多次元の配列を返します。 例 例1 get_defined_vars() の例 <?php $b = array( 1 , 1 , 2 , 3 , 5 , 8 ); $arr = get_defined_vars (); // $b を出力 print_r ( $arr [ "b" ]); / ... / サーバー変数を全て表示 print_r ( $arr [ "_SERVER" ]); // 変数の配列で利用可能なキーを全て出力 print_r ( array_keys ( get_defined_vars ())); ?> 参考 isset() - 変数が宣言されていること、そして null とは異なることを検査する get_defined_functions() - 定義 ...
-
https://man.mtool.work/php/8.3/function.get-defined-vars.html
- Register a user-defined callback function for Oracle Database TAF 8486
- « oci_pconnect oci_result » PHP Manual OCI8 関数 Register a user-defined callback function for Oracle Database TAF 検索 oci_register_taf_callback (PHP 7.0 >= 7.0.21, PHP 8, PHP 7 >= 7.1.7, PHP 8, PECL OCI8 >= 2.1.7) oci_register_taf_callbac
... k — Register a user-defined callback function for Oracle Database TAF 説明 function oci_register_taf_callback ( resource $connection , ? callable $cal ... lback ): bool Registers a user-defined callback function to connection . If connection fails due to instance or network failure, the registered callback function ... le times, each registration overwrites the previous one. Use oci_unregister_taf_callback() to explicitly unregister a user-defined callback. TAF callback registration will NOT be saved across persistent connections, therefore the callback needs to be re ...
-
https://man.mtool.work/php/8.3/function.oci-register-taf-callback.html
- Register a user-defined callback function for Oracle Database TAF 8486
- « oci_pconnect oci_result » PHP Manual OCI8 関数 Register a user-defined callback function for Oracle Database TAF 検索 oci_register_taf_callback (PHP 7.0 >= 7.0.21, PHP 8, PHP 7 >= 7.1.7, PHP 8, PECL OCI8 >= 2.1.7) oci_register_taf_callbac
... k — Register a user-defined callback function for Oracle Database TAF 説明 function oci_register_taf_callback ( resource $connection , ? callable $cal ... lback ): bool Registers a user-defined callback function to connection . If connection fails due to instance or network failure, the registered callback function ... le times, each registration overwrites the previous one. Use oci_unregister_taf_callback() to explicitly unregister a user-defined callback. TAF callback registration will NOT be saved across persistent connections, therefore the callback needs to be re ...
-
https://man.mtool.work/php/8.3/function.oci-register-taf-callback.html
- すべての定数の名前とその値を連想配列として返す 7873
- « get_current_user get_extension_funcs » PHP Manual PHP オプション/情報 関数 すべての定数の名前とその値を連想配列として返す 検索 get_defined_constants (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) get_defined_constants — すべての定数の名前とその値を
... 連想配列として返す 説明 function get_defined_constants ( bool $categorize = false ): array 現在定義されている全ての定数の名前と値を返します。返される値には、 拡張モジュ ... カテゴリとなり、 そのカテゴリ内の定数とその値が下位レベルに格納されます。 <?php define ( "MY_CONSTANT" , 1 ); print_r ( get_defined_constants ( true )); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [Core] => Array ( [E_ERROR] => 1 [E_WARNIN ... の配列の配列を返します。 オプションで、その定数を定義している拡張モジュール名ごとにグループ化することもできます。 例 例1 get_defined_constants() の例 <?php print_r ( get_defined_constants ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [E_ ...
-
https://man.mtool.work/php/8.3/function.get-defined-constants.html
- すべての定数の名前とその値を連想配列として返す 7873
- « get_current_user get_extension_funcs » PHP Manual PHP オプション/情報 関数 すべての定数の名前とその値を連想配列として返す 検索 get_defined_constants (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) get_defined_constants — すべての定数の名前とその値を
... 連想配列として返す 説明 function get_defined_constants ( bool $categorize = false ): array 現在定義されている全ての定数の名前と値を返します。返される値には、 拡張モジュ ... カテゴリとなり、 そのカテゴリ内の定数とその値が下位レベルに格納されます。 <?php define ( "MY_CONSTANT" , 1 ); print_r ( get_defined_constants ( true )); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [Core] => Array ( [E_ERROR] => 1 [E_WARNIN ... の配列の配列を返します。 オプションで、その定数を定義している拡張モジュール名ごとにグループ化することもできます。 例 例1 get_defined_constants() の例 <?php print_r ( get_defined_constants ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [E_ ...
-
https://man.mtool.work/php/8.3/function.get-defined-constants.html
- Unregister a user-defined callback function for Oracle Database TAF 7349
- « oci_statement_type OCICollection » PHP Manual OCI8 関数 Unregister a user-defined callback function for Oracle Database TAF 検索 oci_unregister_taf_callback (PHP 7.0 >= 7.0.23, PHP 8, PHP 7 >= 7.1.9, PHP 8, PECL OCI8 >= 2.1.7) oci_unregis
... ter_taf_callback — Unregister a user-defined callback function for Oracle Database TAF 説明 function oci_unregister_taf_callback ( resource $connection ): bool Unregis ... ter the user-defined callback function registered to connection by oci_register_taf_callback() . See OCI8 Transparent Application Failover (TAF ... ifier. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 oci_register_taf_callback() - Register a user-defined callback function for Oracle Database TAF 関連キーワード: callback function oci user defined Oracle taf Unregister Databas ...
-
https://man.mtool.work/php/8.3/function.oci-unregister-taf-callback.html
- 定義済みの全ての関数を配列で返す 7300
- « function_exists register_shutdown_function » PHP Manual 関数処理 関数 定義済みの全ての関数を配列で返す 検索 get_defined_functions (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) get_defined_functions — 定義済みの全ての関数を配列で返す 説明 function
... get_defined_functions ( bool $exclude_disabled = true ): array すべての定義済み関数を配列で返します。 パラメータ exclude_disabled 無効 ... ため、 この変更によって何かが起こることはありません。 7.0.15, 7.1.1 exclude_disabled パラメータが追加されました。 例 例1 get_defined_functions() の例 <?php function myrow ( $id , $data ) { return "<tr><th> $id </th><td> $data </td></tr>\n" ; } $arr = get_ ... => bccomp ) [user] => Array ( [0] => myrow ) ) 参考 function_exists() - 指定した関数が定義されている場合に true を返す get_defined_vars() - 全ての定義済の変数を配列で返す get_defined_constants() - すべての定数の名前とその値を連想配列として返す get_decla ...
-
https://man.mtool.work/php/8.3/function.get-defined-functions.html