Add some new PHP 7.3 function keywords

Add some new PHP 7.3 function keywords for highlighting and autocompletion.

Fix #8410, close #10819
This commit is contained in:
vlakoff 2021-11-23 03:48:14 +01:00 committed by Don Ho
parent 567e0456bb
commit e7bf582ffd
2 changed files with 23 additions and 8 deletions

View File

@ -217,6 +217,22 @@
<Param name="callback key_compare_func"/>
</Overload>
</KeyWord>
<KeyWord name="array_key_exists" func="yes">
<Overload retVal="bool">
<Param name="mixed key"/>
<Param name="array search"/>
</Overload>
</KeyWord>
<KeyWord name="array_key_first" func="yes">
<Overload retVal="int|string|NULL">
<Param name="array array"/>
</Overload>
</KeyWord>
<KeyWord name="array_key_last" func="yes">
<Overload retVal="int|string|NULL">
<Param name="array array"/>
</Overload>
</KeyWord>
<KeyWord name="array_keys" func="yes">
<Overload retVal="array">
<Param name="array input"/>
@ -224,12 +240,6 @@
<Param name="[bool strict=false]]"/>
</Overload>
</KeyWord>
<KeyWord name="array_key_exists" func="yes">
<Overload retVal="bool">
<Param name="mixed key"/>
<Param name="array search"/>
</Overload>
</KeyWord>
<KeyWord name="array_map" func="yes">
<Overload retVal="array">
<Param name="callback callback"/>
@ -5810,6 +5820,11 @@
<Param name="[string callable_name]]"/>
</Overload>
</KeyWord>
<KeyWord name="is_countable" func="yes">
<Overload retVal="bool">
<Param name="mixed value"/>
</Overload>
</KeyWord>
<KeyWord name="is_dir" func="yes">
<Overload retVal="bool">
<Param name="string filename"/>

File diff suppressed because one or more lines are too long