Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
think
Env
PHP Class think\Env
Mostrar archivo
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