在线文档教程
PHP
反射 | Reflection

ReflectionExtension::__toString

ReflectionExtension::__toString

(PHP 5, PHP 7)

ReflectionExtension::__toString — To string

Description

public string ReflectionExtension::__toString ( void )

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::__construct() - Constructs a ReflectionExtension

  • ReflectionExtension::export() - Export

  • __toString()

← ReflectionExtension::isTemporary

ReflectionFunction →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/reflectionextension.tostring.php