array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'reflectionclassconstant.tostring.php', 1 => 'ReflectionClassConstant::__toString', 2 => 'Returns the string representation of the ReflectionClassConstant object', ), 'up' => array ( 0 => 'class.reflectionclassconstant.php', 1 => 'ReflectionClassConstant', ), 'prev' => array ( 0 => 'reflectionclassconstant.ispublic.php', 1 => 'ReflectionClassConstant::isPublic', ), 'next' => array ( 0 => 'class.reflectionconstant.php', 1 => 'ReflectionConstant', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionclassconstant/tostring.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ReflectionClassConstant::__toString

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::__toStringReturns the string representation of the ReflectionClassConstant object

Beschreibung

public ReflectionClassConstant::__toString(): string

Returns the string representation of the ReflectionClassConstant object.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

A string representation of this ReflectionClassConstant instance.

Changelog

Version Beschreibung
8.4.0 The attached doc comment is now included.

Siehe auch