summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tokenizer.stub.php
diff options
context:
space:
mode:
authorStephen Reay <stephen.reay@me.com>2019-08-11 23:32:56 +0700
committerChristoph M. Becker <cmbecker69@gmx.de>2019-08-11 19:03:04 +0200
commitcfbcd4caef558cab23ecacdca57ac5f5a342a5fa (patch)
treeed0993706b4eded697be71205a99bca1290df9af /ext/tokenizer/tokenizer.stub.php
parent44de46ab69065de2c1b107b3647d69705f9e674d (diff)
downloadphp-git-cfbcd4caef558cab23ecacdca57ac5f5a342a5fa.tar.gz
Arginfo stubs for tokenizer
Diffstat (limited to 'ext/tokenizer/tokenizer.stub.php')
-rw-r--r--ext/tokenizer/tokenizer.stub.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/tokenizer/tokenizer.stub.php b/ext/tokenizer/tokenizer.stub.php
new file mode 100644
index 0000000000..8abcd37811
--- /dev/null
+++ b/ext/tokenizer/tokenizer.stub.php
@@ -0,0 +1,6 @@
+<?php
+
+/** @return array|false */
+function token_get_all(string $source, int $flags = 0) {}
+
+function token_name(int $token): string {}