Yaf_Request_Abstract::getEnv
(Yaf >=1.0.0)
Yaf_Request_Abstract::getEnv — 取得ENV变量的值
说明
public Yaf_Request_Abstract::getEnv(string
$name
, string $default
= ?): void取得ENV变量的值
参数
-
name
-
the variable name
-
default
-
如果这个参数被提供了,当参数找不到的时候它将被返回
返回值
参见
- Yaf_Request_Abstract::getServer
- Yaf_Request_Abstract::getParam

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/yaf-request-abstract.getenv.php