略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ReflectionExtension::export

2024-04-28

ReflectionExtension::export

(PHP 5, PHP 7)

ReflectionExtension::exportExport

说明

public static ReflectionExtension::export(string $name, string $return = false): string

导出可以被反射的扩展。输出格式同CLI argument --re [extension].

参数

name

导出的反射。

return

设为 true 时返回导出结果,设为 false(默认值)则忽略返回。

返回值

如果参数 return 设为 true,导出结果将作为 string 返回,否则返回 null

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/reflectionextension.export.php

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