public Php54Array Clone() { var ClonedArray = new Php54Array(); ClonedArray.LastNumericIndex = this.LastNumericIndex; ClonedArray.Keys = new List<Php54Var>(this.Keys); ClonedArray.Values = new List<Php54Var>(this.Values); ClonedArray.KeyIndices = new Dictionary<Php54Var, int>(this.KeyIndices); ClonedArray.PureArray = this.PureArray; for (int n = 0; n < this.Count; n++) { ClonedArray.Values[n] = ClonedArray.Values[n].Clone(); } return ClonedArray; }
public static Php54Var FromArray(Php54Array Value) { return new Php54Var(Value, TypeEnum.Array); }