Results of 1 - 10 of about 34 for Yaconf (0.002 sec.)
- Check whether a configuration value exists 10529
- « 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
... ol Determines whether a configuration value exists under name , which uses the same dot notation as Yaconf::get() : for example, "app.name" or, since Yaconf 1.2.0, "users.database.master" for files in sub-directories. パラメータ ... on value exists at name , false otherwise. 例 The examples below assume an app.ini placed in the directory configured with yaconf.directory , holding the keys name="shop" and debug=0 . 例1 Yaconf::has() example <?php var_dump ( Yaconf :: has ( "app.nam ... e" )); // bool(true) var_dump ( Yaconf :: has ( "app.missing" )); // bool(false) // useful to distinguish a stored empty value from a missing key, // where Yacon ...
-
https://man.mtool.work/php/8.3/yaconf.has.html
- Check whether a configuration value exists 10529
- « 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
... ol Determines whether a configuration value exists under name , which uses the same dot notation as Yaconf::get() : for example, "app.name" or, since Yaconf 1.2.0, "users.database.master" for files in sub-directories. パラメータ ... on value exists at name , false otherwise. 例 The examples below assume an app.ini placed in the directory configured with yaconf.directory , holding the keys name="shop" and debug=0 . 例1 Yaconf::has() example <?php var_dump ( Yaconf :: has ( "app.nam ... e" )); // bool(true) var_dump ( Yaconf :: has ( "app.missing" )); // bool(false) // useful to distinguish a stored empty value from a missing key, // where Yacon ...
-
https://man.mtool.work/php/8.3/yaconf.has.html
- Retrieve a configuration value by name 10433
- « 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
... 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.master" a key in the file database.ini placed in the users/ sub-directory. The dot notation supports ... iguration 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-directories. default The value to return when name is not found. When omit ... l when no default was given). 例 The examples below assume the following two files placed in the directory configured with yaconf.directory . ; app.ini name="shop" ; scalar value debug=0 ; number features[]="checkout" ; array entries, both notations fe ...
-
https://man.mtool.work/php/8.3/yaconf.get.html
- Retrieve a configuration value by name 10385
- « 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
... 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.master" a key in the file database.ini placed in the users/ sub-directory. The dot notation supports ... iguration 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-directories. default The value to return when name is not found. When omit ... l when no default was given). 例 The examples below assume the following two files placed in the directory configured with yaconf.directory . ; app.ini name="shop" ; scalar value debug=0 ; number features[]="checkout" ; array entries, both notations fe ...
-
https://man.mtool.work/php/8.3/yaconf.get.html
- Inspect how a configuration value is stored 10241
- « Yaconf Yaconf::get » PHP Manual Yaconf Inspect how a configuration value is stored 検索 Yaconf::__debug_info (PECL yaconf >= 1.1.0) Yaconf::__debug_info — Inspect how a configuration value is stored 説明 public static function Yaconf::__d
... mation about the value stored under name : the memory address of the stored value and whether the value still lives inside Yaconf's compacted storage block. 警告 This method exists solely for Yaconf's own test suite, which uses it to verify that the ex ... e returned array may change at any time. パラメータ name The configuration name to inspect, using the same dot notation as Yaconf::get() . 戻り値 An array with four entries when the configuration exists, null otherwise: key — the name that was looked u ... ot had to copy the page (copy-on-write still applies); true when the value has been re-allocated outside the block. 例 例1 Yaconf::__debug_info() example <?php // assuming app.ini contains name="shop" var_dump ( Yaconf :: __debug_info ( "app.name" )); ...
-
https://man.mtool.work/php/8.3/yaconf.debug-info.html
- The Yaconf class 10177
- « リソース型 Yaconf::__debug_info » PHP Manual Yaconf The Yaconf class 検索 The Yaconf class (PECL yaconf >= 1.0.0) はじめに Yaconf is a configurations container, it parses INI files, stores the result in PHP when PHP is started, the result
... lives with the whole PHP lifecycle. クラス概要 class Yaconf { /* メソッド */ public static function __debug_info ( string $name ): ? array public static function get ( string $name , ... mixed $default = null ): mixed public static function has ( string $name ): bool } 目次 Yaconf::__debug_info — Inspect how a configuration value is stored Yaconf::get — Retrieve a configuration value by name Yaconf::h ... as — Check whether a configuration value exists 関連キーワード: Yaconf class name debug info static function string configuration value result get mixed リソース Search yaconf はじめ configurat ...
-
https://man.mtool.work/php/8.3/class.yaconf.html
- Inspect how a configuration value is stored 10161
- « Yaconf Yaconf::get » PHP Manual Yaconf Inspect how a configuration value is stored 検索 Yaconf::__debug_info (PECL yaconf >= 1.1.0) Yaconf::__debug_info — Inspect how a configuration value is stored 説明 public static function Yaconf::__d
... mation about the value stored under name : the memory address of the stored value and whether the value still lives inside Yaconf's compacted storage block. 警告 This method exists solely for Yaconf's own test suite, which uses it to verify that the ex ... e returned array may change at any time. パラメータ name The configuration name to inspect, using the same dot notation as Yaconf::get() . 戻り値 An array with four entries when the configuration exists, null otherwise: key — the name that was looked u ... ot had to copy the page (copy-on-write still applies); true when the value has been re-allocated outside the block. 例 例1 Yaconf::__debug_info() example <?php // assuming app.ini contains name="shop" var_dump ( Yaconf :: __debug_info ( "app.name" )); ...
-
https://man.mtool.work/php/8.3/yaconf.debug-info.html
- The Yaconf class 10161
- « リソース型 Yaconf::__debug_info » PHP Manual Yaconf The Yaconf class 検索 The Yaconf class (PECL yaconf >= 1.0.0) はじめに Yaconf is a configurations container, it parses INI files, stores the result in PHP when PHP is started, the result
... lives with the whole PHP lifecycle. クラス概要 class Yaconf { /* メソッド */ public static function __debug_info ( string $name ): ? array public static function get ( string $name , ... mixed $default = null ): mixed public static function has ( string $name ): bool } 目次 Yaconf::__debug_info — Inspect how a configuration value is stored Yaconf::get — Retrieve a configuration value by name Yaconf::h ... as — Check whether a configuration value exists 関連キーワード: Yaconf debug info static configuration mixed リソース yaconf configurations container parses files stores started lives whole lif ...
-
https://man.mtool.work/php/8.3/class.yaconf.html
- Yaconf 9922
- « Yaf_Exception_LoadFailed_View インストール/設定 » PHP Manual その他の基本モジュール Yaconf 検索 Yaconf はじめに Yet Another Configurations Container ( Yaconf ) は、設定コンテナです。 これは INI ファイルをパースし、 PHP の実行が始まるタイミ
... ングで結果を格納します。 この結果は、PHP のライフサイクル全体で利用できます。 Yaconf は、全ての設定をインターン化された文字列か、 変更不能な配列として格納します。 つまり、これらの設定はリファレンスカウントの ... 対象にならないため、 Yaconf から設定を取得する際にコピーが発生せず、とても高速です。 Yaconf は、 INI ファイル内でセクションやセクションの継承をサポート ... しています。 PHP が non-ZTS としてビルドされている場合、 Yaconf は INI ファイルが変更された後に、自動的に設定をリロードする機能をサポートしています。 Yaconf を動かすには、PHP 7.0 以降が必 ...
-
https://man.mtool.work/php/8.3/book.yaconf.html
- Yaconf 9906
- « Yaf_Exception_LoadFailed_View インストール/設定 » PHP Manual その他の基本モジュール Yaconf 検索 Yaconf はじめに Yet Another Configurations Container ( Yaconf ) は、設定コンテナです。 これは INI ファイルをパースし、 PHP の実行が始まるタイミ
... ングで結果を格納します。 この結果は、PHP のライフサイクル全体で利用できます。 Yaconf は、全ての設定をインターン化された文字列か、 変更不能な配列として格納します。 つまり、これらの設定はリファレンスカウントの ... 対象にならないため、 Yaconf から設定を取得する際にコピーが発生せず、とても高速です。 Yaconf は、 INI ファイル内でセクションやセクションの継承をサポート ... しています。 PHP が non-ZTS としてビルドされている場合、 Yaconf は INI ファイルが変更された後に、自動的に設定をリロードする機能をサポートしています。 Yaconf を動かすには、PHP 7.0 以降が必 ...
-
https://man.mtool.work/php/8.3/book.yaconf.html