ReflectionObject::export

(PHP 5, PHP 7)

ReflectionObject::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 ReflectionObject::export(string $argument, bool $return = ?): string

Exports a reflection.

警告

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

參數(shù)

argument

導(dǎo)出的反射。

return

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

返回值

如果參數(shù) return 設(shè)為 true,導(dǎo)出結(jié)果將作為 string 返回,否則返回 null。

參見(jiàn)