shawncplus/phpcomplete.vim

Missing function completions

Opened this issue · 1 comments

h3xx commented

I did a scan thru the library of functions and found a lot of built-in functions missing.

I have a partial fix in-place for openssl_* under #129.

Here's a list of what I found:

PHP >= 7.3.0

PHP >= 7.4.0

PHP >= 8.0.0

PHP >= 8.1.0

PHP >= 8.2.0

Enchant

GD and Image Functions

PECL Intl

Unimportant

Unknown

Hi

I've re-ran the generator for the current 8.2 docs, should address ~80% of the things above.

Notes:

  • Aliases are not generated, so most aliases from above will not be added automatically
  • I opted not to enable all the sodium_* entries by default, these seem quite exotic. If you need them you can use g:phpcomplete_add_*_extensions global variables to enable them, see the available_extensions file
  • some weren't picked up by the generator like password_algos, if you want we can add them to the builtin_manual.vim where they are not at risk of being overwritten by the next generator run

I hope this works for you, will leave the ticket open for a while