(PHP 5)
ReflectionFunction::__toString — 文字列に変換する
文字列に変換します。
この関数にはパラメータはありません。
その関数について、 ReflectionFunction::export() のような出力を返します。
例1 ReflectionFunction::__toString() の例
<?php
function title($title, $name)
{
    return sprintf("%s. %s\r\n", $title, $name);
}
echo new ReflectionFunction('title');
?>
上の例の出力は、 たとえば以下のようになります。
Function [ <user> function person ] {
  @@ Command line code 1 - 1
  - Parameters [2] {
    Parameter #0 [ <required> $prefix ]
    Parameter #1 [ <required> $name ]
  }
}