| CARVIEW |
Select Language
HTTP/2 301
server: myracloud
date: Fri, 26 Dec 2025 13:26:03 GMT
content-type: text/html
content-length: 161
location: https://www.php.net/tokenizer
HTTP/2 200
server: myracloud
date: Fri, 26 Dec 2025 13:26:04 GMT
content-type: text/html; charset=utf-8
content-language: en
permissions-policy: interest-cohort=()
x-frame-options: SAMEORIGIN
status: 200 OK
link: ; rel=shorturl
last-modified: Fri, 26 Dec 2025 12:08:32 GMT
vary: accept-encoding
content-encoding: gzip
expires: Fri, 26 Dec 2025 13:26:04 GMT
cache-control: max-age=0
PHP: Tokenizer - Manual
update page now
Tokenizer
- Introduction
- Installing/Configuring
- Predefined Constants
- Examples
- PhpToken — The PhpToken class
- PhpToken::__construct — Returns a new PhpToken object
- PhpToken::getTokenName — Returns the name of the token.
- PhpToken::is — Tells whether the token is of given kind.
- PhpToken::isIgnorable — Tells whether the token would be ignored by the PHP parser.
- PhpToken::__toString — Returns the textual content of the token.
- PhpToken::tokenize — Splits given source into PHP tokens, represented by PhpToken objects.
- Tokenizer Functions
- token_get_all — Split given source into PHP tokens
- token_name — Get the symbolic name of a given PHP token
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close • / to open
Press Enter without
selection to search using Google