ReflectionReference::fromArrayElement
Create a ReflectionReference from an array element
&reftitle.description;
public static ReflectionReferenceReflectionReference::fromArrayElement
arrayarray
mixedkey
Creates a ReflectionReference from an array element.
&reftitle.parameters;
array
The &array; which contains the potential reference.
key
The key; either an &integer; or a &string;.
&reftitle.returnvalues;
Returns a ReflectionReference instance if
$array[$key] is a reference, or &null; otherwise.
&reftitle.errors;
If array is not an &array;, or key
is not an &integer; or &string;, a TypeError is thrown.
If $array[$key] does not exist,
a ReflectionException is thrown.