Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Tokens.php

Tokens::$functionNameTokens

Tokens that represent the names of called functions.

Mostly, these are just strings. But PHP tokenizes some language constructs and functions using their own tokens.

Type: array

File

vendor/squizlabs/php_codesniffer/src/Util/Tokens.php, line 621

Class

Tokens

Namespace

PHP_CodeSniffer\Util

Code

public static $functionNameTokens = [
    T_STRING => T_STRING,
    T_EVAL => T_EVAL,
    T_EXIT => T_EXIT,
    T_INCLUDE => T_INCLUDE,
    T_INCLUDE_ONCE => T_INCLUDE_ONCE,
    T_REQUIRE => T_REQUIRE,
    T_REQUIRE_ONCE => T_REQUIRE_ONCE,
    T_ISSET => T_ISSET,
    T_UNSET => T_UNSET,
    T_EMPTY => T_EMPTY,
    T_SELF => T_SELF,
    T_PARENT => T_PARENT,
    T_STATIC => T_STATIC,
];
RSS feed
Powered by Drupal