(PHP 5, PHP 7, PHP 8)
ReflectionFunction::__toString — Devuelve una representación textual del objeto ReflectionFunction
Obtiene una representación textual legible por humanos de la función, sus argumentos y su valor de retorno.
Esta función no contiene ningún parámetro.
La cadena.
Ejemplo #1 Ejemplo para ReflectionFunction::__toString()
<?php
function title($title, $name)
{
    return sprintf("%s. %s\r\n", $title, $name);
}
echo new ReflectionFunction('title');
?>Resultado del ejemplo anterior es similar a:
Function [ <user> function title ] {
  @@ Command line code 1 - 1
  - Parameters [2] {
    Parameter #0 [ <required> $title ]
    Parameter #1 [ <required> $name ]
  }
}
