PHP: Adding/fixing completions for some functions