2024 年 PHP Conference Japan

Reflection::export

(PHP 5, PHP 7)

Reflection::export匯出

警告

此函式已在 PHP 7.4.0 中_棄用_,並在 PHP 8.0.0 中_移除_。強烈建議不要依賴此函式。

說明

public static Reflection::export(Reflector $reflector, bool $return = false): string

匯出一個反射物件。

警告

此函式目前沒有文件說明;僅提供其參數列表。

參數

reflector

要匯出的反射物件。

return

設定為 true 將會回傳匯出的結果,而不是直接輸出。設定為 false(預設值)則會直接輸出。

回傳值

如果 return 參數設定為 true,則匯出結果將以 string 型態回傳,否則回傳 null

另請參閱

新增註解

使用者貢獻的註解

此頁面沒有使用者貢獻的註解。
To Top