ReflectionFunction 類
(PHP 5, PHP 7, PHP 8)
簡介
ReflectionFunction 類報告了一個函式的有關資訊。
類摘要
屬性
- name
- 
      函式的名稱。只讀,並在嘗試賦值的時候會拋出 ReflectionException。 
預定義常量
ReflectionFunction 修飾符
- ReflectionFunction::IS_DEPRECATED
- 
       指示了不建議使用的函式。 
目錄
- ReflectionFunction::__construct — Constructs a ReflectionFunction object
- ReflectionFunction::export — Exports function
- ReflectionFunction::getClosure — Returns a dynamically created closure for the function
- ReflectionFunction::invoke — Invokes function
- ReflectionFunction::invokeArgs — Invokes function args
- ReflectionFunction::isDisabled — Checks if function is disabled
- ReflectionFunction::__toString — To string