I’m on Build 2181 so I’m unsure if** PHP.sublime-completions** has been updated recently. Nevertheless, I’m revising this file - see my GitHub.
The most significant difference is that I’ve commented out a (very) large number of “libraries”. They have been moved to **PECL **extensions’ control anyway, and I don’t want them to display by default. If I decide to use them I will just un-comment the relevant section in my completions file. There is a text file on my GitHub with more details, including a list of the extensions I have commented-out, and other information.
I’ve added in a (v. large) number of new functions;
I’ve switched the order of the mysql functions with their mysqli versions;
I’ve updated lots of parameters (but I haven’t managed all of them yet!);
I’ve favoured the correct (Pascal) casing for classes, interfaces and exceptions;
I’ve mainly kept the procedural’ functions, rather than their OO equivalent methods, except for the DOM library (where I’ve done the reverse).
[Adding all the OO-methods will make the file twice as large…]
**NB **If you update to a future build you may find that PHP.sublime-completions is added, or over-written, so you might keep a copy of my version separately.
If you spot any typos, or have any suggestions, I will be glad to hear from you