Pchp.Library.Arrays.range C# (CSharp) Method

range() public static method

Creates an array containing range of elements with step 1.
public static range ( Context ctx, PhpValue low, PhpValue high ) : PhpArray
ctx Pchp.Core.Context Current runtime context.
low Pchp.Core.PhpValue Lower bound of the interval.
high Pchp.Core.PhpValue Upper bound of the interval.
return Pchp.Core.PhpArray
        public static PhpArray range(Context ctx, PhpValue low, PhpValue high) => range(ctx, low, high, PhpValue.Create(1));

Same methods

Arrays::range ( Context ctx, PhpValue low, PhpValue high, PhpValue step ) : PhpArray
Arrays::range ( long low, long high ) : PhpArray