在线文档教程
PHP
反射 | Reflection

ReflectionClassConstant::__toString

ReflectionClassConstant::__toString

(PHP 7 >= 7.1.0)

ReflectionClassConstant::__toString — Returns the string representation of the ReflectionClassConstant object.

Description

public string ReflectionClassConstant::__toString ( void )

Returns the string representation of the ReflectionClassConstant object.

Parameters

This function has no parameters.

Return Values

A string representation of this ReflectionClassConstant instance.

See Also

  • ReflectionClassConstant::export() - Export

  • __toString()

← ReflectionClassConstant::isPublic

ReflectionZendExtension →

© 1997–2017 The PHP Documentation Group

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

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