Example #1
0
 /// <summary>
 /// Accesses the value as an array and gets item at given index.
 /// Gets <c>void</c> value in case the key is not found.
 /// </summary>
 public PhpValue GetArrayItem(PhpValue index, bool quiet = false) => _type.GetArrayItem(ref this, index, quiet);
Example #2
0
 /// <summary>
 /// Accesses the value as an array and gets item at given index.
 /// Gets <c>void</c> value in case the key is not found.
 /// </summary>
 public PhpValue GetArrayItem(IntStringKey key, bool quiet = false) => _type.GetArrayItem(ref this, key, quiet);