(PHP 5, PHP 7, PHP 8)

ReflectionExtension::__toStringTo string


public ReflectionExtension::__toString(): string

Exports a reflected extension and returns it as a string. This is the same as the ReflectionExtension::export() with the return set to true.


This function has no parameters.

Return Values

Returns the exported extension as a string, in the same way as the ReflectionExtension::export().

See Also

add a note

User Contributed Notes

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