Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
TokenPolyfill.php
TokenPolyfill::$pos
@var int The 0-based starting position of the token (or -1 if unknown).
Type:
pos
File
vendor/
nikic/
php-parser/
lib/
PhpParser/
Internal/
TokenPolyfill.php
, line 26
Class
TokenPolyfill
This is a polyfill for the PhpToken class introduced in PHP 8.0. We do not actually polyfill PhpToken, because composer might end up picking a different polyfill implementation, which does not meet our requirements.
Namespace
PhpParser\Internal
Code
public int $pos;
RSS feed