Results of 1 - 10 of about 12 for yaconf (0.007 sec.)
- Yaconf::has — Check whether a configuration value exists | PHP 8.3 11214
- Yaconf::has (PECL yaconf >= 1.0.0) Yaconf::has — Check whether a configuration value exists 説明 public static function Yaconf::has ( string $name ): bool 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
- Yaconf::get — Retrieve a configuration value by name | PHP 8.3 11125
- Yaconf::get (PECL yaconf >= 1.0.0) Yaconf::get — Retrieve a configuration value by name 説明 public static function Yaconf::get ( string $name , 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.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
- Yaconf::__debug_info — Inspect how a configuration value is stored | PHP 8.3 10842
- Yaconf::__debug_info (PECL yaconf >= 1.1.0) Yaconf::__debug_info — Inspect how a configuration value is stored 説明 public static function Yaconf::__debug_info ( string $name ): ? array Returns debugging information about the value stored u
... nder 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
- Yaconf | PHP 8.3 10665
- Yaconf はじめに Yet Another Configurations Container ( Yaconf ) は、設定コンテナです。 これは INI ファイルをパースし、 PHP の実行が始まるタイミングで結果を格納します。 この結果は、PHP のライフサイクル全体で利用できます。 Yaconf は、全ての設
... ンターン化された文字列か、 変更不能な配列として格納します。 つまり、これらの設定はリファレンスカウントの対象にならないため、 Yaconf から設定を取得する際にコピーが発生せず、とても高速です。 Yaconf は、 INI ファイル内でセクションやセクションの継承をサポート ... しています。 PHP が non-ZTS としてビルドされている場合、 Yaconf は INI ファイルが変更された後に、自動的に設定をリロードする機能をサポートしています。 Yaconf を動かすには、PHP 7.0 以降が必 ... ectionA] key=new_val ;override configuration key in SectionA インストール/設定 要件 インストール手順 実行時設定 リソース型 Yaconf — The Yaconf class Yaconf::__debug_info — Inspect how a configuration value is stored Yaconf::get — Retrieve a configurati ...
-
https://man.mtool.work/php/8.3/book.yaconf.html
- The Yaconf class | PHP 8.3 9993
- 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 { /* メソッド *
... atic 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 ...
-
https://man.mtool.work/php/8.3/class.yaconf.html
- 実行時設定 | PHP 8.3 9392
- 実行時設定 php.ini の設定により動作が変化します。 Yaconf 設定オプション 名前 デフォルト 変更可能 変更履歴 yaconf.directory "" INI_SYSTEM yaconf.check_delay 300 INI_SYSTEM 以下に設定ディレクティブに関する 簡単な説明を示します。 yaconf.direct
... a key level, so a file database.ini placed in the users/ sub-directory is addressed as "users.database" . Available since Yaconf 1.2.0; before that only files directly in the directory were loaded. The examples below assume the following database.ini ... premium" section inherits every key from "default" and ; overrides the ones it redefines [premium:default] rate_limit=1000 yaconf.check_delay int The interval, in seconds, at which Yaconf checks whether any loaded INI file has changed and reloads the c ... hanged ones (the change is detected by comparing directory modification times). Setting it to 0 makes Yaconf check on every request. 注意 : This directive is only registered in non-ZTS builds. On ZTS (thread-safe) builds configurat ...
-
https://man.mtool.work/php/8.3/yaconf.configuration.html
- 要件 | PHP 8.3 7393
- 要件 Yaconf は PHP 7.0 以降が必要です。
...
-
https://man.mtool.work/php/8.3/yaconf.requirements.html
- その他の基本モジュール | PHP 8.3 7269
- その他の基本モジュール GeoIP — Geo IP ロケーション インストール/設定 定義済み定数 GeoIP 関数 FANN — FANN (Fast Artificial Neural Network) インストール/設定 定義済み定数 例 Fann 関数 FANNConnection — The FANNConnection class Igbinary インスト
... ailed_Action — Yaf_Exception_LoadFailed_Action クラス Yaf_Exception_LoadFailed_View — Yaf_Exception_LoadFailed_View クラス Yaconf インストール/設定 Yaconf — The Yaconf class Taint インストール/設定 詳細 Taint 関数 Data Structures インストール/設定 例 D ...
-
https://man.mtool.work/php/8.3/refs.basic.other.html
- インストール手順 | PHP 8.3 7145
- インストール手順 この » PECL 拡張モジュールは PHP にバンドルされていません。 この PECL 拡張モジュールをインストールする方法は、 マニュアルの PECL 拡張モジュールのインストール という章にあります。 新規リリース・ダウンロード・ソースファイル・
... 管理者情報・CHANGELOG といった関連する情報については、次の場所にあります。 » https://pecl.php.net/package/yaconf . この PECL 拡張モジュールの Windows バイナリ ( DLL ファイル) は、PECL のウェブサイトから取得できます。 他のマニュアルの関 ...
-
https://man.mtool.work/php/8.3/yaconf.installation.html
- アルファベット順 | PHP 8.3 7039
- アルファベット順 Apache APCu 配列 BC Math Bzip2 カレンダー クラス/オブジェクト CommonMark COM Componere Ctype CUBRID cURL Date/Time DBA dBase ダイレクト IO ディレクトリ DOM Data Structures Eio Enchant エラー処理 Ev Event プログラムの実行 Ex
... in32service WinCache wkhtmltox xattr xdiff Xhprof XLSWriter XML パーサー XMLDiff XMLReader XML-RPC XMLWriter Xpass XSL Yac Yaconf Yaf Yaml Yar YAZ Zip Zlib 0MQ messaging ZooKeeper 他のマニュアルの関連ページ Docker コンテナ内にデータを保管 Django 1.8.13 ...
-
https://man.mtool.work/php/8.3/extensions.alphabetical.html