php-src/ext/tokenizer/tokenizer.stub.php
Nikita Popov 8a4068988b Clarify that token_get_all() never returns false
It can only fail in TOKEN_PARSE mode, in which case it will throw.
2020-02-14 16:50:12 +01:00

5 lines
116 B
PHP

<?php
function token_get_all(string $source, int $flags = 0): array {}
function token_name(int $token): string {}