Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
think
Env
PHP Class think\Env
Exibir arquivo
Open project: top-think/framework
Class Usage Examples
Public Methods
Method
Description
get
(
string
$name
,
string
$default
= null ) :
mixed
获取环境变量值
Method Details
get()
public
static
method
获取环境变量值
public
static
get
(
string
$name
,
string
$default
= null ) :
mixed
$name
string
环境变量名(支持二级 .号分割)
$default
string
默认值
return
mixed