(PHP 7 >= 7.4.0, PHP 8)
The ReflectionReference class provides information about a reference.
$array
$key