- PHP 手册
- 函数参考
- 变量与类型相关扩展
- 反射
ReflectionReference 类
(PHP 7 >= 7.4.0, PHP 8)
简介
ReflectionReference 类用于获取引用的信息。
类摘要
final class ReflectionReference { /* 方法 */ public static fromArrayElement(array$array
, int|string $key
): ?ReflectionReference
public getId(): string
}
目录
- ReflectionReference::__construct — Private constructor to disallow direct instantiation
- ReflectionReference::fromArrayElement — 从数组元素创建一个 ReflectionReference
- ReflectionReference::getId — 获取引用的唯一 ID
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/class.reflectionreference.php