ReflectionExtension::export

(PHP 5, PHP 7)

ReflectionExtension::exportExport

Aviso

Esta função está OBSOLETA desde o PHP 7.4.0 e foi REMOVIDA desde o PHP 8.0.0. Depender dessa função é altamente desencorajado.

Descrição

public static ReflectionExtension::export ( string $name , string $return = false ) : string

Exports a reflected extension. The output format of this function is the same as the CLI argument --re [extension].

Parâmetros

name

A reflexão para exportar.

return

Passar true irá retornar o export, em vez de emiti-lo. Passar false (padrão) fará o oposto.

Valor Retornado

Se o parâmetro return for true então o export é retornado como uma string, senão retorna null.

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top