« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 24 for nested (0.002 sec.)
Retrieve a configuration value by name 12493
« Yaconf::__debug_info Yaconf::has » PHP Manual Yaconf Retrieve a configuration value by name 検索 Yaconf::get (PECL yaconf >= 1.0.0) Yaconf::get — Retrieve a configuration value by name 説明 public static function Yaconf::get ( string $nam ... , mixed $default = null ): mixed Retrieves the configuration value stored under name . Names use dot notation to traverse nested keys: "app" addresses the whole parsed app.ini file, "app.name" a key inside it, and since Yaconf 1.2.0 "users.database.ma ... ion supports up to 64 levels of nesting. パラメータ name The configuration name to look up, using dot notation to traverse nested keys, for example "app.name" , "app.features.1" or, since Yaconf 1.2.0, "users.database.master" for files in sub-directori ... et() example <?php // fetch a whole parsed file as an array var_dump ( Yaconf :: get ( "app" )); // dot notation traverses nested keys var_dump ( Yaconf :: get ( "app.name" )); // string(4) "shop" var_dump ( Yaconf :: get ( "app.features.1" )); // stri ...
https://man.mtool.work/php/8.3/yaconf.get.html
変数が空であるかどうかを検査する 12143
« doubleval floatval » PHP Manual 変数操作 関数 変数が空であるかどうかを検査する 検索 empty (PHP 4, PHP 5, PHP 7, PHP 8) empty — 変数が空であるかどうかを検査する 説明 function empty ( mixed $var ): bool 変数が空であるかどうかを検査します。 ... lse) bool(false) bool(true) bool(true) 例3 多次元配列に対する empty() <?php $multidimensional = [ 'some' => [ 'deep' => [ 'nested' => 'value' ] ] ]; if (!empty( $multidimensional [ 'some' ][ 'some' ][ 'nested' ])) { $someVariable = $multidimensional [ ... 'some' ][ 'deep' ][ 'nested' ]; } var_dump (empty( $multidimensional [ 'some-undefined-key' ])); var_dump (empty( $multidimensional [ 'some' ][ 'deep' ... ][ 'unknown' ])); var_dump (empty( $multidimensional [ 'some' ][ 'deep' ][ 'nested' ])); ?> 上の例の出力は以下となります。 bool(true) bool(true) bool(false) 注意 注意 : これは、関数ではなく 言語構造のため、 ...
https://man.mtool.work/php/8.3/function.empty.html
変数が空であるかどうかを検査する 12143
« doubleval floatval » PHP Manual 変数操作 関数 変数が空であるかどうかを検査する 検索 empty (PHP 4, PHP 5, PHP 7, PHP 8) empty — 変数が空であるかどうかを検査する 説明 function empty ( mixed $var ): bool 変数が空であるかどうかを検査します。 ... lse) bool(false) bool(true) bool(true) 例3 多次元配列に対する empty() <?php $multidimensional = [ 'some' => [ 'deep' => [ 'nested' => 'value' ] ] ]; if (!empty( $multidimensional [ 'some' ][ 'some' ][ 'nested' ])) { $someVariable = $multidimensional [ ... 'some' ][ 'deep' ][ 'nested' ]; } var_dump (empty( $multidimensional [ 'some-undefined-key' ])); var_dump (empty( $multidimensional [ 'some' ][ 'deep' ... ][ 'unknown' ])); var_dump (empty( $multidimensional [ 'some' ][ 'deep' ][ 'nested' ])); ?> 上の例の出力は以下となります。 bool(true) bool(true) bool(false) 注意 注意 : これは、関数ではなく 言語構造のため、 ...
https://man.mtool.work/php/8.3/function.empty.html
Retrieve a configuration value by name 10808
« Yaconf::__debug_info Yaconf::has » PHP Manual Yaconf Retrieve a configuration value by name 検索 Yaconf::get (PECL yaconf >= 1.0.0) Yaconf::get — Retrieve a configuration value by name 説明 public static function Yaconf::get ( string $nam ... , mixed $default = null ): mixed Retrieves the configuration value stored under name . Names use dot notation to traverse nested keys: "app" addresses the whole parsed app.ini file, "app.name" a key inside it, and since Yaconf 1.2.0 "users.database.ma ... ion supports up to 64 levels of nesting. パラメータ name The configuration name to look up, using dot notation to traverse nested keys, for example "app.name" , "app.features.1" or, since Yaconf 1.2.0, "users.database.master" for files in sub-directori ... et() example <?php // fetch a whole parsed file as an array var_dump ( Yaconf :: get ( "app" )); // dot notation traverses nested keys var_dump ( Yaconf :: get ( "app.name" )); // string(4) "shop" var_dump ( Yaconf :: get ( "app.features.1" )); // stri ...
https://man.mtool.work/php/8.3/yaconf.get.html
parallel 8623
« system Installation » PHP Manual プロセス制御 parallel 検索 parallel はじめに parallel is a parallel concurrency extension for PHP ≥ 7.2.0. As of parallel 1.2.0, PHP ≥ 8.0.0 is required. A brief description of the concepts core to paralle ... Task A task is simply a Closure intended for parallel execution. The Closure may contain almost any instruction, including nested closures. However, there are some instructions that are prohibited in tasks: yield use by-reference declare class declare ... named function 注意 : Nested closures may yield or use by-reference, but must not contain class or named function declarations. 注意 : No instructions ...
https://man.mtool.work/php/8.3/book.parallel.html
parallel 8623
« system Installation » PHP Manual プロセス制御 parallel 検索 parallel はじめに parallel is a parallel concurrency extension for PHP ≥ 7.2.0. As of parallel 1.2.0, PHP ≥ 8.0.0 is required. A brief description of the concepts core to paralle ... Task A task is simply a Closure intended for parallel execution. The Closure may contain almost any instruction, including nested closures. However, there are some instructions that are prohibited in tasks: yield use by-reference declare class declare ... named function 注意 : Nested closures may yield or use by-reference, but must not contain class or named function declarations. 注意 : No instructions ...
https://man.mtool.work/php/8.3/book.parallel.html
Check whether a configuration value exists 7956
« Yaconf::get Taint » PHP Manual Yaconf Check whether a configuration value exists 検索 Yaconf::has (PECL yaconf >= 1.0.0) Yaconf::has — Check whether a configuration value exists 説明 public static function Yaconf::has ( string $name ): bo ... se.master" for files in sub-directories. パラメータ name The configuration name to look up, using dot notation to traverse nested keys, for example "app.name" or "users.database.master" . 戻り値 Returns true if a configuration value exists at name , fa ...
https://man.mtool.work/php/8.3/yaconf.has.html
Check whether a configuration value exists 7956
« Yaconf::get Taint » PHP Manual Yaconf Check whether a configuration value exists 検索 Yaconf::has (PECL yaconf >= 1.0.0) Yaconf::has — Check whether a configuration value exists 説明 public static function Yaconf::has ( string $name ): bo ... se.master" for files in sub-directories. パラメータ name The configuration name to look up, using dot notation to traverse nested keys, for example "app.name" or "users.database.master" . 戻り値 Returns true if a configuration value exists at name , fa ...
https://man.mtool.work/php/8.3/yaconf.has.html
実行時設定 7789
« インストール手順 リソース型 » PHP Manual インストール/設定 実行時設定 検索 実行時設定 php.ini の設定により動作が変化します。 Yaconf 設定オプション 名前 デフォルト 変更可能 変更履歴 yaconf.directory "" INI_SYSTEM yaconf.check_delay 300 INI ... constants are resolved connection_string=${DATABASE_URL} ; environment variables are resolved options.max_connections=50 ; nested hash key options.timeout=30 ; array entries, both notations are equivalent replicas.0=replica-1.example.com replicas[]=rep ...
https://man.mtool.work/php/8.3/yaconf.configuration.html
実行時設定 7789
« インストール手順 リソース型 » PHP Manual インストール/設定 実行時設定 検索 実行時設定 php.ini の設定により動作が変化します。 Yaconf 設定オプション 名前 デフォルト 変更可能 変更履歴 yaconf.directory "" INI_SYSTEM yaconf.check_delay 300 INI ... constants are resolved connection_string=${DATABASE_URL} ; environment variables are resolved options.max_connections=50 ; nested hash key options.timeout=30 ; array entries, both notations are equivalent replicas.0=replica-1.example.com replicas[]=rep ...
https://man.mtool.work/php/8.3/yaconf.configuration.html
PREV 1 2 3 NEXT