ReflectionFunction::export

( excerpt from http://php.net/manual/en/reflectionfunction.export.php )

public static function export(
  $name,
  $return = false,
);

Exports a Reflected function.

Parameters

  • $name
  • $return = false

Returns

  • mixed - If the return parameter is set to TRUE, then the export is returned as a string, otherwise NULL is returned.