(PHP 5, PHP 7)
ReflectionExtension::export — Export
This function has been DEPRECATED as of PHP 7.4.0. Relying on this function is highly discouraged.
$name
[, string $return
= false
] ) : string
Exports a reflected extension. The output format of this function is
the same as the CLI argument --re [extension]
.
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.
Se o parâmetro return
for true
então o export é retornado como uma string,
senão retorna null
.