« ReflectionGenerator::getTrace
ReflectionReference::fromArrayElement »
PHP Manual
Reflection
The ReflectionReference class
The ReflectionReference class
(PHP 7 >= 7.4.0)
Introduction
The
ReflectionReference
class provides information about a reference.
Class synopsis
final
ReflectionReference
{
/* Methods */
public
static
fromArrayElement
(
array
$array
,
mixed
$key
) :
ReflectionReference
public
getId
(
void
) :
mixed
}
Table of Contents
ReflectionReference::fromArrayElement
— Create a ReflectionReference from an array element
ReflectionReference::getId
— Get unique ID of a reference