Add autocompletion for defined functions and constants

Just working for PHP built in functions
can you be more concrete? which is the error?