How does the PHP Tokenizer handle class scope references like "self"?

When the PHP Tokenizer encounters class scope references like "self" within a class, it needs to correctly identify and handle them to ensure proper parsing and interpretation of the code. This can be achieved by using the `T_PAAMAYIM_NEKUDOTAYIM` token to represent the double colon "::" used for class scope resolution in PHP.

// Example of how the PHP Tokenizer handles class scope references like "self"
$tokens = token_get_all('<?php class Foo { public static function bar() { self::baz(); } }');
foreach ($tokens as $token) {
    if (is_array($token)) {
        list($tokenType, $tokenValue) = $token;
        echo "Token: $tokenType, Value: $tokenValue\n";
    } else {
        echo "Token: $token\n";
    }
}