We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1af6a commit 02b7d2fCopy full SHA for 02b7d2f
src/CompletionProvider.php
@@ -91,7 +91,23 @@ class CompletionProvider
91
'var',
92
'while',
93
'xor',
94
- 'yield'
+ 'yield',
95
+
96
+ // List of other reserved words (http://php.net/manual/en/reserved.other-reserved-words.php)
97
+ // (the ones which do not occur as actual keywords above.)
98
+ 'int',
99
+ 'float',
100
+ 'bool',
101
+ 'string',
102
+ 'void',
103
+ 'iterable',
104
+ 'object',
105
106
+ // Pseudo keywords
107
+ 'from', // As in yield from
108
+ 'strict_types',
109
+ 'ticks', // As in declare(ticks=1)
110
+ 'encoding', // As in declare(encoding='EBCDIC')
111
];
112
113
/**
0 commit comments