Browse Source

Add keywords and functions of PHP

Fix #13012, fix #9897, close #13111
pull/13128/head
ArkadiuszMichalski 2 years ago committed by Don Ho
parent
commit
d2ba9cae0e
  1. 67
      PowerEditor/installer/APIs/php.xml
  2. 22
      PowerEditor/src/langs.model.xml

67
PowerEditor/installer/APIs/php.xml

@ -217,6 +217,11 @@
<Param name="callback key_compare_func"/> <Param name="callback key_compare_func"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="array_is_list" func="yes">
<Overload retVal="bool">
<Param name="array array"/>
</Overload>
</KeyWord>
<KeyWord name="array_key_exists" func="yes"> <KeyWord name="array_key_exists" func="yes">
<Overload retVal="bool"> <Overload retVal="bool">
<Param name="mixed key"/> <Param name="mixed key"/>
@ -1956,6 +1961,7 @@
<Param name="array &amp;array"/> <Param name="array &amp;array"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="enum"/>
<KeyWord name="ereg" func="yes"> <KeyWord name="ereg" func="yes">
<Overload retVal="int"> <Overload retVal="int">
<Param name="string pattern"/> <Param name="string pattern"/>
@ -2444,6 +2450,11 @@
<Param name="resource handle"/> <Param name="resource handle"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="fdatasync" func="yes">
<Overload retVal="bool">
<Param name="resource stream"/>
</Overload>
</KeyWord>
<KeyWord name="fdf_add_doc_javascript" func="yes"> <KeyWord name="fdf_add_doc_javascript" func="yes">
<Overload retVal="bool"> <Overload retVal="bool">
<Param name="resource fdfdoc"/> <Param name="resource fdfdoc"/>
@ -2671,6 +2682,12 @@
<Param name="string version"/> <Param name="string version"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="fdiv" func="yes">
<Overload retVal="float">
<Param name="float num1"/>
<Param name="float num2"/>
</Overload>
</KeyWord>
<KeyWord name="feof" func="yes"> <KeyWord name="feof" func="yes">
<Overload retVal="bool"> <Overload retVal="bool">
<Param name="resource handle"/> <Param name="resource handle"/>
@ -2977,6 +2994,11 @@
<Param name="[int whence=SEEK_SET]"/> <Param name="[int whence=SEEK_SET]"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="fsync" func="yes">
<Overload retVal="bool">
<Param name="resource stream"/>
</Overload>
</KeyWord>
<KeyWord name="fsockopen" func="yes"> <KeyWord name="fsockopen" func="yes">
<Overload retVal="resource|false"> <Overload retVal="resource|false">
<Param name="string hostname"/> <Param name="string hostname"/>
@ -3452,6 +3474,11 @@
<Param name="void"/> <Param name="void"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="get_debug_type" func="yes">
<Overload retVal="string">
<Param name="mixed value"/>
</Overload>
</KeyWord>
<KeyWord name="get_declared_classes" func="yes"> <KeyWord name="get_declared_classes" func="yes">
<Overload retVal="array"> <Overload retVal="array">
<Param name="void"/> <Param name="void"/>
@ -3535,6 +3562,11 @@
<Param name="[mixed object]"/> <Param name="[mixed object]"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="get_resource_id" func="yes">
<Overload retVal="int">
<Param name="resource resource"/>
</Overload>
</KeyWord>
<KeyWord name="get_resource_type" func="yes"> <KeyWord name="get_resource_type" func="yes">
<Overload retVal="string|false"> <Overload retVal="string|false">
<Param name="resource handle"/> <Param name="resource handle"/>
@ -5733,6 +5765,11 @@
<Param name="[bool details=true]]"/> <Param name="[bool details=true]]"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="ini_parse_quantity" func="yes">
<Overload retVal="int">
<Param name="string shorthand"/>
</Overload>
</KeyWord>
<KeyWord name="ini_restore" func="yes"> <KeyWord name="ini_restore" func="yes">
<Overload retVal="void"> <Overload retVal="void">
<Param name="string varname"/> <Param name="string varname"/>
@ -6390,6 +6427,11 @@
<Param name="void"/> <Param name="void"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="libxml_get_external_entity_loader" func="yes">
<Overload retVal="?callable">
<Param name="void"/>
</Overload>
</KeyWord>
<KeyWord name="libxml_get_last_error" func="yes"> <KeyWord name="libxml_get_last_error" func="yes">
<Overload retVal="object"> <Overload retVal="object">
<Param name="void"/> <Param name="void"/>
@ -8474,6 +8516,7 @@
<Param name="array &amp;array"/> <Param name="array &amp;array"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="never"/>
<KeyWord name="next" func="yes"> <KeyWord name="next" func="yes">
<Overload retVal="mixed"> <Overload retVal="mixed">
<Param name="array &amp;array"/> <Param name="array &amp;array"/>
@ -9365,6 +9408,11 @@
<Param name="int facility"/> <Param name="int facility"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="openssl_cipher_key_length" func="yes">
<Overload retVal="int|false">
<Param name="string cipher_algo"/>
</Overload>
</KeyWord>
<KeyWord name="openssl_csr_export" func="yes"> <KeyWord name="openssl_csr_export" func="yes">
<Overload retVal="bool"> <Overload retVal="bool">
<Param name="resource csr"/> <Param name="resource csr"/>
@ -11013,6 +11061,7 @@
<Param name="string path"/> <Param name="string path"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="readonly"/>
<KeyWord name="realpath" func="yes"> <KeyWord name="realpath" func="yes">
<Overload retVal="string|false"> <Overload retVal="string|false">
<Param name="string path"/> <Param name="string path"/>
@ -12543,6 +12592,18 @@
<Param name="mixed var"/> <Param name="mixed var"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="str_contains" func="yes">
<Overload retVal="bool">
<Param name="string haystack"/>
<Param name="string needle"/>
</Overload>
</KeyWord>
<KeyWord name="str_ends_with" func="yes">
<Overload retVal="bool">
<Param name="string haystack"/>
<Param name="string needle"/>
</Overload>
</KeyWord>
<KeyWord name="str_getcsv" func="yes"> <KeyWord name="str_getcsv" func="yes">
<Overload retVal="array"> <Overload retVal="array">
<Param name="string input"/> <Param name="string input"/>
@ -12597,6 +12658,12 @@
<Param name="[int split_length=1]"/> <Param name="[int split_length=1]"/>
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="str_starts_with" func="yes">
<Overload retVal="bool">
<Param name="string haystack"/>
<Param name="string needle"/>
</Overload>
</KeyWord>
<KeyWord name="str_word_count" func="yes"> <KeyWord name="str_word_count" func="yes">
<Overload retVal="mixed"> <Overload retVal="mixed">
<Param name="string str"/> <Param name="string str"/>

22
PowerEditor/src/langs.model.xml

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save