ReflectionClassConstant::export

(PHP 7 >= 7.1.0)

ReflectionClassConstant::exportExport

警告

This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.

說(shuō)明

public static ReflectionClassConstant::export(mixed $class, string $name, bool $return = ?): string

Exports a reflection.

警告

本函數(shù)還未編寫(xiě)文檔,僅有參數(shù)列表。

參數(shù)

class

導(dǎo)出的反射。

name

The class constant name.

return

設(shè)為 true 時(shí)返回導(dǎo)出結(jié)果,設(shè)為 false(默認(rèn)值)則忽略返回。

返回值

參見(jiàn)