ReflectionExtension
PHP Manual

ReflectionExtension::export

(PHP 5)

ReflectionExtension::exportExport

説明

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

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

パラメータ

name

エクスポートするリフレクション。

return

TRUE に設定すると、エクスポートを発行するのではなく返します。 FALSE (デフォルト) の場合はその逆です。

返り値

return パラメータを TRUE に設定すると、エクスポートを文字列で返します。それ以外の場合は NULL を返します。

参考


ReflectionExtension
PHP Manual