略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Reflector

2024-04-29

Reflector 接口

(PHP 5, PHP 7, PHP 8)

简介

Reflector 是一个接口,被所有可导出的反射类所实现(implement)。

接口摘要

interface Reflector extends Stringable {
/* 方法 */
public static export(): string
public __toString(): string
/* 继承的方法 */
public Stringable::__toString(): string
}

更新日志

版本 说明
8.0.0 现在 Reflector 实现(implement)了 Stringable

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.reflector.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3