Results of 1 - 1 of about 1 for wishlist (0.002 sec.)
- Yaconf::get — Retrieve a configuration value by name | PHP 8.3 9414
- 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
... . ; app.ini name="shop" ; scalar value debug=0 ; number features[]="checkout" ; array entries, both notations features.1="wishlist" ; users/database.ini, in a sub-directory (Yaconf 1.2.0+) master="192.168.0.10" replica="192.168.0.20" 例1 Yaconf::get() e ... ar_dump ( Yaconf :: get ( "app.name" )); // string(4) "shop" var_dump ( Yaconf :: get ( "app.features.1" )); // string(8) "wishlist" // since 1.2.0: files in sub-directories are namespaced by the // directory name var_dump ( Yaconf :: get ( "users.databa ...
-
https://man.mtool.work/php/8.3/yaconf.get.html
PREV
1
NEXT