Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pchp
Library
Constants
defined
Pchp.Library.Constants.defined C# (CSharp) Method
Constants Class Documentation
Show file
Open project: iolevel/peachpie
defined()
public
static
method
Determines whether a constant is defined.
public
static
defined
(
Context
ctx
,
string
name
) :
bool
ctx
Pchp.Core.Context
Current runtime context.
name
string
The name of the constant.
return
bool
public static bool defined(Context ctx, string name) => ctx.IsConstantDefined(name);
Constants
constant
define
defined
get_defined_constants