downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

URLs> <token_get_all
[edit] Last updated: Fri, 24 Jun 2011

view this page in

token_name

(PHP 4 >= 4.2.0, PHP 5)

token_nameدریافت نام سمبولیک توکن PHP

Description

string token_name ( int $token )

token_name() نام سمبولیک مقدار PHP token را دریافت می‌کند.

Parameters

token

مقدار توکن.

Return Values

نام سمبولیک داده شده token. نام بازگردانده شده در ثابت توکن منطبق است.

Examples

Example #1 مثال token_name()

<?php
// 260 is the token value for the T_REQUIRE token
echo token_name(260);        // -> "T_REQUIRE"

// a token constant maps to its own name
echo token_name(T_FUNCTION); // -> "T_FUNCTION"
?>



add a note add a note User Contributed Notes token_name - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites