« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for shop (0.001 sec.)
Yaconf::__debug_info — Inspect how a configuration value is stored | PHP 8.3 11465
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 ... ue 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" )); /* array(4) { ["key"]=> string(8) "app.name" ["address"]=> string(14) ... "0x7f8b1c0a3d20" ["val"]=> string(4) "shop" ["changed"]=> bool(false) } */ var_dump ( Yaconf :: __debug_info ( "app.missing" )); // NULL ?> 参考 Yaconf::get() - Retr ...
https://man.mtool.work/php/8.3/yaconf.debug-info.html
Yaconf::get — Retrieve a configuration value by name | PHP 8.3 10651
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 ... e 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 features.1="wishlist" ; users/datab ... ( Yaconf :: get ( "app" )); // dot notation traverses nested keys var_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 name ...
https://man.mtool.work/php/8.3/yaconf.get.html
Yaconf::has — Check whether a configuration value exists | PHP 8.3 7415
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 ... 例 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.name" )); // bool(true) var_dump ( Yaconf : ...
https://man.mtool.work/php/8.3/yaconf.has.html
Yaf_Loader::getNamespacePath — Retrieve the library path of a class | PHP 8.3 7415
Yaf_Loader::getNamespacePath (Yaf >=3.2.0) Yaf_Loader::getNamespacePath — Retrieve the library path of a class 説明 public function Yaf_Loader::getNamespacePath ( string $class_name ): string Retrieve the library directory a class would be ... ho $loader -> getNamespacePath ( "Vendor_Payment" ), PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 /var/www/shop/application/library /usr/local/share/yaf/library 参考 Yaf_Loader::isLocalName() - The isLocalName purpose Yaf_Loader::getL ...
https://man.mtool.work/php/8.3/yaf-loader.getnamespacepath.html
PREV 1 NEXT