(PHP 5, PHP 7, PHP 8)
La clase ReflectionObject proporciona información sobre un objeto.
$name): ReflectionClassConstant |false $object, callable $initializer, int $options = 0): void $object, callable $factory, int $options = 0): void | Versión | Descripción |
|---|---|
| 8.0.0 | ReflectionObject::export() ha sido eliminada. |
To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.