Pchp.Library.Constants.constant C# (CSharp) Method

constant() public static method

Retrieves a value of a constant.
public static constant ( Context ctx, string name ) : PhpValue
ctx Pchp.Core.Context Current runtime context.
name string The name of the constant.
return Pchp.Core.PhpValue
		public static PhpValue constant(Context ctx, string name)
            => ctx.GetConstant(name);