Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ReflectionExtension::isTemporaryReflectionFunction>
^ReflectionExtensionLast updated: Mon, 26 Oct 2026

ReflectionExtension::__toString

(PHP 5, PHP 7, PHP 8)

ReflectionExtension::__toString — To string

Description

public function 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.

Parameters

This function has no parameters.

Return Values

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

See Also


<ReflectionExtension::isTemporaryReflectionFunction>
^ReflectionExtensionLast updated: Mon, 26 Oct 2026