(PHP 5, PHP 7)
ReflectionFunction::export — Exports function
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.
$name
, string $return
= ?): stringExports a Reflected function.
name
導(dǎo)出的反射。
return
設(shè)為 true
時(shí)返回導(dǎo)出結(jié)果,設(shè)為 false
(默認(rèn)值)則忽略返回。
如果參數(shù) return
設(shè)為 true
,導(dǎo)出結(jié)果將作為 string
返回,否則返回 null
。