Statement on glibc/iconv Vulnerability

PhpToken::__toString

(PHP 8)

PhpToken::__toStringReturns the textual content of the token.

Descrição

public PhpToken::__toString(): string

Returns the textual content of the token.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

A textual content of the token.

Exemplos

Exemplo #1 PhpToken::__toString() example

<?php
$token
= new PhpToken(T_ECHO, 'echo');
echo
$token;

Os exemplos acima produzirão:

echo

Veja Também

  • token_name() - Pega o nome simbólico de um dado token do PHP
add a note

User Contributed Notes

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