/// <summary> /// Retrieves a value of a constant. /// </summary> /// <param name="ctx">Current runtime context.</param> /// <param name="name">The name of the constant.</param> /// <returns>The value.</returns> public static PhpValue constant(Context ctx, string name) => ctx.GetConstant(name);