array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'class.reflector.php', 1 => 'Reflector', ), 'up' => array ( 0 => 'book.reflection.php', 1 => '反射', ), 'prev' => array ( 0 => 'reflectionattribute.newinstance.php', 1 => 'ReflectionAttribute::newInstance', ), 'next' => array ( 0 => 'reflector.export.php', 1 => 'Reflector::export', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/reflection/reflector.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.reflector.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
Reflector 是一个接口,被所有可导出的反射类所实现(implement)。
版本 | 说明 |
---|---|
8.0.0 | 已移除 Reflector::export()。 |
8.0.0 | 现在 Reflector 实现(implement)了 Stringable。继承了 Stringable::__toString(),从而取代 Reflector::__toString()。 |