예제 #1
0
 /// <summary>
 /// Creates a deep copy of PHP value.
 /// In case of scalars, the shallow copy is returned.
 /// In case of classes or aliases, the same reference is returned.
 /// In case of array or string, its copy is returned.
 /// </summary>
 public PhpValue DeepCopy() => _type.DeepCopy(ref this);