ReflectionObject 类
(PHP 5, PHP 7, PHP 8)
简介
ReflectionObject 类报告了 object 的相关信息。
类摘要
/* 继承的常量 */
/* 继承的属性 */
/* 方法 */
/* 继承的方法 */
public ReflectionClass::resetAsLazyGhost(object
}$object
, callable $initializer
, int $options
= 0): void更新日志
版本 | 说明 |
---|---|
8.0.0 | 已移除 ReflectionObject::export()。 |
目录
- ReflectionObject::__construct — Constructs a ReflectionObject
- ReflectionObject::export — Export
+添加备注
用户贡献的备注 1 note
marcel dot nolte at noltecomputer dot de ¶
15 years ago
To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.
备份地址:http://www.lvesu.com/blog/php/class.reflectionobject.php