Skip to content

Instantly share code, notes, and snippets.

@complex857
Created January 15, 2014 20:26
Show Gist options
  • Save complex857/8443887 to your computer and use it in GitHub Desktop.
Save complex857/8443887 to your computer and use it in GitHub Desktop.
One file phpcomplete.vim bundle
This file has been truncated, but you can view the full file.
" Vim completion script
" Language: PHP
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
" Maintainer: Shawn Biddle ( shawn AT shawnbiddle DOT com )
" Maintainer: Szabó Dávid ( complex857 AT gmail DOT com )
"
" OPTIONS:
"
" let g:phpcomplete_relax_static_constraint = 1/0 [default 0]
" Enables completion for non-static methods when completing for static context (::).
" This generates E_STRICT level warning, but php calls these methods nontheless.
"
" let g:phpcomplete_complete_for_unknown_classes = 1/0 [default 0]
" Enables completion of variables and functions in "everything under the sun" fashion
" when completing for an instance or static class context but the code can't tell the class
" or locate the file that it lives in.
" The completion list generated this way is only filtered by the completion base
" and generally not much more accurate then simple keyword completion.
"
" let g:phpcomplete_search_tags_for_variables = 1/0 [default 0]
" Enables use of tags when the plugin tries to find variables.
" When enabled the plugin will search for the variables in the tag files with kind 'v',
" lines like $some_var = new Foo; but these usually yield highly inaccurate results and
" can be fairly slow.
"
" let g:phpcomplete_min_num_of_chars_for_namespace_completion = n [default 1]
" This option controls the number of characters the user needs to type before
" the tags will be searched for namespaces and classes in typed out namespaces in
" "use ..." context. Setting this to 0 is not recommended because that means the code
" have to scan every tag, and vim's taglist() function runs extremly slow with a
" "match everything" pattern.
"
" let g:phpcomplete_parse_docblock_comments = 1/0 [default 0]
" When enabled the preview window's content will include information
" extracted from docblock comments of the completions.
" Enabling this option will add return types to the completion menu for functions too.
"
" let g:phpcomplete_cache_taglists = 1/0 [default 1]
" When enabled the taglist() lookups will be cached and subsequent searches
" for the same pattern will not check the tagfiles any more, thus making the
" lookups faster. Cache expiration is based on the mtimes of the tag files.
"
" let g:phpcomplete_add_function_extensions = [...]
" let g:phpcomplete_add_class_extensions = [...]
" let g:phpcomplete_add_interface_extensions = [...]
" let g:phpcomplete_add_constant_extensions = [...]
" let g:phpcomplete_remove_function_extensions = [...]
" let g:phpcomplete_remove_class_extensions = [...]
" let g:phpcomplete_remove_interface_extensions = [...]
" let g:phpcomplete_remove_constant_extensions = [...]
" Built-in functions, classes, interfaces and constatns are grouped together by the extension.
" Only the enabled extensions will be loaded for the plugin, the defaultly enabled ones can be
" found in.
"
" g:phpcomplete_active_function_extensions
" g:phpcomplete_active_class_extensions
" g:phpcomplete_active_interface_extensions
" g:phpcomplete_active_constant_extensions
"
" If you want to enable an extension that is disabled you can add it to the enabled lists
" in your vimrc. Let's say you want to have the mongo extension's classes and functions
" to be completed by the plugin, you can add it like this (in your `.vimrc`):
"
" let g:phpcomplete_add_class_extensions = ['mongo']
" let g:phpcomplete_add_function_extensions = ['mongo']
"
" If you want to disable an otherwise enabled one, use the ..._remove_... version of these options:
"
" let g:phpcomplete_remove_function_extensions = ['xslt_php_4']
" let g:phpcomplete_remove_constant_extensions = ['xslt_php_4']
"
" For the available extension files, check the directories under `misc/`
"
"
" TODO:
" - Switching to HTML (XML?) completion (SQL) inside of phpStrings
" - allow also for XML completion <- better do html_flavor for HTML
" completion
" - outside of <?php?> getting parent tag may cause problems. Heh, even in
" perfect conditions GetLastOpenTag doesn't cooperate... Inside of
" phpStrings this can be even a bonus but outside of <?php?> it is not the
" best situation
if !exists('g:phpcomplete_relax_static_constraint')
let g:phpcomplete_relax_static_constraint = 0
endif
if !exists('g:phpcomplete_complete_for_unknown_classes')
let g:phpcomplete_complete_for_unknown_classes = 0
endif
if !exists('g:phpcomplete_search_tags_for_variables')
let g:phpcomplete_search_tags_for_variables = 0
endif
if !exists('g:phpcomplete_min_num_of_chars_for_namespace_completion')
let g:phpcomplete_min_num_of_chars_for_namespace_completion = 1
endif
if !exists('g:phpcomplete_parse_docblock_comments')
let g:phpcomplete_parse_docblock_comments = 0
endif
if !exists('g:phpcomplete_cache_taglists')
let g:phpcomplete_cache_taglists = 1
endif
if !exists('s:cache_classstructures')
let s:cache_classstructures = {}
endif
if !exists('s:cache_tags')
let s:cache_tags = {}
endif
if !exists('s:cache_tags_checksum')
let s:cache_tags_checksum = ''
endif
let g:phpcomplete_active_function_extensions = [
\'apache', 'apc', 'apd', 'arrays', 'bc_math', 'bzip2', 'calendar', 'classes_objects', 'ctype', 'curl', 'date_time', 'dba', 'dbase',
\'directories', 'dom', 'enchant', 'error_handling', 'exif', 'fastcgi_process_manager', 'fileinfo', 'filesystem', 'filter', 'ftp',
\'function_handling', 'gd', 'geoip', 'gettext', 'gmp', 'hash', 'iconv', 'iis', 'json', 'ldap', 'libxml', 'mail', 'math', 'mcrypt',
\'memcache', 'mhash', 'misc', 'mongo', 'msql', 'mssql', 'multibyte_string', 'mysql', 'mysqli', 'network', 'nsapi', 'oci8', 'odbc',
\'openssl', 'output_control', 'parsekit', 'password_hashing', 'pcntl', 'pcre', 'php_options_info', 'posix', 'posix_regex', 'postgresql',
\'program_execution', 'ps', 'pspell', 'readline', 'recode', 'runkit', 'sessions', 'shared_memory', 'simplexml', 'snmp', 'soap', 'sockets',
\'solr', 'spl', 'sqlite', 'sqlsrv', 'streams', 'strings', 'tidy', 'tokenizer', 'urls', 'variable_handling', 'wddx', 'xml_parser',
\'xmlwriter', 'xslt_php_4', 'zip', 'zlib']
let g:phpcomplete_active_class_extensions = [
\'apc', 'curl', 'date_time', 'directories', 'dom', 'imagemagick', 'libxml', 'memcache', 'memcached', 'mongo', 'mysqli', 'pdo', 'phar',
\'predefined_exceptions', 'predefined_interfaces_and_classes', 'reflection', 'sessions', 'simplexml', 'snmp', 'soap', 'solr', 'sphinx',
\'spl', 'sqlite3', 'streams', 'tidy', 'varnish', 'xmlreader', 'xsl', 'zip']
let g:phpcomplete_active_interface_extensions = [
\'json', 'predefined_interfaces_and_classes', 'spl', 'date_time', 'reflection']
let g:phpcomplete_active_constant_extensions = [
\'apc', 'apd', 'arrays', 'calendar', 'classkit', 'command_line_usage', 'common', 'curl', 'date_time', 'directories', 'dom', 'error_handling', 'exif',
\'fileinfo', 'filesystem', 'filter', 'ftp', 'gd', 'geoip', 'gmp', 'handling_file_uploads', 'hash', 'iconv', 'iis', 'imagemagick', 'imap',
\'json', 'ldap', 'libxml', 'list_of_parser_tokens', 'list_of_reserved_words', 'math', 'mcrypt', 'memcache', 'mhash', 'misc', 'ms_sql_server_pdo',
\'msql', 'mssql', 'multibyte_string', 'mysql', 'mysql_pdo', 'mysqli', 'network', 'odbc', 'openssl', 'output_control', 'parsekit', 'password_hashing',
\'pcntl', 'pcre', 'pdo', 'php_options_info', 'phpini_directives', 'posix', 'posix_regex', 'postgresql', 'program_execution', 'pspell', 'runkit',
\'sessions', 'snmp', 'soap', 'sockets', 'solr', 'sphinx', 'spl', 'sqlite', 'sqlite3', 'sqlsrv', 'streams', 'strings', 'tidy', 'types', 'urls',
\'variable_handling', 'varnish', 'xml_parser', 'xsl', 'xslt_php_4', 'zlib']
if exists('g:phpcomplete_add_function_extensions')
let g:phpcomplete_active_function_extensions += g:phpcomplete_add_function_extensions
endif
if exists('g:phpcomplete_remove_function_extensions')
call filter(g:phpcomplete_active_function_extensions, 'index(g:phpcomplete_remove_function_extensions, v:val) == -1')
endif
if exists('g:phpcomplete_add_class_extensions')
let g:phpcomplete_active_class_extensions += g:phpcomplete_add_class_extensions
endif
if exists('g:phpcomplete_remove_class_extensions')
call filter(g:phpcomplete_active_class_extensions, 'index(g:phpcomplete_remove_class_extensions, v:val) == -1')
endif
if exists('g:phpcomplete_add_interface_extensions')
let g:phpcomplete_active_interface_extensions += g:phpcomplete_add_interface_extensions
endif
if exists('g:phpcomplete_remove_interface_extensions')
call filter(g:phpcomplete_active_interface_extensions, 'index(g:phpcomplete_remove_interface_extensions, v:val) == -1')
endif
if exists('g:phpcomplete_add_constant_extensions')
let g:phpcomplete_active_constant_extensions += g:phpcomplete_add_constant_extensions
endif
if exists('g:phpcomplete_remove_constant_extensions')
call filter(g:phpcomplete_active_constant_extensions, 'index(g:phpcomplete_remove_constant_extensions, v:val) == -1')
endif
let s:script_path = fnamemodify(resolve(expand('<sfile>:p')), ':h')
function! phpcomplete#CompletePHP(findstart, base) " {{{
if a:findstart
unlet! b:php_menu
" Check if we are inside of PHP markup
let pos = getpos('.')
let phpbegin = searchpairpos('<?', '', '?>', 'bWn',
\ 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"')
let phpend = searchpairpos('<?', '', '?>', 'Wn',
\ 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"')
if phpbegin == [0,0] && phpend == [0,0]
" We are outside of any PHP markup. Complete HTML
let htmlbegin = htmlcomplete#CompleteTags(1, '')
let cursor_col = pos[2]
let base = getline('.')[htmlbegin : cursor_col]
let b:php_menu = htmlcomplete#CompleteTags(0, base)
return htmlbegin
else
" locate the start of the word
let line = getline('.')
let start = col('.') - 1
let curline = line('.')
let compl_begin = col('.') - 2
while start >= 0 && line[start - 1] =~ '[\\a-zA-Z_0-9\x7f-\xff$]'
let start -= 1
endwhile
let b:phpbegin = phpbegin
let b:compl_context = phpcomplete#GetCurrentInstruction(line('.'), col('.') - 2, phpbegin)
" chop of the "base" from the end of the current instruction
let b:compl_context = substitute(b:compl_context, '\s*\$\?\([a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\)*$', '', '')
return start
" We can be also inside of phpString with HTML tags. Deal with
" it later (time, not lines).
endif
endif
" If exists b:php_menu it means completion was already constructed we
" don't need to do anything more
if exists("b:php_menu")
return b:php_menu
endif
if !exists('g:php_builtin_functions')
call phpcomplete#LoadData()
endif
" a:base is very short - we need context
if exists("b:compl_context")
let context = b:compl_context
unlet! b:compl_context
endif
let [current_namespace, imports] = phpcomplete#GetCurrentNameSpace(getline(0, line('.')))
if context =~? '^use\s'
return phpcomplete#CompleteUse(a:base)
endif
if context =~ '\(->\|::\)$'
" {{{
" Get name of the class
let classname = phpcomplete#GetClassName(line('.'), context, current_namespace, imports)
" Get location of class definition, we have to iterate through all
if classname != ''
if classname =~ '\'
" split the last \ segment as a classname, everything else is the namespace
let classname_parts = split(classname, '\')
let namespace = join(classname_parts[0:-2], '\')
let classname = classname_parts[-1]
else
let namespace = '\'
endif
let classlocation = phpcomplete#GetClassLocation(classname, namespace)
else
let classlocation = ''
endif
if classlocation != ''
if classlocation == 'VIMPHP_BUILTINOBJECT' && has_key(g:php_builtin_classes, tolower(classname))
return phpcomplete#CompleteBuiltInClass(context, classname, a:base)
endif
if filereadable(classlocation)
let classfile = readfile(classlocation)
let classcontent = ''
let classcontent .= "\n".phpcomplete#GetClassContents(classlocation, classname)
let sccontent = split(classcontent, "\n")
let visibility = expand('%:p') == fnamemodify(classlocation, ':p') ? 'private' : 'public'
return phpcomplete#CompleteUserClass(context, a:base, sccontent, visibility)
endif
endif
return phpcomplete#CompleteUnknownClass(a:base, context)
" }}}
elseif context =~? 'implements'
return phpcomplete#CompleteClassName(a:base, ['i'], current_namespace, imports)
elseif context =~? 'extends'
let kinds = context =~? 'class\s' ? ['c'] : ['i']
return phpcomplete#CompleteClassName(a:base, kinds, current_namespace, imports)
elseif context =~? 'new'
return phpcomplete#CompleteClassName(a:base, ['c'], current_namespace, imports)
endif
if a:base =~ '^\$'
return phpcomplete#CompleteVariable(a:base)
else
return phpcomplete#CompleteGeneral(a:base, current_namespace, imports)
endif
endfunction
" }}}
function! phpcomplete#CompleteUse(base) " {{{
" completes builtin class names regadless of g:phpcomplete_min_num_of_chars_for_namespace_completion
" completes namespaces from tags
" * requires patched ctags
" completes classnames from tags within the already typed out namespace using the "namespace" field of tags
" * requires patched ctags
let res = []
" class and namespace names are always considered absoltute in use ... expressions, leading slash is not recommended
" by the php manual, so we gonna get rid of that
if a:base =~? '^\'
let base = substitute(a:base, '^\', '', '')
else
let base = a:base
endif
let namespace_match_pattern = substitute(base, '\\', '\\\\', 'g')
let classname_match_pattern = matchstr(base, '[^\\]\+$')
let namespace_for_class = substitute(substitute(namespace_match_pattern, '\\\\', '\\', 'g'), '\\*'.classname_match_pattern.'$', '', '')
if len(namespace_match_pattern) >= g:phpcomplete_min_num_of_chars_for_namespace_completion
if len(classname_match_pattern) >= g:phpcomplete_min_num_of_chars_for_namespace_completion
let tags = phpcomplete#GetTaglist('^\('.namespace_match_pattern.'\|'.classname_match_pattern.'\)')
else
let tags = phpcomplete#GetTaglist('^'.namespace_match_pattern)
endif
let patched_ctags_detected = 0
let namespaced_matches = []
let no_namespace_matches = []
for tag in tags
if has_key(tag, 'namespace')
let patched_ctags_detected = 1
endif
if tag.kind ==? 'n' && tag.name =~? '^'.namespace_match_pattern
let patched_ctags_detected = 1
call add(namespaced_matches, {'word': tag.name, 'kind': 'n', 'menu': tag.filename, 'info': tag.filename })
elseif has_key(tag, 'namespace') && (tag.kind ==? 'c' || tag.kind ==? 'i') && tag.namespace ==? namespace_for_class
call add(namespaced_matches, {'word': namespace_for_class.'\'.tag.name, 'kind': tag.kind, 'menu': tag.filename, 'info': tag.filename })
elseif (tag.kind ==? 'c' || tag.kind ==? 'i')
call add(no_namespace_matches, {'word': namespace_for_class.'\'.tag.name, 'kind': tag.kind, 'menu': tag.filename, 'info': tag.filename })
endif
endfor
" if it seems that the tags file have namespace informations we can safely throw
" away namespaceless tag matches since we can be sure they are invalid
if patched_ctags_detected
no_namespace_matches = []
endif
let res += namespaced_matches + no_namespace_matches
endif
if base !~ '\'
let builtin_classnames = filter(keys(copy(g:php_builtin_classnames)), 'v:val =~? "^'.classname_match_pattern.'"')
for classname in builtin_classnames
call add(res, {'word': classname, 'kind': 'c'})
endfor
let builtin_interfacenames = filter(keys(copy(g:php_builtin_interfacenames)), 'v:val =~? "^'.classname_match_pattern.'"')
for interfacename in builtin_interfacenames
call add(res, {'word': interfacename, 'kind': 'i'})
endfor
endif
return res
endfunction
" }}}
function! phpcomplete#CompleteGeneral(base, current_namespace, imports) " {{{
" Complete everything else -
" + functions, DONE
" + keywords of language DONE
" + defines (constant definitions), DONE
" + extend keywords for predefined constants, DONE
" + classes (after new), DONE
" + limit choice after -> and :: to funcs and vars DONE
" Internal solution for finding functions in current file.
if a:base =~? '^\'
let leading_slash = '\'
else
let leading_slash = ''
endif
let file = getline(1, '$')
call filter(file,
\ 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
let jfile = join(file, ' ')
let int_values = split(jfile, 'function\s\+')
let int_functions = {}
for i in int_values
let f_name = matchstr(i,
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
if f_name =~? '^'.substitute(a:base, '\\', '\\\\', 'g')
let f_args = matchstr(i,
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*\({\|$\)')
let int_functions[f_name.'('] = f_args.')'
endif
endfor
" Internal solution for finding constants in current file
let file = getline(1, '$')
call filter(file, 'v:val =~ "define\\s*("')
let jfile = join(file, ' ')
let int_values = split(jfile, 'define\s*(\s*')
let int_constants = {}
for i in int_values
let c_name = matchstr(i, '\(["'']\)\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze\1')
if c_name != '' && c_name =~# '^'.substitute(a:base, '\\', '\\\\', 'g')
let int_constants[leading_slash.c_name] = ''
endif
endfor
" Prepare list of functions from tags file
let ext_functions = {}
let ext_constants = {}
let ext_classes = {}
let ext_interfaces = {}
let ext_namespaces = {}
let base = substitute(a:base, '^\\', '', '')
let [tag_match_pattern, namespace_for_tag] = phpcomplete#ExpandClassName(a:base, a:current_namespace, a:imports)
let namespace_match_pattern = substitute((namespace_for_tag == '' ? '' : namespace_for_tag.'\').tag_match_pattern, '\\', '\\\\', 'g')
let tags = []
if len(namespace_match_pattern) >= g:phpcomplete_min_num_of_chars_for_namespace_completion && len(tag_match_pattern) >= g:phpcomplete_min_num_of_chars_for_namespace_completion && tag_match_pattern != namespace_match_pattern
let tags = phpcomplete#GetTaglist('\c^\('.tag_match_pattern.'\|'.namespace_match_pattern.'\)')
elseif len(namespace_match_pattern) >= g:phpcomplete_min_num_of_chars_for_namespace_completion
let tags = phpcomplete#GetTaglist('\c^'.namespace_match_pattern)
elseif len(tag_match_pattern) >= g:phpcomplete_min_num_of_chars_for_namespace_completion
let tags = phpcomplete#GetTaglist('\c^'.tag_match_pattern)
endif
for tag in tags
if !has_key(tag, 'namespace') || tag.namespace ==? a:current_namespace || tag.namespace ==? namespace_for_tag
if has_key(tag, 'namespace')
let full_name = tag.namespace.'\'.tag.name " absolute namespaced name (without leading '\')
let base_parts = split(a:base, '\')
if len(base_parts) > 1
let namespace_part = join(base_parts[0:-2], '\')
else
let namespace_part = ''
endif
let relative_name = (namespace_part == '' ? '' : namespace_part.'\').tag.name
endif
if tag.kind ==? 'n' && tag.name =~? '^'.namespace_match_pattern
let info = tag.name.' - '.tag.filename
" patched ctag provides absolute namespace names as tag name, namespace tags dont have namespace fields
let full_name = tag.name
let base_parts = split(a:base, '\')
let full_name_parts = split(full_name, '\')
if len(base_parts) > 1
" the first segment could be a renamed import, take the first segment from the user provided input
" so if it's a sub namespace of a renamed namespace, just use the typed in segments in place of the absolute path
" for example:
" you have a namespace NS1\SUBNS as SUB
" you have a sub-sub-namespace NS1\SUBNS\SUBSUB
" typed in SUB\SU
" the tags will return NS1\SUBNS\SUBSUB
" the completion should be: SUB\SUBSUB by replacing the NS1\SUBSN to SUB as in the import
if has_key(a:imports, base_parts[0]) && a:imports[base_parts[0]].kind == 'n'
let import = a:imports[base_parts[0]]
let relative_name = substitute(full_name, '^'.substitute(import.name, '\\', '\\\\', 'g'), base_parts[0], '')
else
let relative_name = strpart(full_name, stridx(full_name, a:base))
endif
else
let relative_name = strpart(full_name, stridx(full_name, a:base))
endif
if leading_slash == ''
let ext_namespaces[relative_name.'\'] = info
else
let ext_namespaces['\'.full_name.'\'] = info
endif
elseif tag.kind ==? 'f' && !has_key(tag, 'class') " class related functions (methods) completed elsewhere, only works with patched ctags
if has_key(tag, 'signature')
let prototype = tag.signature[1:-2] " drop the ()s around the string
else
let prototype = matchstr(tag.cmd,
\ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
endif
let info = prototype.') - '.tag.filename
if !has_key(tag, 'namespace')
let ext_functions[tag.name.'('] = info
else
if tag.namespace ==? namespace_for_tag
if leading_slash == ''
let ext_functions[relative_name.'('] = info
else
let ext_functions['\'.full_name.'('] = info
endif
endif
endif
elseif tag.kind ==? 'd'
let info = ' - '.tag.filename
if !has_key(tag, 'namespace')
let ext_constants[tag.name] = info
else
if tag.namespace ==? namespace_for_tag
if leading_slash == ''
let ext_constants[relative_name] = info
else
let ext_constants['\'.full_name] = info
endif
endif
endif
elseif tag.kind ==? 'c' || tag.kind ==? 'i'
let info = ' - '.tag.filename
let key = ''
if !has_key(tag, 'namespace')
let key = tag.name
else
if tag.namespace ==? namespace_for_tag
if leading_slash == ''
let key = relative_name
else
let key = '\'.full_name
endif
endif
endif
if key != ''
if tag.kind ==? 'c'
let ext_classes[key] = info
elseif tag.kind ==? 'i'
let ext_interfaces[key] = info
endif
endif
endif
endif
endfor
let builtin_constants = {}
let builtin_classnames = {}
let builtin_interfaces = {}
let builtin_functions = {}
let builtin_keywords = {}
let base = substitute(a:base, '^\', '', '')
if a:current_namespace == '\' || (a:base =~ '^\\' && a:base =~ '^\\[^\\]*$')
" Add builtin class names
for [classname, info] in items(g:php_builtin_classnames)
if classname =~? '^'.base
let builtin_classnames[leading_slash.classname] = info
endif
endfor
for [interfacename, info] in items(g:php_builtin_interfacenames)
if interfacename =~? '^'.base
let builtin_interfaces[leading_slash.classname] = info
endif
endfor
endif
" Prepare list of constants from built-in constants
for [constant, info] in items(g:php_constants)
if constant =~# '^'.base
let builtin_constants[leading_slash.constant] = info
endif
endfor
if leading_slash == '' " keywords should not be completed when base starts with '\'
" Treat keywords as constants
for [constant, info] in items(g:php_keywords)
if constant =~? '^'.a:base
let builtin_keywords[constant] = info
endif
endfor
endif
for [function_name, info] in items(g:php_builtin_functions)
if function_name =~? '^'.base
let builtin_functions[leading_slash.function_name] = info
endif
endfor
" All constants
call extend(int_constants, ext_constants)
" All functions
call extend(int_functions, ext_functions)
call extend(int_functions, builtin_functions)
for [imported_name, import] in items(a:imports)
if imported_name =~? '^'.base
if import.kind ==? 'c'
if import.builtin
let builtin_classnames[imported_name] = ' '.import.name
else
let ext_classes[imported_name] = ' '.import.name.' - '.import.filename
endif
elseif import.kind ==? 'i'
if import.builtin
let builtin_interfaces[imported_name] = ' '.import.name
else
let ext_interfaces[imported_name] = ' '.import.name.' - '.import.filename
endif
endif
" no builtin interfaces
if import.kind == 'n'
let ext_namespaces[imported_name.'\'] = ' '.import.name.' - '.import.filename
endif
end
endfor
let all_values = {}
" Add functions found in this file
call extend(all_values, int_functions)
" Add namespaces from tags
call extend(all_values, ext_namespaces)
" Add constants from the current file
call extend(all_values, int_constants)
" Add built-in constants
call extend(all_values, builtin_constants)
" Add external classes
call extend(all_values, ext_classes)
" Add external interfaces
call extend(all_values, ext_interfaces)
" Add built-in classes
call extend(all_values, builtin_classnames)
" Add built-in interfaces
call extend(all_values, builtin_interfaces)
" Add php keywords
call extend(all_values, builtin_keywords)
let final_list = []
let int_list = sort(keys(all_values))
for i in int_list
if has_key(ext_namespaces, i)
let final_list += [{'word':i, 'kind':'n', 'menu': ext_namespaces[i], 'info': ext_namespaces[i]}]
elseif has_key(int_functions, i)
let final_list +=
\ [{'word':i,
\ 'info':i.int_functions[i],
\ 'menu':int_functions[i],
\ 'kind':'f'}]
elseif has_key(ext_classes, i) || has_key(builtin_classnames, i)
let info = has_key(ext_classes, i) ? ext_classes[i] : builtin_classnames[i].' - builtin'
let final_list += [{'word':i, 'kind': 'c', 'menu': info, 'info': i.info}]
elseif has_key(ext_interfaces, i) || has_key(builtin_interfaces, i)
let info = has_key(ext_interfaces, i) ? ext_interfaces[i] : builtin_interfaces[i].' - builtin'
let final_list += [{'word':i, 'kind': 'i', 'menu': info, 'info': i.info}]
elseif has_key(int_constants, i) || has_key(builtin_constants, i)
let info = has_key(int_constants, i) ? int_constants[i] : ' - builtin'
let final_list += [{'word':i, 'kind': 'd', 'menu': info, 'info': i.info}]
else
let final_list += [{'word':i}]
endif
endfor
return final_list
endfunction
" }}}
function! phpcomplete#CompleteUnknownClass(base, context) " {{{
let res = []
if g:phpcomplete_complete_for_unknown_classes != 1
return []
endif
if a:base =~ '^\$'
let adddollar = '$'
else
let adddollar = ''
endif
let file = getline(1, '$')
" Internal solution for finding object properties in current file.
if a:context =~ '::'
let variables = filter(deepcopy(file),
\ 'v:val =~ "^\\s*\\(static\\|static\\s\\+\\(public\\|var\\)\\|\\(public\\|var\\)\\s\\+static\\)\\s\\+\\$"')
elseif a:context =~ '->'
let variables = filter(deepcopy(file),
\ 'v:val =~ "^\\s*\\(public\\|var\\)\\s\\+\\$"')
endif
let jvars = join(variables, ' ')
let svars = split(jvars, '\$')
let int_vars = {}
for i in svars
let c_var = matchstr(i,
\ '^\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
if c_var != ''
let int_vars[adddollar.c_var] = ''
endif
endfor
" Internal solution for finding functions in current file.
call filter(deepcopy(file),
\ 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
let jfile = join(file, ' ')
let int_values = split(jfile, 'function\s\+')
let int_functions = {}
for i in int_values
let f_name = matchstr(i,
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
let f_args = matchstr(i,
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*\({\|$\)')
let int_functions[f_name.'('] = f_args.')'
endfor
" collect external functions from tags
let ext_functions = {}
let tags = phpcomplete#GetTaglist('^'.substitute(a:base, '^\$', '', ''))
for tag in tags
if tag.kind ==? 'f'
let item = tag.name
if has_key(tag, 'signature')
let prototype = tag.signature[1:-2]
else
let prototype = matchstr(tag.cmd,
\ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
endif
let ext_functions[item.'('] = prototype.') - '.tag['filename']
endif
endfor
" All functions to one hash for later reference when deciding kind
call extend(int_functions, ext_functions)
let all_values = {}
call extend(all_values, int_functions)
call extend(all_values, int_vars) " external variables are already in
call extend(all_values, g:php_builtin_object_functions)
for m in sort(keys(all_values))
if m =~ '\(^\|::\)'.a:base
call add(res, m)
endif
endfor
let start_list = res
let final_list = []
for i in start_list
if has_key(int_vars, i)
let class = ' '
if all_values[i] != ''
let class = i.' class '
endif
let final_list += [{'word':i, 'info':class.all_values[i], 'kind':'v'}]
else
let final_list +=
\ [{'word':substitute(i, '.*::', '', ''),
\ 'info':i.all_values[i],
\ 'menu':all_values[i],
\ 'kind':'f'}]
endif
endfor
return final_list
endfunction
" }}}
function! phpcomplete#CompleteVariable(base) " {{{
let res = []
" Internal solution for current file.
let file = getline(1, '$')
let jfile = join(file, ' ')
let int_vals = split(jfile, '\ze\$')
let int_vars = {}
for i in int_vals
if i =~? '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*=\s*new'
let val = matchstr(i,
\ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
else
let val = matchstr(i,
\ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
endif
if val != ''
let int_vars[val] = ''
endif
endfor
call extend(int_vars, g:php_builtin_vars)
" ctags has support for PHP, use tags file for external variables
if g:phpcomplete_search_tags_for_variables
let ext_vars = {}
let tags = phpcomplete#GetTaglist('\C^'.substitute(a:base, '^\$', '', ''))
for tag in tags
if tag.kind ==? 'v'
let item = tag.name
let m_menu = ''
if tag.cmd =~? tag['name'].'\s*=\s*new\s\+'
let m_menu = matchstr(tag.cmd,
\ '\c=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
endif
let ext_vars['$'.item] = m_menu
endif
endfor
call extend(int_vars, ext_vars)
endif
for m in sort(keys(int_vars))
if m =~# '^\'.a:base
call add(res, m)
endif
endfor
let int_list = res
let int_dict = []
for i in int_list
if int_vars[i] != ''
let class = ' '
if int_vars[i] != ''
let class = i.' class '
endif
let int_dict += [{'word':i, 'info':class.int_vars[i], 'menu':int_vars[i], 'kind':'v'}]
else
let int_dict += [{'word':i, 'kind':'v'}]
endif
endfor
return int_dict
endfunction
" }}}
function! phpcomplete#CompleteClassName(base, kinds, current_namespace, imports) " {{{
let kinds = sort(a:kinds)
" Complete class name
let res = []
if a:base =~? '^\'
let leading_slash = '\'
let base = substitute(a:base, '^\', '', '')
else
let leading_slash = ''
let base = a:base
endif
" Internal solution for finding classes in current file.
let file = getline(1, '$')
let filterstr = ''
if kinds == ['c', 'i']
let filterstr = 'v:val =~? "\\(class\\|interface\\)\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*"'
elseif kinds == ['c']
let filterstr = 'v:val =~? "class\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*"'
elseif kinds == ['i']
let filterstr = 'v:val =~? "interface\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*"'
endif
call filter(file, filterstr)
for line in file
let c_name = matchstr(line, '\c\(class\|interface\)\s*\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
let kind = (line =~? '^\s*class' ? 'c' : 'i')
if c_name != '' && c_name =~? '^'.base
call add(res, {'word': c_name, 'kind': kind})
endif
endfor
" resolve the typed in part with namespaces (if theres a \ in it)
let [tag_match_pattern, namespace_for_class] = phpcomplete#ExpandClassName(a:base, a:current_namespace, a:imports)
let tags = []
if len(tag_match_pattern) >= g:phpcomplete_min_num_of_chars_for_namespace_completion
let tags = phpcomplete#GetTaglist('^'.tag_match_pattern)
endif
if len(tags)
let base_parts = split(a:base, '\')
if len(base_parts) > 1
let namespace_part = join(base_parts[0:-2], '\').'\'
else
let namespace_part = ''
endif
let no_namespace_matches = []
let namespaced_matches = []
let seen_namespaced_tag = 0
for tag in tags
if has_key(tag, 'namespace')
let seen_namespaced_tag = 1
endif
let relative_name = namespace_part.tag.name
" match base without the namespace part for namespaced base but not namespaced tags, for tagfiles with old ctags
if !has_key(tag, 'namespace') && index(kinds, tag.kind) != -1 && stridx(tag.name, base[len(namespace_part):]) == 0
call add(no_namespace_matches, {'word': leading_slash.relative_name, 'kind': tag.kind, 'menu': tag.filename, 'info': tag.filename })
endif
if has_key(tag, 'namespace') && index(kinds, tag.kind) != -1 && tag.namespace ==? namespace_for_class
let full_name = tag.namespace.'\'.tag.name " absolute namespaced name (without leading '\')
call add(namespaced_matches, {'word': leading_slash == '\' ? leading_slash.full_name : relative_name, 'kind': tag.kind, 'menu': tag.filename, 'info': tag.filename })
endif
endfor
" if there was a tag with namespace field, assume tag files with namespace support, so the matches
" without a namespace field are in the global namespace so if there were namespace in the base
" we should not add them to the matches
if seen_namespaced_tag && namespace_part != ''
let no_namespace_matches = []
endif
let res += no_namespace_matches + namespaced_matches
endif
" look for built in classnames and interfaces
let base_parts = split(base, '\')
if a:current_namespace == '\' || (leading_slash == '\' && len(base_parts) < 2)
if index(kinds, 'c') != -1
let builtin_classnames = filter(keys(copy(g:php_builtin_classnames)), 'v:val =~? "^'.substitute(a:base, '\\', '', 'g').'"')
for classname in builtin_classnames
let menu = ''
" if we have a constructor for this class, add parameters as to the info
if has_key(g:php_builtin_classes[tolower(classname)].methods, '__construct')
let menu = g:php_builtin_classes[tolower(classname)]['methods']['__construct']['signature']
endif
call add(res, {'word': leading_slash.classname, 'kind': 'c', 'menu': menu})
endfor
endif
if index(kinds, 'i') != -1
let builtin_interfaces = filter(keys(copy(g:php_builtin_interfaces)), 'v:val =~? "^'.substitute(a:base, '\\', '', 'g').'"')
for interfacename in builtin_interfaces
call add(res, {'word': leading_slash.interfacename, 'kind': 'i', 'menu': ''})
endfor
endif
endif
" add matching imported things
for [imported_name, import] in items(a:imports)
if imported_name =~? '^'.base && index(kinds, import.kind) != -1
let menu = import.name.(import.builtin ? ' - builtin' : '')
call add(res, {'word': imported_name, 'kind': import.kind, 'menu': menu})
endif
endfor
let res = sort(res, 'phpcomplete#CompareCompletionRow')
return res
endfunction
" }}}
function! phpcomplete#CompareCompletionRow(i1, i2) " {{{
return a:i1.word == a:i2.word ? 0 : a:i1.word > a:i2.word ? 1 : -1
endfunction
" }}}
function! phpcomplete#EvaluateModifiers(modifiers, required_modifiers, prohibited_modifiers) " {{{
" if theres no modifier, and no modifier is allowed and no modifier is required
if len(a:modifiers) == 0 && len(a:required_modifiers) == 0
return 1
else
" check if every requred modifier is present
for required_modifier in a:required_modifiers
if index(a:modifiers, required_modifier) == -1
return 0
endif
endfor
for modifier in a:modifiers
" if the modifier is prohibited its a no match
if index(a:prohibited_modifiers, modifier) != -1
return 0
endif
endfor
" anything that is not explicitly required or prohibited is allowed
return 1
endif
endfunction
" }}}
function! phpcomplete#CompleteUserClass(context, base, sccontent, visibility) " {{{
let final_list = []
let res = []
let required_modifiers = []
let prohibited_modifiers = []
if a:visibility == 'public'
let prohibited_modifiers += ['private', 'protected']
endif
" limit based on context to static or normal methods
let static_con = ''
if a:context =~ '::$' && a:context !~? 'parent::$'
if g:phpcomplete_relax_static_constraint != 1
let required_modifiers += ['static']
endif
elseif a:context =~ '->$'
let prohibited_modifiers += ['static']
endif
let all_function = filter(deepcopy(a:sccontent),
\ 'v:val =~ "^\\s*\\(public\\s\\+\\|protected\\s\\+\\|private\\s\\+\\|final\\s\\+\\|abstract\\s\\+\\|static\\s\\+\\)*function"')
let functions = []
for i in all_function
let modifiers = split(matchstr(tolower(i), '\zs.\+\zefunction'), '\s\+')
if phpcomplete#EvaluateModifiers(modifiers, required_modifiers, prohibited_modifiers) == 1
call add(functions, i)
endif
endfor
let c_functions = {}
let c_doc = {}
for i in functions
let f_name = matchstr(i,
\ 'function\s*&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
let f_args = matchstr(i,
\ 'function\s*&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*\({\|\_$\)')
if f_name != ''
let c_functions[f_name.'('] = f_args
if g:phpcomplete_parse_docblock_comments
let c_doc[f_name.'('] = phpcomplete#GetDocBlock(a:sccontent, 'function\s*\<'.f_name.'\>')
endif
endif
endfor
" limit based on context to static or normal attributes
if a:context =~ '::$' && a:context !~? 'parent::$'
" variables must have static to be accessed as static unlike functions
let required_modifiers += ['static']
endif
let all_variable = filter(deepcopy(a:sccontent),
\ 'v:val =~ "^\\s*\\(var\\s\\+\\|public\\s\\+\\|protected\\s\\+\\|private\\s\\+\\|final\\s\\+\\|abstract\\s\\+\\|static\\s\\+\\)\\+\\$"')
let variables = []
for i in all_variable
let modifiers = split(matchstr(tolower(i), '\zs.\+\ze\$'), '\s\+')
if phpcomplete#EvaluateModifiers(modifiers, required_modifiers, prohibited_modifiers) == 1
call add(variables, i)
endif
endfor
let jvars = join(variables, ' ')
let svars = split(jvars, '\$')
let c_variables = {}
let var_index = 0
for i in svars
let c_var = matchstr(i,
\ '^\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
if c_var != ''
if a:context =~ '::$'
let c_var = '$'.c_var
endif
let c_variables[c_var] = ''
if g:phpcomplete_parse_docblock_comments && len(get(variables, var_index)) > 0
let c_doc[c_var] = phpcomplete#GetDocBlock(a:sccontent, variables[var_index])
endif
let var_index += 1
endif
endfor
let constants = filter(deepcopy(a:sccontent),
\ 'v:val =~ "^\\s*const\\s\\+"')
let jcons = join(constants, ' ')
let scons = split(jcons, 'const')
let c_constants = {}
let const_index = 0
for i in scons
let c_con = matchstr(i,
\ '^\s*\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
if c_con != ''
let c_constants[c_con] = ''
if g:phpcomplete_parse_docblock_comments && len(get(constants, const_index)) > 0
let c_doc[c_con] = phpcomplete#GetDocBlock(a:sccontent, constants[const_index])
endif
let const_index += 1
endif
endfor
let all_values = {}
call extend(all_values, c_functions)
call extend(all_values, c_variables)
call extend(all_values, c_constants)
for m in sort(keys(all_values))
if stridx(m, a:base) == 0
call add(res, m)
endif
endfor
let start_list = res
let final_list = []
for i in start_list
let docblock = phpcomplete#ParseDocBlock(get(c_doc, i, ''))
if has_key(c_variables, i)
let final_list +=
\ [{'word': i,
\ 'info':phpcomplete#FormatDocBlock(docblock),
\ 'menu':get(docblock.var, 'type', ''),
\ 'kind':'v'}]
elseif has_key(c_constants, i)
let info = phpcomplete#FormatDocBlock(docblock)
if info != ''
let info = "\n".info
endif
let final_list +=
\ [{'word':i,
\ 'info':i.info,
\ 'menu':all_values[i],
\ 'kind':'d'}]
else
let return_type = get(docblock.return, 'type', '')
if return_type != ''
let return_type = ' | '.return_type
endif
let info = phpcomplete#FormatDocBlock(docblock)
if info != ''
let info = "\n".info
endif
let final_list +=
\ [{'word':substitute(i, '.*::', '', ''),
\ 'info':i.all_values[i].')'.info,
\ 'menu':all_values[i].')'.return_type,
\ 'kind':'f'}]
endif
endfor
return final_list
endfunction
" }}}
function! phpcomplete#CompleteBuiltInClass(context, classname, base) " {{{
let class_info = g:php_builtin_classes[tolower(a:classname)]
let res = []
if a:context =~ '->$' " complete for everything instance related
" methods
for [method_name, method_info] in items(class_info.methods)
if a:base == '' || method_name =~? '^'.a:base
call add(res, {'word':method_name.'(', 'kind': 'f', 'menu': method_info.signature, 'info': method_info.signature })
endif
endfor
" properties
for [property_name, property_info] in items(class_info.properties)
if a:base == '' || property_name =~? '^'.a:base
call add(res, {'word':property_name, 'kind': 'v', 'menu': property_info.type, 'info': property_info.type })
endif
endfor
elseif a:context =~ '::$' " complete for everything static
" methods
for [method_name, method_info] in items(class_info.static_methods)
if a:base == '' || method_name =~? '^'.a:base
call add(res, {'word':method_name.'(', 'kind': 'f', 'menu': method_info.signature, 'info': method_info.signature })
endif
endfor
" properties
for [property_name, property_info] in items(class_info.static_properties)
if a:base == '' || property_name =~? '^'.a:base
call add(res, {'word':property_name, 'kind': 'v', 'menu': property_info.type, 'info': property_info.type })
endif
endfor
" constants
for [constant_name, constant_info] in items(class_info.constants)
if a:base == '' || constant_name =~? '^'.a:base
call add(res, {'word':constant_name, 'kind': 'd', 'menu': constant_info, 'info': constant_info})
endif
endfor
endif
return res
endfunction
" }}}
function! phpcomplete#GetTaglist(pattern) " {{{
let cache_checksum = ''
if g:phpcomplete_cache_taglists == 1
" build a string with format of "<tagfile>:<mtime>$<tagfile2>:<mtime2>..."
" to validate that the tags are not changed since the time we saved the results in cache
for tagfile in sort(tagfiles())
let cache_checksum .= fnamemodify(tagfile, ':p').':'.getftime(tagfile).'$'
endfor
if s:cache_tags_checksum != cache_checksum
" tag file(s) changed
" since we don't know where individual tags coming from when calling taglist() we zap the whole cache
" no way to clear only the entries originating from the changed tag file
let s:cache_tags = {}
endif
if has_key(s:cache_tags, a:pattern)
return s:cache_tags[a:pattern]
endif
endif
let tags = taglist(a:pattern)
let s:cache_tags[a:pattern] = tags
let has_key = has_key(s:cache_tags, a:pattern)
let s:cache_tags_checksum = cache_checksum
return tags
endfunction
" }}}
function! phpcomplete#GetCurrentInstruction(line_number, col_number, phpbegin) " {{{
" locate the current instruction (up until the previous non comment or string ";" or php region start (<?php or <?) without newlines
let col_number = a:col_number
let line_number = a:line_number
let line = getline(a:line_number)
let current_char = -1
let instruction = ''
let parent_depth = 0
let bracket_depth = 0
let stop_chars = [
\ '!', '@', '%', '^', '&',
\ '*', '/', '-', '+', '=',
\ ':', '>', '<', '.', '?',
\ ';', '(', '|', '['
\ ]
let phpbegin_length = len(matchstr(getline(a:phpbegin[0]), '\zs<?\(php\)\?\ze'))
let phpbegin_end = [a:phpbegin[0], a:phpbegin[1] - 1 + phpbegin_length]
" will hold the first place where a coma could have ended the match
let first_coma_break_pos = -1
let next_char = len(line) < col_number ? line[col_number + 1] : ''
while !(line_number == 1 && col_number == 1)
if current_char != -1
let next_char = current_char
endif
let current_char = line[col_number]
let synIDName = synIDattr(synID(line_number, col_number + 1, 0), 'name')
if col_number - 1 == -1
let prev_line_number = line_number - 1
let prev_line = getline(line_number - 1)
let prev_col_number = strlen(prev_line)
else
let prev_line_number = line_number
let prev_col_number = col_number - 1
let prev_line = line
endif
let prev_char = prev_line[prev_col_number]
" skip comments
if synIDName =~? 'comment\|phpDocTags'
let current_char = ''
endif
" break on the last char of the "and" and "or" operators
if synIDName == 'phpOperator' && (current_char == 'r' || current_char == 'd')
break
endif
" break on statements as "return" or "throws"
if synIDName == 'phpStatement' || synIDName == 'phpException'
break
endif
" if the current char should be considered
if current_char != '' && parent_depth >= 0 && bracket_depth >= 0 && synIDName !~? 'comment\|string'
" break if we are on a "naked" stop_char (operators, colon, openparent...)
if index(stop_chars, current_char) != -1
let do_break = 1
" dont break does not look like a "->"
if (prev_char == '-' && current_char == '>') || (current_char == '-' && next_char == '>')
let do_break = 0
endif
" dont break if its looks like a "::"
if (prev_char == ':' && current_char == ':') || (current_char == ':' && next_char == ':')
let do_break = 0
endif
if do_break
break
endif
endif
" save the coma position for later use if theres a "naked" , possibly separating a parameter and it is not in a parented part
if first_coma_break_pos == -1 && current_char == ','
let first_coma_break_pos = len(instruction)
endif
endif
" count nested darenthesis and brackets so we can tell if we need to break on a ';' or not (think of for (;;) loops)
if synIDName =~? 'phpBraceFunc\|phpParent\|Delimiter'
if current_char == '('
let parent_depth += 1
elseif current_char == ')'
let parent_depth -= 1
elseif current_char == '['
let bracket_depth += 1
elseif current_char == ']'
let bracket_depth -= 1
endif
endif
" stop collecting chars if we see a function start { (think of first line in a function)
if (current_char == '{' || current_char == '}') && synIDName =~? 'phpBraceFunc\|phpParent\|Delimiter'
break
endif
" break if we are reached the php block start (<?php or <?)
if [line_number, col_number] == phpbegin_end
break
endif
let instruction = current_char.instruction
" step a char or a line back if we are on the first column of the line already
let col_number -= 1
if col_number == -1
let line_number -= 1
let line = getline(line_number)
let col_number = strlen(line)
endif
endwhile
" strip leading whitespace
let instruction = substitute(instruction, '^\s\+', '', '')
" there were a "naked" coma in the instruction
if first_coma_break_pos != -1
if instruction !~? '^use' " use ... statements should not be broken up
let pos = -1 * first_coma_break_pos + 1
let instruction = instruction[pos :]
endif
endif
" HACK to remove one line conditionals from code like "if ($foo) echo 'bar'"
" what the plugin really need is a proper php tokenizer
if instruction =~? '\c^\(if\|while\|foreach\|for\)\s*('
" clear everything up until the first (
let instruction = substitute(instruction, '^\(if\|while\|foreach\|for\)\s*(\s*', '', '')
" lets iterate trough the instruction until we can find the pair for the opening (
let i = 0
let depth = 1
while i < len(instruction)
if instruction[i] == '('
let depth += 1
endif
if instruction[i] == ')'
let depth -= 1
endif
if depth == 0
break
end
let i += 1
endwhile
let instruction = instruction[i + 1 : len(instruction)]
endif
" trim whitespace from the ends
let instruction = substitute(instruction, '\v^(^\s+)|(\s+)$', '', 'g')
return instruction
endfunction " }}}
function! phpcomplete#GetCallChainReturnType(classname_candidate, class_candidate_namespace, imports, methodstack) " {{{
" Tries to get the classname and namespace for a chained method call like:
" $this->foo()->bar()->baz()->
let classname_candidate = a:classname_candidate
let class_candidate_namespace = a:class_candidate_namespace
let methodstack = a:methodstack
let unknown_result = ['', '']
let prev_method_is_array = (methodstack[0] =~ '\v^[^([]+\[' ? 1 : 0)
let classname_candidate_is_array = (classname_candidate =~ '\[\]$' ? 1 : 0)
if prev_method_is_array
if classname_candidate_is_array
let classname_candidate = substitute(classname_candidate, '\[\]$', '', '')
else
return unknown_result
endif
endif
if (len(methodstack) == 1)
let [classname_candidate, class_candidate_namespace] = phpcomplete#ExpandClassName(classname_candidate, class_candidate_namespace, a:imports)
return [classname_candidate, class_candidate_namespace]
else
call remove(methodstack, 0)
let method_is_array = (methodstack[0] =~ '\v^[^[]+\[' ? 1 : 0)
let method = matchstr(methodstack[0], '\v^\$*\zs[^[(]+\ze')
let classlocation = phpcomplete#GetClassLocation(classname_candidate, class_candidate_namespace)
if classlocation == 'VIMPHP_BUILTINOBJECT' && has_key(g:php_builtin_classes, tolower(classname_candidate))
let class_info = g:php_builtin_classes[tolower(classname_candidate)]
if has_key(class_info['methods'], method)
return phpcomplete#GetCallChainReturnType(class_info['methods'][method].return_type, '\', a:imports, methodstack)
endif
if has_key(class_info['properties'], method)
return phpcomplete#GetCallChainReturnType(class_info['properties'][method].type, '\', a:imports, methodstack)
endif
if has_key(class_info['static_methods'], method)
return phpcomplete#GetCallChainReturnType(class_info['static_methods'][method].return_type, '\', a:imports, methodstack)
endif
if has_key(class_info['static_properties'], method)
return phpcomplete#GetCallChainReturnType(class_info['static_properties'][method].type, '\', a:imports, methodstack)
endif
return unknown_result
elseif filereadable(classlocation)
" Read the next method from the stack and extract only the name
let classcontents = phpcomplete#GetCachedClassContents(classlocation, classname_candidate)
" Get Structured information of all classes and subclasses including namespace and includes
" try to find the method's return type in docblock comment
for classstructure in classcontents
let doclock_target_pattern = 'function\s\+'.method.'\|\(public\|private\|protected\|var\).\+\$'.method
let doc_str = phpcomplete#GetDocBlock(split(classstructure.content, '\n'), doclock_target_pattern)
if doc_str != ''
break
endif
endfor
if doc_str != ''
let docblock = phpcomplete#ParseDocBlock(doc_str)
if has_key(docblock.return, 'type') || has_key(docblock.var, 'type')
let type = has_key(docblock.return, 'type') ? docblock.return.type : docblock.var.type
" there's a namespace in the type, threat the type as FQCN
if type =~ '\\'
let parts = split(substitute(type, '^\\', '', ''), '\')
let class_candidate_namespace = join(parts[0:-2], '\')
let classname_candidate = parts[-1]
" check for renamed namepsace in imports
if has_key(classstructure.imports, class_candidate_namespace)
let class_candidate_namespace = classstructure.imports[class_candidate_namespace].name
endif
else
" no namespace in the type, threat it as a relative classname
let returnclass = type
if has_key(classstructure.imports, returnclass)
if has_key(classstructure.imports[returnclass], 'namespace')
let fullnamespace = classstructure.imports[returnclass].namespace
else
let fullnamespace = class_candidate_namespace
endif
else
let fullnamespace = class_candidate_namespace
endif
let [classname_candidate, class_candidate_namespace] = phpcomplete#ExpandClassName(returnclass, fullnamespace, a:imports)
endif
return phpcomplete#GetCallChainReturnType(classname_candidate, class_candidate_namespace, a:imports, methodstack)
endif
endif
return unknown_result
else
return unknown_result
endif
endif
endfunction " }}}
function! phpcomplete#GetMethodStack(line) " {{{
let methodstack = []
let i = 0
let end = len(a:line)
let current_part = ''
let parent_depth = 0
let in_string = 0
let string_start = ''
let next_char = ''
while i < end
let current_char = a:line[i]
let next_char = i + 1 < end ? a:line[i + 1] : ''
let prev_char = i >= 1 ? a:line[i - 1] : ''
let prev_prev_char = i >= 2 ? a:line[i - 2] : ''
if in_string == 0 && parent_depth == 0 && ((current_char == '-' && next_char == '>') || (current_char == ':' && next_char == ':'))
call add(methodstack, current_part)
let current_part = ''
let i += 2
continue
endif
" if it's looks like a string
if current_char == "'" || current_char == '"'
" and it is not escaped
if prev_char != '\' || (prev_char == '\' && prev_prev_char == '\')
" and we are in a string already
if in_string
" and that string started with this char too
if current_char == string_start
" clear the string mark
let in_string = 0
endif
else " ... and we are not in a string
" set the string mark
let in_string = 1
let string_start = current_char
endif
endif
endif
if !in_string && a:line[i] == '('
let parent_depth += 1
endif
if !in_string && a:line[i] == ')'
let parent_depth -= 1
endif
let current_part .= current_char
let i += 1
endwhile
" add the last remaining part, this can be an empty string and this is expected
" the empty string represents the completion base (which happen to be an empty string)
if current_part != ''
call add(methodstack, current_part)
endif
return methodstack
endfunction
" }}}
function! phpcomplete#GetClassName(start_line, context, current_namespace, imports) " {{{
" Get class name
" Class name can be detected in few ways:
" @var $myVar class
" in the same line (php 5.4 (new Class)-> syntax)
" line above
" or line in tags file
let class_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
let function_name_pattern = '[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*'
let variable_name_pattern = '\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
let classname_candidate = ''
let class_candidate_namespace = a:current_namespace
let class_candidate_imports = a:imports
let methodstack = phpcomplete#GetMethodStack(a:context)
if a:context =~? '\$this->' || a:context =~? '\(self\|static\)::' || a:context =~? 'parent::'
let i = 1
while i < a:start_line
let line = getline(a:start_line - i)
" Don't complete self:: or $this if outside of a class
" (assumes correct indenting)
if line =~ '^}'
return ''
endif
if line =~? '\v^\s*(abstract\s+|final\s+)*\s*class'
let class_name = matchstr(line, '\c\s*class\s*\zs'.class_name_pattern.'\ze')
let extended_class = matchstr(line, '\cclass\s\+'.class_name_pattern.'\s\+extends\s\+\zs'.class_name_pattern.'\ze')
let classname_candidate = a:context =~? 'parent::' ? extended_class : class_name
else
let i += 1
continue
endif
if classname_candidate != ''
let [classname_candidate, class_candidate_namespace] = phpcomplete#GetCallChainReturnType(classname_candidate, class_candidate_namespace, class_candidate_imports, methodstack)
" return absolute classname, without leading \
return (class_candidate_namespace == '\' || class_candidate_namespace == '') ? classname_candidate : class_candidate_namespace.'\'.classname_candidate
endif
endwhile
elseif a:context =~? '(\s*new\s\+'.class_name_pattern.'\s*)->'
let classname_candidate = matchstr(a:context, '\cnew\s\+\zs'.class_name_pattern.'\ze')
let [classname_candidate, class_candidate_namespace] = phpcomplete#GetCallChainReturnType(classname_candidate, class_candidate_namespace, class_candidate_imports, methodstack)
" return absolute classname, without leading \
return (class_candidate_namespace == '\' || class_candidate_namespace == '') ? classname_candidate : class_candidate_namespace.'\'.classname_candidate
else
" check Constant lookup
let constant_object = matchstr(a:context, '\zs'.class_name_pattern.'\ze::')
if constant_object != ''
let classname_candidate = constant_object
endif
" extract the variable name from the context
let object = methodstack[0]
let object_is_array = (object =~ '\v^[^[]+\[' ? 1 : 0)
let object = matchstr(object, variable_name_pattern)
" scan the file backwards from current line for explicit type declaration (@var $variable Classname)
let i = 1 " start from the current line - 1
while i < a:start_line
let line = getline(a:start_line - i)
" in file lookup for /* @var $foo Class */
if line =~# '@var\s\+'.object.'\s\+'.class_name_pattern
let classname_candidate = matchstr(line, '@var\s\+'.object.'\s\+\zs'.class_name_pattern.'\(\[\]\)\?')
break
elseif line !~ '^\s*$'
" type indicator comments should be next to the variable
" non empty lines break the search
break
endif
let i += 1
endwhile
if classname_candidate != ''
let [classname_candidate, class_candidate_namespace] = phpcomplete#GetCallChainReturnType(classname_candidate, class_candidate_namespace, class_candidate_imports, methodstack)
" return absolute classname, without leading \
return (class_candidate_namespace == '\' || class_candidate_namespace == '') ? classname_candidate : class_candidate_namespace.'\'.classname_candidate
endif
" scan the file backwards from the current line
let i = 1
while i < a:start_line
let line = getline(a:start_line - i)
" do in-file lookup of $var = new Class
if line =~# '^\s*'.object.'\s*=\s*new\s\+'.class_name_pattern && !object_is_array
let classname_candidate = matchstr(line, object.'\c\s*=\s*new\s*\zs'.class_name_pattern.'\ze')
break
endif
" in-file lookup for Class::getInstance()
if line =~# '^\s*'.object.'\s*=&\?\s*'.class_name_pattern.'\s*::\s*getInstance' && !object_is_array
let classname_candidate = matchstr(line, object.'\s*=&\?\s*\zs'.class_name_pattern.'\ze\s*::\s*getInstance')
break
endif
" do in-file lookup for static method invocation of a built-in class, like: $d = DateTime::createFromFormat()
if line =~# '^\s*'.object.'\s*=&\?\s*'.class_name_pattern.'\s*::\s*$\?[a-zA-Z_0-9\x7f-\xff]\+'
let classname = matchstr(line, '^\s*'.object.'\s*=&\?\s*\zs'.class_name_pattern.'\ze\s*::')
if has_key(a:imports, classname) && a:imports[classname].kind == 'c'
let classname = a:imports[classname].name
endif
if has_key(g:php_builtin_classes, tolower(classname))
let sub_methodstack = phpcomplete#GetMethodStack(matchstr(line, '^\s*'.object.'\s*=&\?\s*\s\+\zs.*'))
let [classname_candidate, class_candidate_namespace] = phpcomplete#GetCallChainReturnType(classname, '\', {}, sub_methodstack)
return classname_candidate
else
" try to get the class name from the static method's docblock
let [classname, namespace_for_class] = phpcomplete#ExpandClassName(classname, a:current_namespace, a:imports)
let sub_methodstack = phpcomplete#GetMethodStack(matchstr(line, '^\s*'.object.'\s*=&\?\s*\s\+\zs.*'))
let [classname_candidate, class_candidate_namespace] = phpcomplete#GetCallChainReturnType(
\ classname,
\ a:current_namespace,
\ a:imports,
\ sub_methodstack)
return (class_candidate_namespace == '\' || class_candidate_namespace == '') ? classname_candidate : class_candidate_namespace.'\'.classname_candidate
endif
endif
" in-file lookup for typehinted function arguments
" - the function can have a name or be anonymous (e.g., function qux() { ... } vs. function () { ... })
" - the type-hinted argument can be anywhere in the arguments list.
if line =~? 'function\(\s\+'.function_name_pattern.'\)\?\s*(.\{-}'.class_name_pattern.'\s\+'.object && !object_is_array
let f_args = matchstr(line, '\cfunction\(\s\+'.function_name_pattern.'\)\?\s*(\zs.\{-}\ze)')
let args = split(f_args, '\s*\zs,\ze\s*')
for arg in args
if arg =~# object.'\(,\|$\)'
let classname_candidate = matchstr(arg, '\s*\zs'.class_name_pattern.'\ze\s\+'.object)
break
endif
endfor
if classname_candidate != ''
break
endif
endif
" if we see a function declaration, try loading the docblock for it and look for matching @params
if line =~? 'function\(\s\+'.function_name_pattern.'\)\?\s*(.\{-}'.object
let match_line = substitute(line, '\\', '\\\\', 'g')
let sccontent = getline(0, a:start_line - i)
let doc_str = phpcomplete#GetDocBlock(sccontent, match_line)
if doc_str != ''
let docblock = phpcomplete#ParseDocBlock(doc_str)
for param in docblock.params
if param.name =~? object
let classname_candidate = matchstr(param.type, class_name_pattern.'\(\[\]\)\?')
break
endif
endfor
if classname_candidate != ''
break
endif
endif
endif
if line =~# '^\s*'.object.'\s*=&\?\s*'.variable_name_pattern
let tailing_semicolon = match(line, ';\s*$')
let tailing_semicolon = tailing_semicolon != -1 ? tailing_semicolon : strlen(getline(a:start_line - i))
let prev_context = phpcomplete#GetCurrentInstruction(a:start_line - i, tailing_semicolon - 1, b:phpbegin)
let prev_class = phpcomplete#GetClassName(a:start_line - i, prev_context, a:current_namespace, a:imports)
if stridx(prev_class, '\') != -1
let classname_parts = split(prev_class, '\\\+')
let classname_candidate = classname_parts[-1]
let class_candidate_namespace = join(classname_parts[0:-2], '\')
else
let classname_candidate = prev_class
let class_candidate_namespace = '\'
endif
break
endif
if line =~? 'foreach\s*(.\{-}\s\+'.object.'\s*)'
let sub_context = matchstr(line, 'foreach\s*(\s*\zs.\{-}\ze\s\+as')
let prev_class = phpcomplete#GetClassName(a:start_line - i, sub_context, a:current_namespace, a:imports)
" the iterated expression should return an array type
if prev_class =~ '\[\]$'
let prev_class = matchstr(prev_class, '\v^[^[]+')
else
return
endif
if stridx(prev_class, '\') != -1
let classname_parts = split(prev_class, '\\\+')
let classname_candidate = classname_parts[-1]
let class_candidate_namespace = join(classname_parts[0:-2], '\')
else
let classname_candidate = prev_class
let class_candidate_namespace = '\'
endif
break
endif
let i += 1
endwhile
if classname_candidate != ''
let [classname_candidate, class_candidate_namespace] = phpcomplete#GetCallChainReturnType(classname_candidate, class_candidate_namespace, class_candidate_imports, methodstack)
" return absolute classname, without leading \
return (class_candidate_namespace == '\' || class_candidate_namespace == '') ? classname_candidate : class_candidate_namespace.'\'.classname_candidate
endif
" OK, first way failed, now check tags file(s)
" This method is useless when local variables are not indexed by ctags and
" pretty inaccurate even if it is
if g:phpcomplete_search_tags_for_variables
let tags = phpcomplete#GetTaglist('^'.substitute(object, '^\$', '', ''))
if len(tags) == 0
return
else
for tag in tags
if tag.kind ==? 'v' && tag.cmd =~? '=\s*new\s\+\zs'.class_name_pattern.'\ze'
let classname = matchstr(tag.cmd, '=\s*new\s\+\zs'.class_name_pattern.'\ze')
return classname
endif
endfor
endif
endif
endif
endfunction
" }}}
function! phpcomplete#GetClassLocation(classname, namespace) " {{{
" Check classname may be name of built in object
if has_key(g:php_builtin_classes, tolower(a:classname)) && (a:namespace == '' || a:namespace == '\')
return 'VIMPHP_BUILTINOBJECT'
endif
if a:namespace == ''
let search_namespace = '\'
else
let search_namespace = tolower(a:namespace)
endif
let [current_namespace, imports] = phpcomplete#GetCurrentNameSpace(getline(0, line('.')))
" do in-file lookup for class definition
let i = 1
while i < line('.')
let line = getline(line('.')-i)
if line =~? '^\s*\(abstract\s\+\|final\s\+\)*\s*class\s*'.a:classname.'\(\s\+\|$\)' && tolower(current_namespace) == search_namespace
return expand('%:p')
else
let i += 1
continue
endif
endwhile
" Get class location from tags
let no_namespace_candidate = ''
let tags = phpcomplete#GetTaglist('^'.a:classname.'$')
for tag in tags
if tag.kind == 'c' || tag.kind == 'i'
if !has_key(tag, 'namespace')
let no_namespace_candidate = tag.filename
else
if search_namespace == tolower(tag.namespace)
return tag.filename
endif
endif
endif
endfor
if no_namespace_candidate != ''
return no_namespace_candidate
endif
endfunction
" }}}
function! phpcomplete#GetCachedClassContents(classlocation, class_name) " {{{
let full_file_path = fnamemodify(a:classlocation, ':p')
let cache_key = full_file_path.'#'.a:class_name.'#'.getftime(full_file_path)
" try to read from the cache first
if has_key(s:cache_classstructures, cache_key)
let classcontents = s:cache_classstructures[cache_key]
" cached class contents can contain content from multiple files (superclasses) so we have to
" validate cached result's validness by the filemtimes used to create the cached value
let valid = 1
for classstructure in classcontents
if getftime(classstructure.file) != classstructure.mtime
let valid = 0
" we could break here, but the time required for checking probably worth
" the the memory we can free by checking every file in the cached hirearchy
call phpcomplete#ClearCachedClassContents(classstructure.file)
endif
endfor
if valid
" cache hit, we found an entry for this file + class pair and every
" file in the response is also valid
return classcontents
else
" clear the outdated cached value from the cache store
call remove(s:cache_classstructures, cache_key)
call phpcomplete#ClearCachedClassContents(full_file_path)
" fall trough for the read from files path
endif
else
call phpcomplete#ClearCachedClassContents(full_file_path)
endif
" cache miss, fetch the content from the files itself
let classfile = readfile(a:classlocation)
let classcontents = phpcomplete#GetClassContentsStructure(full_file_path, classfile, a:class_name)
let s:cache_classstructures[cache_key] = classcontents
return classcontents
endfunction " }}}
function! phpcomplete#ClearCachedClassContents(full_file_path) " {{{
for [cache_key, cached_value] in items(s:cache_classstructures)
if stridx(cache_key, a:full_file_path.'#') == 0
call remove(s:cache_classstructures, cache_key)
endif
endfor
endfunction " }}}
function! phpcomplete#GetClassContentsStructure(file_path, file_lines, class_name) " {{{
" returns dictionary containing content, namespace and imports for the class and all parent classes.
" Example:
" [
" {
" class: 'foo',
" content: '... class foo extends bar ... ',
" namespace: 'NS\Foo',
" imports : { ... },
" file: '/foo.php',
" mtime: 42,
" },
" {
" class: 'bar',
" content: '... class bar extends baz ... ',
" namespace: 'NS\Bar',
" imports : { ... }
" file: '/bar.php',
" mtime: 42,
" },
" ...
" ]
"
let full_file_path = fnamemodify(a:file_path, ':p')
let class_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
let cfile = join(a:file_lines, "\n")
let result = []
" We use new buffer and (later) normal! because
" this is the most efficient way. The other way
" is to go through the looong string looking for
" matching {}
" remember the window we started at
let phpcomplete_original_window = winnr()
silent! below 1new
silent! 0put =cfile
call search('\(class\|interface\)\s\+'.a:class_name.'\(\>\|$\)')
let cfline = line('.')
call search('{')
let endline = line('.')
let content = join(getline(cfline, endline),"\n")
" Catch extends
if content =~? 'extends'
let extends_class = matchstr(content, 'class\_s\+'.a:class_name.'\_s\+extends\_s\+\zs'.class_name_pattern.'\ze')
else
let extends_class = ''
endif
call searchpair('{', '', '}', 'W')
let classcontent = join(getline(cfline, line('.')), "\n")
silent! bw! %
let [current_namespace, imports] = phpcomplete#GetCurrentNameSpace(a:file_lines[0:cfline])
" go back to original window
exe phpcomplete_original_window.'wincmd w'
call add(result, {
\ 'class': a:class_name,
\ 'content': classcontent,
\ 'namespace': current_namespace,
\ 'imports': imports,
\ 'file': full_file_path,
\ 'mtime': getftime(full_file_path),
\ })
if extends_class != ''
let [extends_class, namespace] = phpcomplete#ExpandClassName(extends_class, current_namespace, imports)
if namespace == ''
let namespace = '\'
endif
let classlocation = phpcomplete#GetClassLocation(extends_class, namespace)
if filereadable(classlocation)
let full_file_path = fnamemodify(classlocation, ':p')
let result += phpcomplete#GetClassContentsStructure(full_file_path, readfile(full_file_path), extends_class)
elseif tolower(current_namespace) == tolower(namespace)
" try to find the declaration in the same file.
let result += phpcomplete#GetClassContentsStructure(full_file_path, a:file_lines, extends_class)
endif
endif
return result
endfunction
" }}}
function! phpcomplete#GetClassContents(classlocation, class_name) " {{{
let classcontents = phpcomplete#GetCachedClassContents(a:classlocation, a:class_name)
let result = []
for classstructure in classcontents
call add(result, classstructure.content)
endfor
return join(result, "\n")
endfunction
" }}}
function! phpcomplete#GetDocBlock(sccontent, search) " {{{
let i = 0
let l = 0
let comment_start = -1
let comment_end = -1
let sccontent_len = len(a:sccontent)
while (i < sccontent_len)
let line = a:sccontent[i]
" search for a function declaration
if line =~? a:search
let l = i - 1
" start backward serch for the comment block
while l != 0
let line = a:sccontent[l]
" if comment end found save line position and end search
if line =~? '^\s*\*/'
let comment_end = l
break
" ... or the line doesn't blank (only whitespace or nothing) end search
elseif line !~? '^\s*$'
break
endif
let l -= 1
endwhile
" no comment found
if comment_end == -1
return ''
end
while l != 0
let line = a:sccontent[l]
if line =~? '^\s*/\*\*'
let comment_start = l
break
endif
let l -= 1
endwhile
" no docblock comment start found
if comment_start == -1
return ''
end
let comment_start += 1 " we dont need the /**
let comment_end -= 1 " we dont need the */
" remove leading whitespace and '*'s
let docblock = join(map(copy(a:sccontent[comment_start :comment_end]), 'substitute(v:val, "^\\s*\\*\\s*", "", "")'), "\n")
return docblock
endif
let i += 1
endwhile
return ''
endfunction
" }}}
function! phpcomplete#ParseDocBlock(docblock) " {{{
let res = {
\ 'description': '',
\ 'params': [],
\ 'return': {},
\ 'throws': [],
\ 'var': {},
\ }
let res.description = substitute(matchstr(a:docblock, '\zs\_.\{-}\ze\(@var\|@param\|@return\|$\)'), '\(^\_s*\|\_s*$\)', '', 'g')
let docblock_lines = split(a:docblock, "\n")
let param_lines = filter(copy(docblock_lines), 'v:val =~? "^@param"')
for param_line in param_lines
let parts = matchlist(param_line, '@param\s\+\(\S\+\)\s\+\(\S\+\)\s*\(.*\)')
if len(parts) > 0
call add(res.params, {
\ 'line': parts[0],
\ 'type': phpcomplete#GetTypeFromDocBlockParam(get(parts, 1, '')),
\ 'name': get(parts, 2, ''),
\ 'description': get(parts, 3, '')})
endif
endfor
let return_line = filter(copy(docblock_lines), 'v:val =~? "^@return"')
if len(return_line) > 0
let return_parts = matchlist(return_line[0], '@return\s\+\(\S\+\)\s*\(.*\)')
let res['return'] = {
\ 'line': return_parts[0],
\ 'type': phpcomplete#GetTypeFromDocBlockParam(get(return_parts, 1, '')),
\ 'description': get(return_parts, 2, '')}
endif
let exception_lines = filter(copy(docblock_lines), 'v:val =~? "^\\(@throws\\|@exception\\)"')
for exception_line in exception_lines
let parts = matchlist(exception_line, '^\(@throws\|@exception\)\s\+\(\S\+\)\s*\(.*\)')
if len(parts) > 0
call add(res.throws, {
\ 'line': parts[0],
\ 'type': phpcomplete#GetTypeFromDocBlockParam(get(parts, 2, '')),
\ 'description': get(parts, 3, '')})
endif
endfor
let var_line = filter(copy(docblock_lines), 'v:val =~? "^@var"')
if len(var_line) > 0
let var_parts = matchlist(var_line[0], '@var\s\+\(\S\+\)\s*\(.*\)')
let res['var'] = {
\ 'line': var_parts[0],
\ 'type': phpcomplete#GetTypeFromDocBlockParam(get(var_parts, 1, '')),
\ 'description': get(var_parts, 2, '')}
endif
return res
endfunction
" }}}
function! phpcomplete#GetTypeFromDocBlockParam(docblock_type) " {{{
if a:docblock_type !~ '|'
return a:docblock_type
endif
let primitive_types = [
\ 'string', 'float', 'double', 'int',
\ 'scalar', 'array', 'bool', 'void', 'mixed',
\ 'null', 'callable', 'resource', 'object']
" add array of primitives to the list too, like string[]
let primitive_types += map(copy(primitive_types), 'v:val."[]"')
let types = split(a:docblock_type, '|')
for type in types
if index(primitive_types, type) == -1
return type
endif
endfor
" only primitive types found, return the first one
return types[0]
endfunction
" }}}
function! phpcomplete#FormatDocBlock(info) " {{{
let res = ''
if len(a:info.description)
let res .= "Description:\n".join(map(split(a:info['description'], "\n"), '"\t".v:val'), "\n")."\n"
endif
if len(a:info.params)
let res .= "\nArguments:\n"
for arginfo in a:info.params
let res .= "\t".arginfo['name'].' '.arginfo['type']
if len(arginfo.description) > 0
let res .= ': '.arginfo['description']
endif
let res .= "\n"
endfor
endif
if has_key(a:info.return, 'type')
let res .= "\nReturn:\n\t".a:info['return']['type']
if len(a:info.return.description) > 0
let res .= ": ".a:info['return']['description']
endif
let res .= "\n"
endif
if len(a:info.throws)
let res .= "\nThrows:\n"
for excinfo in a:info.throws
let res .= "\t".excinfo['type']
if len(excinfo['description']) > 0
let res .= ": ".excinfo['description']
endif
let res .= "\n"
endfor
endif
if has_key(a:info.var, 'type')
let res .= "Type:\n\t".a:info['var']['type']."\n"
if len(a:info['var']['description']) > 0
let res .= ': '.a:info['var']['description']
endif
endif
return res
endfunction!
" }}}
function! phpcomplete#GetCurrentNameSpace(file_lines) " {{{
let namespace_name_pattern = '[a-zA-Z_\x7f-\xff\\][a-zA-Z_0-9\x7f-\xff\\]*'
let file_lines = reverse(copy(a:file_lines))
let i = 0
let file_length = len(file_lines)
let imports = {}
let current_namespace = '\'
while i < file_length
let line = file_lines[i]
if line =~? '^\s*namespace\s*'.namespace_name_pattern
let current_namespace = matchstr(line, '^\s*namespace\s*\zs'.namespace_name_pattern.'\ze')
break
endif
if line =~? '^\s*use\>'
if line =~? ';'
let use_line = line
else
" try to find the next line containing ';'
let l = i
let search_line = line
let use_line = line
" add lines from the file until theres no ';' in them
while search_line !~? ';' && l > 0
" file lines are reversed so we need to go backwards
let l -= 1
let search_line = file_lines[l]
let use_line .= ' '.substitute(search_line, '\(^\s\+\|\s\+$\)', '', 'g')
endwhile
endif
let use_expression = matchstr(use_line, '^\s*use\s\+\zs.\{-}\ze;')
let use_parts = map(split(use_expression, '\s*,\s*'), 'substitute(v:val, "\\s+", " ", "g")')
for part in use_parts
if part =~? '\s\+as\s\+'
let [object, name] = split(part, '\s\+as\s\+')
let object = substitute(object, '^\\', '', '')
let name = substitute(name, '^\\', '', '')
else
let object = part
let name = part
let object = substitute(object, '^\\', '', '')
let name = substitute(name, '^\\', '', '')
if name =~? '\\'
let name = matchstr(name, '\\\zs[^\\]\+\ze$')
endif
endif
" leading slash is not required use imports are always absolute
let imports[name] = {'name': object, 'kind': ''}
endfor
" find kind flags from tags or built in methods for the objects we extracted
" they can be either classes, interfaces or namespaces, no other thing is importable in php
for [key, import] in items(imports)
" if theres a \ in the name we have it's definetly not a built in thing, look for tags
if import.name =~ '\\'
let patched_ctags_detected = 0
let [classname, namespace_for_classes] = phpcomplete#ExpandClassName(import.name, '\', {})
let namespace_name_candidate = substitute(import.name, '\\', '\\\\', 'g')
" can be a namespace name as is, or can be a tagname at the end with a namespace
let tags = phpcomplete#GetTaglist('^\('.namespace_name_candidate.'\|'.classname.'\)$')
if len(tags) > 0
for tag in tags
" if there's a namespace with the name of the import
if tag.kind == 'n' && tag.name == import.name
call extend(import, tag)
let import['builtin'] = 0
let patched_ctags_detected = 1
break
endif
" if the name matches with the extracted classname and namespace
if (tag.kind == 'c' || tag.kind == 'i') && tag.name == classname
if has_key(tag, 'namespace')
let patched_ctags_detected = 1
if tag.namespace == namespace_for_classes
call extend(import, tag)
let import['builtin'] = 0
break
endif
elseif !exists('no_namespace_candidate')
" save the first namespacless match to be used if no better
" candidate found later on
let no_namespace_candidate = tag
endif
endif
endfor
" there were a namespacless class name match, if we think that the
" tags are not generated with patched ctags we will take it as a match
if exists('no_namespace_candidate') && !patched_ctags_detected
call extend(import, no_namespace_candidate)
let import['builtin'] = 0
endif
else
" if no tags are found, extract the namespace from the name
let ns = matchstr(import.name, '\c\zs[a-zA-Z0-9\\]\+\ze\\' . name)
if len(ns) > 0
let import['name'] = name
let import['namespace'] = ns
let import['builtin'] = 0
endif
endif
else
" if no \ in the name, it can be a built in class
if has_key(g:php_builtin_classnames, tolower(import.name))
let import['kind'] = 'c'
let import['builtin'] = 1
elseif has_key(g:php_builtin_interfaces, import.name)
let import['kind'] = 'i'
let import['builtin'] = 1
else
" or can be a tag with exactly matchign name
let tags = phpcomplete#GetTaglist('^'.import['name'].'$')
for tag in tags
" search for the first matchin namespace, class, interface with no namespace
if !has_key(tag, 'namespace') && (tag.kind == 'n' || tag.kind == 'c' || tag.kind == 'i')
call extend(import, tag)
let import['builtin'] = 0
break
endif
endfor
endif
endif
endfor
endif
let i += 1
endwhile
let sorted_imports = {}
for name in sort(keys(imports))
let sorted_imports[name] = imports[name]
endfor
return [current_namespace, sorted_imports]
endfunction
" }}}
function! phpcomplete#ExpandClassName(classname, current_namespace, imports) " {{{
" if there's an imported class, just use that class's information
if has_key(a:imports, a:classname) && (a:imports[a:classname].kind == 'c' || a:imports[a:classname].kind == 'i')
let namespace = has_key(a:imports[a:classname], 'namespace') ? a:imports[a:classname].namespace : ''
return [a:imports[a:classname].name, namespace]
endif
" try to find relative namespace in imports, imported names takes precedence over
" current namespace when resolving relative namespaced class names
if a:classname !~ '^\' && a:classname =~ '\\'
let classname_parts = split(a:classname, '\\\+')
if has_key(a:imports, classname_parts[0]) && a:imports[classname_parts[0]].kind == 'n'
let classname_parts[0] = a:imports[classname_parts[0]].name
let namespace = join(classname_parts[0:-2], '\')
let classname = classname_parts[-1]
return [classname, namespace]
endif
endif
" no imported class or namespace matched, expand with the current namespace
let namespace = ''
let classname = a:classname
" if the classname have namespaces in in or we are in a namespace
if a:classname =~ '\\' || (a:current_namespace != '\' && a:current_namespace != '')
" add current namespace to the a:classname
if a:classname !~ '^\'
let classname = a:current_namespace.'\'.substitute(a:classname, '^\\', '', '')
else
" remove leading \, tag files doesn't have those
let classname = substitute(a:classname, '^\\', '', '')
endif
" split classname to classname and namespace
let classname_parts = split(classname, '\\\+')
if len(classname_parts) > 1
let namespace = join(classname_parts[0:-2], '\')
let classname = classname_parts[-1]
endif
endif
return [classname, namespace]
endfunction
" }}}
function! phpcomplete#LoadData() " {{{
" Keywords/reserved words, all other special things
" Later it is possible to add some help to values, or type of defined variable
" g:php_keywords {{{
let g:php_keywords = {
\ 'PHP_SELF':'',
\ 'argv':'',
\ 'argc':'',
\ 'GATEWAY_INTERFACE':'',
\ 'SERVER_ADDR':'',
\ 'SERVER_NAME':'',
\ 'SERVER_SOFTWARE':'',
\ 'SERVER_PROTOCOL':'',
\ 'REQUEST_METHOD':'',
\ 'REQUEST_TIME':'',
\ 'QUERY_STRING':'',
\ 'DOCUMENT_ROOT':'',
\ 'HTTP_ACCEPT':'',
\ 'HTTP_ACCEPT_CHARSET':'',
\ 'HTTP_ACCEPT_ENCODING':'',
\ 'HTTP_ACCEPT_LANGUAGE':'',
\ 'HTTP_CONNECTION':'',
\ 'HTTP_POST':'',
\ 'HTTP_REFERER':'',
\ 'HTTP_USER_AGENT':'',
\ 'HTTPS':'',
\ 'REMOTE_ADDR':'',
\ 'REMOTE_HOST':'',
\ 'REMOTE_PORT':'',
\ 'SCRIPT_FILENAME':'',
\ 'SERVER_ADMIN':'',
\ 'SERVER_PORT':'',
\ 'SERVER_SIGNATURE':'',
\ 'PATH_TRANSLATED':'',
\ 'SCRIPT_NAME':'',
\ 'REQUEST_URI':'',
\ 'PHP_AUTH_DIGEST':'',
\ 'PHP_AUTH_USER':'',
\ 'PHP_AUTH_PW':'',
\ 'AUTH_TYPE':'',
\ 'and':'',
\ 'or':'',
\ 'xor':'',
\ '__FILE__':'',
\ 'exception':'',
\ '__LINE__':'',
\ 'as':'',
\ 'break':'',
\ 'case':'',
\ 'class':'',
\ 'const':'',
\ 'continue':'',
\ 'declare':'',
\ 'default':'',
\ 'do':'',
\ 'echo':'',
\ 'else':'',
\ 'elseif':'',
\ 'enddeclare':'',
\ 'endfor':'',
\ 'endforeach':'',
\ 'endif':'',
\ 'endswitch':'',
\ 'endwhile':'',
\ 'extends':'',
\ 'for':'',
\ 'foreach':'',
\ 'function':'',
\ 'global':'',
\ 'if':'',
\ 'new':'',
\ 'static':'',
\ 'switch':'',
\ 'use':'',
\ 'var':'',
\ 'while':'',
\ 'final':'',
\ 'php_user_filter':'',
\ 'interface':'',
\ 'implements':'',
\ 'public':'',
\ 'private':'',
\ 'protected':'',
\ 'abstract':'',
\ 'clone':'',
\ 'try':'',
\ 'catch':'',
\ 'throw':'',
\ 'cfunction':'',
\ 'old_function':'',
\ 'this':'',
\ 'INI_USER': '',
\ 'INI_PERDIR': '',
\ 'INI_SYSTEM': '',
\ 'INI_ALL': '',
\ 'ABDAY_1': '',
\ 'ABDAY_2': '',
\ 'ABDAY_3': '',
\ 'ABDAY_4': '',
\ 'ABDAY_5': '',
\ 'ABDAY_6': '',
\ 'ABDAY_7': '',
\ 'DAY_1': '',
\ 'DAY_2': '',
\ 'DAY_3': '',
\ 'DAY_4': '',
\ 'DAY_5': '',
\ 'DAY_6': '',
\ 'DAY_7': '',
\ 'ABMON_1': '',
\ 'ABMON_2': '',
\ 'ABMON_3': '',
\ 'ABMON_4': '',
\ 'ABMON_5': '',
\ 'ABMON_6': '',
\ 'ABMON_7': '',
\ 'ABMON_8': '',
\ 'ABMON_9': '',
\ 'ABMON_10': '',
\ 'ABMON_11': '',
\ 'ABMON_12': '',
\ 'MON_1': '',
\ 'MON_2': '',
\ 'MON_3': '',
\ 'MON_4': '',
\ 'MON_5': '',
\ 'MON_6': '',
\ 'MON_7': '',
\ 'MON_8': '',
\ 'MON_9': '',
\ 'MON_10': '',
\ 'MON_11': '',
\ 'MON_12': '',
\ 'AM_STR': '',
\ 'D_T_FMT': '',
\ 'ALT_DIGITS': '',
\ }
" }}}
" One giant hash of all built-in function, class, interface and constant grouped by extension
" php built-in informations {{{
let g:phpcomplete_builtin = {
\ 'functions':{},
\ 'classes':{},
\ 'interfaces':{},
\ 'constants':{},
\ }
let g:phpcomplete_builtin['functions']['math'] = {
\ 'abs(': 'mixed $number | number',
\ 'acos(': 'float $arg | float',
\ 'acosh(': 'float $arg | float',
\ 'asin(': 'float $arg | float',
\ 'asinh(': 'float $arg | float',
\ 'atan(': 'float $arg | float',
\ 'atan2(': 'float $y, float $x | float',
\ 'atanh(': 'float $arg | float',
\ 'base_convert(': 'string $number, int $frombase, int $tobase | string',
\ 'bindec(': 'string $binary_string | number',
\ 'ceil(': 'float $value | float',
\ 'cos(': 'float $arg | float',
\ 'cosh(': 'float $arg | float',
\ 'decbin(': 'int $number | string',
\ 'dechex(': 'int $number | string',
\ 'decoct(': 'int $number | string',
\ 'deg2rad(': 'float $number | float',
\ 'exp(': 'float $arg | float',
\ 'expm1(': 'float $arg | float',
\ 'floor(': 'float $value | float',
\ 'fmod(': 'float $x, float $y | float',
\ 'getrandmax(': 'void | int',
\ 'hexdec(': 'string $hex_string | number',
\ 'hypot(': 'float $x, float $y | float',
\ 'is_finite(': 'float $val | bool',
\ 'is_infinite(': 'float $val | bool',
\ 'is_nan(': 'float $val | bool',
\ 'lcg_value(': 'void | float',
\ 'log(': 'float $arg [, float $base = M_E] | float',
\ 'log10(': 'float $arg | float',
\ 'log1p(': 'float $number | float',
\ 'max(': 'array $values | mixed',
\ 'min(': 'array $values | mixed',
\ 'mt_getrandmax(': 'void | int',
\ 'mt_rand(': 'void | int',
\ 'mt_srand(': '[ int $seed] | void',
\ 'octdec(': 'string $octal_string | number',
\ 'pi(': 'void | float',
\ 'pow(': 'number $base, number $exp | number',
\ 'rad2deg(': 'float $number | float',
\ 'rand(': 'void | int',
\ 'round(': 'float $val [, int $precision = 0 [, int $mode = PHP_ROUND_HALF_UP]] | float',
\ 'sin(': 'float $arg | float',
\ 'sinh(': 'float $arg | float',
\ 'sqrt(': 'float $arg | float',
\ 'srand(': '[ int $seed] | void',
\ 'tan(': 'float $arg | float',
\ 'tanh(': 'float $arg | float',
\ }
let g:phpcomplete_builtin['functions']['strings'] = {
\ 'addcslashes(': 'string $str, string $charlist | string',
\ 'addslashes(': 'string $str | string',
\ 'bin2hex(': 'string $str | string',
\ 'chop(': 'chop — Alias of rtrim()',
\ 'chr(': 'int $ascii | string',
\ 'chunk_split(': 'string $body [, int $chunklen = 76 [, string $end = "\r\n"]] | string',
\ 'convert_cyr_string(': 'string $str, string $from, string $to | string',
\ 'convert_uudecode(': 'string $data | string',
\ 'convert_uuencode(': 'string $data | string',
\ 'count_chars(': 'string $string [, int $mode = 0] | mixed',
\ 'crc32(': 'string $str | int',
\ 'crypt(': 'string $str [, string $salt] | string',
\ 'echo(': 'string $arg1 [, string $...] | void',
\ 'explode(': 'string $delimiter, string $string [, int $limit] | array',
\ 'fprintf(': 'resource $handle, string $format [, mixed $args [, mixed $...]] | int',
\ 'get_html_translation_table(': '[ int $table = HTML_SPECIALCHARS [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = ''UTF-8'']]] | array',
\ 'hebrev(': 'string $hebrew_text [, int $max_chars_per_line = 0] | string',
\ 'hebrevc(': 'string $hebrew_text [, int $max_chars_per_line = 0] | string',
\ 'hex2bin(': 'string $data | string',
\ 'html_entity_decode(': 'string $string [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = ''UTF-8'']] | string',
\ 'htmlentities(': 'string $string [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = ''UTF-8'' [, bool $double_encode = true]]] | string',
\ 'htmlspecialchars_decode(': 'string $string [, int $flags = ENT_COMPAT | ENT_HTML401] | string',
\ 'htmlspecialchars(': 'string $string [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = ''UTF-8'' [, bool $double_encode = true]]] | string',
\ 'implode(': 'string $glue, array $pieces | string',
\ 'join(': 'join — Alias of implode()',
\ 'lcfirst(': 'string $str | string',
\ 'levenshtein(': 'string $str1, string $str2 | int',
\ 'localeconv(': 'void | array',
\ 'ltrim(': 'string $str [, string $charlist] | string',
\ 'md5_file(': 'string $filename [, bool $raw_output = false] | string',
\ 'md5(': 'string $str [, bool $raw_output = false] | string',
\ 'metaphone(': 'string $str [, int $phonemes = 0] | string',
\ 'money_format(': 'string $format, float $number | string',
\ 'nl_langinfo(': 'int $item | string',
\ 'nl2br(': 'string $string [, bool $is_xhtml = true] | string',
\ 'number_format(': 'float $number [, int $decimals = 0] | string',
\ 'ord(': 'string $string | int',
\ 'parse_str(': 'string $str [, array &$arr] | void',
\ 'print(': 'string $arg | int',
\ 'printf(': 'string $format [, mixed $args [, mixed $...]] | int',
\ 'quoted_printable_decode(': 'string $str | string',
\ 'quoted_printable_encode(': 'string $str | string',
\ 'quotemeta(': 'string $str | string',
\ 'rtrim(': 'string $str [, string $charlist] | string',
\ 'setlocale(': 'int $category, string $locale [, string $...] | string',
\ 'sha1_file(': 'string $filename [, bool $raw_output = false] | string',
\ 'sha1(': 'string $str [, bool $raw_output = false] | string',
\ 'similar_text(': 'string $first, string $second [, float &$percent] | int',
\ 'soundex(': 'string $str | string',
\ 'sprintf(': 'string $format [, mixed $args [, mixed $...]] | string',
\ 'sscanf(': 'string $str, string $format [, mixed &$...] | mixed',
\ 'str_getcsv(': 'string $input [, string $delimiter = '','' [, string $enclosure = ''"'' [, string $escape = ''\\'']]] | array',
\ 'str_ireplace(': 'mixed $search, mixed $replace, mixed $subject [, int &$count] | mixed',
\ 'str_pad(': 'string $input, int $pad_length [, string $pad_string = " " [, int $pad_type = STR_PAD_RIGHT]] | string',
\ 'str_repeat(': 'string $input, int $multiplier | string',
\ 'str_replace(': 'mixed $search, mixed $replace, mixed $subject [, int &$count] | mixed',
\ 'str_rot13(': 'string $str | string',
\ 'str_shuffle(': 'string $str | string',
\ 'str_split(': 'string $string [, int $split_length = 1] | array',
\ 'str_word_count(': 'string $string [, int $format = 0 [, string $charlist]] | mixed',
\ 'strcasecmp(': 'string $str1, string $str2 | int',
\ 'strchr(': 'strchr — Alias of strstr()',
\ 'strcmp(': 'string $str1, string $str2 | int',
\ 'strcoll(': 'string $str1, string $str2 | int',
\ 'strcspn(': 'string $str1, string $str2 [, int $start [, int $length]] | int',
\ 'strip_tags(': 'string $str [, string $allowable_tags] | string',
\ 'stripcslashes(': 'string $str | string',
\ 'stripos(': 'string $haystack, string $needle [, int $offset = 0] | int',
\ 'stripslashes(': 'string $str | string',
\ 'stristr(': 'string $haystack, mixed $needle [, bool $before_needle = false] | string',
\ 'strlen(': 'string $string | int',
\ 'strnatcasecmp(': 'string $str1, string $str2 | int',
\ 'strnatcmp(': 'string $str1, string $str2 | int',
\ 'strncasecmp(': 'string $str1, string $str2, int $len | int',
\ 'strncmp(': 'string $str1, string $str2, int $len | int',
\ 'strpbrk(': 'string $haystack, string $char_list | string',
\ 'strpos(': 'string $haystack, mixed $needle [, int $offset = 0] | mixed',
\ 'strrchr(': 'string $haystack, mixed $needle | string',
\ 'strrev(': 'string $string | string',
\ 'strripos(': 'string $haystack, string $needle [, int $offset = 0] | int',
\ 'strrpos(': 'string $haystack, string $needle [, int $offset = 0] | int',
\ 'strspn(': 'string $subject, string $mask [, int $start [, int $length]] | int',
\ 'strstr(': 'string $haystack, mixed $needle [, bool $before_needle = false] | string',
\ 'strtok(': 'string $str, string $token | string',
\ 'strtolower(': 'string $str | string',
\ 'strtoupper(': 'string $string | string',
\ 'strtr(': 'string $str, string $from, string $to | string',
\ 'substr_compare(': 'string $main_str, string $str, int $offset [, int $length [, bool $case_insensitivity = false]] | int',
\ 'substr_count(': 'string $haystack, string $needle [, int $offset = 0 [, int $length]] | int',
\ 'substr_replace(': 'mixed $string, mixed $replacement, mixed $start [, mixed $length] | mixed',
\ 'substr(': 'string $string, int $start [, int $length] | string',
\ 'trim(': 'string $str [, string $charlist = " \t\n\r\0\x0B"] | string',
\ 'ucfirst(': 'string $str | string',
\ 'ucwords(': 'string $str | string',
\ 'vfprintf(': 'resource $handle, string $format, array $args | int',
\ 'vprintf(': 'string $format, array $args | int',
\ 'vsprintf(': 'string $format, array $args | string',
\ 'wordwrap(': 'string $str [, int $width = 75 [, string $break = "\n" [, bool $cut = false]]] | string',
\ }
let g:phpcomplete_builtin['functions']['object_aggregation'] = {
\ 'aggregate_info(': 'object $object | array',
\ 'aggregate_methods_by_list(': 'object $object, string $class_name, array $methods_list [, bool $exclude = false] | void',
\ 'aggregate_methods_by_regexp(': 'object $object, string $class_name, string $regexp [, bool $exclude = false] | void',
\ 'aggregate_methods(': 'object $object, string $class_name | void',
\ 'aggregate_properties_by_list(': 'object $object, string $class_name, array $properties_list [, bool $exclude = false] | void',
\ 'aggregate_properties_by_regexp(': 'object $object, string $class_name, string $regexp [, bool $exclude = false] | void',
\ 'aggregate_properties(': 'object $object, string $class_name | void',
\ 'aggregate(': 'object $object, string $class_name | void',
\ 'aggregation_info(': 'aggregation_info — Alias of aggregate_info()',
\ 'deaggregate(': 'object $object [, string $class_name] | void',
\ }
let g:phpcomplete_builtin['functions']['apache'] = {
\ 'apache_child_terminate(': 'void | bool',
\ 'apache_get_modules(': 'void | array',
\ 'apache_get_version(': 'void | string',
\ 'apache_getenv(': 'string $variable [, bool $walk_to_top = false] | string',
\ 'apache_lookup_uri(': 'string $filename | object',
\ 'apache_note(': 'string $note_name [, string $note_value = ""] | string',
\ 'apache_request_headers(': 'void | array',
\ 'apache_reset_timeout(': 'void | bool',
\ 'apache_response_headers(': 'void | array',
\ 'apache_setenv(': 'string $variable, string $value [, bool $walk_to_top = false] | bool',
\ 'getallheaders(': 'void | array',
\ 'virtual(': 'string $filename | bool',
\ }
let g:phpcomplete_builtin['functions']['apc'] = {
\ 'apc_add(': 'string $key, mixed $var [, int $ttl = 0] | bool',
\ 'apc_bin_dump(': '[ array $files = NULL [, array $user_vars = NULL]] | string',
\ 'apc_bin_dumpfile(': 'array $files, array $user_vars, string $filename [, int $flags = 0 [, resource $context = NULL]] | int',
\ 'apc_bin_load(': 'string $data [, int $flags = 0] | bool',
\ 'apc_bin_loadfile(': 'string $filename [, resource $context = NULL [, int $flags = 0]] | bool',
\ 'apc_cache_info(': '[ string $cache_type = "" [, bool $limited = false]] | array',
\ 'apc_cas(': 'string $key, int $old, int $new | bool',
\ 'apc_clear_cache(': '[ string $cache_type = ""] | bool',
\ 'apc_compile_file(': 'string $filename [, bool $atomic = true] | mixed',
\ 'apc_dec(': 'string $key [, int $step = 1 [, bool &$success]] | int',
\ 'apc_define_constants(': 'string $key, array $constants [, bool $case_sensitive = true] | bool',
\ 'apc_delete_file(': 'mixed $keys | mixed',
\ 'apc_delete(': 'string $key | mixed',
\ 'apc_exists(': 'mixed $keys | mixed',
\ 'apc_fetch(': 'mixed $key [, bool &$success] | mixed',
\ 'apc_inc(': 'string $key [, int $step = 1 [, bool &$success]] | int',
\ 'apc_load_constants(': 'string $key [, bool $case_sensitive = true] | bool',
\ 'apc_sma_info(': '[ bool $limited = false] | array',
\ 'apc_store(': 'string $key, mixed $var [, int $ttl = 0] | bool',
\ }
let g:phpcomplete_builtin['functions']['apd'] = {
\ 'apd_breakpoint(': 'int $debug_level | bool',
\ 'apd_callstack(': 'void | array',
\ 'apd_clunk(': 'string $warning [, string $delimiter = "<BR />"] | void',
\ 'apd_continue(': 'int $debug_level | bool',
\ 'apd_croak(': 'string $warning [, string $delimiter = "<BR />"] | void',
\ 'apd_dump_function_table(': 'void | void',
\ 'apd_dump_persistent_resources(': 'void | array',
\ 'apd_dump_regular_resources(': 'void | array',
\ 'apd_echo(': 'string $output | bool',
\ 'apd_get_active_symbols(': 'void | array',
\ 'apd_set_pprof_trace(': '[ string $dump_directory = ini_get("apd.dumpdir") [, string $fragment = "pprof"]] | string',
\ 'apd_set_session_trace_socket(': 'string $tcp_server, int $socket_type, int $port, int $debug_level | bool',
\ 'apd_set_session_trace(': 'int $debug_level [, string $dump_directory = ini_get("apd.dumpdir")] | void',
\ 'apd_set_session(': 'int $debug_level | void',
\ 'override_function(': 'string $function_name, string $function_args, string $function_code | bool',
\ 'rename_function(': 'string $original_name, string $new_name | bool',
\ }
let g:phpcomplete_builtin['functions']['arrays'] = {
\ 'array_change_key_case(': 'array $array [, int $case = CASE_LOWER] | array',
\ 'array_chunk(': 'array $array, int $size [, bool $preserve_keys = false] | array',
\ 'array_column(': 'array $array, mixed $column_key [, mixed $index_key = null] | array',
\ 'array_combine(': 'array $keys, array $values | array',
\ 'array_count_values(': 'array $array | array',
\ 'array_diff_assoc(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_diff_key(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_diff_uassoc(': 'array $array1, array $array2 [, array $... [, callable $key_compare_func]] | array',
\ 'array_diff_ukey(': 'array $array1, array $array2 [, array $... [, callable $key_compare_func]] | array',
\ 'array_diff(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_fill_keys(': 'array $keys, mixed $value | array',
\ 'array_fill(': 'int $start_index, int $num, mixed $value | array',
\ 'array_filter(': 'array $array [, callable $callback] | array',
\ 'array_flip(': 'array $array | array',
\ 'array_intersect_assoc(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_intersect_key(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_intersect_uassoc(': 'array $array1, array $array2 [, array $... [, callable $key_compare_func]] | array',
\ 'array_intersect_ukey(': 'array $array1, array $array2 [, array $... [, callable $key_compare_func]] | array',
\ 'array_intersect(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_key_exists(': 'mixed $key, array $array | bool',
\ 'array_keys(': 'array $array [, mixed $search_value = NULL [, bool $strict = false]] | array',
\ 'array_map(': 'callable $callback, array $array1 [, array $...] | array',
\ 'array_merge_recursive(': 'array $array1 [, array $...] | array',
\ 'array_merge(': 'array $array1 [, array $...] | array',
\ 'array_multisort(': 'array &$array1 [, mixed $array1_sort_order = SORT_ASC [, mixed $array1_sort_flags = SORT_REGULAR [, mixed $...]]] | bool',
\ 'array_pad(': 'array $array, int $size, mixed $value | array',
\ 'array_pop(': 'array &$array | mixed',
\ 'array_product(': 'array $array | number',
\ 'array_push(': 'array &$array, mixed $value1 [, mixed $...] | int',
\ 'array_rand(': 'array $array [, int $num = 1] | mixed',
\ 'array_reduce(': 'array $array, callable $callback [, mixed $initial = NULL] | mixed',
\ 'array_replace_recursive(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_replace(': 'array $array1, array $array2 [, array $...] | array',
\ 'array_reverse(': 'array $array [, bool $preserve_keys = false] | array',
\ 'array_search(': 'mixed $needle, array $haystack [, bool $strict = false] | mixed',
\ 'array_shift(': 'array &$array | mixed',
\ 'array_slice(': 'array $array, int $offset [, int $length = NULL [, bool $preserve_keys = false]] | array',
\ 'array_splice(': 'array &$input, int $offset [, int $length [, mixed $replacement = array()]] | array',
\ 'array_sum(': 'array $array | number',
\ 'array_udiff_assoc(': 'array $array1, array $array2 [, array $... [, callable $value_compare_func]] | array',
\ 'array_udiff_uassoc(': 'array $array1, array $array2 [, array $... [, callable $value_compare_func [, callable $key_compare_func]]] | array',
\ 'array_udiff(': 'array $array1, array $array2 [, array $... [, callable $value_compare_func]] | array',
\ 'array_uintersect_assoc(': 'array $array1, array $array2 [, array $... [, callable $value_compare_func]] | array',
\ 'array_uintersect_uassoc(': 'array $array1, array $array2 [, array $... [, callable $value_compare_func [, callable $key_compare_func]]] | array',
\ 'array_uintersect(': 'array $array1, array $array2 [, array $... [, callable $value_compare_func]] | array',
\ 'array_unique(': 'array $array [, int $sort_flags = SORT_STRING] | array',
\ 'array_unshift(': 'array &$array, mixed $value1 [, mixed $...] | int',
\ 'array_values(': 'array $array | array',
\ 'array_walk_recursive(': 'array &$array, callable $callback [, mixed $userdata = NULL] | bool',
\ 'array_walk(': 'array &$array, callable $callback [, mixed $userdata = NULL] | bool',
\ 'array(': '[ mixed $...] | array',
\ 'arsort(': 'array &$array [, int $sort_flags = SORT_REGULAR] | bool',
\ 'asort(': 'array &$array [, int $sort_flags = SORT_REGULAR] | bool',
\ 'compact(': 'mixed $varname1 [, mixed $...] | array',
\ 'count(': 'mixed $array_or_countable [, int $mode = COUNT_NORMAL] | int',
\ 'current(': 'array &$array | mixed',
\ 'each(': 'array &$array | array',
\ 'end(': 'array &$array | mixed',
\ 'extract(': 'array &$array [, int $flags = EXTR_OVERWRITE [, string $prefix = NULL]] | int',
\ 'in_array(': 'mixed $needle, array $haystack [, bool $strict = FALSE] | bool',
\ 'key_exists(': 'key_exists — Alias of array_key_exists()',
\ 'key(': 'array &$array | mixed',
\ 'krsort(': 'array &$array [, int $sort_flags = SORT_REGULAR] | bool',
\ 'ksort(': 'array &$array [, int $sort_flags = SORT_REGULAR] | bool',
\ 'list(': 'mixed $var1 [, mixed $...] | array',
\ 'natcasesort(': 'array &$array | bool',
\ 'natsort(': 'array &$array | bool',
\ 'next(': 'array &$array | mixed',
\ 'pos(': 'pos — Alias of current()',
\ 'prev(': 'array &$array | mixed',
\ 'range(': 'mixed $start, mixed $end [, number $step = 1] | array',
\ 'reset(': 'array &$array | mixed',
\ 'rsort(': 'array &$array [, int $sort_flags = SORT_REGULAR] | bool',
\ 'shuffle(': 'array &$array | bool',
\ 'sizeof(': 'sizeof — Alias of count()',
\ 'sort(': 'array &$array [, int $sort_flags = SORT_REGULAR] | bool',
\ 'uasort(': 'array &$array, callable $value_compare_func | bool',
\ 'uksort(': 'array &$array, callable $key_compare_func | bool',
\ 'usort(': 'array &$array, callable $value_compare_func | bool',
\ }
let g:phpcomplete_builtin['functions']['php_options_info'] = {
\ 'assert_options(': 'int $what [, mixed $value] | mixed',
\ 'assert(': 'mixed $assertion [, string $description] | bool',
\ 'cli_get_process_title(': 'void | string',
\ 'cli_set_process_title(': 'string $title | bool',
\ 'dl(': 'string $library | bool',
\ 'extension_loaded(': 'string $name | bool',
\ 'gc_collect_cycles(': 'void | int',
\ 'gc_disable(': 'void | void',
\ 'gc_enable(': 'void | void',
\ 'gc_enabled(': 'void | bool',
\ 'get_cfg_var(': 'string $option | string',
\ 'get_current_user(': 'void | string',
\ 'get_defined_constants(': '[ bool $categorize = false] | array',
\ 'get_extension_funcs(': 'string $module_name | array',
\ 'get_include_path(': 'void | string',
\ 'get_included_files(': 'void | array',
\ 'get_loaded_extensions(': '[ bool $zend_extensions = false] | array',
\ 'get_magic_quotes_gpc(': 'void | bool',
\ 'get_magic_quotes_runtime(': 'void | bool',
\ 'get_required_files(': 'get_required_files — Alias of get_included_files()',
\ 'getenv(': 'string $varname | string',
\ 'getlastmod(': 'void | int',
\ 'getmygid(': 'void | int',
\ 'getmyinode(': 'void | int',
\ 'getmypid(': 'void | int',
\ 'getmyuid(': 'void | int',
\ 'getopt(': 'string $options [, array $longopts] | array',
\ 'getrusage(': '[ int $who = 0] | array',
\ 'ini_alter(': 'ini_alter — Alias of ini_set()',
\ 'ini_get_all(': '[ string $extension [, bool $details = true]] | array',
\ 'ini_get(': 'string $varname | string',
\ 'ini_restore(': 'string $varname | void',
\ 'ini_set(': 'string $varname, string $newvalue | string',
\ 'magic_quotes_runtime(': 'magic_quotes_runtime — Alias of set_magic_quotes_runtime()',
\ 'memory_get_peak_usage(': '[ bool $real_usage = false] | int',
\ 'memory_get_usage(': '[ bool $real_usage = false] | int',
\ 'php_ini_loaded_file(': 'void | string',
\ 'php_ini_scanned_files(': 'void | string',
\ 'php_logo_guid(': 'void | string',
\ 'php_sapi_name(': 'void | string',
\ 'php_uname(': '[ string $mode = "a"] | string',
\ 'phpcredits(': '[ int $flag = CREDITS_ALL] | bool',
\ 'phpinfo(': '[ int $what = INFO_ALL] | bool',
\ 'phpversion(': '[ string $extension] | string',
\ 'putenv(': 'string $setting | bool',
\ 'restore_include_path(': 'void | void',
\ 'set_include_path(': 'string $new_include_path | string',
\ 'set_magic_quotes_runtime(': 'bool $new_setting | bool',
\ 'set_time_limit(': 'int $seconds | void',
\ 'sys_get_temp_dir(': 'void | string',
\ 'version_compare(': 'string $version1, string $version2 [, string $operator] | mixed',
\ 'zend_logo_guid(': 'void | string',
\ 'zend_thread_id(': 'void | int',
\ 'zend_version(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['classes_objects'] = {
\ '__autoload(': 'string $class | void',
\ 'call_user_method_array(': 'string $method_name, object &$obj, array $params | mixed',
\ 'call_user_method(': 'string $method_name, object &$obj [, mixed $parameter [, mixed $...]] | mixed',
\ 'class_alias(': 'string $original, string $alias [, bool $autoload = TRUE] | bool',
\ 'class_exists(': 'string $class_name [, bool $autoload = true] | bool',
\ 'get_called_class(': 'void | string',
\ 'get_class_methods(': 'mixed $class_name | array',
\ 'get_class_vars(': 'string $class_name | array',
\ 'get_class(': '[ object $object = NULL] | string',
\ 'get_declared_classes(': 'void | array',
\ 'get_declared_interfaces(': 'void | array',
\ 'get_declared_traits(': 'void | array',
\ 'get_object_vars(': 'object $object | array',
\ 'get_parent_class(': '[ mixed $object] | string',
\ 'interface_exists(': 'string $interface_name [, bool $autoload = true] | bool',
\ 'is_a(': 'object $object, string $class_name [, bool $allow_string = FALSE] | bool',
\ 'is_subclass_of(': 'mixed $object, string $class_name [, bool $allow_string = TRUE] | bool',
\ 'method_exists(': 'mixed $object, string $method_name | bool',
\ 'property_exists(': 'mixed $class, string $property | bool',
\ 'trait_exists(': 'string $traitname [, bool $autoload] | bool',
\ }
let g:phpcomplete_builtin['functions']['urls'] = {
\ 'base64_decode(': 'string $data [, bool $strict = false] | string',
\ 'base64_encode(': 'string $data | string',
\ 'get_headers(': 'string $url [, int $format = 0] | array',
\ 'get_meta_tags(': 'string $filename [, bool $use_include_path = false] | array',
\ 'http_build_query(': 'mixed $query_data [, string $numeric_prefix [, string $arg_separator [, int $enc_type = PHP_QUERY_RFC1738]]] | string',
\ 'parse_url(': 'string $url [, int $component = -1] | mixed',
\ 'rawurldecode(': 'string $str | string',
\ 'rawurlencode(': 'string $str | string',
\ 'urldecode(': 'string $str | string',
\ 'urlencode(': 'string $str | string',
\ }
let g:phpcomplete_builtin['functions']['filesystem'] = {
\ 'basename(': 'string $path [, string $suffix] | string',
\ 'chgrp(': 'string $filename, mixed $group | bool',
\ 'chmod(': 'string $filename, int $mode | bool',
\ 'chown(': 'string $filename, mixed $user | bool',
\ 'clearstatcache(': '[ bool $clear_realpath_cache = false [, string $filename]] | void',
\ 'copy(': 'string $source, string $dest [, resource $context] | bool',
\ 'dirname(': 'string $path | string',
\ 'disk_free_space(': 'string $directory | float',
\ 'disk_total_space(': 'string $directory | float',
\ 'diskfreespace(': 'diskfreespace — Alias of disk_free_space()',
\ 'fclose(': 'resource $handle | bool',
\ 'feof(': 'resource $handle | bool',
\ 'fflush(': 'resource $handle | bool',
\ 'fgetc(': 'resource $handle | string',
\ 'fgetcsv(': 'resource $handle [, int $length = 0 [, string $delimiter = '','' [, string $enclosure = ''"'' [, string $escape = ''\\'']]]] | array',
\ 'fgets(': 'resource $handle [, int $length] | string',
\ 'fgetss(': 'resource $handle [, int $length [, string $allowable_tags]] | string',
\ 'file_exists(': 'string $filename | bool',
\ 'file_get_contents(': 'string $filename [, bool $use_include_path = false [, resource $context [, int $offset = -1 [, int $maxlen]]]] | string',
\ 'file_put_contents(': 'string $filename, mixed $data [, int $flags = 0 [, resource $context]] | int',
\ 'file(': 'string $filename [, int $flags = 0 [, resource $context]] | array',
\ 'fileatime(': 'string $filename | int',
\ 'filectime(': 'string $filename | int',
\ 'filegroup(': 'string $filename | int',
\ 'fileinode(': 'string $filename | int',
\ 'filemtime(': 'string $filename | int',
\ 'fileowner(': 'string $filename | int',
\ 'fileperms(': 'string $filename | int',
\ 'filesize(': 'string $filename | int',
\ 'filetype(': 'string $filename | string',
\ 'flock(': 'resource $handle, int $operation [, int &$wouldblock] | bool',
\ 'fnmatch(': 'string $pattern, string $string [, int $flags = 0] | bool',
\ 'fopen(': 'string $filename, string $mode [, bool $use_include_path = false [, resource $context]] | resource',
\ 'fpassthru(': 'resource $handle | int',
\ 'fputcsv(': 'resource $handle, array $fields [, string $delimiter = '','' [, string $enclosure = ''"'']] | int',
\ 'fputs(': 'fputs — Alias of fwrite()',
\ 'fread(': 'resource $handle, int $length | string',
\ 'fscanf(': 'resource $handle, string $format [, mixed &$...] | mixed',
\ 'fseek(': 'resource $handle, int $offset [, int $whence = SEEK_SET] | int',
\ 'fstat(': 'resource $handle | array',
\ 'ftell(': 'resource $handle | int',
\ 'ftruncate(': 'resource $handle, int $size | bool',
\ 'fwrite(': 'resource $handle, string $string [, int $length] | int',
\ 'glob(': 'string $pattern [, int $flags = 0] | array',
\ 'is_dir(': 'string $filename | bool',
\ 'is_executable(': 'string $filename | bool',
\ 'is_file(': 'string $filename | bool',
\ 'is_link(': 'string $filename | bool',
\ 'is_readable(': 'string $filename | bool',
\ 'is_uploaded_file(': 'string $filename | bool',
\ 'is_writable(': 'string $filename | bool',
\ 'is_writeable(': 'is_writeable — Alias of is_writable()',
\ 'lchgrp(': 'string $filename, mixed $group | bool',
\ 'lchown(': 'string $filename, mixed $user | bool',
\ 'link(': 'string $target, string $link | bool',
\ 'linkinfo(': 'string $path | int',
\ 'lstat(': 'string $filename | array',
\ 'mkdir(': 'string $pathname [, int $mode = 0777 [, bool $recursive = false [, resource $context]]] | bool',
\ 'move_uploaded_file(': 'string $filename, string $destination | bool',
\ 'parse_ini_file(': 'string $filename [, bool $process_sections = false [, int $scanner_mode = INI_SCANNER_NORMAL]] | array',
\ 'parse_ini_string(': 'string $ini [, bool $process_sections = false [, int $scanner_mode = INI_SCANNER_NORMAL]] | array',
\ 'pathinfo(': 'string $path [, int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME] | mixed',
\ 'pclose(': 'resource $handle | int',
\ 'popen(': 'string $command, string $mode | resource',
\ 'readfile(': 'string $filename [, bool $use_include_path = false [, resource $context]] | int',
\ 'readlink(': 'string $path | string',
\ 'realpath_cache_get(': 'void | array',
\ 'realpath_cache_size(': 'void | int',
\ 'realpath(': 'string $path | string',
\ 'rename(': 'string $oldname, string $newname [, resource $context] | bool',
\ 'rewind(': 'resource $handle | bool',
\ 'rmdir(': 'string $dirname [, resource $context] | bool',
\ 'set_file_buffer(': 'set_file_buffer — Alias of stream_set_write_buffer()',
\ 'stat(': 'string $filename | array',
\ 'symlink(': 'string $target, string $link | bool',
\ 'tempnam(': 'string $dir, string $prefix | string',
\ 'tmpfile(': 'void | resource',
\ 'touch(': 'string $filename [, int $time = time() [, int $atime]] | bool',
\ 'umask(': '[ int $mask] | int',
\ 'unlink(': 'string $filename [, resource $context] | bool',
\ }
let g:phpcomplete_builtin['functions']['bbcode'] = {
\ 'bbcode_add_element(': 'resource $bbcode_container, string $tag_name, array $tag_rules | bool',
\ 'bbcode_add_smiley(': 'resource $bbcode_container, string $smiley, string $replace_by | bool',
\ 'bbcode_create(': '[ array $bbcode_initial_tags = NULL] | resource',
\ 'bbcode_destroy(': 'resource $bbcode_container | bool',
\ 'bbcode_parse(': 'resource $bbcode_container, string $to_parse | string',
\ 'bbcode_set_arg_parser(': 'resource $bbcode_container, resource $bbcode_arg_parser | bool',
\ 'bbcode_set_flags(': 'resource $bbcode_container, int $flags [, int $mode = BBCODE_SET_FLAGS_SET] | bool',
\ }
let g:phpcomplete_builtin['functions']['bc_math'] = {
\ 'bcadd(': 'string $left_operand, string $right_operand [, int $scale] | string',
\ 'bccomp(': 'string $left_operand, string $right_operand [, int $scale] | int',
\ 'bcdiv(': 'string $left_operand, string $right_operand [, int $scale] | string',
\ 'bcmod(': 'string $left_operand, string $modulus | string',
\ 'bcmul(': 'string $left_operand, string $right_operand [, int $scale] | string',
\ 'bcpow(': 'string $left_operand, string $right_operand [, int $scale] | string',
\ 'bcpowmod(': 'string $left_operand, string $right_operand, string $modulus [, int $scale] | string',
\ 'bcscale(': 'int $scale | bool',
\ 'bcsqrt(': 'string $operand [, int $scale] | string',
\ 'bcsub(': 'string $left_operand, string $right_operand [, int $scale] | string',
\ }
let g:phpcomplete_builtin['functions']['bcompiler'] = {
\ 'bcompiler_load_exe(': 'string $filename | bool',
\ 'bcompiler_load(': 'string $filename | bool',
\ 'bcompiler_parse_class(': 'string $class, string $callback | bool',
\ 'bcompiler_read(': 'resource $filehandle | bool',
\ 'bcompiler_write_class(': 'resource $filehandle, string $className [, string $extends] | bool',
\ 'bcompiler_write_constant(': 'resource $filehandle, string $constantName | bool',
\ 'bcompiler_write_exe_footer(': 'resource $filehandle, int $startpos | bool',
\ 'bcompiler_write_file(': 'resource $filehandle, string $filename | bool',
\ 'bcompiler_write_footer(': 'resource $filehandle | bool',
\ 'bcompiler_write_function(': 'resource $filehandle, string $functionName | bool',
\ 'bcompiler_write_functions_from_file(': 'resource $filehandle, string $fileName | bool',
\ 'bcompiler_write_header(': 'resource $filehandle [, string $write_ver] | bool',
\ 'bcompiler_write_included_filename(': 'resource $filehandle, string $filename | bool',
\ }
let g:phpcomplete_builtin['functions']['gettext'] = {
\ 'bind_textdomain_codeset(': 'string $domain, string $codeset | string',
\ 'bindtextdomain(': 'string $domain, string $directory | string',
\ 'dcgettext(': 'string $domain, string $message, int $category | string',
\ 'dcngettext(': 'string $domain, string $msgid1, string $msgid2, int $n, int $category | string',
\ 'dgettext(': 'string $domain, string $message | string',
\ 'dngettext(': 'string $domain, string $msgid1, string $msgid2, int $n | string',
\ 'gettext(': 'string $message | string',
\ 'ngettext(': 'string $msgid1, string $msgid2, int $n | string',
\ 'textdomain(': 'string $text_domain | string',
\ }
let g:phpcomplete_builtin['functions']['blenc'] = {
\ 'blenc_encrypt(': 'string $plaintext, string $encodedfile [, string $encryption_key] | string',
\ }
let g:phpcomplete_builtin['functions']['variable_handling'] = {
\ 'boolval(': 'mixed $var | boolean',
\ 'debug_zval_dump(': 'mixed $variable [, mixed $...] | void',
\ 'doubleval(': 'doubleval — Alias of floatval()',
\ 'empty(': 'mixed $var | bool',
\ 'floatval(': 'mixed $var | float',
\ 'get_defined_vars(': 'void | array',
\ 'get_resource_type(': 'resource $handle | string',
\ 'gettype(': 'mixed $var | string',
\ 'import_request_variables(': 'string $types [, string $prefix] | bool',
\ 'intval(': 'mixed $var [, int $base = 10] | int',
\ 'is_array(': 'mixed $var | bool',
\ 'is_bool(': 'mixed $var | bool',
\ 'is_callable(': 'callable $name [, bool $syntax_only = false [, string &$callable_name]] | bool',
\ 'is_double(': 'is_double — Alias of is_float()',
\ 'is_float(': 'mixed $var | bool',
\ 'is_int(': 'mixed $var | bool',
\ 'is_integer(': 'is_integer — Alias of is_int()',
\ 'is_long(': 'is_long — Alias of is_int()',
\ 'is_null(': 'mixed $var | bool',
\ 'is_numeric(': 'mixed $var | bool',
\ 'is_object(': 'mixed $var | bool',
\ 'is_real(': 'is_real — Alias of is_float()',
\ 'is_resource(': 'mixed $var | bool',
\ 'is_scalar(': 'mixed $var | bool',
\ 'is_string(': 'mixed $var | bool',
\ 'isset(': 'mixed $var [, mixed $...] | bool',
\ 'print_r(': 'mixed $expression [, bool $return = false] | mixed',
\ 'serialize(': 'mixed $value | string',
\ 'settype(': 'mixed &$var, string $type | bool',
\ 'strval(': 'mixed $var | string',
\ 'unserialize(': 'string $str | mixed',
\ 'unset(': 'mixed $var [, mixed $...] | void',
\ 'var_dump(': 'mixed $expression [, mixed $...] | void',
\ 'var_export(': 'mixed $expression [, bool $return = false] | mixed',
\ }
let g:phpcomplete_builtin['functions']['mongo'] = {
\ 'bson_decode(': 'string $bson | array',
\ 'bson_encode(': 'mixed $anything | string',
\ }
let g:phpcomplete_builtin['functions']['bzip2'] = {
\ 'bzclose(': 'resource $bz | int',
\ 'bzcompress(': 'string $source [, int $blocksize = 4 [, int $workfactor = 0]] | mixed',
\ 'bzdecompress(': 'string $source [, int $small = 0] | mixed',
\ 'bzerrno(': 'resource $bz | int',
\ 'bzerror(': 'resource $bz | array',
\ 'bzerrstr(': 'resource $bz | string',
\ 'bzflush(': 'resource $bz | int',
\ 'bzopen(': 'string $filename, string $mode | resource',
\ 'bzread(': 'resource $bz [, int $length = 1024] | string',
\ 'bzwrite(': 'resource $bz, string $data [, int $length] | int',
\ }
let g:phpcomplete_builtin['functions']['cairo'] = {
\ 'cairo_create(': 'CairoSurface $surface | CairoContext',
\ 'cairo_font_face_get_type(': 'CairoFontFace $fontface | int',
\ 'cairo_font_face_status(': 'CairoFontFace $fontface | int',
\ 'cairo_font_options_create(': 'void | CairoFontOptions',
\ 'cairo_font_options_equal(': 'CairoFontOptions $options, CairoFontOptions $other | bool',
\ 'cairo_font_options_get_antialias(': 'CairoFontOptions $options | int',
\ 'cairo_font_options_get_hint_metrics(': 'CairoFontOptions $options | int',
\ 'cairo_font_options_get_hint_style(': 'CairoFontOptions $options | int',
\ 'cairo_font_options_get_subpixel_order(': 'CairoFontOptions $options | int',
\ 'cairo_font_options_hash(': 'CairoFontOptions $options | int',
\ 'cairo_font_options_merge(': 'CairoFontOptions $options, CairoFontOptions $other | void',
\ 'cairo_font_options_set_antialias(': 'CairoFontOptions $options, int $antialias | void',
\ 'cairo_font_options_set_hint_metrics(': 'CairoFontOptions $options, int $hint_metrics | void',
\ 'cairo_font_options_set_hint_style(': 'CairoFontOptions $options, int $hint_style | void',
\ 'cairo_font_options_set_subpixel_order(': 'CairoFontOptions $options, int $subpixel_order | void',
\ 'cairo_font_options_status(': 'CairoFontOptions $options | int',
\ 'cairo_format_stride_for_width(': 'int $format, int $width | int',
\ 'cairo_image_surface_create_for_data(': 'string $data, int $format, int $width, int $height [, int $stride = -1] | CairoImageSurface',
\ 'cairo_image_surface_create_from_png(': 'string $file | CairoImageSurface',
\ 'cairo_image_surface_create(': 'int $format, int $width, int $height | CairoImageSurface',
\ 'cairo_image_surface_get_data(': 'CairoImageSurface $surface | string',
\ 'cairo_image_surface_get_format(': 'CairoImageSurface $surface | int',
\ 'cairo_image_surface_get_height(': 'CairoImageSurface $surface | int',
\ 'cairo_image_surface_get_stride(': 'CairoImageSurface $surface | int',
\ 'cairo_image_surface_get_width(': 'CairoImageSurface $surface | int',
\ 'cairo_matrix_create_scale(': 'cairo_matrix_create_scale — Alias of CairoMatrix::initScale()',
\ 'cairo_matrix_create_translate(': 'cairo_matrix_create_translate — Alias of CairoMatrix::initTranslate()',
\ 'cairo_matrix_invert(': 'CairoMatrix $matrix | void',
\ 'cairo_matrix_multiply(': 'CairoMatrix $matrix1, CairoMatrix $matrix2 | CairoMatrix',
\ 'cairo_matrix_rotate(': 'CairoMatrix $matrix, float $radians | void',
\ 'cairo_matrix_transform_distance(': 'CairoMatrix $matrix, float $dx, float $dy | array',
\ 'cairo_matrix_transform_point(': 'CairoMatrix $matrix, float $dx, float $dy | array',
\ 'cairo_matrix_translate(': 'CairoMatrix $matrix, float $tx, float $ty | void',
\ 'cairo_pattern_add_color_stop_rgb(': 'CairoGradientPattern $pattern, float $offset, float $red, float $green, float $blue | void',
\ 'cairo_pattern_add_color_stop_rgba(': 'CairoGradientPattern $pattern, float $offset, float $red, float $green, float $blue, float $alpha | void',
\ 'cairo_pattern_create_for_surface(': 'CairoSurface $surface | CairoPattern',
\ 'cairo_pattern_create_linear(': 'float $x0, float $y0, float $x1, float $y1 | CairoPattern',
\ 'cairo_pattern_create_radial(': 'float $x0, float $y0, float $r0, float $x1, float $y1, float $r1 | CairoPattern',
\ 'cairo_pattern_create_rgb(': 'float $red, float $green, float $blue | CairoPattern',
\ 'cairo_pattern_create_rgba(': 'float $red, float $green, float $blue, float $alpha | CairoPattern',
\ 'cairo_pattern_get_color_stop_count(': 'CairoGradientPattern $pattern | int',
\ 'cairo_pattern_get_color_stop_rgba(': 'CairoGradientPattern $pattern, int $index | array',
\ 'cairo_pattern_get_extend(': 'string $pattern | int',
\ 'cairo_pattern_get_filter(': 'CairoSurfacePattern $pattern | int',
\ 'cairo_pattern_get_linear_points(': 'CairoLinearGradient $pattern | array',
\ 'cairo_pattern_get_matrix(': 'CairoPattern $pattern | CairoMatrix',
\ 'cairo_pattern_get_radial_circles(': 'CairoRadialGradient $pattern | array',
\ 'cairo_pattern_get_rgba(': 'CairoSolidPattern $pattern | array',
\ 'cairo_pattern_get_surface(': 'CairoSurfacePattern $pattern | CairoSurface',
\ 'cairo_pattern_get_type(': 'CairoPattern $pattern | int',
\ 'cairo_pattern_set_extend(': 'string $pattern, string $extend | void',
\ 'cairo_pattern_set_filter(': 'CairoSurfacePattern $pattern, int $filter | void',
\ 'cairo_pattern_set_matrix(': 'CairoPattern $pattern, CairoMatrix $matrix | void',
\ 'cairo_pattern_status(': 'CairoPattern $pattern | int',
\ 'cairo_pdf_surface_create(': 'string $file, float $width, float $height | CairoPdfSurface',
\ 'cairo_pdf_surface_set_size(': 'CairoPdfSurface $surface, float $width, float $height | void',
\ 'cairo_ps_get_levels(': 'void | array',
\ 'cairo_ps_level_to_string(': 'int $level | string',
\ 'cairo_ps_surface_create(': 'string $file, float $width, float $height | CairoPsSurface',
\ 'cairo_ps_surface_dsc_begin_page_setup(': 'CairoPsSurface $surface | void',
\ 'cairo_ps_surface_dsc_begin_setup(': 'CairoPsSurface $surface | void',
\ 'cairo_ps_surface_dsc_comment(': 'CairoPsSurface $surface, string $comment | void',
\ 'cairo_ps_surface_get_eps(': 'CairoPsSurface $surface | bool',
\ 'cairo_ps_surface_restrict_to_level(': 'CairoPsSurface $surface, int $level | void',
\ 'cairo_ps_surface_set_eps(': 'CairoPsSurface $surface, bool $level | void',
\ 'cairo_ps_surface_set_size(': 'CairoPsSurface $surface, float $width, float $height | void',
\ 'cairo_scaled_font_create(': 'CairoFontFace $fontface, CairoMatrix $matrix, CairoMatrix $ctm, CairoFontOptions $fontoptions | CairoScaledFont',
\ 'cairo_scaled_font_extents(': 'CairoScaledFont $scaledfont | array',
\ 'cairo_scaled_font_get_ctm(': 'CairoScaledFont $scaledfont | CairoMatrix',
\ 'cairo_scaled_font_get_font_face(': 'CairoScaledFont $scaledfont | CairoFontFace',
\ 'cairo_scaled_font_get_font_matrix(': 'CairoScaledFont $scaledfont | CairoFontOptions',
\ 'cairo_scaled_font_get_font_options(': 'CairoScaledFont $scaledfont | CairoFontOptions',
\ 'cairo_scaled_font_get_scale_matrix(': 'CairoScaledFont $scaledfont | CairoMatrix',
\ 'cairo_scaled_font_get_type(': 'CairoScaledFont $scaledfont | int',
\ 'cairo_scaled_font_glyph_extents(': 'CairoScaledFont $scaledfont, array $glyphs | array',
\ 'cairo_scaled_font_status(': 'CairoScaledFont $scaledfont | int',
\ 'cairo_scaled_font_text_extents(': 'CairoScaledFont $scaledfont, string $text | array',
\ 'cairo_surface_copy_page(': 'CairoSurface $surface | void',
\ 'cairo_surface_create_similar(': 'CairoSurface $surface, int $content, float $width, float $height | CairoSurface',
\ 'cairo_surface_finish(': 'CairoSurface $surface | void',
\ 'cairo_surface_flush(': 'CairoSurface $surface | void',
\ 'cairo_surface_get_content(': 'CairoSurface $surface | int',
\ 'cairo_surface_get_device_offset(': 'CairoSurface $surface | array',
\ 'cairo_surface_get_font_options(': 'CairoSurface $surface | CairoFontOptions',
\ 'cairo_surface_get_type(': 'CairoSurface $surface | int',
\ 'cairo_surface_mark_dirty_rectangle(': 'CairoSurface $surface, float $x, float $y, float $width, float $height | void',
\ 'cairo_surface_mark_dirty(': 'CairoSurface $surface | void',
\ 'cairo_surface_set_device_offset(': 'CairoSurface $surface, float $x, float $y | void',
\ 'cairo_surface_set_fallback_resolution(': 'CairoSurface $surface, float $x, float $y | void',
\ 'cairo_surface_show_page(': 'CairoSurface $surface | void',
\ 'cairo_surface_status(': 'CairoSurface $surface | int',
\ 'cairo_surface_write_to_png(': 'CairoSurface $surface, resource $stream | void',
\ 'cairo_svg_surface_create(': 'string $file, float $width, float $height | CairoSvgSurface',
\ 'cairo_svg_surface_restrict_to_version(': 'CairoSvgSurface $surface, int $version | void',
\ 'cairo_svg_version_to_string(': 'int $version | string',
\ }
let g:phpcomplete_builtin['functions']['calendar'] = {
\ 'cal_days_in_month(': 'int $calendar, int $month, int $year | int',
\ 'cal_from_jd(': 'int $jd, int $calendar | array',
\ 'cal_info(': '[ int $calendar = -1] | array',
\ 'cal_to_jd(': 'int $calendar, int $month, int $day, int $year | int',
\ 'easter_date(': '[ int $year] | int',
\ 'easter_days(': '[ int $year [, int $method = CAL_EASTER_DEFAULT]] | int',
\ 'frenchtojd(': 'int $month, int $day, int $year | int',
\ 'gregoriantojd(': 'int $month, int $day, int $year | int',
\ 'jddayofweek(': 'int $julianday [, int $mode = CAL_DOW_DAYNO] | mixed',
\ 'jdmonthname(': 'int $julianday, int $mode | string',
\ 'jdtofrench(': 'int $juliandaycount | string',
\ 'jdtogregorian(': 'int $julianday | string',
\ 'jdtojewish(': 'int $juliandaycount [, bool $hebrew = false [, int $fl = 0]] | string',
\ 'jdtojulian(': 'int $julianday | string',
\ 'jdtounix(': 'int $jday | int',
\ 'jewishtojd(': 'int $month, int $day, int $year | int',
\ 'juliantojd(': 'int $month, int $day, int $year | int',
\ 'unixtojd(': '[ int $timestamp = time()] | int',
\ }
let g:phpcomplete_builtin['functions']['spplus'] = {
\ 'calcul_hmac(': 'string $clent, string $siretcode, string $price, string $reference, string $validity, string $taxation, string $devise, string $language | string',
\ 'calculhmac(': 'string $clent, string $data | string',
\ 'nthmac(': 'string $clent, string $data | string',
\ }
let g:phpcomplete_builtin['functions']['function_handling'] = {
\ 'call_user_func_array(': 'callable $callback, array $param_arr | mixed',
\ 'call_user_func(': 'callable $callback [, mixed $parameter [, mixed $...]] | mixed',
\ 'create_function(': 'string $args, string $code | string',
\ 'forward_static_call_array(': 'callable $function, array $parameters | mixed',
\ 'forward_static_call(': 'callable $function [, mixed $parameter [, mixed $...]] | mixed',
\ 'func_get_arg(': 'int $arg_num | mixed',
\ 'func_get_args(': 'void | array',
\ 'func_num_args(': 'void | int',
\ 'function_exists(': 'string $function_name | bool',
\ 'get_defined_functions(': 'void | array',
\ 'register_shutdown_function(': 'callable $callback [, mixed $parameter [, mixed $...]] | void',
\ 'register_tick_function(': 'callable $function [, mixed $arg [, mixed $...]] | bool',
\ 'unregister_tick_function(': 'string $function_name | void',
\ }
let g:phpcomplete_builtin['functions']['chdb'] = {
\ 'chdb_create(': 'string $pathname, array $data | bool',
\ }
let g:phpcomplete_builtin['functions']['directories'] = {
\ 'chdir(': 'string $directory | bool',
\ 'chroot(': 'string $directory | bool',
\ 'closedir(': '[ resource $dir_handle] | void',
\ 'dir(': 'string $directory [, resource $context] | Directory',
\ 'getcwd(': 'void | string',
\ 'opendir(': 'string $path [, resource $context] | resource',
\ 'readdir(': '[ resource $dir_handle] | string',
\ 'rewinddir(': '[ resource $dir_handle] | void',
\ 'scandir(': 'string $directory [, int $sorting_order = SCANDIR_SORT_ASCENDING [, resource $context]] | array',
\ }
let g:phpcomplete_builtin['functions']['date_time'] = {
\ 'checkdate(': 'int $month, int $day, int $year | bool',
\ 'date_default_timezone_get(': 'void | string',
\ 'date_default_timezone_set(': 'string $timezone_identifier | bool',
\ 'date_parse_from_format(': 'string $format, string $date | array',
\ 'date_parse(': 'string $date | array',
\ 'date_sun_info(': 'int $time, float $latitude, float $longitude | array',
\ 'date_sunrise(': 'int $timestamp [, int $format = SUNFUNCS_RET_STRING [, float $latitude = ini_get("date.default_latitude") [, float $longitude = ini_get("date.default_longitude") [, float $zenith = ini_get("date.sunrise_zenith") [, float $gmt_offset = 0]]]]] | mixed',
\ 'date_sunset(': 'int $timestamp [, int $format = SUNFUNCS_RET_STRING [, float $latitude = ini_get("date.default_latitude") [, float $longitude = ini_get("date.default_longitude") [, float $zenith = ini_get("date.sunset_zenith") [, float $gmt_offset = 0]]]]] | mixed',
\ 'date(': 'string $format [, int $timestamp = time()] | string',
\ 'getdate(': '[ int $timestamp = time()] | array',
\ 'gettimeofday(': '[ bool $return_float = false] | mixed',
\ 'gmdate(': 'string $format [, int $timestamp = time()] | string',
\ 'gmmktime(': '[ int $hour = gmdate("H") [, int $minute = gmdate("i") [, int $second = gmdate("s") [, int $month = gmdate("n") [, int $day = gmdate("j") [, int $year = gmdate("Y") [, int $is_dst = -1]]]]]]] | int',
\ 'gmstrftime(': 'string $format [, int $timestamp = time()] | string',
\ 'idate(': 'string $format [, int $timestamp = time()] | int',
\ 'localtime(': '[ int $timestamp = time() [, bool $is_associative = false]] | array',
\ 'microtime(': '[ bool $get_as_float = false] | mixed',
\ 'mktime(': '[ int $hour = date("H") [, int $minute = date("i") [, int $second = date("s") [, int $month = date("n") [, int $day = date("j") [, int $year = date("Y") [, int $is_dst = -1]]]]]]] | int',
\ 'strftime(': 'string $format [, int $timestamp = time()] | string',
\ 'strptime(': 'string $date, string $format | array',
\ 'strtotime(': 'string $time [, int $now = time()] | int',
\ 'time(': 'void | int',
\ 'timezone_name_from_abbr(': 'string $abbr [, int $gmtOffset = -1 [, int $isdst = -1]] | string',
\ 'timezone_version_get(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['network'] = {
\ 'checkdnsrr(': 'string $host [, string $type = "MX"] | bool',
\ 'closelog(': 'void | bool',
\ 'define_syslog_variables(': 'void | void',
\ 'dns_get_record(': 'string $hostname [, int $type = DNS_ANY [, array &$authns [, array &$addtl [, bool &$raw = false]]]] | array',
\ 'fsockopen(': 'string $hostname [, int $port = -1 [, int &$errno [, string &$errstr [, float $timeout = ini_get("default_socket_timeout")]]]] | resource',
\ 'gethostbyaddr(': 'string $ip_address | string',
\ 'gethostbyname(': 'string $hostname | string',
\ 'gethostbynamel(': 'string $hostname | array',
\ 'gethostname(': 'void | string',
\ 'getmxrr(': 'string $hostname, array &$mxhosts [, array &$weight] | bool',
\ 'getprotobyname(': 'string $name | int',
\ 'getprotobynumber(': 'int $number | string',
\ 'getservbyname(': 'string $service, string $protocol | int',
\ 'getservbyport(': 'int $port, string $protocol | string',
\ 'header_register_callback(': 'callable $callback | bool',
\ 'header_remove(': '[ string $name] | void',
\ 'header(': 'string $string [, bool $replace = true [, int $http_response_code]] | void',
\ 'headers_list(': 'void | array',
\ 'headers_sent(': '[ string &$file [, int &$line]] | bool',
\ 'http_response_code(': '[ int $response_code] | int',
\ 'inet_ntop(': 'string $in_addr | string',
\ 'inet_pton(': 'string $address | string',
\ 'ip2long(': 'string $ip_address | int',
\ 'long2ip(': 'string $proper_address | string',
\ 'openlog(': 'string $ident, int $option, int $facility | bool',
\ 'pfsockopen(': 'string $hostname [, int $port = -1 [, int &$errno [, string &$errstr [, float $timeout = ini_get("default_socket_timeout")]]]] | resource',
\ 'setcookie(': 'string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false]]]]]] | bool',
\ 'setrawcookie(': 'string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false]]]]]] | bool',
\ 'socket_get_status(': 'socket_get_status — Alias of stream_get_meta_data()',
\ 'socket_set_blocking(': 'socket_set_blocking — Alias of stream_set_blocking()',
\ 'socket_set_timeout(': 'socket_set_timeout — Alias of stream_set_timeout()',
\ 'syslog(': 'int $priority, string $message | bool',
\ }
let g:phpcomplete_builtin['functions']['spl'] = {
\ 'class_implements(': 'mixed $class [, bool $autoload = true] | array',
\ 'class_parents(': 'mixed $class [, bool $autoload = true] | array',
\ 'class_uses(': 'mixed $class [, bool $autoload = true] | array',
\ 'iterator_apply(': 'Traversable $iterator, callable $function [, array $args] | int',
\ 'iterator_count(': 'Traversable $iterator | int',
\ 'iterator_to_array(': 'Traversable $iterator [, bool $use_keys = true] | array',
\ 'spl_autoload_call(': 'string $class_name | void',
\ 'spl_autoload_extensions(': '[ string $file_extensions] | string',
\ 'spl_autoload_functions(': 'void | array',
\ 'spl_autoload_register(': '[ callable $autoload_function [, bool $throw = true [, bool $prepend = false]]] | bool',
\ 'spl_autoload_unregister(': 'mixed $autoload_function | bool',
\ 'spl_autoload(': 'string $class_name [, string $file_extensions = spl_autoload_extensions()] | void',
\ 'spl_classes(': 'void | array',
\ 'spl_object_hash(': 'object $obj | string',
\ }
let g:phpcomplete_builtin['functions']['classkit'] = {
\ 'classkit_import(': 'string $filename | array',
\ 'classkit_method_add(': 'string $classname, string $methodname, string $args, string $code [, int $flags = CLASSKIT_ACC_PUBLIC] | bool',
\ 'classkit_method_copy(': 'string $dClass, string $dMethod, string $sClass [, string $sMethod] | bool',
\ 'classkit_method_redefine(': 'string $classname, string $methodname, string $args, string $code [, int $flags = CLASSKIT_ACC_PUBLIC] | bool',
\ 'classkit_method_remove(': 'string $classname, string $methodname | bool',
\ 'classkit_method_rename(': 'string $classname, string $methodname, string $newname | bool',
\ }
let g:phpcomplete_builtin['functions']['com'] = {
\ 'com_addref(': 'void | void',
\ 'com_create_guid(': 'void | string',
\ 'com_event_sink(': 'variant $comobject, object $sinkobject [, mixed $sinkinterface] | bool',
\ 'com_get_active_object(': 'string $progid [, int $code_page] | variant',
\ 'com_invoke(': 'resource $com_object, string $function_name [, mixed $function_parameters] | mixed',
\ 'com_isenum(': 'variant $com_module | bool',
\ 'com_load_typelib(': 'string $typelib_name [, bool $case_insensitive = true] | bool',
\ 'com_message_pump(': '[ int $timeoutms = 0] | bool',
\ 'com_print_typeinfo(': 'object $comobject [, string $dispinterface [, bool $wantsink = false]] | bool',
\ 'com_propget(': 'com_propget — Alias of com_get()',
\ 'com_propput(': 'com_propput — Alias of com_set()',
\ 'com_propset(': 'com_propset — Alias of com_set()',
\ 'com_release(': 'void | void',
\ 'variant_abs(': 'mixed $val | mixed',
\ 'variant_add(': 'mixed $left, mixed $right | mixed',
\ 'variant_and(': 'mixed $left, mixed $right | mixed',
\ 'variant_cast(': 'variant $variant, int $type | variant',
\ 'variant_cat(': 'mixed $left, mixed $right | mixed',
\ 'variant_cmp(': 'mixed $left, mixed $right [, int $lcid [, int $flags]] | int',
\ 'variant_date_from_timestamp(': 'int $timestamp | variant',
\ 'variant_date_to_timestamp(': 'variant $variant | int',
\ 'variant_div(': 'mixed $left, mixed $right | mixed',
\ 'variant_eqv(': 'mixed $left, mixed $right | mixed',
\ 'variant_fix(': 'mixed $variant | mixed',
\ 'variant_get_type(': 'variant $variant | int',
\ 'variant_idiv(': 'mixed $left, mixed $right | mixed',
\ 'variant_imp(': 'mixed $left, mixed $right | mixed',
\ 'variant_int(': 'mixed $variant | mixed',
\ 'variant_mod(': 'mixed $left, mixed $right | mixed',
\ 'variant_mul(': 'mixed $left, mixed $right | mixed',
\ 'variant_neg(': 'mixed $variant | mixed',
\ 'variant_not(': 'mixed $variant | mixed',
\ 'variant_or(': 'mixed $left, mixed $right | mixed',
\ 'variant_pow(': 'mixed $left, mixed $right | mixed',
\ 'variant_round(': 'mixed $variant, int $decimals | mixed',
\ 'variant_set_type(': 'variant $variant, int $type | void',
\ 'variant_set(': 'variant $variant, mixed $value | void',
\ 'variant_sub(': 'mixed $left, mixed $right | mixed',
\ 'variant_xor(': 'mixed $left, mixed $right | mixed',
\ }
let g:phpcomplete_builtin['functions']['misc'] = {
\ 'connection_aborted(': 'void | int',
\ 'connection_status(': 'void | int',
\ 'connection_timeout(': 'void | int',
\ 'constant(': 'string $name | mixed',
\ 'define(': 'string $name, mixed $value [, bool $case_insensitive = false] | bool',
\ 'defined(': 'string $name | bool',
\ 'eval(': 'string $code | mixed',
\ 'exit(': '[ string $status] | void',
\ 'get_browser(': '[ string $user_agent [, bool $return_array = false]] | mixed',
\ '__halt_compiler(': 'void | void',
\ 'highlight_file(': 'string $filename [, bool $return = false] | mixed',
\ 'highlight_string(': 'string $str [, bool $return = false] | mixed',
\ 'ignore_user_abort(': '[ string $value] | int',
\ 'pack(': 'string $format [, mixed $args [, mixed $...]] | string',
\ 'php_check_syntax(': 'string $filename [, string &$error_message] | bool',
\ 'php_strip_whitespace(': 'string $filename | string',
\ 'show_source(': 'show_source — Alias of highlight_file()',
\ 'sleep(': 'int $seconds | int',
\ 'sys_getloadavg(': 'void | array',
\ 'time_nanosleep(': 'int $seconds, int $nanoseconds | mixed',
\ 'time_sleep_until(': 'float $timestamp | bool',
\ 'uniqid(': '[ string $prefix = "" [, bool $more_entropy = false]] | string',
\ 'unpack(': 'string $format, string $data | array',
\ 'usleep(': 'int $micro_seconds | void',
\ }
let g:phpcomplete_builtin['functions']['crack'] = {
\ 'crack_check(': 'resource $dictionary, string $password | bool',
\ 'crack_closedict(': '[ resource $dictionary] | bool',
\ 'crack_getlastmessage(': 'void | string',
\ 'crack_opendict(': 'string $dictionary | resource',
\ }
let g:phpcomplete_builtin['functions']['ctype'] = {
\ 'ctype_alnum(': 'string $text | bool',
\ 'ctype_alpha(': 'string $text | bool',
\ 'ctype_cntrl(': 'string $text | bool',
\ 'ctype_digit(': 'string $text | bool',
\ 'ctype_graph(': 'string $text | bool',
\ 'ctype_lower(': 'string $text | bool',
\ 'ctype_print(': 'string $text | bool',
\ 'ctype_punct(': 'string $text | bool',
\ 'ctype_space(': 'string $text | bool',
\ 'ctype_upper(': 'string $text | bool',
\ 'ctype_xdigit(': 'string $text | bool',
\ }
let g:phpcomplete_builtin['functions']['cubrid'] = {
\ 'cubrid_affected_rows(': '[ resource $conn_identifier] | int',
\ 'cubrid_bind(': 'resource $req_identifier, int $bind_index, mixed $bind_value [, string $bind_value_type] | bool',
\ 'cubrid_client_encoding(': '[ resource $conn_identifier] | string',
\ 'cubrid_close_prepare(': 'resource $req_identifier | bool',
\ 'cubrid_close_request(': 'resource $req_identifier | bool',
\ 'cubrid_close(': '[ resource $conn_identifier] | bool',
\ 'cubrid_col_get(': 'resource $conn_identifier, string $oid, string $attr_name | array',
\ 'cubrid_col_size(': 'resource $conn_identifier, string $oid, string $attr_name | int',
\ 'cubrid_column_names(': 'resource $req_identifier | array',
\ 'cubrid_column_types(': 'resource $req_identifier | array',
\ 'cubrid_commit(': 'resource $conn_identifier | bool',
\ 'cubrid_connect_with_url(': 'string $conn_url [, string $userid [, string $passwd [, bool $new_link = false]]] | resource',
\ 'cubrid_connect(': 'string $host, int $port, string $dbname [, string $userid [, string $passwd [, bool $new_link = false]]] | resource',
\ 'cubrid_current_oid(': 'resource $req_identifier | string',
\ 'cubrid_data_seek(': 'resource $result, int $row_number | bool',
\ 'cubrid_db_name(': 'array $result, int $index | string',
\ 'cubrid_disconnect(': '[ resource $conn_identifier] | bool',
\ 'cubrid_drop(': 'resource $conn_identifier, string $oid | bool',
\ 'cubrid_errno(': '[ resource $conn_identifier] | int',
\ 'cubrid_error_code_facility(': 'void | int',
\ 'cubrid_error_code(': 'void | int',
\ 'cubrid_error_msg(': 'void | string',
\ 'cubrid_error(': '[ resource $connection] | string',
\ 'cubrid_execute(': 'resource $conn_identifier, string $sql [, int $option] | resource',
\ 'cubrid_fetch_array(': 'resource $result [, int $type = CUBRID_BOTH] | array',
\ 'cubrid_fetch_assoc(': 'resource $result [, int $type] | array',
\ 'cubrid_fetch_field(': 'resource $result [, int $field_offset = 0] | object',
\ 'cubrid_fetch_lengths(': 'resource $result | array',
\ 'cubrid_fetch_object(': 'resource $result [, string $class_name [, array $params [, int $type]]] | object',
\ 'cubrid_fetch_row(': 'resource $result [, int $type] | array',
\ 'cubrid_fetch(': 'resource $result [, int $type = CUBRID_BOTH] | mixed',
\ 'cubrid_field_flags(': 'resource $result, int $field_offset | string',
\ 'cubrid_field_len(': 'resource $result, int $field_offset | int',
\ 'cubrid_field_name(': 'resource $result, int $field_offset | string',
\ 'cubrid_field_seek(': 'resource $result [, int $field_offset = 0] | bool',
\ 'cubrid_field_table(': 'resource $result, int $field_offset | string',
\ 'cubrid_field_type(': 'resource $result, int $field_offset | string',
\ 'cubrid_free_result(': 'resource $req_identifier | bool',
\ 'cubrid_get_autocommit(': 'resource $conn_identifier | bool',
\ 'cubrid_get_charset(': 'resource $conn_identifier | string',
\ 'cubrid_get_class_name(': 'resource $conn_identifier, string $oid | string',
\ 'cubrid_get_client_info(': 'void | string',
\ 'cubrid_get_db_parameter(': 'resource $conn_identifier | array',
\ 'cubrid_get_query_timeout(': 'resource $req_identifier | int',
\ 'cubrid_get_server_info(': 'resource $conn_identifier | string',
\ 'cubrid_get(': 'resource $conn_identifier, string $oid [, mixed $attr] | mixed',
\ 'cubrid_insert_id(': '[ resource $conn_identifier] | string',
\ 'cubrid_is_instance(': 'resource $conn_identifier, string $oid | int',
\ 'cubrid_list_dbs(': '[ resource $conn_identifier] | array',
\ 'cubrid_load_from_glo(': 'resource $conn_identifier, string $oid, string $file_name | int',
\ 'cubrid_lob_close(': 'array $lob_identifier_array | bool',
\ 'cubrid_lob_export(': 'resource $conn_identifier, resource $lob_identifier, string $path_name | bool',
\ 'cubrid_lob_get(': 'resource $conn_identifier, string $sql | array',
\ 'cubrid_lob_send(': 'resource $conn_identifier, resource $lob_identifier | bool',
\ 'cubrid_lob_size(': 'resource $lob_identifier | string',
\ 'cubrid_lob2_bind(': 'resource $req_identifier, int $bind_index, mixed $bind_value [, string $bind_value_type] | bool',
\ 'cubrid_lob2_close(': 'resource $lob_identifier | bool',
\ 'cubrid_lob2_export(': 'resource $lob_identifier, string $file_name | bool',
\ 'cubrid_lob2_import(': 'resource $lob_identifier, string $file_name | bool',
\ 'cubrid_lob2_new(': '[ resource $conn_identifier [, string $type = "BLOB"]] | resource',
\ 'cubrid_lob2_read(': 'resource $lob_identifier, int $len | string',
\ 'cubrid_lob2_seek(': 'resource $lob_identifier, int $offset [, int $origin = CUBRID_CURSOR_CURRENT] | bool',
\ 'cubrid_lob2_seek64(': 'resource $lob_identifier, string $offset [, int $origin = CUBRID_CURSOR_CURRENT] | bool',
\ 'cubrid_lob2_size(': 'resource $lob_identifier | int',
\ 'cubrid_lob2_size64(': 'resource $lob_identifier | string',
\ 'cubrid_lob2_tell(': 'resource $lob_identifier | int',
\ 'cubrid_lob2_tell64(': 'resource $lob_identifier | string',
\ 'cubrid_lob2_write(': 'resource $lob_identifier, string $buf | bool',
\ 'cubrid_lock_read(': 'resource $conn_identifier, string $oid | bool',
\ 'cubrid_lock_write(': 'resource $conn_identifier, string $oid | bool',
\ 'cubrid_move_cursor(': 'resource $req_identifier, int $offset [, int $origin = CUBRID_CURSOR_CURRENT] | int',
\ 'cubrid_new_glo(': 'resource $conn_identifier, string $class_name, string $file_name | string',
\ 'cubrid_next_result(': 'resource $result | bool',
\ 'cubrid_num_cols(': 'resource $result | int',
\ 'cubrid_num_fields(': 'resource $result | int',
\ 'cubrid_num_rows(': 'resource $result | int',
\ 'cubrid_pconnect_with_url(': 'string $conn_url [, string $userid [, string $passwd]] | resource',
\ 'cubrid_pconnect(': 'string $host, int $port, string $dbname [, string $userid [, string $passwd]] | resource',
\ 'cubrid_ping(': '[ resource $conn_identifier] | bool',
\ 'cubrid_prepare(': 'resource $conn_identifier, string $prepare_stmt [, int $option = 0] | resource',
\ 'cubrid_put(': 'resource $conn_identifier, string $oid [, string $attr [, mixed $value]] | int',
\ 'cubrid_query(': 'string $query [, resource $conn_identifier] | resource',
\ 'cubrid_real_escape_string(': 'string $unescaped_string [, resource $conn_identifier] | string',
\ 'cubrid_result(': 'resource $result, int $row [, mixed $field = 0] | string',
\ 'cubrid_rollback(': 'resource $conn_identifier | bool',
\ 'cubrid_save_to_glo(': 'resource $conn_identifier, string $oid, string $file_name | int',
\ 'cubrid_schema(': 'resource $conn_identifier, int $schema_type [, string $class_name [, string $attr_name]] | array',
\ 'cubrid_send_glo(': 'resource $conn_identifier, string $oid | int',
\ 'cubrid_seq_drop(': 'resource $conn_identifier, string $oid, string $attr_name, int $index | bool',
\ 'cubrid_seq_insert(': 'resource $conn_identifier, string $oid, string $attr_name, int $index, string $seq_element | bool',
\ 'cubrid_seq_put(': 'resource $conn_identifier, string $oid, string $attr_name, int $index, string $seq_element | bool',
\ 'cubrid_set_add(': 'resource $conn_identifier, string $oid, string $attr_name, string $set_element | bool',
\ 'cubrid_set_autocommit(': 'resource $conn_identifier, bool $mode | bool',
\ 'cubrid_set_db_parameter(': 'resource $conn_identifier, int $param_type, int $param_value | bool',
\ 'cubrid_set_drop(': 'resource $conn_identifier, string $oid, string $attr_name, string $set_element | bool',
\ 'cubrid_set_query_timeout(': 'resource $req_identifier, int $timeout | bool',
\ 'cubrid_unbuffered_query(': 'string $query [, resource $conn_identifier] | resource',
\ 'cubrid_version(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['curl'] = {
\ 'curl_close(': 'resource $ch | void',
\ 'curl_copy_handle(': 'resource $ch | resource',
\ 'curl_errno(': 'resource $ch | int',
\ 'curl_error(': 'resource $ch | string',
\ 'curl_escape(': 'resource $ch, string $str | string',
\ 'curl_exec(': 'resource $ch | mixed',
\ 'curl_getinfo(': 'resource $ch [, int $opt = 0] | mixed',
\ 'curl_init(': '[ string $url = NULL] | resource',
\ 'curl_multi_add_handle(': 'resource $mh, resource $ch | int',
\ 'curl_multi_close(': 'resource $mh | void',
\ 'curl_multi_exec(': 'resource $mh, int &$still_running | int',
\ 'curl_multi_getcontent(': 'resource $ch | string',
\ 'curl_multi_info_read(': 'resource $mh [, int &$msgs_in_queue = NULL] | array',
\ 'curl_multi_init(': 'void | resource',
\ 'curl_multi_remove_handle(': 'resource $mh, resource $ch | int',
\ 'curl_multi_select(': 'resource $mh [, float $timeout = 1.0] | int',
\ 'curl_multi_setopt(': 'resource $mh, int $option, mixed $value | bool',
\ 'curl_multi_strerror(': 'int $errornum | string',
\ 'curl_pause(': 'resource $ch, int $bitmask | int',
\ 'curl_reset(': 'resource $ch | void',
\ 'curl_setopt_array(': 'resource $ch, array $options | bool',
\ 'curl_setopt(': 'resource $ch, int $option, mixed $value | bool',
\ 'curl_share_close(': 'resource $sh | void',
\ 'curl_share_init(': 'void | resource',
\ 'curl_share_setopt(': 'resource $sh, int $option, string $value | bool',
\ 'curl_strerror(': 'int $errornum | string',
\ 'curl_unescape(': 'resource $ch, string $str | string',
\ 'curl_version(': '[ int $age = CURLVERSION_NOW] | array',
\ }
let g:phpcomplete_builtin['functions']['cyrus'] = {
\ 'cyrus_authenticate(': 'resource $connection [, string $mechlist [, string $service [, string $user [, int $minssf [, int $maxssf [, string $authname [, string $password]]]]]]] | void',
\ 'cyrus_bind(': 'resource $connection, array $callbacks | bool',
\ 'cyrus_close(': 'resource $connection | bool',
\ 'cyrus_connect(': '[ string $host [, string $port [, int $flags]]] | resource',
\ 'cyrus_query(': 'resource $connection, string $query | array',
\ 'cyrus_unbind(': 'resource $connection, string $trigger_name | bool',
\ }
let g:phpcomplete_builtin['functions']['ibm_db2'] = {
\ 'db2_autocommit(': 'resource $connection [, bool $value] | mixed',
\ 'db2_bind_param(': 'resource $stmt, int $parameter-number, string $variable-name [, int $parameter-type [, int $data-type = 0 [, int $precision = -1 [, int $scale = 0]]]] | bool',
\ 'db2_client_info(': 'resource $connection | object',
\ 'db2_close(': 'resource $connection | bool',
\ 'db2_column_privileges(': 'resource $connection [, string $qualifier [, string $schema [, string $table-name [, string $column-name]]]] | resource',
\ 'db2_columns(': 'resource $connection [, string $qualifier [, string $schema [, string $table-name [, string $column-name]]]] | resource',
\ 'db2_commit(': 'resource $connection | bool',
\ 'db2_conn_error(': '[ resource $connection] | string',
\ 'db2_conn_errormsg(': '[ resource $connection] | string',
\ 'db2_connect(': 'string $database, string $username, string $password [, array $options] | resource',
\ 'db2_cursor_type(': 'resource $stmt | int',
\ 'db2_escape_string(': 'string $string_literal | string',
\ 'db2_exec(': 'resource $connection, string $statement [, array $options] | resource',
\ 'db2_execute(': 'resource $stmt [, array $parameters] | bool',
\ 'db2_fetch_array(': 'resource $stmt [, int $row_number = -1] | array',
\ 'db2_fetch_assoc(': 'resource $stmt [, int $row_number = -1] | array',
\ 'db2_fetch_both(': 'resource $stmt [, int $row_number = -1] | array',
\ 'db2_fetch_object(': 'resource $stmt [, int $row_number = -1] | object',
\ 'db2_fetch_row(': 'resource $stmt [, int $row_number] | bool',
\ 'db2_field_display_size(': 'resource $stmt, mixed $column | int',
\ 'db2_field_name(': 'resource $stmt, mixed $column | string',
\ 'db2_field_num(': 'resource $stmt, mixed $column | int',
\ 'db2_field_precision(': 'resource $stmt, mixed $column | int',
\ 'db2_field_scale(': 'resource $stmt, mixed $column | int',
\ 'db2_field_type(': 'resource $stmt, mixed $column | string',
\ 'db2_field_width(': 'resource $stmt, mixed $column | int',
\ 'db2_foreign_keys(': 'resource $connection, string $qualifier, string $schema, string $table-name | resource',
\ 'db2_free_result(': 'resource $stmt | bool',
\ 'db2_free_stmt(': 'resource $stmt | bool',
\ 'db2_get_option(': 'resource $resource, string $option | string',
\ 'db2_last_insert_id(': 'resource $resource | string',
\ 'db2_lob_read(': 'resource $stmt, int $colnum, int $length | string',
\ 'db2_next_result(': 'resource $stmt | resource',
\ 'db2_num_fields(': 'resource $stmt | int',
\ 'db2_num_rows(': 'resource $stmt | int',
\ 'db2_pclose(': 'resource $resource | bool',
\ 'db2_pconnect(': 'string $database, string $username, string $password [, array $options] | resource',
\ 'db2_prepare(': 'resource $connection, string $statement [, array $options] | resource',
\ 'db2_primary_keys(': 'resource $connection, string $qualifier, string $schema, string $table-name | resource',
\ 'db2_procedure_columns(': 'resource $connection, string $qualifier, string $schema, string $procedure, string $parameter | resource',
\ 'db2_procedures(': 'resource $connection, string $qualifier, string $schema, string $procedure | resource',
\ 'db2_result(': 'resource $stmt, mixed $column | mixed',
\ 'db2_rollback(': 'resource $connection | bool',
\ 'db2_server_info(': 'resource $connection | object',
\ 'db2_set_option(': 'resource $resource, array $options, int $type | bool',
\ 'db2_special_columns(': 'resource $connection, string $qualifier, string $schema, string $table_name, int $scope | resource',
\ 'db2_statistics(': 'resource $connection, string $qualifier, string $schema, string $table-name, bool $unique | resource',
\ 'db2_stmt_error(': '[ resource $stmt] | string',
\ 'db2_stmt_errormsg(': '[ resource $stmt] | string',
\ 'db2_table_privileges(': 'resource $connection [, string $qualifier [, string $schema [, string $table_name]]] | resource',
\ 'db2_tables(': 'resource $connection [, string $qualifier [, string $schema [, string $table-name [, string $table-type]]]] | resource',
\ }
let g:phpcomplete_builtin['functions']['dba'] = {
\ 'dba_close(': 'resource $handle | void',
\ 'dba_delete(': 'string $key, resource $handle | bool',
\ 'dba_exists(': 'string $key, resource $handle | bool',
\ 'dba_fetch(': 'string $key, resource $handle | string',
\ 'dba_firstkey(': 'resource $handle | string',
\ 'dba_handlers(': '[ bool $full_info = false] | array',
\ 'dba_insert(': 'string $key, string $value, resource $handle | bool',
\ 'dba_key_split(': 'mixed $key | mixed',
\ 'dba_list(': 'void | array',
\ 'dba_nextkey(': 'resource $handle | string',
\ 'dba_open(': 'string $path, string $mode [, string $handler [, mixed $...]] | resource',
\ 'dba_optimize(': 'resource $handle | bool',
\ 'dba_popen(': 'string $path, string $mode [, string $handler [, mixed $...]] | resource',
\ 'dba_replace(': 'string $key, string $value, resource $handle | bool',
\ 'dba_sync(': 'resource $handle | bool',
\ }
let g:phpcomplete_builtin['functions']['dbase'] = {
\ 'dbase_add_record(': 'int $dbase_identifier, array $record | bool',
\ 'dbase_close(': 'int $dbase_identifier | bool',
\ 'dbase_create(': 'string $filename, array $fields | int',
\ 'dbase_delete_record(': 'int $dbase_identifier, int $record_number | bool',
\ 'dbase_get_header_info(': 'int $dbase_identifier | array',
\ 'dbase_get_record_with_names(': 'int $dbase_identifier, int $record_number | array',
\ 'dbase_get_record(': 'int $dbase_identifier, int $record_number | array',
\ 'dbase_numfields(': 'int $dbase_identifier | int',
\ 'dbase_numrecords(': 'int $dbase_identifier | int',
\ 'dbase_open(': 'string $filename, int $mode | int',
\ 'dbase_pack(': 'int $dbase_identifier | bool',
\ 'dbase_replace_record(': 'int $dbase_identifier, array $record, int $record_number | bool',
\ }
let g:phpcomplete_builtin['functions']['db_'] = {
\ 'dbplus_add(': 'resource $relation, array $tuple | int',
\ 'dbplus_aql(': 'string $query [, string $server [, string $dbpath]] | resource',
\ 'dbplus_chdir(': '[ string $newdir] | string',
\ 'dbplus_close(': 'resource $relation | mixed',
\ 'dbplus_curr(': 'resource $relation, array &$tuple | int',
\ 'dbplus_errcode(': '[ int $errno] | string',
\ 'dbplus_errno(': 'void | int',
\ 'dbplus_find(': 'resource $relation, array $constraints, mixed $tuple | int',
\ 'dbplus_first(': 'resource $relation, array &$tuple | int',
\ 'dbplus_flush(': 'resource $relation | int',
\ 'dbplus_freealllocks(': 'void | int',
\ 'dbplus_freelock(': 'resource $relation, string $tuple | int',
\ 'dbplus_freerlocks(': 'resource $relation | int',
\ 'dbplus_getlock(': 'resource $relation, string $tuple | int',
\ 'dbplus_getunique(': 'resource $relation, int $uniqueid | int',
\ 'dbplus_info(': 'resource $relation, string $key, array &$result | int',
\ 'dbplus_last(': 'resource $relation, array &$tuple | int',
\ 'dbplus_lockrel(': 'resource $relation | int',
\ 'dbplus_next(': 'resource $relation, array &$tuple | int',
\ 'dbplus_open(': 'string $name | resource',
\ 'dbplus_prev(': 'resource $relation, array &$tuple | int',
\ 'dbplus_rchperm(': 'resource $relation, int $mask, string $user, string $group | int',
\ 'dbplus_rcreate(': 'string $name, mixed $domlist [, bool $overwrite] | resource',
\ 'dbplus_rcrtexact(': 'string $name, resource $relation [, bool $overwrite] | mixed',
\ 'dbplus_rcrtlike(': 'string $name, resource $relation [, int $overwrite] | mixed',
\ 'dbplus_resolve(': 'string $relation_name | array',
\ 'dbplus_restorepos(': 'resource $relation, array $tuple | int',
\ 'dbplus_rkeys(': 'resource $relation, mixed $domlist | mixed',
\ 'dbplus_ropen(': 'string $name | resource',
\ 'dbplus_rquery(': 'string $query [, string $dbpath] | resource',
\ 'dbplus_rrename(': 'resource $relation, string $name | int',
\ 'dbplus_rsecindex(': 'resource $relation, mixed $domlist, int $type | mixed',
\ 'dbplus_runlink(': 'resource $relation | int',
\ 'dbplus_rzap(': 'resource $relation | int',
\ 'dbplus_savepos(': 'resource $relation | int',
\ 'dbplus_setindex(': 'resource $relation, string $idx_name | int',
\ 'dbplus_setindexbynumber(': 'resource $relation, int $idx_number | int',
\ 'dbplus_sql(': 'string $query [, string $server [, string $dbpath]] | resource',
\ 'dbplus_tcl(': 'int $sid, string $script | string',
\ 'dbplus_tremove(': 'resource $relation, array $tuple [, array &$current] | int',
\ 'dbplus_undo(': 'resource $relation | int',
\ 'dbplus_undoprepare(': 'resource $relation | int',
\ 'dbplus_unlockrel(': 'resource $relation | int',
\ 'dbplus_unselect(': 'resource $relation | int',
\ 'dbplus_update(': 'resource $relation, array $old, array $new | int',
\ 'dbplus_xlockrel(': 'resource $relation | int',
\ 'dbplus_xunlockrel(': 'resource $relation | int',
\ }
let g:phpcomplete_builtin['functions']['dbx'] = {
\ 'dbx_close(': 'object $link_identifier | int',
\ 'dbx_compare(': 'array $row_a, array $row_b, string $column_key [, int $flags = DBX_CMP_ASC | DBX_CMP_NATIVE] | int',
\ 'dbx_connect(': 'mixed $module, string $host, string $database, string $username, string $password [, int $persistent] | object',
\ 'dbx_error(': 'object $link_identifier | string',
\ 'dbx_escape_string(': 'object $link_identifier, string $text | string',
\ 'dbx_fetch_row(': 'object $result_identifier | mixed',
\ 'dbx_query(': 'object $link_identifier, string $sql_statement [, int $flags] | mixed',
\ 'dbx_sort(': 'object $result, string $user_compare_function | bool',
\ }
let g:phpcomplete_builtin['functions']['error_handling'] = {
\ 'debug_backtrace(': '[ int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT [, int $limit = 0]] | array',
\ 'debug_print_backtrace(': '[ int $options = 0 [, int $limit = 0]] | void',
\ 'error_get_last(': 'void | array',
\ 'error_log(': 'string $message [, int $message_type = 0 [, string $destination [, string $extra_headers]]] | bool',
\ 'error_reporting(': '[ int $level] | int',
\ 'restore_error_handler(': 'void | bool',
\ 'restore_exception_handler(': 'void | bool',
\ 'set_error_handler(': 'callable $error_handler [, int $error_types = E_ALL | E_STRICT] | mixed',
\ 'set_exception_handler(': 'callable $exception_handler | callable',
\ 'trigger_error(': 'string $error_msg [, int $error_type = E_USER_NOTICE] | bool',
\ }
let g:phpcomplete_builtin['functions']['direct_io'] = {
\ 'dio_close(': 'resource $fd | void',
\ 'dio_fcntl(': 'resource $fd, int $cmd [, mixed $args] | mixed',
\ 'dio_open(': 'string $filename, int $flags [, int $mode = 0] | resource',
\ 'dio_read(': 'resource $fd [, int $len = 1024] | string',
\ 'dio_seek(': 'resource $fd, int $pos [, int $whence = SEEK_SET] | int',
\ 'dio_stat(': 'resource $fd | array',
\ 'dio_tcsetattr(': 'resource $fd, array $options | bool',
\ 'dio_truncate(': 'resource $fd, int $offset | bool',
\ 'dio_write(': 'resource $fd, string $data [, int $len = 0] | int',
\ }
let g:phpcomplete_builtin['functions']['dom'] = {
\ 'dom_import_simplexml(': 'SimpleXMLElement $node | DOMElement',
\ }
let g:phpcomplete_builtin['functions']['net'] = {
\ 'dotnet_load(': 'string $assembly_name [, string $datatype_name [, int $codepage]] | int',
\ }
let g:phpcomplete_builtin['functions']['eio'] = {
\ 'eio_busy(': 'int $delay [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_cancel(': 'resource $req | void',
\ 'eio_chmod(': 'string $path, int $mode [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_chown(': 'string $path, int $uid [, int $gid = -1 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]]] | resource',
\ 'eio_close(': 'mixed $fd [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_custom(': 'callable $execute, int $pri, callable $callback [, mixed $data = NULL] | resource',
\ 'eio_dup2(': 'mixed $fd, mixed $fd2 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_event_loop(': 'void | bool',
\ 'eio_fallocate(': 'mixed $fd, int $mode, int $offset, int $length [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_fchmod(': 'mixed $fd, int $mode [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_fchown(': 'mixed $fd, int $uid [, int $gid = -1 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]]] | resource',
\ 'eio_fdatasync(': 'mixed $fd [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_fstat(': 'mixed $fd, int $pri, callable $callback [, mixed $data] | resource',
\ 'eio_fstatvfs(': 'mixed $fd, int $pri, callable $callback [, mixed $data] | resource',
\ 'eio_fsync(': 'mixed $fd [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_ftruncate(': 'mixed $fd [, int $offset = 0 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]]] | resource',
\ 'eio_futime(': 'mixed $fd, float $atime, float $mtime [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_get_event_stream(': 'void | mixed',
\ 'eio_get_last_error(': 'resource $req | string',
\ 'eio_grp_add(': 'resource $grp, resource $req | void',
\ 'eio_grp_cancel(': 'resource $grp | void',
\ 'eio_grp_limit(': 'resource $grp, int $limit | void',
\ 'eio_grp(': 'callable $callback [, string $data = NULL] | resource',
\ 'eio_init(': 'void | void',
\ 'eio_link(': 'string $path, string $new_path [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_lstat(': 'string $path, int $pri, callable $callback [, mixed $data = NULL] | resource',
\ 'eio_mkdir(': 'string $path, int $mode [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_mknod(': 'string $path, int $mode, int $dev [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_nop(': '[ int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_npending(': 'void | int',
\ 'eio_nready(': 'void | int',
\ 'eio_nreqs(': 'void | int',
\ 'eio_nthreads(': 'void | int',
\ 'eio_open(': 'string $path, int $flags, int $mode, int $pri, callable $callback [, mixed $data = NULL] | resource',
\ 'eio_poll(': 'void | int',
\ 'eio_read(': 'mixed $fd, int $length, int $offset, int $pri, callable $callback [, mixed $data = NULL] | resource',
\ 'eio_readahead(': 'mixed $fd, int $offset, int $length [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_readdir(': 'string $path, int $flags, int $pri, callable $callback [, string $data = NULL] | resource',
\ 'eio_readlink(': 'string $path, int $pri, callable $callback [, string $data = NULL] | resource',
\ 'eio_realpath(': 'string $path, int $pri, callable $callback [, string $data = NULL] | resource',
\ 'eio_rename(': 'string $path, string $new_path [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_rmdir(': 'string $path [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_seek(': 'mixed $fd, int $offset, int $whence [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_sendfile(': 'mixed $out_fd, mixed $in_fd, int $offset, int $length [, int $pri [, callable $callback [, string $data]]] | resource',
\ 'eio_set_max_idle(': 'int $nthreads | void',
\ 'eio_set_max_parallel(': 'int $nthreads | void',
\ 'eio_set_max_poll_reqs(': 'int $nreqs | void',
\ 'eio_set_max_poll_time(': 'float $nseconds | void',
\ 'eio_set_min_parallel(': 'string $nthreads | void',
\ 'eio_stat(': 'string $path, int $pri, callable $callback [, mixed $data = NULL] | resource',
\ 'eio_statvfs(': 'string $path, int $pri, callable $callback [, mixed $data] | resource',
\ 'eio_symlink(': 'string $path, string $new_path [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_sync_file_range(': 'mixed $fd, int $offset, int $nbytes, int $flags [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_sync(': '[ int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_syncfs(': 'mixed $fd [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_truncate(': 'string $path [, int $offset = 0 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]]] | resource',
\ 'eio_unlink(': 'string $path [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_utime(': 'string $path, float $atime, float $mtime [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]] | resource',
\ 'eio_write(': 'mixed $fd, string $str [, int $length = 0 [, int $offset = 0 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL]]]]] | resource',
\ }
let g:phpcomplete_builtin['functions']['enchant'] = {
\ 'enchant_broker_describe(': 'resource $broker | array',
\ 'enchant_broker_dict_exists(': 'resource $broker, string $tag | bool',
\ 'enchant_broker_free_dict(': 'resource $dict | bool',
\ 'enchant_broker_free(': 'resource $broker | bool',
\ 'enchant_broker_get_error(': 'resource $broker | string',
\ 'enchant_broker_init(': 'void | resource',
\ 'enchant_broker_list_dicts(': 'resource $broker | mixed',
\ 'enchant_broker_request_dict(': 'resource $broker, string $tag | resource',
\ 'enchant_broker_request_pwl_dict(': 'resource $broker, string $filename | resource',
\ 'enchant_broker_set_ordering(': 'resource $broker, string $tag, string $ordering | bool',
\ 'enchant_dict_add_to_personal(': 'resource $dict, string $word | void',
\ 'enchant_dict_add_to_session(': 'resource $dict, string $word | void',
\ 'enchant_dict_check(': 'resource $dict, string $word | bool',
\ 'enchant_dict_describe(': 'resource $dict | mixed',
\ 'enchant_dict_get_error(': 'resource $dict | string',
\ 'enchant_dict_is_in_session(': 'resource $dict, string $word | bool',
\ 'enchant_dict_quick_check(': 'resource $dict, string $word [, array &$suggestions] | bool',
\ 'enchant_dict_store_replacement(': 'resource $dict, string $mis, string $cor | void',
\ 'enchant_dict_suggest(': 'resource $dict, string $word | array',
\ }
let g:phpcomplete_builtin['functions']['posix_regex'] = {
\ 'ereg_replace(': 'string $pattern, string $replacement, string $string | string',
\ 'ereg(': 'string $pattern, string $string [, array &$regs] | int',
\ 'eregi_replace(': 'string $pattern, string $replacement, string $string | string',
\ 'eregi(': 'string $pattern, string $string [, array &$regs] | int',
\ 'split(': 'string $pattern, string $string [, int $limit = -1] | array',
\ 'spliti(': 'string $pattern, string $string [, int $limit = -1] | array',
\ 'sql_regcase(': 'string $string | string',
\ }
let g:phpcomplete_builtin['functions']['program_execution'] = {
\ 'escapeshellarg(': 'string $arg | string',
\ 'escapeshellcmd(': 'string $command | string',
\ 'exec(': 'string $command [, array &$output [, int &$return_var]] | string',
\ 'passthru(': 'string $command [, int &$return_var] | void',
\ 'proc_close(': 'resource $process | int',
\ 'proc_get_status(': 'resource $process | array',
\ 'proc_nice(': 'int $increment | bool',
\ 'proc_open(': 'string $cmd, array $descriptorspec, array &$pipes [, string $cwd [, array $env [, array $other_options]]] | resource',
\ 'proc_terminate(': 'resource $process [, int $signal = 15] | bool',
\ 'shell_exec(': 'string $cmd | string',
\ 'system(': 'string $command [, int &$return_var] | string',
\ }
let g:phpcomplete_builtin['functions']['libevent'] = {
\ 'event_add(': 'resource $event [, int $timeout = -1] | bool',
\ 'event_base_free(': 'resource $event_base | void',
\ 'event_base_loop(': 'resource $event_base [, int $flags = 0] | int',
\ 'event_base_loopbreak(': 'resource $event_base | bool',
\ 'event_base_loopexit(': 'resource $event_base [, int $timeout = -1] | bool',
\ 'event_base_new(': 'void | resource',
\ 'event_base_priority_init(': 'resource $event_base, int $npriorities | bool',
\ 'event_base_set(': 'resource $event, resource $event_base | bool',
\ 'event_buffer_base_set(': 'resource $bevent, resource $event_base | bool',
\ 'event_buffer_disable(': 'resource $bevent, int $events | bool',
\ 'event_buffer_enable(': 'resource $bevent, int $events | bool',
\ 'event_buffer_fd_set(': 'resource $bevent, resource $fd | void',
\ 'event_buffer_free(': 'resource $bevent | void',
\ 'event_buffer_new(': 'resource $stream, mixed $readcb, mixed $writecb, mixed $errorcb [, mixed $arg] | resource',
\ 'event_buffer_priority_set(': 'resource $bevent, int $priority | bool',
\ 'event_buffer_read(': 'resource $bevent, int $data_size | string',
\ 'event_buffer_set_callback(': 'resource $event, mixed $readcb, mixed $writecb, mixed $errorcb [, mixed $arg] | bool',
\ 'event_buffer_timeout_set(': 'resource $bevent, int $read_timeout, int $write_timeout | void',
\ 'event_buffer_watermark_set(': 'resource $bevent, int $events, int $lowmark, int $highmark | void',
\ 'event_buffer_write(': 'resource $bevent, string $data [, int $data_size = -1] | bool',
\ 'event_del(': 'resource $event | bool',
\ 'event_free(': 'resource $event | void',
\ 'event_new(': 'void | resource',
\ 'event_set(': 'resource $event, mixed $fd, int $events, mixed $callback [, mixed $arg] | bool',
\ }
let g:phpcomplete_builtin['functions']['exif'] = {
\ 'exif_imagetype(': 'string $filename | int',
\ 'exif_read_data(': 'string $filename [, string $sections = NULL [, bool $arrays = false [, bool $thumbnail = false]]] | array',
\ 'exif_tagname(': 'int $index | string',
\ 'exif_thumbnail(': 'string $filename [, int &$width [, int &$height [, int &$imagetype]]] | string',
\ 'read_exif_data(': 'read_exif_data — Alias of exif_read_data()',
\ }
let g:phpcomplete_builtin['functions']['expect'] = {
\ 'expect_expectl(': 'resource $expect, array $cases [, array &$match] | int',
\ 'expect_popen(': 'string $command | resource',
\ }
let g:phpcomplete_builtin['functions']['mail'] = {
\ 'ezmlm_hash(': 'string $addr | int',
\ 'mail(': 'string $to, string $subject, string $message [, string $additional_headers [, string $additional_parameters]] | bool',
\ }
let g:phpcomplete_builtin['functions']['fam'] = {
\ 'fam_cancel_monitor(': 'resource $fam, resource $fam_monitor | bool',
\ 'fam_close(': 'resource $fam | void',
\ 'fam_monitor_collection(': 'resource $fam, string $dirname, int $depth, string $mask | resource',
\ 'fam_monitor_directory(': 'resource $fam, string $dirname | resource',
\ 'fam_monitor_file(': 'resource $fam, string $filename | resource',
\ 'fam_next_event(': 'resource $fam | array',
\ 'fam_open(': '[ string $appname] | resource',
\ 'fam_pending(': 'resource $fam | int',
\ 'fam_resume_monitor(': 'resource $fam, resource $fam_monitor | bool',
\ 'fam_suspend_monitor(': 'resource $fam, resource $fam_monitor | bool',
\ }
let g:phpcomplete_builtin['functions']['fann'] = {
\ 'fann_cascadetrain_on_data(': 'resource $ann, resource $data, int $max_neurons, int $neurons_between_reports, float $desired_error | bool',
\ 'fann_cascadetrain_on_file(': 'resource $ann, string $filename, int $max_neurons, int $neurons_between_reports, float $desired_error | bool',
\ 'fann_clear_scaling_params(': 'resource $ann | bool',
\ 'fann_copy(': 'resource $ann | resource',
\ 'fann_create_from_file(': 'string $configuration_file | resource',
\ 'fann_create_shortcut_array(': 'int $num_layers, array $layers | resource',
\ 'fann_create_shortcut(': 'int $num_layers, int $num_neurons1, int $num_neurons2 [, int $...] | reference',
\ 'fann_create_sparse_array(': 'float $connection_rate, int $num_layers, array $layers | ReturnType',
\ 'fann_create_sparse(': 'float $connection_rate, int $num_layers, int $num_neurons1, int $num_neurons2 [, int $...] | ReturnType',
\ 'fann_create_standard_array(': 'int $num_layers, array $layers | resource',
\ 'fann_create_standard(': 'int $num_layers, int $num_neurons1, int $num_neurons2 [, int $...] | resource',
\ 'fann_create_train_from_callback(': 'int $num_data, int $num_input, int $num_output, collable $user_function | resource',
\ 'fann_create_train(': 'int $num_data, int $num_input, int $num_output | resource',
\ 'fann_descale_input(': 'resource $ann, array $input_vector | bool',
\ 'fann_descale_output(': 'resource $ann, array $output_vector | bool',
\ 'fann_descale_train(': 'resource $ann, resource $train_data | bool',
\ 'fann_destroy_train(': 'resource $train_data | bool',
\ 'fann_destroy(': 'resource $ann | bool',
\ 'fann_duplicate_train_data(': 'resource $data | resource',
\ 'fann_get_activation_function(': 'resource $ann, int $layer, int $neuron | int',
\ 'fann_get_activation_steepness(': 'resource $ann, int $layer, int $neuron | float',
\ 'fann_get_bias_array(': 'resource $ann | array',
\ 'fann_get_bit_fail_limit(': 'resource $ann | float',
\ 'fann_get_bit_fail(': 'resource $ann | int',
\ 'fann_get_cascade_activation_functions_count(': 'resource $ann | int',
\ 'fann_get_cascade_activation_functions(': 'resource $ann | array',
\ 'fann_get_cascade_activation_steepnesses_count(': 'resource $ann | int',
\ 'fann_get_cascade_activation_steepnesses(': 'resource $ann | array',
\ 'fann_get_cascade_candidate_change_fraction(': 'resource $ann | float',
\ 'fann_get_cascade_candidate_limit(': 'resource $ann | float',
\ 'fann_get_cascade_candidate_stagnation_epochs(': 'resource $ann | float',
\ 'fann_get_cascade_max_cand_epochs(': 'resource $ann | int',
\ 'fann_get_cascade_max_out_epochs(': 'resource $ann | int',
\ 'fann_get_cascade_min_cand_epochs(': 'resource $ann | int',
\ 'fann_get_cascade_min_out_epochs(': 'resource $ann | int',
\ 'fann_get_cascade_num_candidate_groups(': 'resource $ann | int',
\ 'fann_get_cascade_num_candidates(': 'resource $ann | int',
\ 'fann_get_cascade_output_change_fraction(': 'resource $ann | float',
\ 'fann_get_cascade_output_stagnation_epochs(': 'resource $ann | int',
\ 'fann_get_cascade_weight_multiplier(': 'resource $ann | float',
\ 'fann_get_connection_array(': 'resource $ann | array',
\ 'fann_get_connection_rate(': 'resource $ann | float',
\ 'fann_get_errno(': 'resource $errdat | int',
\ 'fann_get_errstr(': 'resource $errdat | string',
\ 'fann_get_layer_array(': 'resource $ann | array',
\ 'fann_get_learning_momentum(': 'resource $ann | float',
\ 'fann_get_learning_rate(': 'resource $ann | float',
\ 'fann_get_MSE(': 'resource $ann | float',
\ 'fann_get_network_type(': 'resource $ann | int',
\ 'fann_get_num_input(': 'resource $ann | int',
\ 'fann_get_num_layers(': 'resource $ann | int',
\ 'fann_get_num_output(': 'resource $ann | int',
\ 'fann_get_quickprop_decay(': 'resource $ann | float',
\ 'fann_get_quickprop_mu(': 'resource $ann | float',
\ 'fann_get_rprop_decrease_factor(': 'resource $ann | float',
\ 'fann_get_rprop_delta_max(': 'resource $ann | float',
\ 'fann_get_rprop_delta_min(': 'resource $ann | float',
\ 'fann_get_rprop_delta_zero(': 'resource $ann | ReturnType',
\ 'fann_get_rprop_increase_factor(': 'resource $ann | float',
\ 'fann_get_sarprop_step_error_shift(': 'resource $ann | float',
\ 'fann_get_sarprop_step_error_threshold_factor(': 'resource $ann | float',
\ 'fann_get_sarprop_temperature(': 'resource $ann | float',
\ 'fann_get_sarprop_weight_decay_shift(': 'resource $ann | float',
\ 'fann_get_total_connections(': 'resource $ann | int',
\ 'fann_get_total_neurons(': 'resource $ann | int',
\ 'fann_get_train_error_function(': 'resource $ann | int',
\ 'fann_get_train_stop_function(': 'resource $ann | int',
\ 'fann_get_training_algorithm(': 'resource $ann | int',
\ 'fann_init_weights(': 'resource $ann, resource $train_data | bool',
\ 'fann_length_train_data(': 'resource $data | int',
\ 'fann_merge_train_data(': 'resource $data1, resource $data2 | resource',
\ 'fann_num_input_train_data(': 'resource $data | int',
\ 'fann_num_output_train_data(': 'resource $data | int',
\ 'fann_print_error(': 'string $errdat | void',
\ 'fann_randomize_weights(': 'resource $ann, float $min_weight, float $max_weight | bool',
\ 'fann_read_train_from_file(': 'string $filename | resource',
\ 'fann_reset_errno(': 'resource $errdat | void',
\ 'fann_reset_errstr(': 'resource $errdat | void',
\ 'fann_reset_MSE(': 'string $ann | bool',
\ 'fann_run(': 'resource $ann, array $input | array',
\ 'fann_save_train(': 'resource $data, string $file_name | bool',
\ 'fann_save(': 'resource $ann, string $configuration_file | bool',
\ 'fann_scale_input_train_data(': 'resource $train_data, float $new_min, float $new_max | bool',
\ 'fann_scale_input(': 'resource $ann, array $input_vector | bool',
\ 'fann_scale_output_train_data(': 'resource $train_data, float $new_min, float $new_max | bool',
\ 'fann_scale_output(': 'resource $ann, array $output_vector | bool',
\ 'fann_scale_train_data(': 'resource $train_data, float $new_min, float $new_max | bool',
\ 'fann_scale_train(': 'resource $ann, resource $train_data | bool',
\ 'fann_set_activation_function_hidden(': 'resource $ann, int $activation_function | bool',
\ 'fann_set_activation_function_layer(': 'resource $ann, int $activation_function, int $layer | bool',
\ 'fann_set_activation_function_output(': 'resource $ann, int $activation_function | bool',
\ 'fann_set_activation_function(': 'resource $ann, int $activation_function, int $layer, int $neuron | bool',
\ 'fann_set_activation_steepness_hidden(': 'resource $ann, float $activation_steepness | bool',
\ 'fann_set_activation_steepness_layer(': 'resource $ann, float $activation_steepness, int $layer | bool',
\ 'fann_set_activation_steepness_output(': 'resource $ann, float $activation_steepness | bool',
\ 'fann_set_activation_steepness(': 'resource $ann, float $activation_steepness, int $layer, int $neuron | bool',
\ 'fann_set_bit_fail_limit(': 'resource $ann, float $bit_fail_limit | bool',
\ 'fann_set_callback(': 'resource $ann, collable $callback | bool',
\ 'fann_set_cascade_activation_functions(': 'resource $ann, array $cascade_activation_functions | bool',
\ 'fann_set_cascade_activation_steepnesses(': 'resource $ann, array $cascade_activation_steepnesses_count | bool',
\ 'fann_set_cascade_candidate_change_fraction(': 'resource $ann, float $cascade_candidate_change_fraction | bool',
\ 'fann_set_cascade_candidate_limit(': 'resource $ann, float $cascade_candidate_limit | bool',
\ 'fann_set_cascade_candidate_stagnation_epochs(': 'resource $ann, int $cascade_candidate_stagnation_epochs | bool',
\ 'fann_set_cascade_max_cand_epochs(': 'resource $ann, int $cascade_max_cand_epochs | bool',
\ 'fann_set_cascade_max_out_epochs(': 'resource $ann, int $cascade_max_out_epochs | bool',
\ 'fann_set_cascade_min_cand_epochs(': 'resource $ann, int $cascade_min_cand_epochs | bool',
\ 'fann_set_cascade_min_out_epochs(': 'resource $ann, int $cascade_min_out_epochs | bool',
\ 'fann_set_cascade_num_candidate_groups(': 'resource $ann, int $cascade_num_candidate_groups | bool',
\ 'fann_set_cascade_output_change_fraction(': 'resource $ann, float $cascade_output_change_fraction | bool',
\ 'fann_set_cascade_output_stagnation_epochs(': 'resource $ann, int $cascade_output_stagnation_epochs | bool',
\ 'fann_set_cascade_weight_multiplier(': 'resource $ann, float $cascade_weight_multiplier | bool',
\ 'fann_set_error_log(': 'resource $errdat, string $log_file | void',
\ 'fann_set_input_scaling_params(': 'resource $ann, resource $train_data, float $new_input_min, float $new_input_max | bool',
\ 'fann_set_learning_momentum(': 'resource $ann, float $learning_momentum | bool',
\ 'fann_set_learning_rate(': 'resource $ann, float $learning_rate | bool',
\ 'fann_set_output_scaling_params(': 'resource $ann, resource $train_data, float $new_output_min, float $new_output_max | bool',
\ 'fann_set_quickprop_decay(': 'resource $ann, float $quickprop_decay | bool',
\ 'fann_set_quickprop_mu(': 'resource $ann, float $quickprop_mu | bool',
\ 'fann_set_rprop_decrease_factor(': 'resource $ann, float $rprop_decrease_factor | bool',
\ 'fann_set_rprop_delta_max(': 'resource $ann, float $rprop_delta_max | bool',
\ 'fann_set_rprop_delta_min(': 'resource $ann, float $rprop_delta_min | bool',
\ 'fann_set_rprop_delta_zero(': 'resource $ann, float $rprop_delta_zero | bool',
\ 'fann_set_rprop_increase_factor(': 'resource $ann, float $rprop_increase_factor | bool',
\ 'fann_set_sarprop_step_error_shift(': 'resource $ann, float $sarprop_step_error_shift | bool',
\ 'fann_set_sarprop_step_error_threshold_factor(': 'resource $ann, float $sarprop_step_error_threshold_factor | bool',
\ 'fann_set_sarprop_temperature(': 'resource $ann, float $sarprop_temperature | bool',
\ 'fann_set_sarprop_weight_decay_shift(': 'resource $ann, float $sarprop_weight_decay_shift | bool',
\ 'fann_set_scaling_params(': 'resource $ann, resource $train_data, float $new_input_min, float $new_input_max, float $new_output_min, float $new_output_max | bool',
\ 'fann_set_train_error_function(': 'resource $ann, int $error_function | bool',
\ 'fann_set_train_stop_function(': 'resource $ann, int $stop_function | bool',
\ 'fann_set_training_algorithm(': 'resource $ann, int $training_algorithm | bool',
\ 'fann_set_weight_array(': 'resource $ann, array $connections | bool',
\ 'fann_set_weight(': 'resource $ann, int $from_neuron, int $to_neuron, float $weight | bool',
\ 'fann_shuffle_train_data(': 'resource $train_data | bool',
\ 'fann_subset_train_data(': 'resource $data, int $pos, int $length | resource',
\ 'fann_test_data(': 'resource $ann, resource $data | float',
\ 'fann_test(': 'resource $ann, array $input, array $desired_output | bool',
\ 'fann_train_epoch(': 'resource $ann, resource $data | float',
\ 'fann_train_on_data(': 'resource $ann, resource $data, int $max_epochs, int $epochs_between_reports, float $desired_error | bool',
\ 'fann_train_on_file(': 'resource $ann, string $filename, int $max_epochs, int $epochs_between_reports, float $desired_error | bool',
\ 'fann_train(': 'resource $ann, array $input, array $desired_output | bool',
\ }
let g:phpcomplete_builtin['functions']['fastcgi_process_manager'] = {
\ 'fastcgi_finish_request(': 'void | boolean',
\ }
let g:phpcomplete_builtin['functions']['frontbase'] = {
\ 'fbsql_affected_rows(': '[ resource $link_identifier] | int',
\ 'fbsql_autocommit(': 'resource $link_identifier [, bool $OnOff] | bool',
\ 'fbsql_blob_size(': 'string $blob_handle [, resource $link_identifier] | int',
\ 'fbsql_change_user(': 'string $user, string $password [, string $database [, resource $link_identifier]] | bool',
\ 'fbsql_clob_size(': 'string $clob_handle [, resource $link_identifier] | int',
\ 'fbsql_close(': '[ resource $link_identifier] | bool',
\ 'fbsql_commit(': '[ resource $link_identifier] | bool',
\ 'fbsql_connect(': '[ string $hostname = ini_get("fbsql.default_host") [, string $username = ini_get("fbsql.default_user") [, string $password = ini_get("fbsql.default_password")]]] | resource',
\ 'fbsql_create_blob(': 'string $blob_data [, resource $link_identifier] | string',
\ 'fbsql_create_clob(': 'string $clob_data [, resource $link_identifier] | string',
\ 'fbsql_create_db(': 'string $database_name [, resource $link_identifier [, string $database_options]] | bool',
\ 'fbsql_data_seek(': 'resource $result, int $row_number | bool',
\ 'fbsql_database_password(': 'resource $link_identifier [, string $database_password] | string',
\ 'fbsql_database(': 'resource $link_identifier [, string $database] | string',
\ 'fbsql_db_query(': 'string $database, string $query [, resource $link_identifier] | resource',
\ 'fbsql_db_status(': 'string $database_name [, resource $link_identifier] | int',
\ 'fbsql_drop_db(': 'string $database_name [, resource $link_identifier] | bool',
\ 'fbsql_errno(': '[ resource $link_identifier] | int',
\ 'fbsql_error(': '[ resource $link_identifier] | string',
\ 'fbsql_fetch_array(': 'resource $result [, int $result_type] | array',
\ 'fbsql_fetch_assoc(': 'resource $result | array',
\ 'fbsql_fetch_field(': 'resource $result [, int $field_offset] | object',
\ 'fbsql_fetch_lengths(': 'resource $result | array',
\ 'fbsql_fetch_object(': 'resource $result | object',
\ 'fbsql_fetch_row(': 'resource $result | array',
\ 'fbsql_field_flags(': 'resource $result [, int $field_offset] | string',
\ 'fbsql_field_len(': 'resource $result [, int $field_offset] | int',
\ 'fbsql_field_name(': 'resource $result [, int $field_index] | string',
\ 'fbsql_field_seek(': 'resource $result [, int $field_offset] | bool',
\ 'fbsql_field_table(': 'resource $result [, int $field_offset] | string',
\ 'fbsql_field_type(': 'resource $result [, int $field_offset] | string',
\ 'fbsql_free_result(': 'resource $result | bool',
\ 'fbsql_get_autostart_info(': '[ resource $link_identifier] | array',
\ 'fbsql_hostname(': 'resource $link_identifier [, string $host_name] | string',
\ 'fbsql_insert_id(': '[ resource $link_identifier] | int',
\ 'fbsql_list_dbs(': '[ resource $link_identifier] | resource',
\ 'fbsql_list_fields(': 'string $database_name, string $table_name [, resource $link_identifier] | resource',
\ 'fbsql_list_tables(': 'string $database [, resource $link_identifier] | resource',
\ 'fbsql_next_result(': 'resource $result | bool',
\ 'fbsql_num_fields(': 'resource $result | int',
\ 'fbsql_num_rows(': 'resource $result | int',
\ 'fbsql_password(': 'resource $link_identifier [, string $password] | string',
\ 'fbsql_pconnect(': '[ string $hostname = ini_get("fbsql.default_host") [, string $username = ini_get("fbsql.default_user") [, string $password = ini_get("fbsql.default_password")]]] | resource',
\ 'fbsql_query(': 'string $query [, resource $link_identifier [, int $batch_size]] | resource',
\ 'fbsql_read_blob(': 'string $blob_handle [, resource $link_identifier] | string',
\ 'fbsql_read_clob(': 'string $clob_handle [, resource $link_identifier] | string',
\ 'fbsql_result(': 'resource $result [, int $row [, mixed $field]] | mixed',
\ 'fbsql_rollback(': '[ resource $link_identifier] | bool',
\ 'fbsql_rows_fetched(': 'resource $result | int',
\ 'fbsql_select_db(': '[ string $database_name [, resource $link_identifier]] | bool',
\ 'fbsql_set_characterset(': 'resource $link_identifier, int $characterset [, int $in_out_both] | void',
\ 'fbsql_set_lob_mode(': 'resource $result, int $lob_mode | bool',
\ 'fbsql_set_password(': 'resource $link_identifier, string $user, string $password, string $old_password | bool',
\ 'fbsql_set_transaction(': 'resource $link_identifier, int $locking, int $isolation | void',
\ 'fbsql_start_db(': 'string $database_name [, resource $link_identifier [, string $database_options]] | bool',
\ 'fbsql_stop_db(': 'string $database_name [, resource $link_identifier] | bool',
\ 'fbsql_table_name(': 'resource $result, int $index | string',
\ 'fbsql_username(': 'resource $link_identifier [, string $username] | string',
\ 'fbsql_warnings(': '[ bool $OnOff] | bool',
\ }
let g:phpcomplete_builtin['functions']['fdf'] = {
\ 'fdf_add_doc_javascript(': 'resource $fdf_document, string $script_name, string $script_code | bool',
\ 'fdf_add_template(': 'resource $fdf_document, int $newpage, string $filename, string $template, int $rename | bool',
\ 'fdf_close(': 'resource $fdf_document | void',
\ 'fdf_create(': 'void | resource',
\ 'fdf_enum_values(': 'resource $fdf_document, callable $function [, mixed $userdata] | bool',
\ 'fdf_errno(': 'void | int',
\ 'fdf_error(': '[ int $error_code = -1] | string',
\ 'fdf_get_ap(': 'resource $fdf_document, string $field, int $face, string $filename | bool',
\ 'fdf_get_attachment(': 'resource $fdf_document, string $fieldname, string $savepath | array',
\ 'fdf_get_encoding(': 'resource $fdf_document | string',
\ 'fdf_get_file(': 'resource $fdf_document | string',
\ 'fdf_get_flags(': 'resource $fdf_document, string $fieldname, int $whichflags | int',
\ 'fdf_get_opt(': 'resource $fdf_document, string $fieldname [, int $element = -1] | mixed',
\ 'fdf_get_status(': 'resource $fdf_document | string',
\ 'fdf_get_value(': 'resource $fdf_document, string $fieldname [, int $which = -1] | mixed',
\ 'fdf_get_version(': '[ resource $fdf_document] | string',
\ 'fdf_header(': 'void | void',
\ 'fdf_next_field_name(': 'resource $fdf_document [, string $fieldname] | string',
\ 'fdf_open_string(': 'string $fdf_data | resource',
\ 'fdf_open(': 'string $filename | resource',
\ 'fdf_remove_item(': 'resource $fdf_document, string $fieldname, int $item | bool',
\ 'fdf_save_string(': 'resource $fdf_document | string',
\ 'fdf_save(': 'resource $fdf_document [, string $filename] | bool',
\ 'fdf_set_ap(': 'resource $fdf_document, string $field_name, int $face, string $filename, int $page_number | bool',
\ 'fdf_set_encoding(': 'resource $fdf_document, string $encoding | bool',
\ 'fdf_set_file(': 'resource $fdf_document, string $url [, string $target_frame] | bool',
\ 'fdf_set_flags(': 'resource $fdf_document, string $fieldname, int $whichFlags, int $newFlags | bool',
\ 'fdf_set_javascript_action(': 'resource $fdf_document, string $fieldname, int $trigger, string $script | bool',
\ 'fdf_set_on_import_javascript(': 'resource $fdf_document, string $script, bool $before_data_import | bool',
\ 'fdf_set_opt(': 'resource $fdf_document, string $fieldname, int $element, string $str1, string $str2 | bool',
\ 'fdf_set_status(': 'resource $fdf_document, string $status | bool',
\ 'fdf_set_submit_form_action(': 'resource $fdf_document, string $fieldname, int $trigger, string $script, int $flags | bool',
\ 'fdf_set_target_frame(': 'resource $fdf_document, string $frame_name | bool',
\ 'fdf_set_value(': 'resource $fdf_document, string $fieldname, mixed $value [, int $isName] | bool',
\ 'fdf_set_version(': 'resource $fdf_document, string $version | bool',
\ }
let g:phpcomplete_builtin['functions']['filepro'] = {
\ 'filepro_fieldcount(': 'void | int',
\ 'filepro_fieldname(': 'int $field_number | string',
\ 'filepro_fieldtype(': 'int $field_number | string',
\ 'filepro_fieldwidth(': 'int $field_number | int',
\ 'filepro_retrieve(': 'int $row_number, int $field_number | string',
\ 'filepro_rowcount(': 'void | int',
\ 'filepro(': 'string $directory | bool',
\ }
let g:phpcomplete_builtin['functions']['filter'] = {
\ 'filter_has_var(': 'int $type, string $variable_name | bool',
\ 'filter_id(': 'string $filtername | int',
\ 'filter_input_array(': 'int $type [, mixed $definition [, bool $add_empty = true]] | mixed',
\ 'filter_input(': 'int $type, string $variable_name [, int $filter = FILTER_DEFAULT [, mixed $options]] | mixed',
\ 'filter_list(': 'void | array',
\ 'filter_var_array(': 'array $data [, mixed $definition [, bool $add_empty = true]] | mixed',
\ 'filter_var(': 'mixed $variable [, int $filter = FILTER_DEFAULT [, mixed $options]] | mixed',
\ }
let g:phpcomplete_builtin['functions']['fileinfo'] = {
\ 'finfo_buffer(': 'resource $finfo [, string $string = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL]]] | string',
\ 'finfo_close(': 'resource $finfo | bool',
\ 'finfo_file(': 'resource $finfo [, string $file_name = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL]]] | string',
\ 'finfo_open(': '[ int $options = FILEINFO_NONE [, string $magic_file = NULL]] | resource',
\ 'finfo_set_flags(': 'resource $finfo, int $options | bool',
\ 'mime_content_type(': 'string $filename | string',
\ }
let g:phpcomplete_builtin['functions']['output_control'] = {
\ 'flush(': 'void | void',
\ 'ob_clean(': 'void | void',
\ 'ob_end_clean(': 'void | bool',
\ 'ob_end_flush(': 'void | bool',
\ 'ob_flush(': 'void | void',
\ 'ob_get_clean(': 'void | string',
\ 'ob_get_contents(': 'void | string',
\ 'ob_get_flush(': 'void | string',
\ 'ob_get_length(': 'void | int',
\ 'ob_get_level(': 'void | int',
\ 'ob_get_status(': '[ bool $full_status = FALSE] | array',
\ 'ob_gzhandler(': 'string $buffer, int $mode | string',
\ 'ob_implicit_flush(': '[ int $flag = true] | void',
\ 'ob_list_handlers(': 'void | array',
\ 'ob_start(': '[ callable $output_callback = NULL [, int $chunk_size = 0 [, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS]]] | bool',
\ 'output_add_rewrite_var(': 'string $name, string $value | bool',
\ 'output_reset_rewrite_vars(': 'void | bool',
\ }
let g:phpcomplete_builtin['functions']['fribidi'] = {
\ 'fribidi_log2vis(': 'string $str, string $direction, int $charset | string',
\ }
let g:phpcomplete_builtin['functions']['semaphore'] = {
\ 'ftok(': 'string $pathname, string $proj | int',
\ 'msg_get_queue(': 'int $key [, int $perms = 0666] | resource',
\ 'msg_queue_exists(': 'int $key | bool',
\ 'msg_receive(': 'resource $queue, int $desiredmsgtype, int &$msgtype, int $maxsize, mixed &$message [, bool $unserialize = true [, int $flags = 0 [, int &$errorcode]]] | bool',
\ 'msg_remove_queue(': 'resource $queue | bool',
\ 'msg_send(': 'resource $queue, int $msgtype, mixed $message [, bool $serialize = true [, bool $blocking = true [, int &$errorcode]]] | bool',
\ 'msg_set_queue(': 'resource $queue, array $data | bool',
\ 'msg_stat_queue(': 'resource $queue | array',
\ 'sem_acquire(': 'resource $sem_identifier | bool',
\ 'sem_get(': 'int $key [, int $max_acquire = 1 [, int $perm = 0666 [, int $auto_release = 1]]] | resource',
\ 'sem_release(': 'resource $sem_identifier | bool',
\ 'sem_remove(': 'resource $sem_identifier | bool',
\ 'shm_attach(': 'int $key [, int $memsize [, int $perm = 0666]] | resource',
\ 'shm_detach(': 'resource $shm_identifier | bool',
\ 'shm_get_var(': 'resource $shm_identifier, int $variable_key | mixed',
\ 'shm_has_var(': 'resource $shm_identifier, int $variable_key | bool',
\ 'shm_put_var(': 'resource $shm_identifier, int $variable_key, mixed $variable | bool',
\ 'shm_remove_var(': 'resource $shm_identifier, int $variable_key | bool',
\ 'shm_remove(': 'resource $shm_identifier | bool',
\ }
let g:phpcomplete_builtin['functions']['ftp'] = {
\ 'ftp_alloc(': 'resource $ftp_stream, int $filesize [, string &$result] | bool',
\ 'ftp_cdup(': 'resource $ftp_stream | bool',
\ 'ftp_chdir(': 'resource $ftp_stream, string $directory | bool',
\ 'ftp_chmod(': 'resource $ftp_stream, int $mode, string $filename | int',
\ 'ftp_close(': 'resource $ftp_stream | bool',
\ 'ftp_connect(': 'string $host [, int $port = 21 [, int $timeout = 90]] | resource',
\ 'ftp_delete(': 'resource $ftp_stream, string $path | bool',
\ 'ftp_exec(': 'resource $ftp_stream, string $command | bool',
\ 'ftp_fget(': 'resource $ftp_stream, resource $handle, string $remote_file, int $mode [, int $resumepos = 0] | bool',
\ 'ftp_fput(': 'resource $ftp_stream, string $remote_file, resource $handle, int $mode [, int $startpos = 0] | bool',
\ 'ftp_get_option(': 'resource $ftp_stream, int $option | mixed',
\ 'ftp_get(': 'resource $ftp_stream, string $local_file, string $remote_file, int $mode [, int $resumepos = 0] | bool',
\ 'ftp_login(': 'resource $ftp_stream, string $username, string $password | bool',
\ 'ftp_mdtm(': 'resource $ftp_stream, string $remote_file | int',
\ 'ftp_mkdir(': 'resource $ftp_stream, string $directory | string',
\ 'ftp_nb_continue(': 'resource $ftp_stream | int',
\ 'ftp_nb_fget(': 'resource $ftp_stream, resource $handle, string $remote_file, int $mode [, int $resumepos = 0] | int',
\ 'ftp_nb_fput(': 'resource $ftp_stream, string $remote_file, resource $handle, int $mode [, int $startpos = 0] | int',
\ 'ftp_nb_get(': 'resource $ftp_stream, string $local_file, string $remote_file, int $mode [, int $resumepos = 0] | int',
\ 'ftp_nb_put(': 'resource $ftp_stream, string $remote_file, string $local_file, int $mode [, int $startpos = 0] | int',
\ 'ftp_nlist(': 'resource $ftp_stream, string $directory | array',
\ 'ftp_pasv(': 'resource $ftp_stream, bool $pasv | bool',
\ 'ftp_put(': 'resource $ftp_stream, string $remote_file, string $local_file, int $mode [, int $startpos = 0] | bool',
\ 'ftp_pwd(': 'resource $ftp_stream | string',
\ 'ftp_quit(': 'ftp_quit — Alias of ftp_close()',
\ 'ftp_raw(': 'resource $ftp_stream, string $command | array',
\ 'ftp_rawlist(': 'resource $ftp_stream, string $directory [, bool $recursive = false] | array',
\ 'ftp_rename(': 'resource $ftp_stream, string $oldname, string $newname | bool',
\ 'ftp_rmdir(': 'resource $ftp_stream, string $directory | bool',
\ 'ftp_set_option(': 'resource $ftp_stream, int $option, mixed $value | bool',
\ 'ftp_site(': 'resource $ftp_stream, string $command | bool',
\ 'ftp_size(': 'resource $ftp_stream, string $remote_file | int',
\ 'ftp_ssl_connect(': 'string $host [, int $port = 21 [, int $timeout = 90]] | resource',
\ 'ftp_systype(': 'resource $ftp_stream | string',
\ }
let g:phpcomplete_builtin['functions']['gearman'] = {
\ 'GearmanWorker::setId(': 'string $id | bool',
\ }
let g:phpcomplete_builtin['functions']['gd'] = {
\ 'gd_info(': 'void | array',
\ 'getimagesize(': 'string $filename [, array &$imageinfo] | array',
\ 'getimagesizefromstring(': 'string $imagedata [, array &$imageinfo] | array',
\ 'image_type_to_extension(': 'int $imagetype [, bool $include_dot = TRUE] | string',
\ 'image_type_to_mime_type(': 'int $imagetype | string',
\ 'image2wbmp(': 'resource $image [, string $filename [, int $threshold]] | bool',
\ 'imageaffine(': 'resource $image, array $affine [, array $clip] | resource',
\ 'imageaffinematrixconcat(': 'array $m1, array $m2 | array',
\ 'imageaffinematrixget(': 'int $type [, mixed $options] | array',
\ 'imagealphablending(': 'resource $image, bool $blendmode | bool',
\ 'imageantialias(': 'resource $image, bool $enabled | bool',
\ 'imagearc(': 'resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color | bool',
\ 'imagechar(': 'resource $image, int $font, int $x, int $y, string $c, int $color | bool',
\ 'imagecharup(': 'resource $image, int $font, int $x, int $y, string $c, int $color | bool',
\ 'imagecolorallocate(': 'resource $image, int $red, int $green, int $blue | int',
\ 'imagecolorallocatealpha(': 'resource $image, int $red, int $green, int $blue, int $alpha | int',
\ 'imagecolorat(': 'resource $image, int $x, int $y | int',
\ 'imagecolorclosest(': 'resource $image, int $red, int $green, int $blue | int',
\ 'imagecolorclosestalpha(': 'resource $image, int $red, int $green, int $blue, int $alpha | int',
\ 'imagecolorclosesthwb(': 'resource $image, int $red, int $green, int $blue | int',
\ 'imagecolordeallocate(': 'resource $image, int $color | bool',
\ 'imagecolorexact(': 'resource $image, int $red, int $green, int $blue | int',
\ 'imagecolorexactalpha(': 'resource $image, int $red, int $green, int $blue, int $alpha | int',
\ 'imagecolormatch(': 'resource $image1, resource $image2 | bool',
\ 'imagecolorresolve(': 'resource $image, int $red, int $green, int $blue | int',
\ 'imagecolorresolvealpha(': 'resource $image, int $red, int $green, int $blue, int $alpha | int',
\ 'imagecolorset(': 'resource $image, int $index, int $red, int $green, int $blue [, int $alpha = 0] | void',
\ 'imagecolorsforindex(': 'resource $image, int $index | array',
\ 'imagecolorstotal(': 'resource $image | int',
\ 'imagecolortransparent(': 'resource $image [, int $color] | int',
\ 'imageconvolution(': 'resource $image, array $matrix, float $div, float $offset | bool',
\ 'imagecopy(': 'resource $dst_im, resource $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h | bool',
\ 'imagecopymerge(': 'resource $dst_im, resource $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h, int $pct | bool',
\ 'imagecopymergegray(': 'resource $dst_im, resource $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h, int $pct | bool',
\ 'imagecopyresampled(': 'resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h | bool',
\ 'imagecopyresized(': 'resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h | bool',
\ 'imagecreate(': 'int $width, int $height | resource',
\ 'imagecreatefromgd(': 'string $filename | resource',
\ 'imagecreatefromgd2(': 'string $filename | resource',
\ 'imagecreatefromgd2part(': 'string $filename, int $srcX, int $srcY, int $width, int $height | resource',
\ 'imagecreatefromgif(': 'string $filename | resource',
\ 'imagecreatefromjpeg(': 'string $filename | resource',
\ 'imagecreatefrompng(': 'string $filename | resource',
\ 'imagecreatefromstring(': 'string $image | resource',
\ 'imagecreatefromwbmp(': 'string $filename | resource',
\ 'imagecreatefromwebp(': 'string $filename | resource',
\ 'imagecreatefromxbm(': 'string $filename | resource',
\ 'imagecreatefromxpm(': 'string $filename | resource',
\ 'imagecreatetruecolor(': 'int $width, int $height | resource',
\ 'imagecrop(': 'resource $image, array $rect | resource',
\ 'imagecropauto(': 'resource $image [, int $mode = -1 [, float $threshold = .5 [, int $color = -1]]] | resource',
\ 'imagedashedline(': 'resource $image, int $x1, int $y1, int $x2, int $y2, int $color | bool',
\ 'imagedestroy(': 'resource $image | bool',
\ 'imageellipse(': 'resource $image, int $cx, int $cy, int $width, int $height, int $color | bool',
\ 'imagefill(': 'resource $image, int $x, int $y, int $color | bool',
\ 'imagefilledarc(': 'resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color, int $style | bool',
\ 'imagefilledellipse(': 'resource $image, int $cx, int $cy, int $width, int $height, int $color | bool',
\ 'imagefilledpolygon(': 'resource $image, array $points, int $num_points, int $color | bool',
\ 'imagefilledrectangle(': 'resource $image, int $x1, int $y1, int $x2, int $y2, int $color | bool',
\ 'imagefilltoborder(': 'resource $image, int $x, int $y, int $border, int $color | bool',
\ 'imagefilter(': 'resource $image, int $filtertype [, int $arg1 [, int $arg2 [, int $arg3 [, int $arg4]]]] | bool',
\ 'imageflip(': 'resource $image, int $mode | bool',
\ 'imagefontheight(': 'int $font | int',
\ 'imagefontwidth(': 'int $font | int',
\ 'imageftbbox(': 'float $size, float $angle, string $fontfile, string $text [, array $extrainfo] | array',
\ 'imagefttext(': 'resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text [, array $extrainfo] | array',
\ 'imagegammacorrect(': 'resource $image, float $inputgamma, float $outputgamma | bool',
\ 'imagegd(': 'resource $image [, string $filename] | bool',
\ 'imagegd2(': 'resource $image [, string $filename [, int $chunk_size [, int $type = IMG_GD2_RAW]]] | bool',
\ 'imagegif(': 'resource $image [, string $filename] | bool',
\ 'imagegrabscreen(': 'void | resource',
\ 'imagegrabwindow(': 'int $window_handle [, int $client_area = 0] | resource',
\ 'imageinterlace(': 'resource $image [, int $interlace = 0] | int',
\ 'imageistruecolor(': 'resource $image | bool',
\ 'imagejpeg(': 'resource $image [, string $filename [, int $quality]] | bool',
\ 'imagelayereffect(': 'resource $image, int $effect | bool',
\ 'imageline(': 'resource $image, int $x1, int $y1, int $x2, int $y2, int $color | bool',
\ 'imageloadfont(': 'string $file | int',
\ 'imagepalettecopy(': 'resource $destination, resource $source | void',
\ 'imagepalettetotruecolor(': 'resource $src | bool',
\ 'imagepng(': 'resource $image [, string $filename [, int $quality [, int $filters]]] | bool',
\ 'imagepolygon(': 'resource $image, array $points, int $num_points, int $color | bool',
\ 'imagepsbbox(': 'string $text, resource $font, int $size | array',
\ 'imagepsencodefont(': 'resource $font_index, string $encodingfile | bool',
\ 'imagepsextendfont(': 'resource $font_index, float $extend | bool',
\ 'imagepsfreefont(': 'resource $font_index | bool',
\ 'imagepsloadfont(': 'string $filename | resource',
\ 'imagepsslantfont(': 'resource $font_index, float $slant | bool',
\ 'imagepstext(': 'resource $image, string $text, resource $font_index, int $size, int $foreground, int $background, int $x, int $y [, int $space = 0 [, int $tightness = 0 [, float $angle = 0.0 [, int $antialias_steps = 4]]]] | array',
\ 'imagerectangle(': 'resource $image, int $x1, int $y1, int $x2, int $y2, int $color | bool',
\ 'imagerotate(': 'resource $image, float $angle, int $bgd_color [, int $ignore_transparent = 0] | resource',
\ 'imagesavealpha(': 'resource $image, bool $saveflag | bool',
\ 'imagescale(': 'resource $image, int $new_width [, int $new_height = -1 [, int $mode = IMG_BILINEAR_FIXED]] | resource',
\ 'imagesetbrush(': 'resource $image, resource $brush | bool',
\ 'imagesetinterpolation(': 'resource $image [, int $method = IMG_BILINEAR_FIXED] | bool',
\ 'imagesetpixel(': 'resource $image, int $x, int $y, int $color | bool',
\ 'imagesetstyle(': 'resource $image, array $style | bool',
\ 'imagesetthickness(': 'resource $image, int $thickness | bool',
\ 'imagesettile(': 'resource $image, resource $tile | bool',
\ 'imagestring(': 'resource $image, int $font, int $x, int $y, string $string, int $color | bool',
\ 'imagestringup(': 'resource $image, int $font, int $x, int $y, string $string, int $color | bool',
\ 'imagesx(': 'resource $image | int',
\ 'imagesy(': 'resource $image | int',
\ 'imagetruecolortopalette(': 'resource $image, bool $dither, int $ncolors | bool',
\ 'imagettfbbox(': 'float $size, float $angle, string $fontfile, string $text | array',
\ 'imagettftext(': 'resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text | array',
\ 'imagetypes(': 'void | int',
\ 'imagewbmp(': 'resource $image [, string $filename [, int $foreground]] | bool',
\ 'imagewebp(': 'resource $image, string $filename | bool',
\ 'imagexbm(': 'resource $image, string $filename [, int $foreground] | bool',
\ 'iptcembed(': 'string $iptcdata, string $jpeg_file_name [, int $spool] | mixed',
\ 'iptcparse(': 'string $iptcblock | array',
\ 'jpeg2wbmp(': 'string $jpegname, string $wbmpname, int $dest_height, int $dest_width, int $threshold | bool',
\ 'png2wbmp(': 'string $pngname, string $wbmpname, int $dest_height, int $dest_width, int $threshold | bool',
\ }
let g:phpcomplete_builtin['functions']['geoip'] = {
\ 'geoip_continent_code_by_name(': 'string $hostname | string',
\ 'geoip_country_code_by_name(': 'string $hostname | string',
\ 'geoip_country_code3_by_name(': 'string $hostname | string',
\ 'geoip_country_name_by_name(': 'string $hostname | string',
\ 'geoip_database_info(': '[ int $database = GEOIP_COUNTRY_EDITION] | string',
\ 'geoip_db_avail(': 'int $database | bool',
\ 'geoip_db_filename(': 'int $database | string',
\ 'geoip_db_get_all_info(': 'void | array',
\ 'geoip_id_by_name(': 'string $hostname | int',
\ 'geoip_isp_by_name(': 'string $hostname | string',
\ 'geoip_org_by_name(': 'string $hostname | string',
\ 'geoip_record_by_name(': 'string $hostname | array',
\ 'geoip_region_by_name(': 'string $hostname | array',
\ 'geoip_region_name_by_code(': 'string $country_code, string $region_code | string',
\ 'geoip_time_zone_by_country_and_region(': 'string $country_code [, string $region_code] | string',
\ }
let g:phpcomplete_builtin['functions']['gmp'] = {
\ 'gmp_abs(': 'resource $a | resource',
\ 'gmp_add(': 'resource $a, resource $b | resource',
\ 'gmp_and(': 'resource $a, resource $b | resource',
\ 'gmp_clrbit(': 'resource $a, int $index | void',
\ 'gmp_cmp(': 'resource $a, resource $b | int',
\ 'gmp_com(': 'resource $a | resource',
\ 'gmp_div_q(': 'resource $a, resource $b [, int $round = GMP_ROUND_ZERO] | resource',
\ 'gmp_div_qr(': 'resource $n, resource $d [, int $round = GMP_ROUND_ZERO] | array',
\ 'gmp_div_r(': 'resource $n, resource $d [, int $round = GMP_ROUND_ZERO] | resource',
\ 'gmp_div(': 'gmp_div — Alias of gmp_div_q()',
\ 'gmp_divexact(': 'resource $n, resource $d | resource',
\ 'gmp_fact(': 'mixed $a | resource',
\ 'gmp_gcd(': 'resource $a, resource $b | resource',
\ 'gmp_gcdext(': 'resource $a, resource $b | array',
\ 'gmp_hamdist(': 'resource $a, resource $b | int',
\ 'gmp_init(': 'mixed $number [, int $base = 0] | resource',
\ 'gmp_intval(': 'resource $gmpnumber | int',
\ 'gmp_invert(': 'resource $a, resource $b | resource',
\ 'gmp_jacobi(': 'resource $a, resource $p | int',
\ 'gmp_legendre(': 'resource $a, resource $p | int',
\ 'gmp_mod(': 'resource $n, resource $d | resource',
\ 'gmp_mul(': 'resource $a, resource $b | resource',
\ 'gmp_neg(': 'resource $a | resource',
\ 'gmp_nextprime(': 'int $a | resource',
\ 'gmp_or(': 'resource $a, resource $b | resource',
\ 'gmp_perfect_square(': 'resource $a | bool',
\ 'gmp_popcount(': 'resource $a | int',
\ 'gmp_pow(': 'resource $base, int $exp | resource',
\ 'gmp_powm(': 'resource $base, resource $exp, resource $mod | resource',
\ 'gmp_prob_prime(': 'resource $a [, int $reps = 10] | int',
\ 'gmp_random(': '[ int $limiter = 20] | resource',
\ 'gmp_scan0(': 'resource $a, int $start | int',
\ 'gmp_scan1(': 'resource $a, int $start | int',
\ 'gmp_setbit(': 'resource &$a, int $index [, bool $bit_on = true] | void',
\ 'gmp_sign(': 'resource $a | int',
\ 'gmp_sqrt(': 'resource $a | resource',
\ 'gmp_sqrtrem(': 'resource $a | array',
\ 'gmp_strval(': 'resource $gmpnumber [, int $base = 10] | string',
\ 'gmp_sub(': 'resource $a, resource $b | resource',
\ 'gmp_testbit(': 'resource $a, int $index | bool',
\ 'gmp_xor(': 'resource $a, resource $b | resource',
\ }
let g:phpcomplete_builtin['functions']['gnupg'] = {
\ 'gnupg_adddecryptkey(': 'resource $identifier, string $fingerprint, string $passphrase | bool',
\ 'gnupg_addencryptkey(': 'resource $identifier, string $fingerprint | bool',
\ 'gnupg_addsignkey(': 'resource $identifier, string $fingerprint [, string $passphrase] | bool',
\ 'gnupg_cleardecryptkeys(': 'resource $identifier | bool',
\ 'gnupg_clearencryptkeys(': 'resource $identifier | bool',
\ 'gnupg_clearsignkeys(': 'resource $identifier | bool',
\ 'gnupg_decrypt(': 'resource $identifier, string $text | string',
\ 'gnupg_decryptverify(': 'resource $identifier, string $text, string &$plaintext | array',
\ 'gnupg_encrypt(': 'resource $identifier, string $plaintext | string',
\ 'gnupg_encryptsign(': 'resource $identifier, string $plaintext | string',
\ 'gnupg_export(': 'resource $identifier, string $fingerprint | string',
\ 'gnupg_geterror(': 'resource $identifier | string',
\ 'gnupg_getprotocol(': 'resource $identifier | int',
\ 'gnupg_import(': 'resource $identifier, string $keydata | array',
\ 'gnupg_init(': 'void | resource',
\ 'gnupg_keyinfo(': 'resource $identifier, string $pattern | array',
\ 'gnupg_setarmor(': 'resource $identifier, int $armor | bool',
\ 'gnupg_seterrormode(': 'resource $identifier, int $errormode | void',
\ 'gnupg_setsignmode(': 'resource $identifier, int $signmode | bool',
\ 'gnupg_sign(': 'resource $identifier, string $plaintext | string',
\ 'gnupg_verify(': 'resource $identifier, string $signed_text, string $signature [, string &$plaintext] | array',
\ }
let g:phpcomplete_builtin['functions']['gopher'] = {
\ 'gopher_parsedir(': 'string $dirent | array',
\ }
let g:phpcomplete_builtin['functions']['intl'] = {
\ 'grapheme_extract(': 'string $haystack, int $size [, int $extract_type [, int $start = 0 [, int &$next]]] | string',
\ 'grapheme_stripos(': 'string $haystack, string $needle [, int $offset = 0] | int',
\ 'grapheme_stristr(': 'string $haystack, string $needle [, bool $before_needle = false] | string',
\ 'grapheme_strlen(': 'string $input | int',
\ 'grapheme_strpos(': 'string $haystack, string $needle [, int $offset = 0] | int',
\ 'grapheme_strripos(': 'string $haystack, string $needle [, int $offset = 0] | int',
\ 'grapheme_strrpos(': 'string $haystack, string $needle [, int $offset = 0] | int',
\ 'grapheme_strstr(': 'string $haystack, string $needle [, bool $before_needle = false] | string',
\ 'grapheme_substr(': 'string $string, int $start [, int $length] | int',
\ 'idn_to_ascii(': 'string $domain [, int $options = 0 [, int $variant = INTL_IDNA_VARIANT_2003 [, array &$idna_info]]] | string',
\ 'idn_to_unicode(': 'idn_to_unicode — Alias of idn_to_utf8()',
\ 'idn_to_utf8(': 'string $domain [, int $options = 0 [, int $variant = INTL_IDNA_VARIANT_2003 [, array &$idna_info]]] | string',
\ 'intl_error_name(': 'int $error_code | string',
\ 'intl_get_error_code(': 'void | int',
\ 'intl_get_error_message(': 'void | string',
\ 'intl_is_failure(': 'int $error_code | bool',
\ }
let g:phpcomplete_builtin['functions']['gupnp'] = {
\ 'gupnp_context_get_host_ip(': 'resource $context | string',
\ 'gupnp_context_get_port(': 'resource $context | int',
\ 'gupnp_context_get_subscription_timeout(': 'resource $context | int',
\ 'gupnp_context_host_path(': 'resource $context, string $local_path, string $server_path | bool',
\ 'gupnp_context_new(': '[ string $host_ip [, int $port = 0]] | resource',
\ 'gupnp_context_set_subscription_timeout(': 'resource $context, int $timeout | void',
\ 'gupnp_context_timeout_add(': 'resource $context, int $timeout, mixed $callback [, mixed $arg] | bool',
\ 'gupnp_context_unhost_path(': 'resource $context, string $server_path | bool',
\ 'gupnp_control_point_browse_start(': 'resource $cpoint | bool',
\ 'gupnp_control_point_browse_stop(': 'resource $cpoint | bool',
\ 'gupnp_control_point_callback_set(': 'resource $cpoint, int $signal, mixed $callback [, mixed $arg] | bool',
\ 'gupnp_control_point_new(': 'resource $context, string $target | resource',
\ 'gupnp_device_action_callback_set(': 'resource $root_device, int $signal, string $action_name, mixed $callback [, mixed $arg] | bool',
\ 'gupnp_device_info_get_service(': 'resource $root_device, string $type | resource',
\ 'gupnp_device_info_get(': 'resource $root_device | array',
\ 'gupnp_root_device_get_available(': 'resource $root_device | bool',
\ 'gupnp_root_device_get_relative_location(': 'resource $root_device | string',
\ 'gupnp_root_device_new(': 'resource $context, string $location, string $description_dir | resource',
\ 'gupnp_root_device_set_available(': 'resource $root_device, bool $available | bool',
\ 'gupnp_root_device_start(': 'resource $root_device | bool',
\ 'gupnp_root_device_stop(': 'resource $root_device | bool',
\ 'gupnp_service_action_get(': 'resource $action, string $name, int $type | mixed',
\ 'gupnp_service_action_return_error(': 'resource $action, int $error_code [, string $error_description] | bool',
\ 'gupnp_service_action_return(': 'resource $action | bool',
\ 'gupnp_service_action_set(': 'resource $action, string $name, int $type, mixed $value | bool',
\ 'gupnp_service_freeze_notify(': 'resource $service | bool',
\ 'gupnp_service_info_get_introspection(': 'resource $proxy [, mixed $callback [, mixed $arg]] | mixed',
\ 'gupnp_service_info_get(': 'resource $proxy | array',
\ 'gupnp_service_introspection_get_state_variable(': 'resource $introspection, string $variable_name | array',
\ 'gupnp_service_notify(': 'resource $service, string $name, int $type, mixed $value | bool',
\ 'gupnp_service_proxy_action_get(': 'resource $proxy, string $action, string $name, int $type | mixed',
\ 'gupnp_service_proxy_action_set(': 'resource $proxy, string $action, string $name, mixed $value, int $type | bool',
\ 'gupnp_service_proxy_add_notify(': 'resource $proxy, string $value, int $type, mixed $callback [, mixed $arg] | bool',
\ 'gupnp_service_proxy_callback_set(': 'resource $proxy, int $signal, mixed $callback [, mixed $arg] | bool',
\ 'gupnp_service_proxy_get_subscribed(': 'resource $proxy | bool',
\ 'gupnp_service_proxy_remove_notify(': 'resource $proxy, string $value | bool',
\ 'gupnp_service_proxy_set_subscribed(': 'resource $proxy, bool $subscribed | bool',
\ 'gupnp_service_thaw_notify(': 'resource $service | bool',
\ }
let g:phpcomplete_builtin['functions']['zlib'] = {
\ 'gzclose(': 'resource $zp | bool',
\ 'gzcompress(': 'string $data [, int $level = -1 [, int $encoding = ZLIB_ENCODING_DEFLATE]] | string',
\ 'gzdecode(': 'string $data [, int $length] | string',
\ 'gzdeflate(': 'string $data [, int $level = -1 [, int $encoding = ZLIB_ENCODING_RAW]] | string',
\ 'gzencode(': 'string $data [, int $level = -1 [, int $encoding_mode = FORCE_GZIP]] | string',
\ 'gzeof(': 'resource $zp | int',
\ 'gzfile(': 'string $filename [, int $use_include_path = 0] | array',
\ 'gzgetc(': 'resource $zp | string',
\ 'gzgets(': 'resource $zp, int $length | string',
\ 'gzgetss(': 'resource $zp, int $length [, string $allowable_tags] | string',
\ 'gzinflate(': 'string $data [, int $length = 0] | string',
\ 'gzopen(': 'string $filename, string $mode [, int $use_include_path = 0] | resource',
\ 'gzpassthru(': 'resource $zp | int',
\ 'gzputs(': 'gzputs — Alias of gzwrite()',
\ 'gzread(': 'resource $zp, int $length | string',
\ 'gzrewind(': 'resource $zp | bool',
\ 'gzseek(': 'resource $zp, int $offset [, int $whence = SEEK_SET] | int',
\ 'gztell(': 'resource $zp | int',
\ 'gzuncompress(': 'string $data [, int $length = 0] | string',
\ 'gzwrite(': 'resource $zp, string $string [, int $length] | int',
\ 'readgzfile(': 'string $filename [, int $use_include_path = 0] | int',
\ 'zlib_decode(': 'string $data [, string $max_decoded_len] | string',
\ 'zlib_encode(': 'string $data, string $encoding [, string $level = -1] | string',
\ 'zlib_get_coding_type(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['hash'] = {
\ 'hash_algos(': 'void | array',
\ 'hash_copy(': 'resource $context | resource',
\ 'hash_file(': 'string $algo, string $filename [, bool $raw_output = false] | string',
\ 'hash_final(': 'resource $context [, bool $raw_output = false] | string',
\ 'hash_hmac_file(': 'string $algo, string $filename, string $key [, bool $raw_output = false] | string',
\ 'hash_hmac(': 'string $algo, string $data, string $key [, bool $raw_output = false] | string',
\ 'hash_init(': 'string $algo [, int $options = 0 [, string $key = NULL]] | resource',
\ 'hash_pbkdf2(': 'string $algo, string $password, string $salt, int $iterations [, int $length = 0 [, bool $raw_output = false]] | string',
\ 'hash_update_file(': 'resource $hcontext, string $filename [, resource $scontext = NULL] | bool',
\ 'hash_update_stream(': 'resource $context, resource $handle [, int $length = -1] | int',
\ 'hash_update(': 'resource $context, string $data | bool',
\ 'hash(': 'string $algo, string $data [, bool $raw_output = false] | string',
\ }
let g:phpcomplete_builtin['functions']['http'] = {
\ 'http_build_cookie(': 'array $cookie | string',
\ 'http_build_str(': 'array $query [, string $prefix [, string $arg_separator = ini_get("arg_separator.output")]] | string',
\ 'http_build_url(': '[ mixed $url [, mixed $parts [, int $flags = HTTP_URL_REPLACE [, array &$new_url]]]] | string',
\ 'http_cache_etag(': '[ string $etag] | bool',
\ 'http_cache_last_modified(': '[ int $timestamp_or_expires] | bool',
\ 'http_chunked_decode(': 'string $encoded | string',
\ 'http_date(': '[ int $timestamp] | string',
\ 'http_deflate(': 'string $data [, int $flags = 0] | string',
\ 'http_get_request_body_stream(': 'void | resource',
\ 'http_get_request_body(': 'void | string',
\ 'http_get_request_headers(': 'void | array',
\ 'http_get(': 'string $url [, array $options [, array &$info]] | string',
\ 'http_head(': 'string $url [, array $options [, array &$info]] | string',
\ 'http_inflate(': 'string $data | string',
\ 'http_match_etag(': 'string $etag [, bool $for_range = false] | bool',
\ 'http_match_modified(': '[ int $timestamp = -1 [, bool $for_range = false]] | bool',
\ 'http_match_request_header(': 'string $header, string $value [, bool $match_case = false] | bool',
\ 'http_negotiate_charset(': 'array $supported [, array &$result] | string',
\ 'http_negotiate_content_type(': 'array $supported [, array &$result] | string',
\ 'http_negotiate_language(': 'array $supported [, array &$result] | string',
\ 'http_parse_cookie(': 'string $cookie [, int $flags [, array $allowed_extras]] | object',
\ 'http_parse_headers(': 'string $header | array',
\ 'http_parse_message(': 'string $message | object',
\ 'http_parse_params(': 'string $param [, int $flags = HTTP_PARAMS_DEFAULT] | object',
\ 'http_persistent_handles_clean(': '[ string $ident] | string',
\ 'http_persistent_handles_count(': 'void | object',
\ 'http_persistent_handles_ident(': '[ string $ident] | string',
\ 'http_post_data(': 'string $url, string $data [, array $options [, array &$info]] | string',
\ 'http_post_fields(': 'string $url, array $data [, array $files [, array $options [, array &$info]]] | string',
\ 'http_put_data(': 'string $url, string $data [, array $options [, array &$info]] | string',
\ 'http_put_file(': 'string $url, string $file [, array $options [, array &$info]] | string',
\ 'http_put_stream(': 'string $url, resource $stream [, array $options [, array &$info]] | string',
\ 'http_redirect(': '[ string $url [, array $params [, bool $session = false [, int $status = 0]]]] | bool',
\ 'http_request_body_encode(': 'array $fields, array $files | string',
\ 'http_request_method_exists(': 'mixed $method | int',
\ 'http_request_method_name(': 'int $method | string',
\ 'http_request_method_register(': 'string $method | int',
\ 'http_request_method_unregister(': 'mixed $method | bool',
\ 'http_request(': 'int $method, string $url [, string $body [, array $options [, array &$info]]] | string',
\ 'http_send_content_disposition(': 'string $filename [, bool $inline = false] | bool',
\ 'http_send_content_type(': '[ string $content_type = "application/x-octetstream"] | bool',
\ 'http_send_data(': 'string $data | bool',
\ 'http_send_file(': 'string $file | bool',
\ 'http_send_last_modified(': '[ int $timestamp = time()] | bool',
\ 'http_send_status(': 'int $status | bool',
\ 'http_send_stream(': 'resource $stream | bool',
\ 'http_support(': '[ int $feature = 0] | int',
\ 'http_throttle(': 'float $sec [, int $bytes = 40960] | void',
\ 'ob_deflatehandler(': 'string $data, int $mode | string',
\ 'ob_etaghandler(': 'string $data, int $mode | string',
\ 'ob_inflatehandler(': 'string $data, int $mode | string',
\ }
let g:phpcomplete_builtin['functions']['hyperwave'] = {
\ 'hw_array2objrec(': 'array $object_array | string',
\ 'hw_changeobject(': 'int $link, int $objid, array $attributes | bool',
\ 'hw_children(': 'int $connection, int $objectID | array',
\ 'hw_childrenobj(': 'int $connection, int $objectID | array',
\ 'hw_close(': 'int $connection | bool',
\ 'hw_connect(': 'string $host, int $port [, string $username [, string $password]] | int',
\ 'hw_connection_info(': 'int $link | void',
\ 'hw_cp(': 'int $connection, array $object_id_array, int $destination_id | int',
\ 'hw_deleteobject(': 'int $connection, int $object_to_delete | bool',
\ 'hw_docbyanchor(': 'int $connection, int $anchorID | int',
\ 'hw_docbyanchorobj(': 'int $connection, int $anchorID | string',
\ 'hw_document_attributes(': 'int $hw_document | string',
\ 'hw_document_bodytag(': 'int $hw_document [, string $prefix] | string',
\ 'hw_document_content(': 'int $hw_document | string',
\ 'hw_document_setcontent(': 'int $hw_document, string $content | bool',
\ 'hw_document_size(': 'int $hw_document | int',
\ 'hw_dummy(': 'int $link, int $id, int $msgid | string',
\ 'hw_edittext(': 'int $connection, int $hw_document | bool',
\ 'hw_error(': 'int $connection | int',
\ 'hw_errormsg(': 'int $connection | string',
\ 'hw_free_document(': 'int $hw_document | bool',
\ 'hw_getanchors(': 'int $connection, int $objectID | array',
\ 'hw_getanchorsobj(': 'int $connection, int $objectID | array',
\ 'hw_getandlock(': 'int $connection, int $objectID | string',
\ 'hw_getchildcoll(': 'int $connection, int $objectID | array',
\ 'hw_getchildcollobj(': 'int $connection, int $objectID | array',
\ 'hw_getchilddoccoll(': 'int $connection, int $objectID | array',
\ 'hw_getchilddoccollobj(': 'int $connection, int $objectID | array',
\ 'hw_getobject(': 'int $connection, mixed $objectID [, string $query] | mixed',
\ 'hw_getobjectbyquery(': 'int $connection, string $query, int $max_hits | array',
\ 'hw_getobjectbyquerycoll(': 'int $connection, int $objectID, string $query, int $max_hits | array',
\ 'hw_getobjectbyquerycollobj(': 'int $connection, int $objectID, string $query, int $max_hits | array',
\ 'hw_getobjectbyqueryobj(': 'int $connection, string $query, int $max_hits | array',
\ 'hw_getparents(': 'int $connection, int $objectID | array',
\ 'hw_getparentsobj(': 'int $connection, int $objectID | array',
\ 'hw_getrellink(': 'int $link, int $rootid, int $sourceid, int $destid | string',
\ 'hw_getremote(': 'int $connection, int $objectID | int',
\ 'hw_getremotechildren(': 'int $connection, string $object_record | mixed',
\ 'hw_getsrcbydestobj(': 'int $connection, int $objectID | array',
\ 'hw_gettext(': 'int $connection, int $objectID [, mixed $rootID/prefix] | int',
\ 'hw_getusername(': 'int $connection | string',
\ 'hw_identify(': 'int $link, string $username, string $password | string',
\ 'hw_incollections(': 'int $connection, array $object_id_array, array $collection_id_array, int $return_collections | array',
\ 'hw_info(': 'int $connection | string',
\ 'hw_inscoll(': 'int $connection, int $objectID, array $object_array | int',
\ 'hw_insdoc(': 'resource $connection, int $parentID, string $object_record [, string $text] | int',
\ 'hw_insertanchors(': 'int $hwdoc, array $anchorecs, array $dest [, array $urlprefixes] | bool',
\ 'hw_insertdocument(': 'int $connection, int $parent_id, int $hw_document | int',
\ 'hw_insertobject(': 'int $connection, string $object_rec, string $parameter | int',
\ 'hw_mapid(': 'int $connection, int $server_id, int $object_id | int',
\ 'hw_modifyobject(': 'int $connection, int $object_to_change, array $remove, array $add [, int $mode] | bool',
\ 'hw_mv(': 'int $connection, array $object_id_array, int $source_id, int $destination_id | int',
\ 'hw_new_document(': 'string $object_record, string $document_data, int $document_size | int',
\ 'hw_objrec2array(': 'string $object_record [, array $format] | array',
\ 'hw_output_document(': 'int $hw_document | bool',
\ 'hw_pconnect(': 'string $host, int $port [, string $username [, string $password]] | int',
\ 'hw_pipedocument(': 'int $connection, int $objectID [, array $url_prefixes] | int',
\ 'hw_root(': 'void | int',
\ 'hw_setlinkroot(': 'int $link, int $rootid | int',
\ 'hw_stat(': 'int $link | string',
\ 'hw_unlock(': 'int $connection, int $objectID | bool',
\ 'hw_who(': 'int $connection | array',
\ }
let g:phpcomplete_builtin['functions']['hyperwave_api'] = {
\ 'hwapi_attribute_new(': '[ string $name [, string $value]] | HW_API_Attribute',
\ 'hwapi_content_new(': 'string $content, string $mimetype | HW_API_Content',
\ 'hwapi_hgcsp(': 'string $hostname [, int $port] | HW_API',
\ 'hwapi_object_new(': 'array $parameter | hw_api_object',
\ }
let g:phpcomplete_builtin['functions']['firebird_interbase'] = {
\ 'ibase_add_user(': 'resource $service_handle, string $user_name, string $password [, string $first_name [, string $middle_name [, string $last_name]]] | bool',
\ 'ibase_affected_rows(': '[ resource $link_identifier] | int',
\ 'ibase_backup(': 'resource $service_handle, string $source_db, string $dest_file [, int $options = 0 [, bool $verbose = false]] | mixed',
\ 'ibase_blob_add(': 'resource $blob_handle, string $data | void',
\ 'ibase_blob_cancel(': 'resource $blob_handle | bool',
\ 'ibase_blob_close(': 'resource $blob_handle | mixed',
\ 'ibase_blob_create(': '[ resource $link_identifier = NULL] | resource',
\ 'ibase_blob_echo(': 'string $blob_id | bool',
\ 'ibase_blob_get(': 'resource $blob_handle, int $len | string',
\ 'ibase_blob_import(': 'resource $link_identifier, resource $file_handle | string',
\ 'ibase_blob_info(': 'resource $link_identifier, string $blob_id | array',
\ 'ibase_blob_open(': 'resource $link_identifier, string $blob_id | resource',
\ 'ibase_close(': '[ resource $connection_id = NULL] | bool',
\ 'ibase_commit_ret(': '[ resource $link_or_trans_identifier = NULL] | bool',
\ 'ibase_commit(': '[ resource $link_or_trans_identifier = NULL] | bool',
\ 'ibase_connect(': '[ string $database [, string $username [, string $password [, string $charset [, int $buffers [, int $dialect [, string $role [, int $sync]]]]]]]] | resource',
\ 'ibase_db_info(': 'resource $service_handle, string $db, int $action [, int $argument = 0] | string',
\ 'ibase_delete_user(': 'resource $service_handle, string $user_name | bool',
\ 'ibase_drop_db(': '[ resource $connection = NULL] | bool',
\ 'ibase_errcode(': 'void | int',
\ 'ibase_errmsg(': 'void | string',
\ 'ibase_execute(': 'resource $query [, mixed $bind_arg [, mixed $...]] | resource',
\ 'ibase_fetch_assoc(': 'resource $result [, int $fetch_flag = 0] | array',
\ 'ibase_fetch_object(': 'resource $result_id [, int $fetch_flag = 0] | object',
\ 'ibase_fetch_row(': 'resource $result_identifier [, int $fetch_flag = 0] | array',
\ 'ibase_field_info(': 'resource $result, int $field_number | array',
\ 'ibase_free_event_handler(': 'resource $event | bool',
\ 'ibase_free_query(': 'resource $query | bool',
\ 'ibase_free_result(': 'resource $result_identifier | bool',
\ 'ibase_gen_id(': 'string $generator [, int $increment = 1 [, resource $link_identifier = NULL]] | mixed',
\ 'ibase_maintain_db(': 'resource $service_handle, string $db, int $action [, int $argument = 0] | bool',
\ 'ibase_modify_user(': 'resource $service_handle, string $user_name, string $password [, string $first_name [, string $middle_name [, string $last_name]]] | bool',
\ 'ibase_name_result(': 'resource $result, string $name | bool',
\ 'ibase_num_fields(': 'resource $result_id | int',
\ 'ibase_num_params(': 'resource $query | int',
\ 'ibase_param_info(': 'resource $query, int $param_number | array',
\ 'ibase_pconnect(': '[ string $database [, string $username [, string $password [, string $charset [, int $buffers [, int $dialect [, string $role [, int $sync]]]]]]]] | resource',
\ 'ibase_prepare(': 'string $query | resource',
\ 'ibase_query(': '[ resource $link_identifier [, string $query [, int $bind_args]]] | resource',
\ 'ibase_restore(': 'resource $service_handle, string $source_file, string $dest_db [, int $options = 0 [, bool $verbose = false]] | mixed',
\ 'ibase_rollback_ret(': '[ resource $link_or_trans_identifier = NULL] | bool',
\ 'ibase_rollback(': '[ resource $link_or_trans_identifier = NULL] | bool',
\ 'ibase_server_info(': 'resource $service_handle, int $action | string',
\ 'ibase_service_attach(': 'string $host, string $dba_username, string $dba_password | resource',
\ 'ibase_service_detach(': 'resource $service_handle | bool',
\ 'ibase_set_event_handler(': 'callable $event_handler, string $event_name1 [, string $event_name2 [, string $...]] | resource',
\ 'ibase_trans(': '[ int $trans_args [, resource $link_identifier]] | resource',
\ 'ibase_wait_event(': 'string $event_name1 [, string $event_name2 [, string $...]] | string',
\ }
let g:phpcomplete_builtin['functions']['iconv'] = {
\ 'iconv_get_encoding(': '[ string $type = "all"] | mixed',
\ 'iconv_mime_decode_headers(': 'string $encoded_headers [, int $mode = 0 [, string $charset = ini_get("iconv.internal_encoding")]] | array',
\ 'iconv_mime_decode(': 'string $encoded_header [, int $mode = 0 [, string $charset = ini_get("iconv.internal_encoding")]] | string',
\ 'iconv_mime_encode(': 'string $field_name, string $field_value [, array $preferences = NULL] | string',
\ 'iconv_set_encoding(': 'string $type, string $charset | bool',
\ 'iconv_strlen(': 'string $str [, string $charset = ini_get("iconv.internal_encoding")] | int',
\ 'iconv_strpos(': 'string $haystack, string $needle [, int $offset = 0 [, string $charset = ini_get("iconv.internal_encoding")]] | int',
\ 'iconv_strrpos(': 'string $haystack, string $needle [, string $charset = ini_get("iconv.internal_encoding")] | int',
\ 'iconv_substr(': 'string $str, int $offset [, int $length = iconv_strlen($str, $charset) [, string $charset = ini_get("iconv.internal_encoding")]] | string',
\ 'iconv(': 'string $in_charset, string $out_charset, string $str | string',
\ 'ob_iconv_handler(': 'string $contents, int $status | string',
\ }
let g:phpcomplete_builtin['functions']['id3'] = {
\ 'id3_get_frame_long_name(': 'string $frameId | string',
\ 'id3_get_frame_short_name(': 'string $frameId | string',
\ 'id3_get_genre_id(': 'string $genre | int',
\ 'id3_get_genre_list(': 'void | array',
\ 'id3_get_genre_name(': 'int $genre_id | string',
\ 'id3_get_tag(': 'string $filename [, int $version = ID3_BEST] | array',
\ 'id3_get_version(': 'string $filename | int',
\ 'id3_remove_tag(': 'string $filename [, int $version = ID3_V1_0] | bool',
\ 'id3_set_tag(': 'string $filename, array $tag [, int $version = ID3_V1_0] | bool',
\ }
let g:phpcomplete_builtin['functions']['informix'] = {
\ 'ifx_affected_rows(': 'resource $result_id | int',
\ 'ifx_blobinfile_mode(': 'int $mode | bool',
\ 'ifx_byteasvarchar(': 'int $mode | bool',
\ 'ifx_close(': '[ resource $link_identifier] | bool',
\ 'ifx_connect(': '[ string $database [, string $userid [, string $password]]] | resource',
\ 'ifx_copy_blob(': 'int $bid | int',
\ 'ifx_create_blob(': 'int $type, int $mode, string $param | int',
\ 'ifx_create_char(': 'string $param | int',
\ 'ifx_do(': 'resource $result_id | bool',
\ 'ifx_error(': '[ resource $link_identifier] | string',
\ 'ifx_errormsg(': '[ int $errorcode] | string',
\ 'ifx_fetch_row(': 'resource $result_id [, mixed $position] | array',
\ 'ifx_fieldproperties(': 'resource $result_id | array',
\ 'ifx_fieldtypes(': 'resource $result_id | array',
\ 'ifx_free_blob(': 'int $bid | bool',
\ 'ifx_free_char(': 'int $bid | bool',
\ 'ifx_free_result(': 'resource $result_id | bool',
\ 'ifx_get_blob(': 'int $bid | string',
\ 'ifx_get_char(': 'int $bid | string',
\ 'ifx_getsqlca(': 'resource $result_id | array',
\ 'ifx_htmltbl_result(': 'resource $result_id [, string $html_table_options] | int',
\ 'ifx_nullformat(': 'int $mode | bool',
\ 'ifx_num_fields(': 'resource $result_id | int',
\ 'ifx_num_rows(': 'resource $result_id | int',
\ 'ifx_pconnect(': '[ string $database [, string $userid [, string $password]]] | resource',
\ 'ifx_prepare(': 'string $query, resource $link_identifier [, int $cursor_def [, mixed $blobidarray]] | resource',
\ 'ifx_query(': 'string $query, resource $link_identifier [, int $cursor_type [, mixed $blobidarray]] | resource',
\ 'ifx_textasvarchar(': 'int $mode | bool',
\ 'ifx_update_blob(': 'int $bid, string $content | bool',
\ 'ifx_update_char(': 'int $bid, string $content | bool',
\ 'ifxus_close_slob(': 'int $bid | bool',
\ 'ifxus_create_slob(': 'int $mode | int',
\ 'ifxus_free_slob(': 'int $bid | bool',
\ 'ifxus_open_slob(': 'int $bid, int $mode | int',
\ 'ifxus_read_slob(': 'int $bid, int $nbytes | string',
\ 'ifxus_seek_slob(': 'int $bid, int $mode, int $offset | int',
\ 'ifxus_tell_slob(': 'int $bid | int',
\ 'ifxus_write_slob(': 'int $bid, string $content | int',
\ }
let g:phpcomplete_builtin['functions']['iis'] = {
\ 'iis_add_server(': 'string $path, string $comment, string $server_ip, int $port, string $host_name, int $rights, int $start_server | int',
\ 'iis_get_dir_security(': 'int $server_instance, string $virtual_path | int',
\ 'iis_get_script_map(': 'int $server_instance, string $virtual_path, string $script_extension | string',
\ 'iis_get_server_by_comment(': 'string $comment | int',
\ 'iis_get_server_by_path(': 'string $path | int',
\ 'iis_get_server_rights(': 'int $server_instance, string $virtual_path | int',
\ 'iis_get_service_state(': 'string $service_id | int',
\ 'iis_remove_server(': 'int $server_instance | int',
\ 'iis_set_app_settings(': 'int $server_instance, string $virtual_path, string $application_scope | int',
\ 'iis_set_dir_security(': 'int $server_instance, string $virtual_path, int $directory_flags | int',
\ 'iis_set_script_map(': 'int $server_instance, string $virtual_path, string $script_extension, string $engine_path, int $allow_scripting | int',
\ 'iis_set_server_rights(': 'int $server_instance, string $virtual_path, int $directory_flags | int',
\ 'iis_start_server(': 'int $server_instance | int',
\ 'iis_start_service(': 'string $service_id | int',
\ 'iis_stop_server(': 'int $server_instance | int',
\ 'iis_stop_service(': 'string $service_id | int',
\ }
let g:phpcomplete_builtin['functions']['imap'] = {
\ 'imap_8bit(': 'string $string | string',
\ 'imap_alerts(': 'void | array',
\ 'imap_append(': 'resource $imap_stream, string $mailbox, string $message [, string $options = NULL [, string $internal_date = NULL]] | bool',
\ 'imap_base64(': 'string $text | string',
\ 'imap_binary(': 'string $string | string',
\ 'imap_body(': 'resource $imap_stream, int $msg_number [, int $options = 0] | string',
\ 'imap_bodystruct(': 'resource $imap_stream, int $msg_number, string $section | object',
\ 'imap_check(': 'resource $imap_stream | object',
\ 'imap_clearflag_full(': 'resource $imap_stream, string $sequence, string $flag [, int $options = 0] | bool',
\ 'imap_close(': 'resource $imap_stream [, int $flag = 0] | bool',
\ 'imap_create(': 'imap_create — Alias of imap_createmailbox()',
\ 'imap_createmailbox(': 'resource $imap_stream, string $mailbox | bool',
\ 'imap_delete(': 'resource $imap_stream, int $msg_number [, int $options = 0] | bool',
\ 'imap_deletemailbox(': 'resource $imap_stream, string $mailbox | bool',
\ 'imap_errors(': 'void | array',
\ 'imap_expunge(': 'resource $imap_stream | bool',
\ 'imap_fetch_overview(': 'resource $imap_stream, string $sequence [, int $options = 0] | array',
\ 'imap_fetchbody(': 'resource $imap_stream, int $msg_number, string $section [, int $options = 0] | string',
\ 'imap_fetchheader(': 'resource $imap_stream, int $msg_number [, int $options = 0] | string',
\ 'imap_fetchmime(': 'resource $imap_stream, int $msg_number, string $section [, int $options = 0] | string',
\ 'imap_fetchstructure(': 'resource $imap_stream, int $msg_number [, int $options = 0] | object',
\ 'imap_fetchtext(': 'imap_fetchtext — Alias of imap_body()',
\ 'imap_gc(': 'resource $imap_stream, int $caches | bool',
\ 'imap_get_quota(': 'resource $imap_stream, string $quota_root | array',
\ 'imap_get_quotaroot(': 'resource $imap_stream, string $quota_root | array',
\ 'imap_getacl(': 'resource $imap_stream, string $mailbox | array',
\ 'imap_getmailboxes(': 'resource $imap_stream, string $ref, string $pattern | array',
\ 'imap_getsubscribed(': 'resource $imap_stream, string $ref, string $pattern | array',
\ 'imap_header(': 'imap_header — Alias of imap_headerinfo()',
\ 'imap_headerinfo(': 'resource $imap_stream, int $msg_number [, int $fromlength = 0 [, int $subjectlength = 0 [, string $defaulthost = NULL]]] | object',
\ 'imap_headers(': 'resource $imap_stream | array',
\ 'imap_last_error(': 'void | string',
\ 'imap_list(': 'resource $imap_stream, string $ref, string $pattern | array',
\ 'imap_listmailbox(': 'imap_listmailbox — Alias of imap_list()',
\ 'imap_listscan(': 'resource $imap_stream, string $ref, string $pattern, string $content | array',
\ 'imap_listsubscribed(': 'imap_listsubscribed — Alias of imap_lsub()',
\ 'imap_lsub(': 'resource $imap_stream, string $ref, string $pattern | array',
\ 'imap_mail_compose(': 'array $envelope, array $body | string',
\ 'imap_mail_copy(': 'resource $imap_stream, string $msglist, string $mailbox [, int $options = 0] | bool',
\ 'imap_mail_move(': 'resource $imap_stream, string $msglist, string $mailbox [, int $options = 0] | bool',
\ 'imap_mail(': 'string $to, string $subject, string $message [, string $additional_headers = NULL [, string $cc = NULL [, string $bcc = NULL [, string $rpath = NULL]]]] | bool',
\ 'imap_mailboxmsginfo(': 'resource $imap_stream | object',
\ 'imap_mime_header_decode(': 'string $text | array',
\ 'imap_msgno(': 'resource $imap_stream, int $uid | int',
\ 'imap_num_msg(': 'resource $imap_stream | int',
\ 'imap_num_recent(': 'resource $imap_stream | int',
\ 'imap_open(': 'string $mailbox, string $username, string $password [, int $options = 0 [, int $n_retries = 0 [, array $params = NULL]]] | resource',
\ 'imap_ping(': 'resource $imap_stream | bool',
\ 'imap_qprint(': 'string $string | string',
\ 'imap_rename(': 'imap_rename — Alias of imap_renamemailbox()',
\ 'imap_renamemailbox(': 'resource $imap_stream, string $old_mbox, string $new_mbox | bool',
\ 'imap_reopen(': 'resource $imap_stream, string $mailbox [, int $options = 0 [, int $n_retries = 0]] | bool',
\ 'imap_rfc822_parse_adrlist(': 'string $address, string $default_host | array',
\ 'imap_rfc822_parse_headers(': 'string $headers [, string $defaulthost = "UNKNOWN"] | object',
\ 'imap_rfc822_write_address(': 'string $mailbox, string $host, string $personal | string',
\ 'imap_savebody(': 'resource $imap_stream, mixed $file, int $msg_number [, string $part_number = "" [, int $options = 0]] | bool',
\ 'imap_scan(': 'imap_scan — Alias of imap_listscan()',
\ 'imap_scanmailbox(': 'imap_scanmailbox — Alias of imap_listscan()',
\ 'imap_search(': 'resource $imap_stream, string $criteria [, int $options = SE_FREE [, string $charset = NIL]] | array',
\ 'imap_set_quota(': 'resource $imap_stream, string $quota_root, int $quota_limit | bool',
\ 'imap_setacl(': 'resource $imap_stream, string $mailbox, string $id, string $rights | bool',
\ 'imap_setflag_full(': 'resource $imap_stream, string $sequence, string $flag [, int $options = NIL] | bool',
\ 'imap_sort(': 'resource $imap_stream, int $criteria, int $reverse [, int $options = 0 [, string $search_criteria = NULL [, string $charset = NIL]]] | array',
\ 'imap_status(': 'resource $imap_stream, string $mailbox, int $options | object',
\ 'imap_subscribe(': 'resource $imap_stream, string $mailbox | bool',
\ 'imap_thread(': 'resource $imap_stream [, int $options = SE_FREE] | array',
\ 'imap_timeout(': 'int $timeout_type [, int $timeout = -1] | mixed',
\ 'imap_uid(': 'resource $imap_stream, int $msg_number | int',
\ 'imap_undelete(': 'resource $imap_stream, int $msg_number [, int $flags = 0] | bool',
\ 'imap_unsubscribe(': 'resource $imap_stream, string $mailbox | bool',
\ 'imap_utf7_decode(': 'string $text | string',
\ 'imap_utf7_encode(': 'string $data | string',
\ 'imap_utf8(': 'string $mime_encoded_text | string',
\ }
let g:phpcomplete_builtin['functions']['inclued'] = {
\ 'inclued_get_data(': 'void | array',
\ }
let g:phpcomplete_builtin['functions']['ingres'] = {
\ 'ingres_autocommit_state(': 'resource $link | bool',
\ 'ingres_autocommit(': 'resource $link | bool',
\ 'ingres_charset(': 'resource $link | string',
\ 'ingres_close(': 'resource $link | bool',
\ 'ingres_commit(': 'resource $link | bool',
\ 'ingres_connect(': '[ string $database [, string $username [, string $password [, array $options]]]] | resource',
\ 'ingres_cursor(': 'resource $result | string',
\ 'ingres_errno(': '[ resource $link] | int',
\ 'ingres_error(': '[ resource $link] | string',
\ 'ingres_errsqlstate(': '[ resource $link] | string',
\ 'ingres_escape_string(': 'resource $link, string $source_string | string',
\ 'ingres_execute(': 'resource $result [, array $params [, string $types]] | bool',
\ 'ingres_fetch_array(': 'resource $result [, int $result_type] | array',
\ 'ingres_fetch_assoc(': 'resource $result | array',
\ 'ingres_fetch_object(': 'resource $result [, int $result_type] | object',
\ 'ingres_fetch_proc_return(': 'resource $result | int',
\ 'ingres_fetch_row(': 'resource $result | array',
\ 'ingres_field_length(': 'resource $result, int $index | int',
\ 'ingres_field_name(': 'resource $result, int $index | string',
\ 'ingres_field_nullable(': 'resource $result, int $index | bool',
\ 'ingres_field_precision(': 'resource $result, int $index | int',
\ 'ingres_field_scale(': 'resource $result, int $index | int',
\ 'ingres_field_type(': 'resource $result, int $index | string',
\ 'ingres_free_result(': 'resource $result | bool',
\ 'ingres_next_error(': '[ resource $link] | bool',
\ 'ingres_num_fields(': 'resource $result | int',
\ 'ingres_num_rows(': 'resource $result | int',
\ 'ingres_pconnect(': '[ string $database [, string $username [, string $password [, array $options]]]] | resource',
\ 'ingres_prepare(': 'resource $link, string $query | mixed',
\ 'ingres_query(': 'resource $link, string $query [, array $params [, string $types]] | mixed',
\ 'ingres_result_seek(': 'resource $result, int $position | bool',
\ 'ingres_rollback(': 'resource $link | bool',
\ 'ingres_set_environment(': 'resource $link, array $options | bool',
\ 'ingres_unbuffered_query(': 'resource $link, string $query [, array $params [, string $types]] | mixed',
\ }
let g:phpcomplete_builtin['functions']['inotify'] = {
\ 'inotify_add_watch(': 'resource $inotify_instance, string $pathname, int $mask | int',
\ 'inotify_init(': 'void | resource',
\ 'inotify_queue_len(': 'resource $inotify_instance | int',
\ 'inotify_read(': 'resource $inotify_instance | array',
\ 'inotify_rm_watch(': 'resource $inotify_instance, int $watch_descriptor | bool',
\ }
let g:phpcomplete_builtin['functions']['soap'] = {
\ 'is_soap_fault(': 'mixed $object | bool',
\ 'use_soap_error_handler(': '[ bool $handler = true] | bool',
\ }
let g:phpcomplete_builtin['functions']['taint'] = {
\ 'is_tainted(': 'string $string | bool',
\ 'taint(': 'string &$string [, string $...] | bool',
\ 'untaint(': 'string &$string [, string $...] | bool',
\ }
let g:phpcomplete_builtin['functions']['java'] = {
\ 'java_last_exception_clear(': 'void | void',
\ 'java_last_exception_get(': 'void | object',
\ }
let g:phpcomplete_builtin['functions']['json'] = {
\ 'json_decode(': 'string $json [, bool $assoc = false [, int $depth = 512 [, int $options = 0]]] | mixed',
\ 'json_encode(': 'mixed $value [, int $options = 0 [, int $depth = 512]] | string',
\ 'json_last_error_msg(': 'void | string',
\ 'json_last_error(': 'void | int',
\ }
let g:phpcomplete_builtin['functions']['judy'] = {
\ 'judy_type(': 'Judy $array | int',
\ 'judy_version(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['kadm5'] = {
\ 'kadm5_chpass_principal(': 'resource $handle, string $principal, string $password | bool',
\ 'kadm5_create_principal(': 'resource $handle, string $principal [, string $password [, array $options]] | bool',
\ 'kadm5_delete_principal(': 'resource $handle, string $principal | bool',
\ 'kadm5_destroy(': 'resource $handle | bool',
\ 'kadm5_flush(': 'resource $handle | bool',
\ 'kadm5_get_policies(': 'resource $handle | array',
\ 'kadm5_get_principal(': 'resource $handle, string $principal | array',
\ 'kadm5_get_principals(': 'resource $handle | array',
\ 'kadm5_init_with_password(': 'string $admin_server, string $realm, string $principal, string $password | resource',
\ 'kadm5_modify_principal(': 'resource $handle, string $principal, array $options | bool',
\ }
let g:phpcomplete_builtin['functions']['ldap'] = {
\ 'ldap_8859_to_t61(': 'string $value | string',
\ 'ldap_add(': 'resource $link_identifier, string $dn, array $entry | bool',
\ 'ldap_bind(': 'resource $link_identifier [, string $bind_rdn = NULL [, string $bind_password = NULL]] | bool',
\ 'ldap_close(': 'ldap_close — Alias of ldap_unbind()',
\ 'ldap_compare(': 'resource $link_identifier, string $dn, string $attribute, string $value | mixed',
\ 'ldap_connect(': '[ string $hostname = NULL [, int $port = 389]] | resource',
\ 'ldap_control_paged_result_response(': 'resource $link, resource $result [, string &$cookie [, int &$estimated]] | bool',
\ 'ldap_control_paged_result(': 'resource $link, int $pagesize [, bool $iscritical = false [, string $cookie = ""]] | bool',
\ 'ldap_count_entries(': 'resource $link_identifier, resource $result_identifier | int',
\ 'ldap_delete(': 'resource $link_identifier, string $dn | bool',
\ 'ldap_dn2ufn(': 'string $dn | string',
\ 'ldap_err2str(': 'int $errno | string',
\ 'ldap_errno(': 'resource $link_identifier | int',
\ 'ldap_error(': 'resource $link_identifier | string',
\ 'ldap_explode_dn(': 'string $dn, int $with_attrib | array',
\ 'ldap_first_attribute(': 'resource $link_identifier, resource $result_entry_identifier | string',
\ 'ldap_first_entry(': 'resource $link_identifier, resource $result_identifier | resource',
\ 'ldap_first_reference(': 'resource $link, resource $result | resource',
\ 'ldap_free_result(': 'resource $result_identifier | bool',
\ 'ldap_get_attributes(': 'resource $link_identifier, resource $result_entry_identifier | array',
\ 'ldap_get_dn(': 'resource $link_identifier, resource $result_entry_identifier | string',
\ 'ldap_get_entries(': 'resource $link_identifier, resource $result_identifier | array',
\ 'ldap_get_option(': 'resource $link_identifier, int $option, mixed &$retval | bool',
\ 'ldap_get_values_len(': 'resource $link_identifier, resource $result_entry_identifier, string $attribute | array',
\ 'ldap_get_values(': 'resource $link_identifier, resource $result_entry_identifier, string $attribute | array',
\ 'ldap_list(': 'resource $link_identifier, string $base_dn, string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref]]]]] | resource',
\ 'ldap_mod_add(': 'resource $link_identifier, string $dn, array $entry | bool',
\ 'ldap_mod_del(': 'resource $link_identifier, string $dn, array $entry | bool',
\ 'ldap_mod_replace(': 'resource $link_identifier, string $dn, array $entry | bool',
\ 'ldap_modify(': 'resource $link_identifier, string $dn, array $entry | bool',
\ 'ldap_next_attribute(': 'resource $link_identifier, resource $result_entry_identifier | string',
\ 'ldap_next_entry(': 'resource $link_identifier, resource $result_entry_identifier | resource',
\ 'ldap_next_reference(': 'resource $link, resource $entry | resource',
\ 'ldap_parse_reference(': 'resource $link, resource $entry, array &$referrals | bool',
\ 'ldap_parse_result(': 'resource $link, resource $result, int &$errcode [, string &$matcheddn [, string &$errmsg [, array &$referrals]]] | bool',
\ 'ldap_read(': 'resource $link_identifier, string $base_dn, string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref]]]]] | resource',
\ 'ldap_rename(': 'resource $link_identifier, string $dn, string $newrdn, string $newparent, bool $deleteoldrdn | bool',
\ 'ldap_sasl_bind(': 'resource $link [, string $binddn = NULL [, string $password = NULL [, string $sasl_mech = NULL [, string $sasl_realm = NULL [, string $sasl_authc_id = NULL [, string $sasl_authz_id = NULL [, string $props = NULL]]]]]]] | bool',
\ 'ldap_search(': 'resource $link_identifier, string $base_dn, string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref]]]]] | resource',
\ 'ldap_set_option(': 'resource $link_identifier, int $option, mixed $newval | bool',
\ 'ldap_set_rebind_proc(': 'resource $link, callable $callback | bool',
\ 'ldap_sort(': 'resource $link, resource $result, string $sortfilter | bool',
\ 'ldap_start_tls(': 'resource $link | bool',
\ 'ldap_t61_to_8859(': 'string $value | string',
\ 'ldap_unbind(': 'resource $link_identifier | bool',
\ }
let g:phpcomplete_builtin['functions']['libxml'] = {
\ 'libxml_clear_errors(': 'void | void',
\ 'libxml_disable_entity_loader(': '[ bool $disable = true] | bool',
\ 'libxml_get_errors(': 'void | array',
\ 'libxml_get_last_error(': 'void | LibXMLError',
\ 'libxml_set_external_entity_loader(': 'callable $resolver_function | void',
\ 'libxml_set_streams_context(': 'resource $streams_context | void',
\ 'libxml_use_internal_errors(': '[ bool $use_errors = false] | bool',
\ }
let g:phpcomplete_builtin['functions']['lzf'] = {
\ 'lzf_compress(': 'string $data | string',
\ 'lzf_decompress(': 'string $data | string',
\ 'lzf_optimized_for(': 'void | int',
\ }
let g:phpcomplete_builtin['functions']['mcve'] = {
\ 'm_checkstatus(': 'resource $conn, int $identifier | int',
\ 'm_completeauthorizations(': 'resource $conn, int &$array | int',
\ 'm_connect(': 'resource $conn | int',
\ 'm_connectionerror(': 'resource $conn | string',
\ 'm_deletetrans(': 'resource $conn, int $identifier | bool',
\ 'm_destroyconn(': 'resource $conn | bool',
\ 'm_destroyengine(': 'void | void',
\ 'm_getcell(': 'resource $conn, int $identifier, string $column, int $row | string',
\ 'm_getcellbynum(': 'resource $conn, int $identifier, int $column, int $row | string',
\ 'm_getcommadelimited(': 'resource $conn, int $identifier | string',
\ 'm_getheader(': 'resource $conn, int $identifier, int $column_num | string',
\ 'm_initconn(': 'void | resource',
\ 'm_initengine(': 'string $location | int',
\ 'm_iscommadelimited(': 'resource $conn, int $identifier | int',
\ 'm_maxconntimeout(': 'resource $conn, int $secs | bool',
\ 'm_monitor(': 'resource $conn | int',
\ 'm_numcolumns(': 'resource $conn, int $identifier | int',
\ 'm_numrows(': 'resource $conn, int $identifier | int',
\ 'm_parsecommadelimited(': 'resource $conn, int $identifier | int',
\ 'm_responsekeys(': 'resource $conn, int $identifier | array',
\ 'm_responseparam(': 'resource $conn, int $identifier, string $key | string',
\ 'm_returnstatus(': 'resource $conn, int $identifier | int',
\ 'm_setblocking(': 'resource $conn, int $tf | int',
\ 'm_setdropfile(': 'resource $conn, string $directory | int',
\ 'm_setip(': 'resource $conn, string $host, int $port | int',
\ 'm_setssl_cafile(': 'resource $conn, string $cafile | int',
\ 'm_setssl_files(': 'resource $conn, string $sslkeyfile, string $sslcertfile | int',
\ 'm_setssl(': 'resource $conn, string $host, int $port | int',
\ 'm_settimeout(': 'resource $conn, int $seconds | int',
\ 'm_sslcert_gen_hash(': 'string $filename | string',
\ 'm_transactionssent(': 'resource $conn | int',
\ 'm_transinqueue(': 'resource $conn | int',
\ 'm_transkeyval(': 'resource $conn, int $identifier, string $key, string $value | int',
\ 'm_transnew(': 'resource $conn | int',
\ 'm_transsend(': 'resource $conn, int $identifier | int',
\ 'm_uwait(': 'int $microsecs | int',
\ 'm_validateidentifier(': 'resource $conn, int $tf | int',
\ 'm_verifyconnection(': 'resource $conn, int $tf | bool',
\ 'm_verifysslcert(': 'resource $conn, int $tf | bool',
\ }
let g:phpcomplete_builtin['functions']['mailparse'] = {
\ 'mailparse_determine_best_xfer_encoding(': 'resource $fp | string',
\ 'mailparse_msg_create(': 'void | resource',
\ 'mailparse_msg_extract_part_file(': 'resource $mimemail, mixed $filename [, callable $callbackfunc] | string',
\ 'mailparse_msg_extract_part(': 'resource $mimemail, string $msgbody [, callable $callbackfunc] | void',
\ 'mailparse_msg_extract_whole_part_file(': 'resource $mimemail, string $filename [, callable $callbackfunc] | string',
\ 'mailparse_msg_free(': 'resource $mimemail | bool',
\ 'mailparse_msg_get_part_data(': 'resource $mimemail | array',
\ 'mailparse_msg_get_part(': 'resource $mimemail, string $mimesection | resource',
\ 'mailparse_msg_get_structure(': 'resource $mimemail | array',
\ 'mailparse_msg_parse_file(': 'string $filename | resource',
\ 'mailparse_msg_parse(': 'resource $mimemail, string $data | bool',
\ 'mailparse_rfc822_parse_addresses(': 'string $addresses | array',
\ 'mailparse_stream_encode(': 'resource $sourcefp, resource $destfp, string $encoding | bool',
\ 'mailparse_uudecode_all(': 'resource $fp | array',
\ }
let g:phpcomplete_builtin['functions']['maxdb'] = {
\ 'maxdb_affected_rows(': 'resource $link | int',
\ 'maxdb_autocommit(': 'resource $link, bool $mode | bool',
\ 'maxdb_bind_param(': 'maxdb_bind_param — Alias of maxdb_stmt_bind_param()',
\ 'maxdb_bind_result(': 'maxdb_bind_result — Alias of maxdb_stmt_bind_result()',
\ 'maxdb_change_user(': 'resource $link, string $user, string $password, string $database | bool',
\ 'maxdb_character_set_name(': 'resource $link | string',
\ 'maxdb_client_encoding(': 'maxdb_client_encoding — Alias of maxdb_character_set_name()',
\ 'maxdb_close_long_data(': 'maxdb_close_long_data — Alias of maxdb_stmt_close_long_data()',
\ 'maxdb_close(': 'resource $link | bool',
\ 'maxdb_commit(': 'resource $link | bool',
\ 'maxdb_connect_errno(': 'void | int',
\ 'maxdb_connect_error(': 'void | string',
\ 'maxdb_connect(': '[ string $host [, string $username [, string $passwd [, string $dbname [, int $port = 0 [, string $socket]]]]]] | resource',
\ 'maxdb_data_seek(': 'resource $result, int $offset | bool',
\ 'maxdb_debug(': 'string $debug | void',
\ 'maxdb_disable_reads_from_master(': 'resource $link | bool',
\ 'maxdb_disable_rpl_parse(': 'resource $link | bool',
\ 'maxdb_dump_debug_info(': 'resource $link | bool',
\ 'maxdb_embedded_connect(': '[ string $dbname] | resource',
\ 'maxdb_enable_reads_from_master(': 'resource $link | bool',
\ 'maxdb_enable_rpl_parse(': 'resource $link | bool',
\ 'maxdb_errno(': 'resource $link | int',
\ 'maxdb_error(': 'resource $link | string',
\ 'maxdb_escape_string(': 'maxdb_escape_string — Alias of maxdb_real_escape_string()',
\ 'maxdb_execute(': 'maxdb_execute — Alias of maxdb_stmt_execute()',
\ 'maxdb_fetch_array(': 'resource $result [, int $resulttype] | mixed',
\ 'maxdb_fetch_assoc(': 'resource $result | array',
\ 'maxdb_fetch_field_direct(': 'resource $result, int $fieldnr | mixed',
\ 'maxdb_fetch_field(': 'resource $result | mixed',
\ 'maxdb_fetch_fields(': 'resource $result | mixed',
\ 'maxdb_fetch_lengths(': 'resource $result | array',
\ 'maxdb_fetch_object(': 'object $result | object',
\ 'maxdb_fetch_row(': 'resource $result | mixed',
\ 'maxdb_fetch(': 'maxdb_fetch — Alias of maxdb_stmt_fetch()',
\ 'maxdb_field_count(': 'resource $link | int',
\ 'maxdb_field_seek(': 'resource $result, int $fieldnr | bool',
\ 'maxdb_field_tell(': 'resource $result | int',
\ 'maxdb_free_result(': 'resource $result | void',
\ 'maxdb_get_client_info(': 'void | string',
\ 'maxdb_get_client_version(': 'void | int',
\ 'maxdb_get_host_info(': 'resource $link | string',
\ 'maxdb_get_metadata(': 'maxdb_get_metadata — Alias of maxdb_stmt_result_metadata()',
\ 'maxdb_get_proto_info(': 'resource $link | int',
\ 'maxdb_get_server_info(': 'resource $link | string',
\ 'maxdb_get_server_version(': 'resource $link | int',
\ 'maxdb_info(': 'resource $link | string',
\ 'maxdb_init(': 'void | resource',
\ 'maxdb_insert_id(': 'resource $link | mixed',
\ 'maxdb_kill(': 'resource $link, int $processid | bool',
\ 'maxdb_master_query(': 'resource $link, string $query | bool',
\ 'maxdb_more_results(': 'resource $link | bool',
\ 'maxdb_multi_query(': 'resource $link, string $query | bool',
\ 'maxdb_next_result(': 'resource $link | bool',
\ 'maxdb_num_fields(': 'resource $result | int',
\ 'maxdb_num_rows(': 'resource $result | int',
\ 'maxdb_options(': 'resource $link, int $option, mixed $value | bool',
\ 'maxdb_param_count(': 'maxdb_param_count — Alias of maxdb_stmt_param_count()',
\ 'maxdb_ping(': 'resource $link | bool',
\ 'maxdb_prepare(': 'resource $link, string $query | resource',
\ 'maxdb_query(': 'resource $link, string $query [, int $resultmode] | mixed',
\ 'maxdb_real_connect(': 'resource $link [, string $hostname [, string $username [, string $passwd [, string $dbname [, int $port = 0 [, string $socket]]]]]] | bool',
\ 'maxdb_real_escape_string(': 'resource $link, string $escapestr | string',
\ 'maxdb_real_query(': 'resource $link, string $query | bool',
\ 'maxdb_report(': 'int $flags | bool',
\ 'maxdb_rollback(': 'resource $link | bool',
\ 'maxdb_rpl_parse_enabled(': 'resource $link | int',
\ 'maxdb_rpl_probe(': 'resource $link | bool',
\ 'maxdb_rpl_query_type(': 'resource $link | int',
\ 'maxdb_select_db(': 'resource $link, string $dbname | bool',
\ 'maxdb_send_long_data(': 'maxdb_send_long_data — Alias of maxdb_stmt_send_long_data()',
\ 'maxdb_send_query(': 'resource $link, string $query | bool',
\ 'maxdb_server_end(': 'void | void',
\ 'maxdb_server_init(': '[ array $server [, array $groups]] | bool',
\ 'maxdb_set_opt(': 'maxdb_set_opt — Alias of maxdb_options()',
\ 'maxdb_sqlstate(': 'resource $link | string',
\ 'maxdb_ssl_set(': 'resource $link, string $key, string $cert, string $ca, string $capath, string $cipher | bool',
\ 'maxdb_stat(': 'resource $link | string',
\ 'maxdb_stmt_affected_rows(': 'resource $stmt | int',
\ 'maxdb_stmt_bind_param(': 'resource $stmt, string $types, mixed &$var1 [, mixed &$...] | bool',
\ 'maxdb_stmt_bind_result(': 'resource $stmt, mixed &$var1 [, mixed &$...] | bool',
\ 'maxdb_stmt_close_long_data(': 'resource $stmt, int $param_nr | bool',
\ 'maxdb_stmt_close(': 'resource $stmt | bool',
\ 'maxdb_stmt_data_seek(': 'resource $statement, int $offset | bool',
\ 'maxdb_stmt_errno(': 'resource $stmt | int',
\ 'maxdb_stmt_error(': 'resource $stmt | string',
\ 'maxdb_stmt_execute(': 'resource $stmt | bool',
\ 'maxdb_stmt_fetch(': 'resource $stmt | bool',
\ 'maxdb_stmt_free_result(': 'resource $stmt | void',
\ 'maxdb_stmt_init(': 'resource $link | resource',
\ 'maxdb_stmt_num_rows(': 'resource $stmt | int',
\ 'maxdb_stmt_param_count(': 'resource $stmt | int',
\ 'maxdb_stmt_prepare(': 'resource $stmt, string $query | bool',
\ 'maxdb_stmt_reset(': 'resource $stmt | bool',
\ 'maxdb_stmt_result_metadata(': 'resource $stmt | resource',
\ 'maxdb_stmt_send_long_data(': 'resource $stmt, int $param_nr, string $data | bool',
\ 'maxdb_stmt_sqlstate(': 'resource $stmt | string',
\ 'maxdb_stmt_store_result(': 'resource $stmt | bool',
\ 'maxdb_store_result(': 'resource $link | resource',
\ 'maxdb_thread_id(': 'resource $link | int',
\ 'maxdb_thread_safe(': 'void | bool',
\ 'maxdb_use_result(': 'resource $link | resource',
\ 'maxdb_warning_count(': 'resource $link | int',
\ }
let g:phpcomplete_builtin['functions']['multibyte_string'] = {
\ 'mb_check_encoding(': '[ string $var = NULL [, string $encoding = mb_internal_encoding()]] | bool',
\ 'mb_convert_case(': 'string $str, int $mode [, string $encoding = mb_internal_encoding()] | string',
\ 'mb_convert_encoding(': 'string $str, string $to_encoding [, mixed $from_encoding = mb_internal_encoding()] | string',
\ 'mb_convert_kana(': 'string $str [, string $option = "KV" [, string $encoding = mb_internal_encoding()]] | string',
\ 'mb_convert_variables(': 'string $to_encoding, mixed $from_encoding, mixed &$vars [, mixed &$...] | string',
\ 'mb_decode_mimeheader(': 'string $str | string',
\ 'mb_decode_numericentity(': 'string $str, array $convmap [, string $encoding = mb_internal_encoding()] | string',
\ 'mb_detect_encoding(': 'string $str [, mixed $encoding_list = mb_detect_order() [, bool $strict = false]] | string',
\ 'mb_detect_order(': '[ mixed $encoding_list = mb_detect_order()] | mixed',
\ 'mb_encode_mimeheader(': 'string $str [, string $charset = mb_internal_encoding() [, string $transfer_encoding = "B" [, string $linefeed = "\r\n" [, int $indent = 0]]]] | string',
\ 'mb_encode_numericentity(': 'string $str, array $convmap [, string $encoding = mb_internal_encoding() [, bool $is_hex = FALSE]] | string',
\ 'mb_encoding_aliases(': 'string $encoding | array',
\ 'mb_ereg_match(': 'string $pattern, string $string [, string $option = "msr"] | bool',
\ 'mb_ereg_replace_callback(': 'string $pattern, callable $callback, string $string [, string $option = "msr"] | string',
\ 'mb_ereg_replace(': 'string $pattern, string $replacement, string $string [, string $option = "msr"] | string',
\ 'mb_ereg_search_getpos(': 'void | int',
\ 'mb_ereg_search_getregs(': 'void | array',
\ 'mb_ereg_search_init(': 'string $string [, string $pattern [, string $option = "msr"]] | bool',
\ 'mb_ereg_search_pos(': '[ string $pattern [, string $option = "ms"]] | array',
\ 'mb_ereg_search_regs(': '[ string $pattern [, string $option = "ms"]] | array',
\ 'mb_ereg_search_setpos(': 'int $position | bool',
\ 'mb_ereg_search(': '[ string $pattern [, string $option = "ms"]] | bool',
\ 'mb_ereg(': 'string $pattern, string $string [, array $regs] | int',
\ 'mb_eregi_replace(': 'string $pattern, string $replace, string $string [, string $option = "msri"] | string',
\ 'mb_eregi(': 'string $pattern, string $string [, array $regs] | int',
\ 'mb_get_info(': '[ string $type = "all"] | mixed',
\ 'mb_http_input(': '[ string $type = ""] | mixed',
\ 'mb_http_output(': '[ string $encoding = mb_http_output()] | mixed',
\ 'mb_internal_encoding(': '[ string $encoding = mb_internal_encoding()] | mixed',
\ 'mb_language(': '[ string $language = mb_language()] | mixed',
\ 'mb_list_encodings(': 'void | array',
\ 'mb_output_handler(': 'string $contents, int $status | string',
\ 'mb_parse_str(': 'string $encoded_string [, array &$result] | bool',
\ 'mb_preferred_mime_name(': 'string $encoding | string',
\ 'mb_regex_encoding(': '[ string $encoding = mb_regex_encoding()] | mixed',
\ 'mb_regex_set_options(': '[ string $options = mb_regex_set_options()] | string',
\ 'mb_send_mail(': 'string $to, string $subject, string $message [, string $additional_headers = NULL [, string $additional_parameter = NULL]] | bool',
\ 'mb_split(': 'string $pattern, string $string [, int $limit = -1] | array',
\ 'mb_strcut(': 'string $str, int $start [, int $length = NULL [, string $encoding = mb_internal_encoding()]] | string',
\ 'mb_strimwidth(': 'string $str, int $start, int $width [, string $trimmarker = "" [, string $encoding = mb_internal_encoding()]] | string',
\ 'mb_stripos(': 'string $haystack, string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding()]] | int',
\ 'mb_stristr(': 'string $haystack, string $needle [, bool $before_needle = false [, string $encoding = mb_internal_encoding()]] | string',
\ 'mb_strlen(': 'string $str [, string $encoding = mb_internal_encoding()] | int',
\ 'mb_strpos(': 'string $haystack, string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding()]] | int',
\ 'mb_strrchr(': 'string $haystack, string $needle [, bool $part = false [, string $encoding = mb_internal_encoding()]] | string',
\ 'mb_strrichr(': 'string $haystack, string $needle [, bool $part = false [, string $encoding = mb_internal_encoding()]] | string',
\ 'mb_strripos(': 'string $haystack, string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding()]] | int',
\ 'mb_strrpos(': 'string $haystack, string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding()]] | int',
\ 'mb_strstr(': 'string $haystack, string $needle [, bool $before_needle = false [, string $encoding = mb_internal_encoding()]] | string',
\ 'mb_strtolower(': 'string $str [, string $encoding = mb_internal_encoding()] | string',
\ 'mb_strtoupper(': 'string $str [, string $encoding = mb_internal_encoding()] | string',
\ 'mb_strwidth(': 'string $str [, string $encoding = mb_internal_encoding()] | int',
\ 'mb_substitute_character(': '[ mixed $substrchar = mb_substitute_character()] | mixed',
\ 'mb_substr_count(': 'string $haystack, string $needle [, string $encoding = mb_internal_encoding()] | int',
\ 'mb_substr(': 'string $str, int $start [, int $length = NULL [, string $encoding = mb_internal_encoding()]] | string',
\ }
let g:phpcomplete_builtin['functions']['mcrypt'] = {
\ 'mcrypt_cbc(': 'int $cipher, string $key, string $data, int $mode [, string $iv] | string',
\ 'mcrypt_cfb(': 'int $cipher, string $key, string $data, int $mode, string $iv | string',
\ 'mcrypt_create_iv(': 'int $size [, int $source = MCRYPT_DEV_RANDOM] | string',
\ 'mcrypt_decrypt(': 'string $cipher, string $key, string $data, string $mode [, string $iv] | string',
\ 'mcrypt_ecb(': 'int $cipher, string $key, string $data, int $mode | string',
\ 'mcrypt_enc_get_algorithms_name(': 'resource $td | string',
\ 'mcrypt_enc_get_block_size(': 'resource $td | int',
\ 'mcrypt_enc_get_iv_size(': 'resource $td | int',
\ 'mcrypt_enc_get_key_size(': 'resource $td | int',
\ 'mcrypt_enc_get_modes_name(': 'resource $td | string',
\ 'mcrypt_enc_get_supported_key_sizes(': 'resource $td | array',
\ 'mcrypt_enc_is_block_algorithm_mode(': 'resource $td | bool',
\ 'mcrypt_enc_is_block_algorithm(': 'resource $td | bool',
\ 'mcrypt_enc_is_block_mode(': 'resource $td | bool',
\ 'mcrypt_enc_self_test(': 'resource $td | int',
\ 'mcrypt_encrypt(': 'string $cipher, string $key, string $data, string $mode [, string $iv] | string',
\ 'mcrypt_generic_deinit(': 'resource $td | bool',
\ 'mcrypt_generic_end(': 'resource $td | bool',
\ 'mcrypt_generic_init(': 'resource $td, string $key, string $iv | int',
\ 'mcrypt_generic(': 'resource $td, string $data | string',
\ 'mcrypt_get_block_size(': 'int $cipher | int',
\ 'mcrypt_get_cipher_name(': 'int $cipher | string',
\ 'mcrypt_get_iv_size(': 'string $cipher, string $mode | int',
\ 'mcrypt_get_key_size(': 'int $cipher | int',
\ 'mcrypt_list_algorithms(': '[ string $lib_dir = ini_get("mcrypt.algorithms_dir")] | array',
\ 'mcrypt_list_modes(': '[ string $lib_dir = ini_get("mcrypt.modes_dir")] | array',
\ 'mcrypt_module_close(': 'resource $td | bool',
\ 'mcrypt_module_get_algo_block_size(': 'string $algorithm [, string $lib_dir] | int',
\ 'mcrypt_module_get_algo_key_size(': 'string $algorithm [, string $lib_dir] | int',
\ 'mcrypt_module_get_supported_key_sizes(': 'string $algorithm [, string $lib_dir] | array',
\ 'mcrypt_module_is_block_algorithm_mode(': 'string $mode [, string $lib_dir] | bool',
\ 'mcrypt_module_is_block_algorithm(': 'string $algorithm [, string $lib_dir] | bool',
\ 'mcrypt_module_is_block_mode(': 'string $mode [, string $lib_dir] | bool',
\ 'mcrypt_module_open(': 'string $algorithm, string $algorithm_directory, string $mode, string $mode_directory | resource',
\ 'mcrypt_module_self_test(': 'string $algorithm [, string $lib_dir] | bool',
\ 'mcrypt_ofb(': 'int $cipher, string $key, string $data, int $mode, string $iv | string',
\ 'mdecrypt_generic(': 'resource $td, string $data | string',
\ }
let g:phpcomplete_builtin['functions']['memcache'] = {
\ 'memcache_debug(': 'bool $on_off | bool',
\ }
let g:phpcomplete_builtin['functions']['mhash'] = {
\ 'mhash_count(': 'void | int',
\ 'mhash_get_block_size(': 'int $hash | int',
\ 'mhash_get_hash_name(': 'int $hash | string',
\ 'mhash_keygen_s2k(': 'int $hash, string $password, string $salt, int $bytes | string',
\ 'mhash(': 'int $hash, string $data [, string $key] | string',
\ }
let g:phpcomplete_builtin['functions']['ming'] = {
\ 'ming_keypress(': 'string $char | int',
\ 'ming_setcubicthreshold(': 'int $threshold | void',
\ 'ming_setscale(': 'float $scale | void',
\ 'ming_setswfcompression(': 'int $level | void',
\ 'ming_useconstants(': 'int $use | void',
\ 'ming_useswfversion(': 'int $version | void',
\ }
let g:phpcomplete_builtin['functions']['mqseries'] = {
\ 'mqseries_back(': 'resource $hconn, resource &$compCode, resource &$reason | void',
\ 'mqseries_begin(': 'resource $hconn, array $beginOptions, resource &$compCode, resource &$reason | void',
\ 'mqseries_close(': 'resource $hconn, resource $hobj, int $options, resource &$compCode, resource &$reason | void',
\ 'mqseries_cmit(': 'resource $hconn, resource &$compCode, resource &$reason | void',
\ 'mqseries_conn(': 'string $qManagerName, resource &$hconn, resource &$compCode, resource &$reason | void',
\ 'mqseries_connx(': 'string $qManagerName, array &$connOptions, resource &$hconn, resource &$compCode, resource &$reason | void',
\ 'mqseries_disc(': 'resource $hconn, resource &$compCode, resource &$reason | void',
\ 'mqseries_get(': 'resource $hConn, resource $hObj, array &$md, array &$gmo, int &$bufferLength, string &$msg, int &$data_length, resource &$compCode, resource &$reason | void',
\ 'mqseries_inq(': 'resource $hconn, resource $hobj, int $selectorCount, array $selectors, int $intAttrCount, resource &$intAttr, int $charAttrLength, resource &$charAttr, resource &$compCode, resource &$reason | void',
\ 'mqseries_open(': 'resource $hconn, array &$objDesc, int $option, resource &$hobj, resource &$compCode, resource &$reason | void',
\ 'mqseries_put(': 'resource $hConn, resource $hObj, array &$md, array &$pmo, string $message, resource &$compCode, resource &$reason | void',
\ 'mqseries_put1(': 'resource $hconn, resource &$objDesc, resource &$msgDesc, resource &$pmo, string $buffer, resource &$compCode, resource &$reason | void',
\ 'mqseries_set(': 'resource $hconn, resource $hobj, int $selectorcount, array $selectors, int $intattrcount, array $intattrs, int $charattrlength, array $charattrs, resource &$compCode, resource &$reason | void',
\ 'mqseries_strerror(': 'int $reason | string',
\ }
let g:phpcomplete_builtin['functions']['msession'] = {
\ 'msession_connect(': 'string $host, string $port | bool',
\ 'msession_count(': 'void | int',
\ 'msession_create(': 'string $session [, string $classname [, string $data]] | bool',
\ 'msession_destroy(': 'string $name | bool',
\ 'msession_disconnect(': 'void | void',
\ 'msession_find(': 'string $name, string $value | array',
\ 'msession_get_array(': 'string $session | array',
\ 'msession_get_data(': 'string $session | string',
\ 'msession_get(': 'string $session, string $name, string $value | string',
\ 'msession_inc(': 'string $session, string $name | string',
\ 'msession_list(': 'void | array',
\ 'msession_listvar(': 'string $name | array',
\ 'msession_lock(': 'string $name | int',
\ 'msession_plugin(': 'string $session, string $val [, string $param] | string',
\ 'msession_randstr(': 'int $param | string',
\ 'msession_set_array(': 'string $session, array $tuples | void',
\ 'msession_set_data(': 'string $session, string $value | bool',
\ 'msession_set(': 'string $session, string $name, string $value | bool',
\ 'msession_timeout(': 'string $session [, int $param] | int',
\ 'msession_uniq(': 'int $param [, string $classname [, string $data]] | string',
\ 'msession_unlock(': 'string $session, int $key | int',
\ }
let g:phpcomplete_builtin['functions']['msql'] = {
\ 'msql_affected_rows(': 'resource $result | int',
\ 'msql_close(': '[ resource $link_identifier] | bool',
\ 'msql_connect(': '[ string $hostname] | resource',
\ 'msql_create_db(': 'string $database_name [, resource $link_identifier] | bool',
\ 'msql_data_seek(': 'resource $result, int $row_number | bool',
\ 'msql_db_query(': 'string $database, string $query [, resource $link_identifier] | resource',
\ 'msql_drop_db(': 'string $database_name [, resource $link_identifier] | bool',
\ 'msql_error(': 'void | string',
\ 'msql_fetch_array(': 'resource $result [, int $result_type] | array',
\ 'msql_fetch_field(': 'resource $result [, int $field_offset = 0] | object',
\ 'msql_fetch_object(': 'resource $result | object',
\ 'msql_fetch_row(': 'resource $result | array',
\ 'msql_field_flags(': 'resource $result, int $field_offset | string',
\ 'msql_field_len(': 'resource $result, int $field_offset | int',
\ 'msql_field_name(': 'resource $result, int $field_offset | string',
\ 'msql_field_seek(': 'resource $result, int $field_offset | bool',
\ 'msql_field_table(': 'resource $result, int $field_offset | int',
\ 'msql_field_type(': 'resource $result, int $field_offset | string',
\ 'msql_free_result(': 'resource $result | bool',
\ 'msql_list_dbs(': '[ resource $link_identifier] | resource',
\ 'msql_list_fields(': 'string $database, string $tablename [, resource $link_identifier] | resource',
\ 'msql_list_tables(': 'string $database [, resource $link_identifier] | resource',
\ 'msql_num_fields(': 'resource $result | int',
\ 'msql_num_rows(': 'resource $query_identifier | int',
\ 'msql_pconnect(': '[ string $hostname] | resource',
\ 'msql_query(': 'string $query [, resource $link_identifier] | resource',
\ 'msql_result(': 'resource $result, int $row [, mixed $field] | string',
\ 'msql_select_db(': 'string $database_name [, resource $link_identifier] | bool',
\ }
let g:phpcomplete_builtin['functions']['mssql'] = {
\ 'mssql_bind(': 'resource $stmt, string $param_name, mixed &$var, int $type [, bool $is_output = false [, bool $is_null = false [, int $maxlen = -1]]] | bool',
\ 'mssql_close(': '[ resource $link_identifier] | bool',
\ 'mssql_connect(': '[ string $servername [, string $username [, string $password [, bool $new_link = false]]]] | resource',
\ 'mssql_data_seek(': 'resource $result_identifier, int $row_number | bool',
\ 'mssql_execute(': 'resource $stmt [, bool $skip_results = false] | mixed',
\ 'mssql_fetch_array(': 'resource $result [, int $result_type = MSSQL_BOTH] | array',
\ 'mssql_fetch_assoc(': 'resource $result_id | array',
\ 'mssql_fetch_batch(': 'resource $result | int',
\ 'mssql_fetch_field(': 'resource $result [, int $field_offset = -1] | object',
\ 'mssql_fetch_object(': 'resource $result | object',
\ 'mssql_fetch_row(': 'resource $result | array',
\ 'mssql_field_length(': 'resource $result [, int $offset = -1] | int',
\ 'mssql_field_name(': 'resource $result [, int $offset = -1] | string',
\ 'mssql_field_seek(': 'resource $result, int $field_offset | bool',
\ 'mssql_field_type(': 'resource $result [, int $offset = -1] | string',
\ 'mssql_free_result(': 'resource $result | bool',
\ 'mssql_free_statement(': 'resource $stmt | bool',
\ 'mssql_get_last_message(': 'void | string',
\ 'mssql_guid_string(': 'string $binary [, bool $short_format = false] | string',
\ 'mssql_init(': 'string $sp_name [, resource $link_identifier] | resource',
\ 'mssql_min_error_severity(': 'int $severity | void',
\ 'mssql_min_message_severity(': 'int $severity | void',
\ 'mssql_next_result(': 'resource $result_id | bool',
\ 'mssql_num_fields(': 'resource $result | int',
\ 'mssql_num_rows(': 'resource $result | int',
\ 'mssql_pconnect(': '[ string $servername [, string $username [, string $password [, bool $new_link = false]]]] | resource',
\ 'mssql_query(': 'string $query [, resource $link_identifier [, int $batch_size = 0]] | mixed',
\ 'mssql_result(': 'resource $result, int $row, mixed $field | string',
\ 'mssql_rows_affected(': 'resource $link_identifier | int',
\ 'mssql_select_db(': 'string $database_name [, resource $link_identifier] | bool',
\ }
let g:phpcomplete_builtin['functions']['mysql'] = {
\ 'mysql_affected_rows(': '[ resource $link_identifier = NULL] | int',
\ 'mysql_client_encoding(': '[ resource $link_identifier = NULL] | string',
\ 'mysql_close(': '[ resource $link_identifier = NULL] | bool',
\ 'mysql_connect(': '[ string $server = ini_get("mysql.default_host") [, string $username = ini_get("mysql.default_user") [, string $password = ini_get("mysql.default_password") [, bool $new_link = false [, int $client_flags = 0]]]]] | resource',
\ 'mysql_create_db(': 'string $database_name [, resource $link_identifier = NULL] | bool',
\ 'mysql_data_seek(': 'resource $result, int $row_number | bool',
\ 'mysql_db_name(': 'resource $result, int $row [, mixed $field = NULL] | string',
\ 'mysql_db_query(': 'string $database, string $query [, resource $link_identifier = NULL] | resource',
\ 'mysql_drop_db(': 'string $database_name [, resource $link_identifier = NULL] | bool',
\ 'mysql_errno(': '[ resource $link_identifier = NULL] | int',
\ 'mysql_error(': '[ resource $link_identifier = NULL] | string',
\ 'mysql_escape_string(': 'string $unescaped_string | string',
\ 'mysql_fetch_array(': 'resource $result [, int $result_type = MYSQL_BOTH] | array',
\ 'mysql_fetch_assoc(': 'resource $result | array',
\ 'mysql_fetch_field(': 'resource $result [, int $field_offset = 0] | object',
\ 'mysql_fetch_lengths(': 'resource $result | array',
\ 'mysql_fetch_object(': 'resource $result [, string $class_name [, array $params]] | object',
\ 'mysql_fetch_row(': 'resource $result | array',
\ 'mysql_field_flags(': 'resource $result, int $field_offset | string',
\ 'mysql_field_len(': 'resource $result, int $field_offset | int',
\ 'mysql_field_name(': 'resource $result, int $field_offset | string',
\ 'mysql_field_seek(': 'resource $result, int $field_offset | bool',
\ 'mysql_field_table(': 'resource $result, int $field_offset | string',
\ 'mysql_field_type(': 'resource $result, int $field_offset | string',
\ 'mysql_free_result(': 'resource $result | bool',
\ 'mysql_get_client_info(': 'void | string',
\ 'mysql_get_host_info(': '[ resource $link_identifier = NULL] | string',
\ 'mysql_get_proto_info(': '[ resource $link_identifier = NULL] | int',
\ 'mysql_get_server_info(': '[ resource $link_identifier = NULL] | string',
\ 'mysql_info(': '[ resource $link_identifier = NULL] | string',
\ 'mysql_insert_id(': '[ resource $link_identifier = NULL] | int',
\ 'mysql_list_dbs(': '[ resource $link_identifier = NULL] | resource',
\ 'mysql_list_fields(': 'string $database_name, string $table_name [, resource $link_identifier = NULL] | resource',
\ 'mysql_list_processes(': '[ resource $link_identifier = NULL] | resource',
\ 'mysql_list_tables(': 'string $database [, resource $link_identifier = NULL] | resource',
\ 'mysql_num_fields(': 'resource $result | int',
\ 'mysql_num_rows(': 'resource $result | int',
\ 'mysql_pconnect(': '[ string $server = ini_get("mysql.default_host") [, string $username = ini_get("mysql.default_user") [, string $password = ini_get("mysql.default_password") [, int $client_flags = 0]]]] | resource',
\ 'mysql_ping(': '[ resource $link_identifier = NULL] | bool',
\ 'mysql_query(': 'string $query [, resource $link_identifier = NULL] | resource',
\ 'mysql_real_escape_string(': 'string $unescaped_string [, resource $link_identifier = NULL] | string',
\ 'mysql_result(': 'resource $result, int $row [, mixed $field = 0] | string',
\ 'mysql_select_db(': 'string $database_name [, resource $link_identifier = NULL] | bool',
\ 'mysql_set_charset(': 'string $charset [, resource $link_identifier = NULL] | bool',
\ 'mysql_stat(': '[ resource $link_identifier = NULL] | string',
\ 'mysql_tablename(': 'resource $result, int $i | string',
\ 'mysql_thread_id(': '[ resource $link_identifier = NULL] | int',
\ 'mysql_unbuffered_query(': 'string $query [, resource $link_identifier = NULL] | resource',
\ }
let g:phpcomplete_builtin['functions']['mysqli'] = {
\ 'mysqli_disable_reads_from_master(': 'mysqli $link | bool',
\ 'mysqli_disable_rpl_parse(': 'mysqli $link | bool',
\ 'mysqli_enable_reads_from_master(': 'mysqli $link | bool',
\ 'mysqli_enable_rpl_parse(': 'mysqli $link | bool',
\ 'mysqli_get_cache_stats(': 'void | array',
\ 'mysqli_master_query(': 'mysqli $link, string $query | bool',
\ 'mysqli_rpl_parse_enabled(': 'mysqli $link | int',
\ 'mysqli_rpl_probe(': 'mysqli $link | bool',
\ 'mysqli_slave_query(': 'mysqli $link, string $query | bool',
\ }
let g:phpcomplete_builtin['functions']['mysqlnd_memcache'] = {
\ 'mysqlnd_memcache_get_config(': 'mixed $connection | array',
\ 'mysqlnd_memcache_set(': 'mixed $mysql_connection [, Memcached $memcache_connection [, string $pattern [, callback $callback]]] | bool',
\ }
let g:phpcomplete_builtin['functions']['mysqlnd_ms'] = {
\ 'mysqlnd_ms_get_last_gtid(': 'mixed $connection | string',
\ 'mysqlnd_ms_get_last_used_connection(': 'mixed $connection | array',
\ 'mysqlnd_ms_get_stats(': 'void | array',
\ 'mysqlnd_ms_match_wild(': 'string $table_name, string $wildcard | bool',
\ 'mysqlnd_ms_query_is_select(': 'string $query | int',
\ 'mysqlnd_ms_set_qos(': 'mixed $connection, int $service_level [, int $service_level_option [, mixed $option_value]] | bool',
\ 'mysqlnd_ms_set_user_pick_server(': 'string $function | bool',
\ }
let g:phpcomplete_builtin['functions']['mysqlnd_qc'] = {
\ 'mysqlnd_qc_clear_cache(': 'void | bool',
\ 'mysqlnd_qc_get_available_handlers(': 'void | array',
\ 'mysqlnd_qc_get_cache_info(': 'void | array',
\ 'mysqlnd_qc_get_core_stats(': 'void | array',
\ 'mysqlnd_qc_get_normalized_query_trace_log(': 'void | array',
\ 'mysqlnd_qc_get_query_trace_log(': 'void | array',
\ 'mysqlnd_qc_set_cache_condition(': 'int $condition_type, mixed $condition, mixed $condition_option | bool',
\ 'mysqlnd_qc_set_is_select(': 'string $callback | mixed',
\ 'mysqlnd_qc_set_storage_handler(': 'string $handler | bool',
\ 'mysqlnd_qc_set_user_handlers(': 'string $get_hash, string $find_query_in_cache, string $return_to_cache, string $add_query_to_cache_if_not_exists, string $query_is_select, string $update_query_run_time_stats, string $get_stats, string $clear_cache | bool',
\ }
let g:phpcomplete_builtin['functions']['mysqlnd_uh'] = {
\ 'mysqlnd_uh_convert_to_mysqlnd(': 'mysqli &$mysql_connection | resource',
\ 'mysqlnd_uh_set_connection_proxy(': 'MysqlndUhConnection &$connection_proxy [, mysqli &$mysqli_connection] | bool',
\ 'mysqlnd_uh_set_statement_proxy(': 'MysqlndUhStatement &$statement_proxy | bool',
\ }
let g:phpcomplete_builtin['functions']['ncurses'] = {
\ 'ncurses_addch(': 'int $ch | int',
\ 'ncurses_addchnstr(': 'string $s, int $n | int',
\ 'ncurses_addchstr(': 'string $s | int',
\ 'ncurses_addnstr(': 'string $s, int $n | int',
\ 'ncurses_addstr(': 'string $text | int',
\ 'ncurses_assume_default_colors(': 'int $fg, int $bg | int',
\ 'ncurses_attroff(': 'int $attributes | int',
\ 'ncurses_attron(': 'int $attributes | int',
\ 'ncurses_attrset(': 'int $attributes | int',
\ 'ncurses_baudrate(': 'void | int',
\ 'ncurses_beep(': 'void | int',
\ 'ncurses_bkgd(': 'int $attrchar | int',
\ 'ncurses_bkgdset(': 'int $attrchar | void',
\ 'ncurses_border(': 'int $left, int $right, int $top, int $bottom, int $tl_corner, int $tr_corner, int $bl_corner, int $br_corner | int',
\ 'ncurses_bottom_panel(': 'resource $panel | int',
\ 'ncurses_can_change_color(': 'void | bool',
\ 'ncurses_cbreak(': 'void | bool',
\ 'ncurses_clear(': 'void | bool',
\ 'ncurses_clrtobot(': 'void | bool',
\ 'ncurses_clrtoeol(': 'void | bool',
\ 'ncurses_color_content(': 'int $color, int &$r, int &$g, int &$b | int',
\ 'ncurses_color_set(': 'int $pair | int',
\ 'ncurses_curs_set(': 'int $visibility | int',
\ 'ncurses_def_prog_mode(': 'void | bool',
\ 'ncurses_def_shell_mode(': 'void | bool',
\ 'ncurses_define_key(': 'string $definition, int $keycode | int',
\ 'ncurses_del_panel(': 'resource $panel | bool',
\ 'ncurses_delay_output(': 'int $milliseconds | int',
\ 'ncurses_delch(': 'void | bool',
\ 'ncurses_deleteln(': 'void | bool',
\ 'ncurses_delwin(': 'resource $window | bool',
\ 'ncurses_doupdate(': 'void | bool',
\ 'ncurses_echo(': 'void | bool',
\ 'ncurses_echochar(': 'int $character | int',
\ 'ncurses_end(': 'void | int',
\ 'ncurses_erase(': 'void | bool',
\ 'ncurses_erasechar(': 'void | string',
\ 'ncurses_filter(': 'void | void',
\ 'ncurses_flash(': 'void | bool',
\ 'ncurses_flushinp(': 'void | bool',
\ 'ncurses_getch(': 'void | int',
\ 'ncurses_getmaxyx(': 'resource $window, int &$y, int &$x | void',
\ 'ncurses_getmouse(': 'array &$mevent | bool',
\ 'ncurses_getyx(': 'resource $window, int &$y, int &$x | void',
\ 'ncurses_halfdelay(': 'int $tenth | int',
\ 'ncurses_has_colors(': 'void | bool',
\ 'ncurses_has_ic(': 'void | bool',
\ 'ncurses_has_il(': 'void | bool',
\ 'ncurses_has_key(': 'int $keycode | int',
\ 'ncurses_hide_panel(': 'resource $panel | int',
\ 'ncurses_hline(': 'int $charattr, int $n | int',
\ 'ncurses_inch(': 'void | string',
\ 'ncurses_init_color(': 'int $color, int $r, int $g, int $b | int',
\ 'ncurses_init_pair(': 'int $pair, int $fg, int $bg | int',
\ 'ncurses_init(': 'void | void',
\ 'ncurses_insch(': 'int $character | int',
\ 'ncurses_insdelln(': 'int $count | int',
\ 'ncurses_insertln(': 'void | int',
\ 'ncurses_insstr(': 'string $text | int',
\ 'ncurses_instr(': 'string &$buffer | int',
\ 'ncurses_isendwin(': 'void | bool',
\ 'ncurses_keyok(': 'int $keycode, bool $enable | int',
\ 'ncurses_keypad(': 'resource $window, bool $bf | int',
\ 'ncurses_killchar(': 'void | string',
\ 'ncurses_longname(': 'void | string',
\ 'ncurses_meta(': 'resource $window, bool $8bit | int',
\ 'ncurses_mouse_trafo(': 'int &$y, int &$x, bool $toscreen | bool',
\ 'ncurses_mouseinterval(': 'int $milliseconds | int',
\ 'ncurses_mousemask(': 'int $newmask, int &$oldmask | int',
\ 'ncurses_move_panel(': 'resource $panel, int $startx, int $starty | int',
\ 'ncurses_move(': 'int $y, int $x | int',
\ 'ncurses_mvaddch(': 'int $y, int $x, int $c | int',
\ 'ncurses_mvaddchnstr(': 'int $y, int $x, string $s, int $n | int',
\ 'ncurses_mvaddchstr(': 'int $y, int $x, string $s | int',
\ 'ncurses_mvaddnstr(': 'int $y, int $x, string $s, int $n | int',
\ 'ncurses_mvaddstr(': 'int $y, int $x, string $s | int',
\ 'ncurses_mvcur(': 'int $old_y, int $old_x, int $new_y, int $new_x | int',
\ 'ncurses_mvdelch(': 'int $y, int $x | int',
\ 'ncurses_mvgetch(': 'int $y, int $x | int',
\ 'ncurses_mvhline(': 'int $y, int $x, int $attrchar, int $n | int',
\ 'ncurses_mvinch(': 'int $y, int $x | int',
\ 'ncurses_mvvline(': 'int $y, int $x, int $attrchar, int $n | int',
\ 'ncurses_mvwaddstr(': 'resource $window, int $y, int $x, string $text | int',
\ 'ncurses_napms(': 'int $milliseconds | int',
\ 'ncurses_new_panel(': 'resource $window | resource',
\ 'ncurses_newpad(': 'int $rows, int $cols | resource',
\ 'ncurses_newwin(': 'int $rows, int $cols, int $y, int $x | resource',
\ 'ncurses_nl(': 'void | bool',
\ 'ncurses_nocbreak(': 'void | bool',
\ 'ncurses_noecho(': 'void | bool',
\ 'ncurses_nonl(': 'void | bool',
\ 'ncurses_noqiflush(': 'void | void',
\ 'ncurses_noraw(': 'void | bool',
\ 'ncurses_pair_content(': 'int $pair, int &$f, int &$b | int',
\ 'ncurses_panel_above(': 'resource $panel | resource',
\ 'ncurses_panel_below(': 'resource $panel | resource',
\ 'ncurses_panel_window(': 'resource $panel | resource',
\ 'ncurses_pnoutrefresh(': 'resource $pad, int $pminrow, int $pmincol, int $sminrow, int $smincol, int $smaxrow, int $smaxcol | int',
\ 'ncurses_prefresh(': 'resource $pad, int $pminrow, int $pmincol, int $sminrow, int $smincol, int $smaxrow, int $smaxcol | int',
\ 'ncurses_putp(': 'string $text | int',
\ 'ncurses_qiflush(': 'void | void',
\ 'ncurses_raw(': 'void | bool',
\ 'ncurses_refresh(': 'int $ch | int',
\ 'ncurses_replace_panel(': 'resource $panel, resource $window | int',
\ 'ncurses_reset_prog_mode(': 'void | int',
\ 'ncurses_reset_shell_mode(': 'void | int',
\ 'ncurses_resetty(': 'void | bool',
\ 'ncurses_savetty(': 'void | bool',
\ 'ncurses_scr_dump(': 'string $filename | int',
\ 'ncurses_scr_init(': 'string $filename | int',
\ 'ncurses_scr_restore(': 'string $filename | int',
\ 'ncurses_scr_set(': 'string $filename | int',
\ 'ncurses_scrl(': 'int $count | int',
\ 'ncurses_show_panel(': 'resource $panel | int',
\ 'ncurses_slk_attr(': 'void | int',
\ 'ncurses_slk_attroff(': 'int $intarg | int',
\ 'ncurses_slk_attron(': 'int $intarg | int',
\ 'ncurses_slk_attrset(': 'int $intarg | int',
\ 'ncurses_slk_clear(': 'void | bool',
\ 'ncurses_slk_color(': 'int $intarg | int',
\ 'ncurses_slk_init(': 'int $format | bool',
\ 'ncurses_slk_noutrefresh(': 'void | bool',
\ 'ncurses_slk_refresh(': 'void | int',
\ 'ncurses_slk_restore(': 'void | int',
\ 'ncurses_slk_set(': 'int $labelnr, string $label, int $format | bool',
\ 'ncurses_slk_touch(': 'void | int',
\ 'ncurses_standend(': 'void | int',
\ 'ncurses_standout(': 'void | int',
\ 'ncurses_start_color(': 'void | int',
\ 'ncurses_termattrs(': 'void | bool',
\ 'ncurses_termname(': 'void | string',
\ 'ncurses_timeout(': 'int $millisec | void',
\ 'ncurses_top_panel(': 'resource $panel | int',
\ 'ncurses_typeahead(': 'int $fd | int',
\ 'ncurses_ungetch(': 'int $keycode | int',
\ 'ncurses_ungetmouse(': 'array $mevent | bool',
\ 'ncurses_update_panels(': 'void | void',
\ 'ncurses_use_default_colors(': 'void | bool',
\ 'ncurses_use_env(': 'bool $flag | void',
\ 'ncurses_use_extended_names(': 'bool $flag | int',
\ 'ncurses_vidattr(': 'int $intarg | int',
\ 'ncurses_vline(': 'int $charattr, int $n | int',
\ 'ncurses_waddch(': 'resource $window, int $ch | int',
\ 'ncurses_waddstr(': 'resource $window, string $str [, int $n] | int',
\ 'ncurses_wattroff(': 'resource $window, int $attrs | int',
\ 'ncurses_wattron(': 'resource $window, int $attrs | int',
\ 'ncurses_wattrset(': 'resource $window, int $attrs | int',
\ 'ncurses_wborder(': 'resource $window, int $left, int $right, int $top, int $bottom, int $tl_corner, int $tr_corner, int $bl_corner, int $br_corner | int',
\ 'ncurses_wclear(': 'resource $window | int',
\ 'ncurses_wcolor_set(': 'resource $window, int $color_pair | int',
\ 'ncurses_werase(': 'resource $window | int',
\ 'ncurses_wgetch(': 'resource $window | int',
\ 'ncurses_whline(': 'resource $window, int $charattr, int $n | int',
\ 'ncurses_wmouse_trafo(': 'resource $window, int &$y, int &$x, bool $toscreen | bool',
\ 'ncurses_wmove(': 'resource $window, int $y, int $x | int',
\ 'ncurses_wnoutrefresh(': 'resource $window | int',
\ 'ncurses_wrefresh(': 'resource $window | int',
\ 'ncurses_wstandend(': 'resource $window | int',
\ 'ncurses_wstandout(': 'resource $window | int',
\ 'ncurses_wvline(': 'resource $window, int $charattr, int $n | int',
\ }
let g:phpcomplete_builtin['functions']['newt'] = {
\ 'newt_bell(': 'void | void',
\ 'newt_button_bar(': 'array &$buttons | resource',
\ 'newt_button(': 'int $left, int $top, string $text | resource',
\ 'newt_centered_window(': 'int $width, int $height [, string $title] | int',
\ 'newt_checkbox_get_value(': 'resource $checkbox | string',
\ 'newt_checkbox_set_flags(': 'resource $checkbox, int $flags, int $sense | void',
\ 'newt_checkbox_set_value(': 'resource $checkbox, string $value | void',
\ 'newt_checkbox_tree_add_item(': 'resource $checkboxtree, string $text, mixed $data, int $flags, int $index [, int $...] | void',
\ 'newt_checkbox_tree_find_item(': 'resource $checkboxtree, mixed $data | array',
\ 'newt_checkbox_tree_get_current(': 'resource $checkboxtree | mixed',
\ 'newt_checkbox_tree_get_entry_value(': 'resource $checkboxtree, mixed $data | string',
\ 'newt_checkbox_tree_get_multi_selection(': 'resource $checkboxtree, string $seqnum | array',
\ 'newt_checkbox_tree_get_selection(': 'resource $checkboxtree | array',
\ 'newt_checkbox_tree_multi(': 'int $left, int $top, int $height, string $seq [, int $flags] | resource',
\ 'newt_checkbox_tree_set_current(': 'resource $checkboxtree, mixed $data | void',
\ 'newt_checkbox_tree_set_entry_value(': 'resource $checkboxtree, mixed $data, string $value | void',
\ 'newt_checkbox_tree_set_entry(': 'resource $checkboxtree, mixed $data, string $text | void',
\ 'newt_checkbox_tree_set_width(': 'resource $checkbox_tree, int $width | void',
\ 'newt_checkbox_tree(': 'int $left, int $top, int $height [, int $flags] | resource',
\ 'newt_checkbox(': 'int $left, int $top, string $text, string $def_value [, string $seq] | resource',
\ 'newt_clear_key_buffer(': 'void | void',
\ 'newt_cls(': 'void | void',
\ 'newt_compact_button(': 'int $left, int $top, string $text | resource',
\ 'newt_component_add_callback(': 'resource $component, mixed $func_name, mixed $data | void',
\ 'newt_component_takes_focus(': 'resource $component, bool $takes_focus | void',
\ 'newt_create_grid(': 'int $cols, int $rows | resource',
\ 'newt_cursor_off(': 'void | void',
\ 'newt_cursor_on(': 'void | void',
\ 'newt_delay(': 'int $microseconds | void',
\ 'newt_draw_form(': 'resource $form | void',
\ 'newt_draw_root_text(': 'int $left, int $top, string $text | void',
\ 'newt_entry_get_value(': 'resource $entry | string',
\ 'newt_entry_set_filter(': 'resource $entry, callable $filter, mixed $data | void',
\ 'newt_entry_set_flags(': 'resource $entry, int $flags, int $sense | void',
\ 'newt_entry_set(': 'resource $entry, string $value [, bool $cursor_at_end] | void',
\ 'newt_entry(': 'int $left, int $top, int $width [, string $init_value [, int $flags]] | resource',
\ 'newt_finished(': 'void | int',
\ 'newt_form_add_component(': 'resource $form, resource $component | void',
\ 'newt_form_add_components(': 'resource $form, array $components | void',
\ 'newt_form_add_hot_key(': 'resource $form, int $key | void',
\ 'newt_form_destroy(': 'resource $form | void',
\ 'newt_form_get_current(': 'resource $form | resource',
\ 'newt_form_run(': 'resource $form, array &$exit_struct | void',
\ 'newt_form_set_background(': 'resource $from, int $background | void',
\ 'newt_form_set_height(': 'resource $form, int $height | void',
\ 'newt_form_set_size(': 'resource $form | void',
\ 'newt_form_set_timer(': 'resource $form, int $milliseconds | void',
\ 'newt_form_set_width(': 'resource $form, int $width | void',
\ 'newt_form_watch_fd(': 'resource $form, resource $stream [, int $flags] | void',
\ 'newt_form(': '[ resource $vert_bar [, string $help [, int $flags]]] | resource',
\ 'newt_get_screen_size(': 'int &$cols, int &$rows | void',
\ 'newt_grid_add_components_to_form(': 'resource $grid, resource $form, bool $recurse | void',
\ 'newt_grid_basic_window(': 'resource $text, resource $middle, resource $buttons | resource',
\ 'newt_grid_free(': 'resource $grid, bool $recurse | void',
\ 'newt_grid_get_size(': 'resouce $grid, int &$width, int &$height | void',
\ 'newt_grid_h_close_stacked(': 'int $element1_type, resource $element1 [, int $... [, resource $...]] | resource',
\ 'newt_grid_h_stacked(': 'int $element1_type, resource $element1 [, int $... [, resource $...]] | resource',
\ 'newt_grid_place(': 'resource $grid, int $left, int $top | void',
\ 'newt_grid_set_field(': 'resource $grid, int $col, int $row, int $type, resource $val, int $pad_left, int $pad_top, int $pad_right, int $pad_bottom, int $anchor [, int $flags] | void',
\ 'newt_grid_simple_window(': 'resource $text, resource $middle, resource $buttons | resource',
\ 'newt_grid_v_close_stacked(': 'int $element1_type, resource $element1 [, int $... [, resource $...]] | resource',
\ 'newt_grid_v_stacked(': 'int $element1_type, resource $element1 [, int $... [, resource $...]] | resource',
\ 'newt_grid_wrapped_window_at(': 'resource $grid, string $title, int $left, int $top | void',
\ 'newt_grid_wrapped_window(': 'resource $grid, string $title | void',
\ 'newt_init(': 'void | int',
\ 'newt_label_set_text(': 'resource $label, string $text | void',
\ 'newt_label(': 'int $left, int $top, string $text | resource',
\ 'newt_listbox_append_entry(': 'resource $listbox, string $text, mixed $data | void',
\ 'newt_listbox_clear_selection(': 'resource $listbox | void',
\ 'newt_listbox_clear(': 'resource $listobx | void',
\ 'newt_listbox_delete_entry(': 'resource $listbox, mixed $key | void',
\ 'newt_listbox_get_current(': 'resource $listbox | string',
\ 'newt_listbox_get_selection(': 'resource $listbox | array',
\ 'newt_listbox_insert_entry(': 'resource $listbox, string $text, mixed $data, mixed $key | void',
\ 'newt_listbox_item_count(': 'resource $listbox | int',
\ 'newt_listbox_select_item(': 'resource $listbox, mixed $key, int $sense | void',
\ 'newt_listbox_set_current_by_key(': 'resource $listbox, mixed $key | void',
\ 'newt_listbox_set_current(': 'resource $listbox, int $num | void',
\ 'newt_listbox_set_data(': 'resource $listbox, int $num, mixed $data | void',
\ 'newt_listbox_set_entry(': 'resource $listbox, int $num, string $text | void',
\ 'newt_listbox_set_width(': 'resource $listbox, int $width | void',
\ 'newt_listbox(': 'int $left, int $top, int $height [, int $flags] | resource',
\ 'newt_listitem_get_data(': 'resource $item | mixed',
\ 'newt_listitem_set(': 'resource $item, string $text | void',
\ 'newt_listitem(': 'int $left, int $top, string $text, bool $is_default, resouce $prev_item, mixed $data [, int $flags] | resource',
\ 'newt_open_window(': 'int $left, int $top, int $width, int $height [, string $title] | int',
\ 'newt_pop_help_line(': 'void | void',
\ 'newt_pop_window(': 'void | void',
\ 'newt_push_help_line(': '[ string $text] | void',
\ 'newt_radio_get_current(': 'resource $set_member | resource',
\ 'newt_radiobutton(': 'int $left, int $top, string $text, bool $is_default [, resource $prev_button] | resource',
\ 'newt_redraw_help_line(': 'void | void',
\ 'newt_reflow_text(': 'string $text, int $width, int $flex_down, int $flex_up, int &$actual_width, int &$actual_height | string',
\ 'newt_refresh(': 'void | void',
\ 'newt_resize_screen(': '[ bool $redraw] | void',
\ 'newt_resume(': 'void | void',
\ 'newt_run_form(': 'resource $form | resource',
\ 'newt_scale_set(': 'resource $scale, int $amount | void',
\ 'newt_scale(': 'int $left, int $top, int $width, int $full_value | resource',
\ 'newt_scrollbar_set(': 'resource $scrollbar, int $where, int $total | void',
\ 'newt_set_help_callback(': 'mixed $function | void',
\ 'newt_set_suspend_callback(': 'callable $function, mixed $data | void',
\ 'newt_suspend(': 'void | void',
\ 'newt_textbox_get_num_lines(': 'resource $textbox | int',
\ 'newt_textbox_reflowed(': 'int $left, int $top, char $*text, int $width, int $flex_down, int $flex_up [, int $flags] | resource',
\ 'newt_textbox_set_height(': 'resource $textbox, int $height | void',
\ 'newt_textbox_set_text(': 'resource $textbox, string $text | void',
\ 'newt_textbox(': 'int $left, int $top, int $width, int $height [, int $flags] | resource',
\ 'newt_vertical_scrollbar(': 'int $left, int $top, int $height [, int $normal_colorset [, int $thumb_colorset]] | resource',
\ 'newt_wait_for_key(': 'void | void',
\ 'newt_win_choice(': 'string $title, string $button1_text, string $button2_text, string $format [, mixed $args [, mixed $...]] | int',
\ 'newt_win_entries(': 'string $title, string $text, int $suggested_width, int $flex_down, int $flex_up, int $data_width, array &$items, string $button1 [, string $...] | int',
\ 'newt_win_menu(': 'string $title, string $text, int $suggestedWidth, int $flexDown, int $flexUp, int $maxListHeight, array $items, int &$listItem [, string $button1 [, string $...]] | int',
\ 'newt_win_message(': 'string $title, string $button_text, string $format [, mixed $args [, mixed $...]] | void',
\ 'newt_win_messagev(': 'string $title, string $button_text, string $format, array $args | void',
\ 'newt_win_ternary(': 'string $title, string $button1_text, string $button2_text, string $button3_text, string $format [, mixed $args [, mixed $...]] | int',
\ }
let g:phpcomplete_builtin['functions']['lotus_notes'] = {
\ 'notes_body(': 'string $server, string $mailbox, int $msg_number | array',
\ 'notes_copy_db(': 'string $from_database_name, string $to_database_name | bool',
\ 'notes_create_db(': 'string $database_name | bool',
\ 'notes_create_note(': 'string $database_name, string $form_name | bool',
\ 'notes_drop_db(': 'string $database_name | bool',
\ 'notes_find_note(': 'string $database_name, string $name [, string $type] | int',
\ 'notes_header_info(': 'string $server, string $mailbox, int $msg_number | object',
\ 'notes_list_msgs(': 'string $db | bool',
\ 'notes_mark_read(': 'string $database_name, string $user_name, string $note_id | bool',
\ 'notes_mark_unread(': 'string $database_name, string $user_name, string $note_id | bool',
\ 'notes_nav_create(': 'string $database_name, string $name | bool',
\ 'notes_search(': 'string $database_name, string $keywords | array',
\ 'notes_unread(': 'string $database_name, string $user_name | array',
\ 'notes_version(': 'string $database_name | float',
\ }
let g:phpcomplete_builtin['functions']['nsapi'] = {
\ 'nsapi_request_headers(': 'void | array',
\ 'nsapi_response_headers(': 'void | array',
\ 'nsapi_virtual(': 'string $uri | bool',
\ }
let g:phpcomplete_builtin['functions']['oauth'] = {
\ 'oauth_get_sbs(': 'string $http_method, string $uri [, array $request_parameters] | string',
\ 'oauth_urlencode(': 'string $uri | string',
\ }
let g:phpcomplete_builtin['functions']['tidy'] = {
\ 'ob_tidyhandler(': 'string $input [, int $mode] | string',
\ 'tidy_access_count(': 'tidy $object | int',
\ 'tidy_config_count(': 'tidy $object | int',
\ 'tidy_error_count(': 'tidy $object | int',
\ 'tidy_get_output(': 'tidy $object | string',
\ 'tidy_load_config(': 'string $filename, string $encoding | void',
\ 'tidy_reset_config(': 'void | bool',
\ 'tidy_save_config(': 'string $filename | bool',
\ 'tidy_set_encoding(': 'string $encoding | bool',
\ 'tidy_setopt(': 'string $option, mixed $value | bool',
\ 'tidy_warning_count(': 'tidy $object | int',
\ }
let g:phpcomplete_builtin['functions']['oci8'] = {
\ 'oci_bind_array_by_name(': 'resource $statement, string $name, array &$var_array, int $max_table_length [, int $max_item_length = -1 [, int $type = SQLT_AFC]] | bool',
\ 'oci_bind_by_name(': 'resource $statement, string $bv_name, mixed &$variable [, int $maxlength = -1 [, int $type = SQLT_CHR]] | bool',
\ 'oci_cancel(': 'resource $statement | bool',
\ 'oci_client_version(': 'void | string',
\ 'oci_close(': 'resource $connection | bool',
\ 'oci_commit(': 'resource $connection | bool',
\ 'oci_connect(': 'string $username, string $password [, string $connection_string [, string $character_set [, int $session_mode]]] | resource',
\ 'oci_define_by_name(': 'resource $statement, string $column_name, mixed &$variable [, int $type = SQLT_CHR] | bool',
\ 'oci_error(': '[ resource $resource] | array',
\ 'oci_execute(': 'resource $statement [, int $mode = OCI_COMMIT_ON_SUCCESS] | bool',
\ 'oci_fetch_all(': 'resource $statement, array &$output [, int $skip = 0 [, int $maxrows = -1 [, int $flags = OCI_FETCHSTATEMENT_BY_COLUMN + OCI_ASSOC]]] | int',
\ 'oci_fetch_array(': 'resource $statement [, int $mode] | array',
\ 'oci_fetch_assoc(': 'resource $statement | array',
\ 'oci_fetch_object(': 'resource $statement | object',
\ 'oci_fetch_row(': 'resource $statement | array',
\ 'oci_fetch(': 'resource $statement | bool',
\ 'oci_field_is_null(': 'resource $statement, mixed $field | bool',
\ 'oci_field_name(': 'resource $statement, int $field | string',
\ 'oci_field_precision(': 'resource $statement, int $field | int',
\ 'oci_field_scale(': 'resource $statement, int $field | int',
\ 'oci_field_size(': 'resource $statement, mixed $field | int',
\ 'oci_field_type_raw(': 'resource $statement, int $field | int',
\ 'oci_field_type(': 'resource $statement, int $field | mixed',
\ 'oci_free_descriptor(': 'resource $descriptor | bool',
\ 'oci_free_statement(': 'resource $statement | bool',
\ 'oci_get_implicit_resultset(': 'resource $statement | resource',
\ 'oci_internal_debug(': 'bool $onoff | void',
\ 'oci_lob_copy(': 'OCI-Lob $lob_to, OCI-Lob $lob_from [, int $length = 0] | bool',
\ 'oci_lob_is_equal(': 'OCI-Lob $lob1, OCI-Lob $lob2 | bool',
\ 'oci_new_collection(': 'resource $connection, string $tdo [, string $schema = NULL] | OCI-Collection',
\ 'oci_new_connect(': 'string $username, string $password [, string $connection_string [, string $character_set [, int $session_mode]]] | resource',
\ 'oci_new_cursor(': 'resource $connection | resource',
\ 'oci_new_descriptor(': 'resource $connection [, int $type = OCI_DTYPE_LOB] | OCI-Lob',
\ 'oci_num_fields(': 'resource $statement | int',
\ 'oci_num_rows(': 'resource $statement | int',
\ 'oci_parse(': 'resource $connection, string $sql_text | resource',
\ 'oci_password_change(': 'resource $connection, string $username, string $old_password, string $new_password | bool',
\ 'oci_pconnect(': 'string $username, string $password [, string $connection_string [, string $character_set [, int $session_mode]]] | resource',
\ 'oci_result(': 'resource $statement, mixed $field | mixed',
\ 'oci_rollback(': 'resource $connection | bool',
\ 'oci_server_version(': 'resource $connection | string',
\ 'oci_set_action(': 'resource $connection, string $action_name | bool',
\ 'oci_set_client_identifier(': 'resource $connection, string $client_identifier | bool',
\ 'oci_set_client_info(': 'resource $connection, string $client_info | bool',
\ 'oci_set_edition(': 'string $edition | bool',
\ 'oci_set_module_name(': 'resource $connection, string $module_name | bool',
\ 'oci_set_prefetch(': 'resource $statement, int $rows | bool',
\ 'oci_statement_type(': 'resource $statement | string',
\ }
let g:phpcomplete_builtin['functions']['odbc'] = {
\ 'odbc_autocommit(': 'resource $connection_id [, bool $OnOff = false] | mixed',
\ 'odbc_binmode(': 'resource $result_id, int $mode | bool',
\ 'odbc_close_all(': 'void | void',
\ 'odbc_close(': 'resource $connection_id | void',
\ 'odbc_columnprivileges(': 'resource $connection_id, string $qualifier, string $owner, string $table_name, string $column_name | resource',
\ 'odbc_columns(': 'resource $connection_id [, string $qualifier [, string $schema [, string $table_name [, string $column_name]]]] | resource',
\ 'odbc_commit(': 'resource $connection_id | bool',
\ 'odbc_connect(': 'string $dsn, string $user, string $password [, int $cursor_type] | resource',
\ 'odbc_cursor(': 'resource $result_id | string',
\ 'odbc_data_source(': 'resource $connection_id, int $fetch_type | array',
\ 'odbc_error(': '[ resource $connection_id] | string',
\ 'odbc_errormsg(': '[ resource $connection_id] | string',
\ 'odbc_exec(': 'resource $connection_id, string $query_string [, int $flags] | resource',
\ 'odbc_execute(': 'resource $result_id [, array $parameters_array] | bool',
\ 'odbc_fetch_array(': 'resource $result [, int $rownumber] | array',
\ 'odbc_fetch_into(': 'resource $result_id, array &$result_array [, int $rownumber] | int',
\ 'odbc_fetch_object(': 'resource $result [, int $rownumber] | object',
\ 'odbc_fetch_row(': 'resource $result_id [, int $row_number] | bool',
\ 'odbc_field_len(': 'resource $result_id, int $field_number | int',
\ 'odbc_field_name(': 'resource $result_id, int $field_number | string',
\ 'odbc_field_num(': 'resource $result_id, string $field_name | int',
\ 'odbc_field_scale(': 'resource $result_id, int $field_number | int',
\ 'odbc_field_type(': 'resource $result_id, int $field_number | string',
\ 'odbc_foreignkeys(': 'resource $connection_id, string $pk_qualifier, string $pk_owner, string $pk_table, string $fk_qualifier, string $fk_owner, string $fk_table | resource',
\ 'odbc_free_result(': 'resource $result_id | bool',
\ 'odbc_gettypeinfo(': 'resource $connection_id [, int $data_type] | resource',
\ 'odbc_longreadlen(': 'resource $result_id, int $length | bool',
\ 'odbc_next_result(': 'resource $result_id | bool',
\ 'odbc_num_fields(': 'resource $result_id | int',
\ 'odbc_num_rows(': 'resource $result_id | int',
\ 'odbc_pconnect(': 'string $dsn, string $user, string $password [, int $cursor_type] | resource',
\ 'odbc_prepare(': 'resource $connection_id, string $query_string | resource',
\ 'odbc_primarykeys(': 'resource $connection_id, string $qualifier, string $owner, string $table | resource',
\ 'odbc_procedurecolumns(': 'resource $connection_id | resource',
\ 'odbc_procedures(': 'resource $connection_id | resource',
\ 'odbc_result_all(': 'resource $result_id [, string $format] | int',
\ 'odbc_result(': 'resource $result_id, mixed $field | mixed',
\ 'odbc_rollback(': 'resource $connection_id | bool',
\ 'odbc_setoption(': 'resource $id, int $function, int $option, int $param | bool',
\ 'odbc_specialcolumns(': 'resource $connection_id, int $type, string $qualifier, string $owner, string $table, int $scope, int $nullable | resource',
\ 'odbc_statistics(': 'resource $connection_id, string $qualifier, string $owner, string $table_name, int $unique, int $accuracy | resource',
\ 'odbc_tableprivileges(': 'resource $connection_id, string $qualifier, string $owner, string $name | resource',
\ 'odbc_tables(': 'resource $connection_id [, string $qualifier [, string $owner [, string $name [, string $types]]]] | resource',
\ }
let g:phpcomplete_builtin['functions']['opcache'] = {
\ 'opcache_compile_file(': 'string $file | boolean',
\ 'opcache_invalidate(': 'string $script [, boolean $force = FALSE] | boolean',
\ 'opcache_reset(': 'void | boolean',
\ }
let g:phpcomplete_builtin['functions']['openal'] = {
\ 'openal_buffer_create(': 'void | resource',
\ 'openal_buffer_data(': 'resource $buffer, int $format, string $data, int $freq | bool',
\ 'openal_buffer_destroy(': 'resource $buffer | bool',
\ 'openal_buffer_get(': 'resource $buffer, int $property | int',
\ 'openal_buffer_loadwav(': 'resource $buffer, string $wavfile | bool',
\ 'openal_context_create(': 'resource $device | resource',
\ 'openal_context_current(': 'resource $context | bool',
\ 'openal_context_destroy(': 'resource $context | bool',
\ 'openal_context_process(': 'resource $context | bool',
\ 'openal_context_suspend(': 'resource $context | bool',
\ 'openal_device_close(': 'resource $device | bool',
\ 'openal_device_open(': '[ string $device_desc] | resource',
\ 'openal_listener_get(': 'int $property | mixed',
\ 'openal_listener_set(': 'int $property, mixed $setting | bool',
\ 'openal_source_create(': 'void | resource',
\ 'openal_source_destroy(': 'resource $source | bool',
\ 'openal_source_get(': 'resource $source, int $property | mixed',
\ 'openal_source_pause(': 'resource $source | bool',
\ 'openal_source_play(': 'resource $source | bool',
\ 'openal_source_rewind(': 'resource $source | bool',
\ 'openal_source_set(': 'resource $source, int $property, mixed $setting | bool',
\ 'openal_source_stop(': 'resource $source | bool',
\ 'openal_stream(': 'resource $source, int $format, int $rate | resource',
\ }
let g:phpcomplete_builtin['functions']['openssl'] = {
\ 'openssl_cipher_iv_length(': 'string $method | int',
\ 'openssl_csr_export_to_file(': 'resource $csr, string $outfilename [, bool $notext = true] | bool',
\ 'openssl_csr_export(': 'resource $csr, string &$out [, bool $notext = true] | bool',
\ 'openssl_csr_get_public_key(': 'mixed $csr [, bool $use_shortnames = true] | resource',
\ 'openssl_csr_get_subject(': 'mixed $csr [, bool $use_shortnames = true] | array',
\ 'openssl_csr_new(': 'array $dn, resource &$privkey [, array $configargs [, array $extraattribs]] | mixed',
\ 'openssl_csr_sign(': 'mixed $csr, mixed $cacert, mixed $priv_key, int $days [, array $configargs [, int $serial = 0]] | resource',
\ 'openssl_decrypt(': 'string $data, string $method, string $password [, int $options = 0 [, string $iv = ""]] | string',
\ 'openssl_dh_compute_key(': 'string $pub_key, resource $dh_key | string',
\ 'openssl_digest(': 'string $data, string $method [, bool $raw_output = false] | string',
\ 'openssl_encrypt(': 'string $data, string $method, string $password [, int $options = 0 [, string $iv = ""]] | string',
\ 'openssl_error_string(': 'void | string',
\ 'openssl_free_key(': 'resource $key_identifier | void',
\ 'openssl_get_cipher_methods(': '[ bool $aliases = false] | array',
\ 'openssl_get_md_methods(': '[ bool $aliases = false] | array',
\ 'openssl_get_privatekey(': 'openssl_get_privatekey — Alias of openssl_pkey_get_private()',
\ 'openssl_get_publickey(': 'openssl_get_publickey — Alias of openssl_pkey_get_public()',
\ 'openssl_open(': 'string $sealed_data, string &$open_data, string $env_key, mixed $priv_key_id [, string $method] | bool',
\ 'openssl_pbkdf2(': 'string $password, string $salt, int $key_length, int $iterations [, string $digest_algorithm] | string',
\ 'openssl_pkcs12_export_to_file(': 'mixed $x509, string $filename, mixed $priv_key, string $pass [, array $args] | bool',
\ 'openssl_pkcs12_export(': 'mixed $x509, string &$out, mixed $priv_key, string $pass [, array $args] | bool',
\ 'openssl_pkcs12_read(': 'string $pkcs12, array &$certs, string $pass | bool',
\ 'openssl_pkcs7_decrypt(': 'string $infilename, string $outfilename, mixed $recipcert [, mixed $recipkey] | bool',
\ 'openssl_pkcs7_encrypt(': 'string $infile, string $outfile, mixed $recipcerts, array $headers [, int $flags = 0 [, int $cipherid = OPENSSL_CIPHER_RC2_40]] | bool',
\ 'openssl_pkcs7_sign(': 'string $infilename, string $outfilename, mixed $signcert, mixed $privkey, array $headers [, int $flags = PKCS7_DETACHED [, string $extracerts]] | bool',
\ 'openssl_pkcs7_verify(': 'string $filename, int $flags [, string $outfilename [, array $cainfo [, string $extracerts [, string $content]]]] | mixed',
\ 'openssl_pkey_export_to_file(': 'mixed $key, string $outfilename [, string $passphrase [, array $configargs]] | bool',
\ 'openssl_pkey_export(': 'mixed $key, string &$out [, string $passphrase [, array $configargs]] | bool',
\ 'openssl_pkey_free(': 'resource $key | void',
\ 'openssl_pkey_get_details(': 'resource $key | array',
\ 'openssl_pkey_get_private(': 'mixed $key [, string $passphrase = ""] | resource',
\ 'openssl_pkey_get_public(': 'mixed $certificate | resource',
\ 'openssl_pkey_new(': '[ array $configargs] | resource',
\ 'openssl_private_decrypt(': 'string $data, string &$decrypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_private_encrypt(': 'string $data, string &$crypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_public_decrypt(': 'string $data, string &$decrypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_public_encrypt(': 'string $data, string &$crypted, mixed $key [, int $padding = OPENSSL_PKCS1_PADDING] | bool',
\ 'openssl_random_pseudo_bytes(': 'int $length [, bool &$crypto_strong] | string',
\ 'openssl_seal(': 'string $data, string &$sealed_data, array &$env_keys, array $pub_key_ids [, string $method] | int',
\ 'openssl_sign(': 'string $data, string &$signature, mixed $priv_key_id [, int $signature_alg = OPENSSL_ALGO_SHA1] | bool',
\ 'openssl_verify(': 'string $data, string $signature, mixed $pub_key_id [, int $signature_alg = OPENSSL_ALGO_SHA1] | int',
\ 'openssl_x509_check_private_key(': 'mixed $cert, mixed $key | bool',
\ 'openssl_x509_checkpurpose(': 'mixed $x509cert, int $purpose [, array $cainfo = array() [, string $untrustedfile]] | int',
\ 'openssl_x509_export_to_file(': 'mixed $x509, string $outfilename [, bool $notext = TRUE] | bool',
\ 'openssl_x509_export(': 'mixed $x509, string &$output [, bool $notext = TRUE] | bool',
\ 'openssl_x509_free(': 'resource $x509cert | void',
\ 'openssl_x509_parse(': 'mixed $x509cert [, bool $shortnames = true] | array',
\ 'openssl_x509_read(': 'mixed $x509certdata | resource',
\ }
let g:phpcomplete_builtin['functions']['ovrimos_sql'] = {
\ 'ovrimos_close(': 'int $connection | void',
\ 'ovrimos_commit(': 'int $connection_id | bool',
\ 'ovrimos_connect(': 'string $host, string $dborport, string $user, string $password | int',
\ 'ovrimos_cursor(': 'int $result_id | string',
\ 'ovrimos_exec(': 'int $connection_id, string $query | int',
\ 'ovrimos_execute(': 'int $result_id [, array $parameters_array] | bool',
\ 'ovrimos_fetch_into(': 'int $result_id, array &$result_array [, string $how [, int $rownumber]] | bool',
\ 'ovrimos_fetch_row(': 'int $result_id [, int $how [, int $row_number]] | bool',
\ 'ovrimos_field_len(': 'int $result_id, int $field_number | int',
\ 'ovrimos_field_name(': 'int $result_id, int $field_number | string',
\ 'ovrimos_field_num(': 'int $result_id, string $field_name | int',
\ 'ovrimos_field_type(': 'int $result_id, int $field_number | int',
\ 'ovrimos_free_result(': 'int $result_id | bool',
\ 'ovrimos_longreadlen(': 'int $result_id, int $length | bool',
\ 'ovrimos_num_fields(': 'int $result_id | int',
\ 'ovrimos_num_rows(': 'int $result_id | int',
\ 'ovrimos_prepare(': 'int $connection_id, string $query | int',
\ 'ovrimos_result_all(': 'int $result_id [, string $format] | int',
\ 'ovrimos_result(': 'int $result_id, mixed $field | string',
\ 'ovrimos_rollback(': 'int $connection_id | bool',
\ }
let g:phpcomplete_builtin['functions']['parsekit'] = {
\ 'parsekit_compile_file(': 'string $filename [, array &$errors [, int $options = PARSEKIT_QUIET]] | array',
\ 'parsekit_compile_string(': 'string $phpcode [, array &$errors [, int $options = PARSEKIT_QUIET]] | array',
\ 'parsekit_func_arginfo(': 'mixed $function | array',
\ }
let g:phpcomplete_builtin['functions']['password_hashing'] = {
\ 'password_get_info(': 'string $hash | array',
\ 'password_hash(': 'string $password, integer $algo [, array $options] | string',
\ 'password_needs_rehash(': 'string $hash, string $algo [, string $options] | boolean',
\ 'password_verify(': 'string $password, string $hash | boolean',
\ }
let g:phpcomplete_builtin['functions']['pcntl'] = {
\ 'pcntl_alarm(': 'int $seconds | int',
\ 'pcntl_errno(': 'pcntl_errno — Alias of pcntl_strerror()',
\ 'pcntl_exec(': 'string $path [, array $args [, array $envs]] | void',
\ 'pcntl_fork(': 'void | int',
\ 'pcntl_get_last_error(': 'void | int',
\ 'pcntl_getpriority(': '[ int $pid = getmypid() [, int $process_identifier = PRIO_PROCESS]] | int',
\ 'pcntl_setpriority(': 'int $priority [, int $pid = getmypid() [, int $process_identifier = PRIO_PROCESS]] | bool',
\ 'pcntl_signal_dispatch(': 'void | bool',
\ 'pcntl_signal(': 'int $signo, callable|int $handler [, bool $restart_syscalls = true] | bool',
\ 'pcntl_sigprocmask(': 'int $how, array $set [, array &$oldset] | bool',
\ 'pcntl_sigtimedwait(': 'array $set [, array &$siginfo [, int $seconds = 0 [, int $nanoseconds = 0]]] | int',
\ 'pcntl_sigwaitinfo(': 'array $set [, array &$siginfo] | int',
\ 'pcntl_strerror(': 'int $errno | string',
\ 'pcntl_wait(': 'int &$status [, int $options = 0] | int',
\ 'pcntl_waitpid(': 'int $pid, int &$status [, int $options = 0] | int',
\ 'pcntl_wexitstatus(': 'int $status | int',
\ 'pcntl_wifexited(': 'int $status | bool',
\ 'pcntl_wifsignaled(': 'int $status | bool',
\ 'pcntl_wifstopped(': 'int $status | bool',
\ 'pcntl_wstopsig(': 'int $status | int',
\ 'pcntl_wtermsig(': 'int $status | int',
\ }
let g:phpcomplete_builtin['functions']['pdf'] = {
\ 'PDF_activate_item(': 'resource $pdfdoc, int $id | bool',
\ 'PDF_add_launchlink(': 'resource $pdfdoc, float $llx, float $lly, float $urx, float $ury, string $filename | bool',
\ 'PDF_add_locallink(': 'resource $pdfdoc, float $lowerleftx, float $lowerlefty, float $upperrightx, float $upperrighty, int $page, string $dest | bool',
\ 'PDF_add_nameddest(': 'resource $pdfdoc, string $name, string $optlist | bool',
\ 'PDF_add_note(': 'resource $pdfdoc, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open | bool',
\ 'PDF_add_pdflink(': 'resource $pdfdoc, float $bottom_left_x, float $bottom_left_y, float $up_right_x, float $up_right_y, string $filename, int $page, string $dest | bool',
\ 'PDF_add_table_cell(': 'resource $pdfdoc, int $table, int $column, int $row, string $text, string $optlist | int',
\ 'PDF_add_textflow(': 'resource $pdfdoc, int $textflow, string $text, string $optlist | int',
\ 'PDF_add_thumbnail(': 'resource $pdfdoc, int $image | bool',
\ 'PDF_add_weblink(': 'resource $pdfdoc, float $lowerleftx, float $lowerlefty, float $upperrightx, float $upperrighty, string $url | bool',
\ 'PDF_arc(': 'resource $p, float $x, float $y, float $r, float $alpha, float $beta | bool',
\ 'PDF_arcn(': 'resource $p, float $x, float $y, float $r, float $alpha, float $beta | bool',
\ 'PDF_attach_file(': 'resource $pdfdoc, float $llx, float $lly, float $urx, float $ury, string $filename, string $description, string $author, string $mimetype, string $icon | bool',
\ 'PDF_begin_document(': 'resource $pdfdoc, string $filename, string $optlist | int',
\ 'PDF_begin_font(': 'resource $pdfdoc, string $filename, float $a, float $b, float $c, float $d, float $e, float $f, string $optlist | bool',
\ 'PDF_begin_glyph(': 'resource $pdfdoc, string $glyphname, float $wx, float $llx, float $lly, float $urx, float $ury | bool',
\ 'PDF_begin_item(': 'resource $pdfdoc, string $tag, string $optlist | int',
\ 'PDF_begin_layer(': 'resource $pdfdoc, int $layer | bool',
\ 'PDF_begin_page_ext(': 'resource $pdfdoc, float $width, float $height, string $optlist | bool',
\ 'PDF_begin_page(': 'resource $pdfdoc, float $width, float $height | bool',
\ 'PDF_begin_pattern(': 'resource $pdfdoc, float $width, float $height, float $xstep, float $ystep, int $painttype | int',
\ 'PDF_begin_template_ext(': 'resource $pdfdoc, float $width, float $height, string $optlist | int',
\ 'PDF_begin_template(': 'resource $pdfdoc, float $width, float $height | int',
\ 'PDF_circle(': 'resource $pdfdoc, float $x, float $y, float $r | bool',
\ 'PDF_clip(': 'resource $p | bool',
\ 'PDF_close_image(': 'resource $p, int $image | bool',
\ 'PDF_close_pdi_page(': 'resource $p, int $page | bool',
\ 'PDF_close_pdi(': 'resource $p, int $doc | bool',
\ 'PDF_close(': 'resource $p | bool',
\ 'PDF_closepath_fill_stroke(': 'resource $p | bool',
\ 'PDF_closepath_stroke(': 'resource $p | bool',
\ 'PDF_closepath(': 'resource $p | bool',
\ 'PDF_concat(': 'resource $p, float $a, float $b, float $c, float $d, float $e, float $f | bool',
\ 'PDF_continue_text(': 'resource $p, string $text | bool',
\ 'PDF_create_3dview(': 'resource $pdfdoc, string $username, string $optlist | int',
\ 'PDF_create_action(': 'resource $pdfdoc, string $type, string $optlist | int',
\ 'PDF_create_annotation(': 'resource $pdfdoc, float $llx, float $lly, float $urx, float $ury, string $type, string $optlist | bool',
\ 'PDF_create_bookmark(': 'resource $pdfdoc, string $text, string $optlist | int',
\ 'PDF_create_field(': 'resource $pdfdoc, float $llx, float $lly, float $urx, float $ury, string $name, string $type, string $optlist | bool',
\ 'PDF_create_fieldgroup(': 'resource $pdfdoc, string $name, string $optlist | bool',
\ 'PDF_create_gstate(': 'resource $pdfdoc, string $optlist | int',
\ 'PDF_create_pvf(': 'resource $pdfdoc, string $filename, string $data, string $optlist | bool',
\ 'PDF_create_textflow(': 'resource $pdfdoc, string $text, string $optlist | int',
\ 'PDF_curveto(': 'resource $p, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 | bool',
\ 'PDF_define_layer(': 'resource $pdfdoc, string $name, string $optlist | int',
\ 'PDF_delete_pvf(': 'resource $pdfdoc, string $filename | int',
\ 'PDF_delete_table(': 'resource $pdfdoc, int $table, string $optlist | bool',
\ 'PDF_delete_textflow(': 'resource $pdfdoc, int $textflow | bool',
\ 'PDF_delete(': 'resource $pdfdoc | bool',
\ 'PDF_encoding_set_char(': 'resource $pdfdoc, string $encoding, int $slot, string $glyphname, int $uv | bool',
\ 'PDF_end_document(': 'resource $pdfdoc, string $optlist | bool',
\ 'PDF_end_font(': 'resource $pdfdoc | bool',
\ 'PDF_end_glyph(': 'resource $pdfdoc | bool',
\ 'PDF_end_item(': 'resource $pdfdoc, int $id | bool',
\ 'PDF_end_layer(': 'resource $pdfdoc | bool',
\ 'PDF_end_page_ext(': 'resource $pdfdoc, string $optlist | bool',
\ 'PDF_end_page(': 'resource $p | bool',
\ 'PDF_end_pattern(': 'resource $p | bool',
\ 'PDF_end_template(': 'resource $p | bool',
\ 'PDF_endpath(': 'resource $p | bool',
\ 'PDF_fill_imageblock(': 'resource $pdfdoc, int $page, string $blockname, int $image, string $optlist | int',
\ 'PDF_fill_pdfblock(': 'resource $pdfdoc, int $page, string $blockname, int $contents, string $optlist | int',
\ 'PDF_fill_stroke(': 'resource $p | bool',
\ 'PDF_fill_textblock(': 'resource $pdfdoc, int $page, string $blockname, string $text, string $optlist | int',
\ 'PDF_fill(': 'resource $p | bool',
\ 'PDF_findfont(': 'resource $p, string $fontname, string $encoding, int $embed | int',
\ 'PDF_fit_image(': 'resource $pdfdoc, int $image, float $x, float $y, string $optlist | bool',
\ 'PDF_fit_pdi_page(': 'resource $pdfdoc, int $page, float $x, float $y, string $optlist | bool',
\ 'PDF_fit_table(': 'resource $pdfdoc, int $table, float $llx, float $lly, float $urx, float $ury, string $optlist | string',
\ 'PDF_fit_textflow(': 'resource $pdfdoc, int $textflow, float $llx, float $lly, float $urx, float $ury, string $optlist | string',
\ 'PDF_fit_textline(': 'resource $pdfdoc, string $text, float $x, float $y, string $optlist | bool',
\ 'PDF_get_apiname(': 'resource $pdfdoc | string',
\ 'PDF_get_buffer(': 'resource $p | string',
\ 'PDF_get_errmsg(': 'resource $pdfdoc | string',
\ 'PDF_get_errnum(': 'resource $pdfdoc | int',
\ 'PDF_get_majorversion(': 'void | int',
\ 'PDF_get_minorversion(': 'void | int',
\ 'PDF_get_parameter(': 'resource $p, string $key, float $modifier | string',
\ 'PDF_get_pdi_parameter(': 'resource $p, string $key, int $doc, int $page, int $reserved | string',
\ 'PDF_get_pdi_value(': 'resource $p, string $key, int $doc, int $page, int $reserved | float',
\ 'PDF_get_value(': 'resource $p, string $key, float $modifier | float',
\ 'PDF_info_font(': 'resource $pdfdoc, int $font, string $keyword, string $optlist | float',
\ 'PDF_info_matchbox(': 'resource $pdfdoc, string $boxname, int $num, string $keyword | float',
\ 'PDF_info_table(': 'resource $pdfdoc, int $table, string $keyword | float',
\ 'PDF_info_textflow(': 'resource $pdfdoc, int $textflow, string $keyword | float',
\ 'PDF_info_textline(': 'resource $pdfdoc, string $text, string $keyword, string $optlist | float',
\ 'PDF_initgraphics(': 'resource $p | bool',
\ 'PDF_lineto(': 'resource $p, float $x, float $y | bool',
\ 'PDF_load_3ddata(': 'resource $pdfdoc, string $filename, string $optlist | int',
\ 'PDF_load_font(': 'resource $pdfdoc, string $fontname, string $encoding, string $optlist | int',
\ 'PDF_load_iccprofile(': 'resource $pdfdoc, string $profilename, string $optlist | int',
\ 'PDF_load_image(': 'resource $pdfdoc, string $imagetype, string $filename, string $optlist | int',
\ 'PDF_makespotcolor(': 'resource $p, string $spotname | int',
\ 'PDF_moveto(': 'resource $p, float $x, float $y | bool',
\ 'PDF_new(': 'void | resource',
\ 'PDF_open_ccitt(': 'resource $pdfdoc, string $filename, int $width, int $height, int $BitReverse, int $k, int $Blackls1 | int',
\ 'PDF_open_file(': 'resource $p, string $filename | bool',
\ 'PDF_open_image_file(': 'resource $p, string $imagetype, string $filename, string $stringparam, int $intparam | int',
\ 'PDF_open_image(': 'resource $p, string $imagetype, string $source, string $data, int $length, int $width, int $height, int $components, int $bpc, string $params | int',
\ 'PDF_open_memory_image(': 'resource $p, resource $image | int',
\ 'PDF_open_pdi_document(': 'resource $p, string $filename, string $optlist | int',
\ 'PDF_open_pdi_page(': 'resource $p, int $doc, int $pagenumber, string $optlist | int',
\ 'PDF_open_pdi(': 'resource $pdfdoc, string $filename, string $optlist, int $len | int',
\ 'PDF_pcos_get_number(': 'resource $p, int $doc, string $path | float',
\ 'PDF_pcos_get_stream(': 'resource $p, int $doc, string $optlist, string $path | string',
\ 'PDF_pcos_get_string(': 'resource $p, int $doc, string $path | string',
\ 'PDF_place_image(': 'resource $pdfdoc, int $image, float $x, float $y, float $scale | bool',
\ 'PDF_place_pdi_page(': 'resource $pdfdoc, int $page, float $x, float $y, float $sx, float $sy | bool',
\ 'PDF_process_pdi(': 'resource $pdfdoc, int $doc, int $page, string $optlist | int',
\ 'PDF_rect(': 'resource $p, float $x, float $y, float $width, float $height | bool',
\ 'PDF_restore(': 'resource $p | bool',
\ 'PDF_resume_page(': 'resource $pdfdoc, string $optlist | bool',
\ 'PDF_rotate(': 'resource $p, float $phi | bool',
\ 'PDF_save(': 'resource $p | bool',
\ 'PDF_scale(': 'resource $p, float $sx, float $sy | bool',
\ 'PDF_set_border_color(': 'resource $p, float $red, float $green, float $blue | bool',
\ 'PDF_set_border_dash(': 'resource $pdfdoc, float $black, float $white | bool',
\ 'PDF_set_border_style(': 'resource $pdfdoc, string $style, float $width | bool',
\ 'PDF_set_gstate(': 'resource $pdfdoc, int $gstate | bool',
\ 'PDF_set_info(': 'resource $p, string $key, string $value | bool',
\ 'PDF_set_layer_dependency(': 'resource $pdfdoc, string $type, string $optlist | bool',
\ 'PDF_set_parameter(': 'resource $p, string $key, string $value | bool',
\ 'PDF_set_text_pos(': 'resource $p, float $x, float $y | bool',
\ 'PDF_set_value(': 'resource $p, string $key, float $value | bool',
\ 'PDF_setcolor(': 'resource $p, string $fstype, string $colorspace, float $c1, float $c2, float $c3, float $c4 | bool',
\ 'PDF_setdash(': 'resource $pdfdoc, float $b, float $w | bool',
\ 'PDF_setdashpattern(': 'resource $pdfdoc, string $optlist | bool',
\ 'PDF_setflat(': 'resource $pdfdoc, float $flatness | bool',
\ 'PDF_setfont(': 'resource $pdfdoc, int $font, float $fontsize | bool',
\ 'PDF_setgray_fill(': 'resource $p, float $g | bool',
\ 'PDF_setgray_stroke(': 'resource $p, float $g | bool',
\ 'PDF_setgray(': 'resource $p, float $g | bool',
\ 'PDF_setlinecap(': 'resource $p, int $linecap | bool',
\ 'PDF_setlinejoin(': 'resource $p, int $value | bool',
\ 'PDF_setlinewidth(': 'resource $p, float $width | bool',
\ 'PDF_setmatrix(': 'resource $p, float $a, float $b, float $c, float $d, float $e, float $f | bool',
\ 'PDF_setmiterlimit(': 'resource $pdfdoc, float $miter | bool',
\ 'PDF_setrgbcolor_fill(': 'resource $p, float $red, float $green, float $blue | bool',
\ 'PDF_setrgbcolor_stroke(': 'resource $p, float $red, float $green, float $blue | bool',
\ 'PDF_setrgbcolor(': 'resource $p, float $red, float $green, float $blue | bool',
\ 'PDF_shading_pattern(': 'resource $pdfdoc, int $shading, string $optlist | int',
\ 'PDF_shading(': 'resource $pdfdoc, string $shtype, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist | int',
\ 'PDF_shfill(': 'resource $pdfdoc, int $shading | bool',
\ 'PDF_show_boxed(': 'resource $p, string $text, float $left, float $top, float $width, float $height, string $mode, string $feature | int',
\ 'PDF_show_xy(': 'resource $p, string $text, float $x, float $y | bool',
\ 'PDF_show(': 'resource $pdfdoc, string $text | bool',
\ 'PDF_skew(': 'resource $p, float $alpha, float $beta | bool',
\ 'PDF_stringwidth(': 'resource $p, string $text, int $font, float $fontsize | float',
\ 'PDF_stroke(': 'resource $p | bool',
\ 'PDF_suspend_page(': 'resource $pdfdoc, string $optlist | bool',
\ 'PDF_translate(': 'resource $p, float $tx, float $ty | bool',
\ 'PDF_utf16_to_utf8(': 'resource $pdfdoc, string $utf16string | string',
\ 'PDF_utf32_to_utf16(': 'resource $pdfdoc, string $utf32string, string $ordering | string',
\ 'PDF_utf8_to_utf16(': 'resource $pdfdoc, string $utf8string, string $ordering | string',
\ }
let g:phpcomplete_builtin['functions']['postgresql'] = {
\ 'pg_affected_rows(': 'resource $result | int',
\ 'pg_cancel_query(': 'resource $connection | bool',
\ 'pg_client_encoding(': '[ resource $connection] | string',
\ 'pg_close(': '[ resource $connection] | bool',
\ 'pg_connect(': 'string $connection_string [, int $connect_type] | resource',
\ 'pg_connection_busy(': 'resource $connection | bool',
\ 'pg_connection_reset(': 'resource $connection | bool',
\ 'pg_connection_status(': 'resource $connection | int',
\ 'pg_convert(': 'resource $connection, string $table_name, array $assoc_array [, int $options = 0] | array',
\ 'pg_copy_from(': 'resource $connection, string $table_name, array $rows [, string $delimiter [, string $null_as]] | bool',
\ 'pg_copy_to(': 'resource $connection, string $table_name [, string $delimiter [, string $null_as]] | array',
\ 'pg_dbname(': '[ resource $connection] | string',
\ 'pg_delete(': 'resource $connection, string $table_name, array $assoc_array [, int $options = PGSQL_DML_EXEC] | mixed',
\ 'pg_end_copy(': '[ resource $connection] | bool',
\ 'pg_escape_bytea(': '[ resource $connection [, string $data]] | string',
\ 'pg_escape_identifier(': '[ resource $connection [, string $data]] | string',
\ 'pg_escape_literal(': '[ resource $connection [, string $data]] | string',
\ 'pg_escape_string(': '[ resource $connection [, string $data]] | string',
\ 'pg_execute(': '[ resource $connection [, string $stmtname [, array $params]]] | resource',
\ 'pg_fetch_all_columns(': 'resource $result [, int $column = 0] | array',
\ 'pg_fetch_all(': 'resource $result | array',
\ 'pg_fetch_array(': 'resource $result [, int $row [, int $result_type = PGSQL_BOTH]] | array',
\ 'pg_fetch_assoc(': 'resource $result [, int $row] | array',
\ 'pg_fetch_object(': 'resource $result [, int $row [, int $result_type = PGSQL_ASSOC]] | object',
\ 'pg_fetch_result(': 'resource $result, int $row, mixed $field | string',
\ 'pg_fetch_row(': 'resource $result [, int $row] | array',
\ 'pg_field_is_null(': 'resource $result, int $row, mixed $field | int',
\ 'pg_field_name(': 'resource $result, int $field_number | string',
\ 'pg_field_num(': 'resource $result, string $field_name | int',
\ 'pg_field_prtlen(': 'resource $result, int $row_number, mixed $field_name_or_number | int',
\ 'pg_field_size(': 'resource $result, int $field_number | int',
\ 'pg_field_table(': 'resource $result, int $field_number [, bool $oid_only = false] | mixed',
\ 'pg_field_type_oid(': 'resource $result, int $field_number | int',
\ 'pg_field_type(': 'resource $result, int $field_number | string',
\ 'pg_free_result(': 'resource $result | bool',
\ 'pg_get_notify(': 'resource $connection [, int $result_type] | array',
\ 'pg_get_pid(': 'resource $connection | int',
\ 'pg_get_result(': '[ resource $connection] | resource',
\ 'pg_host(': '[ resource $connection] | string',
\ 'pg_insert(': 'resource $connection, string $table_name, array $assoc_array [, int $options = PGSQL_DML_EXEC] | mixed',
\ 'pg_last_error(': '[ resource $connection] | string',
\ 'pg_last_notice(': 'resource $connection | string',
\ 'pg_last_oid(': 'resource $result | string',
\ 'pg_lo_close(': 'resource $large_object | bool',
\ 'pg_lo_create(': '[ resource $connection [, mixed $object_id]] | int',
\ 'pg_lo_export(': '[ resource $connection [, int $oid [, string $pathname]]] | bool',
\ 'pg_lo_import(': '[ resource $connection [, string $pathname [, mixed $object_id]]] | int',
\ 'pg_lo_open(': 'resource $connection, int $oid, string $mode | resource',
\ 'pg_lo_read_all(': 'resource $large_object | int',
\ 'pg_lo_read(': 'resource $large_object [, int $len = 8192] | string',
\ 'pg_lo_seek(': 'resource $large_object, int $offset [, int $whence = PGSQL_SEEK_CUR] | bool',
\ 'pg_lo_tell(': 'resource $large_object | int',
\ 'pg_lo_unlink(': 'resource $connection, int $oid | bool',
\ 'pg_lo_write(': 'resource $large_object, string $data [, int $len] | int',
\ 'pg_meta_data(': 'resource $connection, string $table_name | array',
\ 'pg_num_fields(': 'resource $result | int',
\ 'pg_num_rows(': 'resource $result | int',
\ 'pg_options(': '[ resource $connection] | string',
\ 'pg_parameter_status(': '[ resource $connection [, string $param_name]] | string',
\ 'pg_pconnect(': 'string $connection_string [, int $connect_type] | resource',
\ 'pg_ping(': '[ resource $connection] | bool',
\ 'pg_port(': '[ resource $connection] | int',
\ 'pg_prepare(': '[ resource $connection [, string $stmtname [, string $query]]] | resource',
\ 'pg_put_line(': '[ resource $connection [, string $data]] | bool',
\ 'pg_query_params(': '[ resource $connection [, string $query [, array $params]]] | resource',
\ 'pg_query(': '[ resource $connection [, string $query]] | resource',
\ 'pg_result_error_field(': 'resource $result, int $fieldcode | string',
\ 'pg_result_error(': 'resource $result | string',
\ 'pg_result_seek(': 'resource $result, int $offset | bool',
\ 'pg_result_status(': 'resource $result [, int $type = PGSQL_STATUS_LONG] | mixed',
\ 'pg_select(': 'resource $connection, string $table_name, array $assoc_array [, int $options = PGSQL_DML_EXEC] | mixed',
\ 'pg_send_execute(': 'resource $connection, string $stmtname, array $params | bool',
\ 'pg_send_prepare(': 'resource $connection, string $stmtname, string $query | bool',
\ 'pg_send_query_params(': 'resource $connection, string $query, array $params | bool',
\ 'pg_send_query(': 'resource $connection, string $query | bool',
\ 'pg_set_client_encoding(': '[ resource $connection [, string $encoding]] | int',
\ 'pg_set_error_verbosity(': '[ resource $connection [, int $verbosity]] | int',
\ 'pg_trace(': 'string $pathname [, string $mode = "w" [, resource $connection]] | bool',
\ 'pg_transaction_status(': 'resource $connection | int',
\ 'pg_tty(': '[ resource $connection] | string',
\ 'pg_unescape_bytea(': 'string $data | string',
\ 'pg_untrace(': '[ resource $connection] | bool',
\ 'pg_update(': 'resource $connection, string $table_name, array $data, array $condition [, int $options = PGSQL_DML_EXEC] | mixed',
\ 'pg_version(': '[ resource $connection] | array',
\ }
let g:phpcomplete_builtin['functions']['posix'] = {
\ 'posix_access(': 'string $file [, int $mode = POSIX_F_OK] | bool',
\ 'posix_ctermid(': 'void | string',
\ 'posix_errno(': 'posix_errno — Alias of posix_get_last_error()',
\ 'posix_get_last_error(': 'void | int',
\ 'posix_getcwd(': 'void | string',
\ 'posix_getegid(': 'void | int',
\ 'posix_geteuid(': 'void | int',
\ 'posix_getgid(': 'void | int',
\ 'posix_getgrgid(': 'int $gid | array',
\ 'posix_getgrnam(': 'string $name | array',
\ 'posix_getgroups(': 'void | array',
\ 'posix_getlogin(': 'void | string',
\ 'posix_getpgid(': 'int $pid | int',
\ 'posix_getpgrp(': 'void | int',
\ 'posix_getpid(': 'void | int',
\ 'posix_getppid(': 'void | int',
\ 'posix_getpwnam(': 'string $username | array',
\ 'posix_getpwuid(': 'int $uid | array',
\ 'posix_getrlimit(': 'void | array',
\ 'posix_getsid(': 'int $pid | int',
\ 'posix_getuid(': 'void | int',
\ 'posix_initgroups(': 'string $name, int $base_group_id | bool',
\ 'posix_isatty(': 'int $fd | bool',
\ 'posix_kill(': 'int $pid, int $sig | bool',
\ 'posix_mkfifo(': 'string $pathname, int $mode | bool',
\ 'posix_mknod(': 'string $pathname, int $mode [, int $major = 0 [, int $minor = 0]] | bool',
\ 'posix_setegid(': 'int $gid | bool',
\ 'posix_seteuid(': 'int $uid | bool',
\ 'posix_setgid(': 'int $gid | bool',
\ 'posix_setpgid(': 'int $pid, int $pgid | bool',
\ 'posix_setsid(': 'void | int',
\ 'posix_setuid(': 'int $uid | bool',
\ 'posix_strerror(': 'int $errno | string',
\ 'posix_times(': 'void | array',
\ 'posix_ttyname(': 'int $fd | string',
\ 'posix_uname(': 'void | array',
\ }
let g:phpcomplete_builtin['functions']['pcre'] = {
\ 'preg_filter(': 'mixed $pattern, mixed $replacement, mixed $subject [, int $limit = -1 [, int &$count]] | mixed',
\ 'preg_grep(': 'string $pattern, array $input [, int $flags = 0] | array',
\ 'preg_last_error(': 'void | int',
\ 'preg_match_all(': 'string $pattern, string $subject [, array &$matches [, int $flags = PREG_PATTERN_ORDER [, int $offset = 0]]] | int',
\ 'preg_match(': 'string $pattern, string $subject [, array &$matches [, int $flags = 0 [, int $offset = 0]]] | int',
\ 'preg_quote(': 'string $str [, string $delimiter = NULL] | string',
\ 'preg_replace_callback(': 'mixed $pattern, callable $callback, mixed $subject [, int $limit = -1 [, int &$count]] | mixed',
\ 'preg_replace(': 'mixed $pattern, mixed $replacement, mixed $subject [, int $limit = -1 [, int &$count]] | mixed',
\ 'preg_split(': 'string $pattern, string $subject [, int $limit = -1 [, int $flags = 0]] | array',
\ }
let g:phpcomplete_builtin['functions']['printer'] = {
\ 'printer_abort(': 'resource $printer_handle | void',
\ 'printer_close(': 'resource $printer_handle | void',
\ 'printer_create_brush(': 'int $style, string $color | resource',
\ 'printer_create_dc(': 'resource $printer_handle | void',
\ 'printer_create_font(': 'string $face, int $height, int $width, int $font_weight, bool $italic, bool $underline, bool $strikeout, int $orientation | resource',
\ 'printer_create_pen(': 'int $style, int $width, string $color | resource',
\ 'printer_delete_brush(': 'resource $brush_handle | void',
\ 'printer_delete_dc(': 'resource $printer_handle | bool',
\ 'printer_delete_font(': 'resource $font_handle | void',
\ 'printer_delete_pen(': 'resource $pen_handle | void',
\ 'printer_draw_bmp(': 'resource $printer_handle, string $filename, int $x, int $y [, int $width [, int $height]] | bool',
\ 'printer_draw_chord(': 'resource $printer_handle, int $rec_x, int $rec_y, int $rec_x1, int $rec_y1, int $rad_x, int $rad_y, int $rad_x1, int $rad_y1 | void',
\ 'printer_draw_elipse(': 'resource $printer_handle, int $ul_x, int $ul_y, int $lr_x, int $lr_y | void',
\ 'printer_draw_line(': 'resource $printer_handle, int $from_x, int $from_y, int $to_x, int $to_y | void',
\ 'printer_draw_pie(': 'resource $printer_handle, int $rec_x, int $rec_y, int $rec_x1, int $rec_y1, int $rad1_x, int $rad1_y, int $rad2_x, int $rad2_y | void',
\ 'printer_draw_rectangle(': 'resource $printer_handle, int $ul_x, int $ul_y, int $lr_x, int $lr_y | void',
\ 'printer_draw_roundrect(': 'resource $printer_handle, int $ul_x, int $ul_y, int $lr_x, int $lr_y, int $width, int $height | void',
\ 'printer_draw_text(': 'resource $printer_handle, string $text, int $x, int $y | void',
\ 'printer_end_doc(': 'resource $printer_handle | bool',
\ 'printer_end_page(': 'resource $printer_handle | bool',
\ 'printer_get_option(': 'resource $printer_handle, string $option | mixed',
\ 'printer_list(': 'int $enumtype [, string $name [, int $level]] | array',
\ 'printer_logical_fontheight(': 'resource $printer_handle, int $height | int',
\ 'printer_open(': '[ string $printername] | resource',
\ 'printer_select_brush(': 'resource $printer_handle, resource $brush_handle | void',
\ 'printer_select_font(': 'resource $printer_handle, resource $font_handle | void',
\ 'printer_select_pen(': 'resource $printer_handle, resource $pen_handle | void',
\ 'printer_set_option(': 'resource $printer_handle, int $option, mixed $value | bool',
\ 'printer_start_doc(': 'resource $printer_handle [, string $document] | bool',
\ 'printer_start_page(': 'resource $printer_handle | bool',
\ 'printer_write(': 'resource $printer_handle, string $content | bool',
\ }
let g:phpcomplete_builtin['functions']['ps'] = {
\ 'ps_add_bookmark(': 'resource $psdoc, string $text [, int $parent = 0 [, int $open = 0]] | int',
\ 'ps_add_launchlink(': 'resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $filename | bool',
\ 'ps_add_locallink(': 'resource $psdoc, float $llx, float $lly, float $urx, float $ury, int $page, string $dest | bool',
\ 'ps_add_note(': 'resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open | bool',
\ 'ps_add_pdflink(': 'resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $filename, int $page, string $dest | bool',
\ 'ps_add_weblink(': 'resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $url | bool',
\ 'ps_arc(': 'resource $psdoc, float $x, float $y, float $radius, float $alpha, float $beta | bool',
\ 'ps_arcn(': 'resource $psdoc, float $x, float $y, float $radius, float $alpha, float $beta | bool',
\ 'ps_begin_page(': 'resource $psdoc, float $width, float $height | bool',
\ 'ps_begin_pattern(': 'resource $psdoc, float $width, float $height, float $xstep, float $ystep, int $painttype | int',
\ 'ps_begin_template(': 'resource $psdoc, float $width, float $height | int',
\ 'ps_circle(': 'resource $psdoc, float $x, float $y, float $radius | bool',
\ 'ps_clip(': 'resource $psdoc | bool',
\ 'ps_close_image(': 'resource $psdoc, int $imageid | void',
\ 'ps_close(': 'resource $psdoc | bool',
\ 'ps_closepath_stroke(': 'resource $psdoc | bool',
\ 'ps_closepath(': 'resource $psdoc | bool',
\ 'ps_continue_text(': 'resource $psdoc, string $text | bool',
\ 'ps_curveto(': 'resource $psdoc, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 | bool',
\ 'ps_delete(': 'resource $psdoc | bool',
\ 'ps_end_page(': 'resource $psdoc | bool',
\ 'ps_end_pattern(': 'resource $psdoc | bool',
\ 'ps_end_template(': 'resource $psdoc | bool',
\ 'ps_fill_stroke(': 'resource $psdoc | bool',
\ 'ps_fill(': 'resource $psdoc | bool',
\ 'ps_findfont(': 'resource $psdoc, string $fontname, string $encoding [, bool $embed = false] | int',
\ 'ps_get_buffer(': 'resource $psdoc | string',
\ 'ps_get_parameter(': 'resource $psdoc, string $name [, float $modifier] | string',
\ 'ps_get_value(': 'resource $psdoc, string $name [, float $modifier] | float',
\ 'ps_hyphenate(': 'resource $psdoc, string $text | array',
\ 'ps_include_file(': 'resource $psdoc, string $file | bool',
\ 'ps_lineto(': 'resource $psdoc, float $x, float $y | bool',
\ 'ps_makespotcolor(': 'resource $psdoc, string $name [, int $reserved = 0] | int',
\ 'ps_moveto(': 'resource $psdoc, float $x, float $y | bool',
\ 'ps_new(': 'void | resource',
\ 'ps_open_file(': 'resource $psdoc [, string $filename] | bool',
\ 'ps_open_image_file(': 'resource $psdoc, string $type, string $filename [, string $stringparam [, int $intparam = 0]] | int',
\ 'ps_open_image(': 'resource $psdoc, string $type, string $source, string $data, int $lenght, int $width, int $height, int $components, int $bpc, string $params | int',
\ 'ps_open_memory_image(': 'resource $psdoc, int $gd | int',
\ 'ps_place_image(': 'resource $psdoc, int $imageid, float $x, float $y, float $scale | bool',
\ 'ps_rect(': 'resource $psdoc, float $x, float $y, float $width, float $height | bool',
\ 'ps_restore(': 'resource $psdoc | bool',
\ 'ps_rotate(': 'resource $psdoc, float $rot | bool',
\ 'ps_save(': 'resource $psdoc | bool',
\ 'ps_scale(': 'resource $psdoc, float $x, float $y | bool',
\ 'ps_set_border_color(': 'resource $psdoc, float $red, float $green, float $blue | bool',
\ 'ps_set_border_dash(': 'resource $psdoc, float $black, float $white | bool',
\ 'ps_set_border_style(': 'resource $psdoc, string $style, float $width | bool',
\ 'ps_set_info(': 'resource $p, string $key, string $val | bool',
\ 'ps_set_parameter(': 'resource $psdoc, string $name, string $value | bool',
\ 'ps_set_text_pos(': 'resource $psdoc, float $x, float $y | bool',
\ 'ps_set_value(': 'resource $psdoc, string $name, float $value | bool',
\ 'ps_setcolor(': 'resource $psdoc, string $type, string $colorspace, float $c1, float $c2, float $c3, float $c4 | bool',
\ 'ps_setdash(': 'resource $psdoc, float $on, float $off | bool',
\ 'ps_setflat(': 'resource $psdoc, float $value | bool',
\ 'ps_setfont(': 'resource $psdoc, int $fontid, float $size | bool',
\ 'ps_setgray(': 'resource $psdoc, float $gray | bool',
\ 'ps_setlinecap(': 'resource $psdoc, int $type | bool',
\ 'ps_setlinejoin(': 'resource $psdoc, int $type | bool',
\ 'ps_setlinewidth(': 'resource $psdoc, float $width | bool',
\ 'ps_setmiterlimit(': 'resource $psdoc, float $value | bool',
\ 'ps_setoverprintmode(': 'resource $psdoc, int $mode | bool',
\ 'ps_setpolydash(': 'resource $psdoc, float $arr | bool',
\ 'ps_shading_pattern(': 'resource $psdoc, int $shadingid, string $optlist | int',
\ 'ps_shading(': 'resource $psdoc, string $type, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist | int',
\ 'ps_shfill(': 'resource $psdoc, int $shadingid | bool',
\ 'ps_show_boxed(': 'resource $psdoc, string $text, float $left, float $bottom, float $width, float $height, string $hmode [, string $feature] | int',
\ 'ps_show_xy(': 'resource $psdoc, string $text, float $x, float $y | bool',
\ 'ps_show_xy2(': 'resource $psdoc, string $text, int $len, float $xcoor, float $ycoor | bool',
\ 'ps_show(': 'resource $psdoc, string $text | bool',
\ 'ps_show2(': 'resource $psdoc, string $text, int $len | bool',
\ 'ps_string_geometry(': 'resource $psdoc, string $text [, int $fontid = 0 [, float $size = 0.0]] | array',
\ 'ps_stringwidth(': 'resource $psdoc, string $text [, int $fontid = 0 [, float $size = 0.0]] | float',
\ 'ps_stroke(': 'resource $psdoc | bool',
\ 'ps_symbol_name(': 'resource $psdoc, int $ord [, int $fontid = 0] | string',
\ 'ps_symbol_width(': 'resource $psdoc, int $ord [, int $fontid = 0 [, float $size = 0.0]] | float',
\ 'ps_symbol(': 'resource $psdoc, int $ord | bool',
\ 'ps_translate(': 'resource $psdoc, float $x, float $y | bool',
\ }
let g:phpcomplete_builtin['functions']['pspell'] = {
\ 'pspell_add_to_personal(': 'int $dictionary_link, string $word | bool',
\ 'pspell_add_to_session(': 'int $dictionary_link, string $word | bool',
\ 'pspell_check(': 'int $dictionary_link, string $word | bool',
\ 'pspell_clear_session(': 'int $dictionary_link | bool',
\ 'pspell_config_create(': 'string $language [, string $spelling [, string $jargon [, string $encoding]]] | int',
\ 'pspell_config_data_dir(': 'int $conf, string $directory | bool',
\ 'pspell_config_dict_dir(': 'int $conf, string $directory | bool',
\ 'pspell_config_ignore(': 'int $dictionary_link, int $n | bool',
\ 'pspell_config_mode(': 'int $dictionary_link, int $mode | bool',
\ 'pspell_config_personal(': 'int $dictionary_link, string $file | bool',
\ 'pspell_config_repl(': 'int $dictionary_link, string $file | bool',
\ 'pspell_config_runtogether(': 'int $dictionary_link, bool $flag | bool',
\ 'pspell_config_save_repl(': 'int $dictionary_link, bool $flag | bool',
\ 'pspell_new_config(': 'int $config | int',
\ 'pspell_new_personal(': 'string $personal, string $language [, string $spelling [, string $jargon [, string $encoding [, int $mode = 0]]]] | int',
\ 'pspell_new(': 'string $language [, string $spelling [, string $jargon [, string $encoding [, int $mode = 0]]]] | int',
\ 'pspell_save_wordlist(': 'int $dictionary_link | bool',
\ 'pspell_store_replacement(': 'int $dictionary_link, string $misspelled, string $correct | bool',
\ 'pspell_suggest(': 'int $dictionary_link, string $word | array',
\ }
let g:phpcomplete_builtin['functions']['paradox'] = {
\ 'px_close(': 'resource $pxdoc | bool',
\ 'px_create_fp(': 'resource $pxdoc, resource $file, array $fielddesc | bool',
\ 'px_date2string(': 'resource $pxdoc, int $value, string $format | string',
\ 'px_delete_record(': 'resource $pxdoc, int $num | bool',
\ 'px_delete(': 'resource $pxdoc | bool',
\ 'px_get_field(': 'resource $pxdoc, int $fieldno | array',
\ 'px_get_info(': 'resource $pxdoc | array',
\ 'px_get_parameter(': 'resource $pxdoc, string $name | string',
\ 'px_get_record(': 'resource $pxdoc, int $num [, int $mode = 0] | array',
\ 'px_get_schema(': 'resource $pxdoc [, int $mode = 0] | array',
\ 'px_get_value(': 'resource $pxdoc, string $name | float',
\ 'px_insert_record(': 'resource $pxdoc, array $data | int',
\ 'px_new(': 'void | resource',
\ 'px_numfields(': 'resource $pxdoc | int',
\ 'px_numrecords(': 'resource $pxdoc | int',
\ 'px_open_fp(': 'resource $pxdoc, resource $file | bool',
\ 'px_put_record(': 'resource $pxdoc, array $record [, int $recpos = -1] | bool',
\ 'px_retrieve_record(': 'resource $pxdoc, int $num [, int $mode = 0] | array',
\ 'px_set_blob_file(': 'resource $pxdoc, string $filename | bool',
\ 'px_set_parameter(': 'resource $pxdoc, string $name, string $value | bool',
\ 'px_set_tablename(': 'resource $pxdoc, string $name | void',
\ 'px_set_targetencoding(': 'resource $pxdoc, string $encoding | bool',
\ 'px_set_value(': 'resource $pxdoc, string $name, float $value | bool',
\ 'px_timestamp2string(': 'resource $pxdoc, float $value, string $format | string',
\ 'px_update_record(': 'resource $pxdoc, array $data, int $num | bool',
\ }
let g:phpcomplete_builtin['functions']['qtdom'] = {
\ 'qdom_error(': 'void | string',
\ 'qdom_tree(': 'string $doc | QDomDocument',
\ }
let g:phpcomplete_builtin['functions']['radius'] = {
\ 'radius_acct_open(': 'void | resource',
\ 'radius_add_server(': 'resource $radius_handle, string $hostname, int $port, string $secret, int $timeout, int $max_tries | bool',
\ 'radius_auth_open(': 'void | resource',
\ 'radius_close(': 'resource $radius_handle | bool',
\ 'radius_config(': 'resource $radius_handle, string $file | bool',
\ 'radius_create_request(': 'resource $radius_handle, int $type | bool',
\ 'radius_cvt_addr(': 'string $data | string',
\ 'radius_cvt_int(': 'string $data | int',
\ 'radius_cvt_string(': 'string $data | string',
\ 'radius_demangle_mppe_key(': 'resource $radius_handle, string $mangled | string',
\ 'radius_demangle(': 'resource $radius_handle, string $mangled | string',
\ 'radius_get_attr(': 'resource $radius_handle | mixed',
\ 'radius_get_tagged_attr_data(': 'string $data | string',
\ 'radius_get_tagged_attr_tag(': 'string $data | integer',
\ 'radius_get_vendor_attr(': 'string $data | array',
\ 'radius_put_addr(': 'resource $radius_handle, int $type, string $addr [, int $options = 0 [, int $tag]] | bool',
\ 'radius_put_attr(': 'resource $radius_handle, int $type, string $value [, int $options = 0 [, int $tag]] | bool',
\ 'radius_put_int(': 'resource $radius_handle, int $type, int $value [, int $options = 0 [, int $tag]] | bool',
\ 'radius_put_string(': 'resource $radius_handle, int $type, string $value [, int $options = 0 [, int $tag]] | bool',
\ 'radius_put_vendor_addr(': 'resource $radius_handle, int $vendor, int $type, string $addr | bool',
\ 'radius_put_vendor_attr(': 'resource $radius_handle, int $vendor, int $type, string $value [, int $options = 0 [, int $tag]] | bool',
\ 'radius_put_vendor_int(': 'resource $radius_handle, int $vendor, int $type, int $value [, int $options = 0 [, int $tag]] | bool',
\ 'radius_put_vendor_string(': 'resource $radius_handle, int $vendor, int $type, string $value [, int $options = 0 [, int $tag]] | bool',
\ 'radius_request_authenticator(': 'resource $radius_handle | string',
\ 'radius_salt_encrypt_attr(': 'resource $radius_handle, string $data | string',
\ 'radius_send_request(': 'resource $radius_handle | int',
\ 'radius_server_secret(': 'resource $radius_handle | string',
\ 'radius_strerror(': 'resource $radius_handle | string',
\ }
let g:phpcomplete_builtin['functions']['rar'] = {
\ 'rar_wrapper_cache_stats(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['readline'] = {
\ 'readline_add_history(': 'string $line | bool',
\ 'readline_callback_handler_install(': 'string $prompt, callable $callback | bool',
\ 'readline_callback_handler_remove(': 'void | bool',
\ 'readline_callback_read_char(': 'void | void',
\ 'readline_clear_history(': 'void | bool',
\ 'readline_completion_function(': 'callable $function | bool',
\ 'readline_info(': '[ string $varname [, string $newvalue]] | mixed',
\ 'readline_list_history(': 'void | array',
\ 'readline_on_new_line(': 'void | void',
\ 'readline_read_history(': '[ string $filename] | bool',
\ 'readline_redisplay(': 'void | void',
\ 'readline_write_history(': '[ string $filename] | bool',
\ 'readline(': '[ string $prompt] | string',
\ }
let g:phpcomplete_builtin['functions']['recode'] = {
\ 'recode_file(': 'string $request, resource $input, resource $output | bool',
\ 'recode_string(': 'string $request, string $string | string',
\ 'recode(': 'recode — Alias of recode_string()',
\ }
let g:phpcomplete_builtin['functions']['rpm_reader'] = {
\ 'rpm_close(': 'resource $rpmr | bool',
\ 'rpm_get_tag(': 'resource $rpmr, int $tagnum | mixed',
\ 'rpm_is_valid(': 'string $filename | bool',
\ 'rpm_open(': 'string $filename | resource',
\ 'rpm_version(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['rrd'] = {
\ 'rrd_create(': 'string $filename, array $options | bool',
\ 'rrd_error(': 'void | string',
\ 'rrd_fetch(': 'string $filename, array $options | array',
\ 'rrd_first(': 'string $file [, int $raaindex = 0] | int',
\ 'rrd_graph(': 'string $filename, array $options | array',
\ 'rrd_info(': 'string $filename | array',
\ 'rrd_last(': 'string $filename | int',
\ 'rrd_lastupdate(': 'string $filename | array',
\ 'rrd_restore(': 'string $xml_file, string $rrd_file [, array $options] | bool',
\ 'rrd_tune(': 'string $filename, array $options | bool',
\ 'rrd_update(': 'string $filename, array $options | bool',
\ 'rrd_version(': 'void | string',
\ 'rrd_xport(': 'array $options | array',
\ }
let g:phpcomplete_builtin['functions']['runkit'] = {
\ 'runkit_class_adopt(': 'string $classname, string $parentname | bool',
\ 'runkit_class_emancipate(': 'string $classname | bool',
\ 'runkit_constant_add(': 'string $constname, mixed $value | bool',
\ 'runkit_constant_redefine(': 'string $constname, mixed $newvalue | bool',
\ 'runkit_constant_remove(': 'string $constname | bool',
\ 'runkit_function_add(': 'string $funcname, string $arglist, string $code | bool',
\ 'runkit_function_copy(': 'string $funcname, string $targetname | bool',
\ 'runkit_function_redefine(': 'string $funcname, string $arglist, string $code | bool',
\ 'runkit_function_remove(': 'string $funcname | bool',
\ 'runkit_function_rename(': 'string $funcname, string $newname | bool',
\ 'runkit_import(': 'string $filename [, int $flags = RUNKIT_IMPORT_CLASS_METHODS] | bool',
\ 'runkit_lint_file(': 'string $filename | bool',
\ 'runkit_lint(': 'string $code | bool',
\ 'runkit_method_add(': 'string $classname, string $methodname, string $args, string $code [, int $flags = RUNKIT_ACC_PUBLIC] | bool',
\ 'runkit_method_copy(': 'string $dClass, string $dMethod, string $sClass [, string $sMethod] | bool',
\ 'runkit_method_redefine(': 'string $classname, string $methodname, string $args, string $code [, int $flags = RUNKIT_ACC_PUBLIC] | bool',
\ 'runkit_method_remove(': 'string $classname, string $methodname | bool',
\ 'runkit_method_rename(': 'string $classname, string $methodname, string $newname | bool',
\ 'runkit_return_value_used(': 'void | bool',
\ 'runkit_sandbox_output_handler(': 'object $sandbox [, mixed $callback] | mixed',
\ 'runkit_superglobals(': 'void | array',
\ }
let g:phpcomplete_builtin['functions']['sessions'] = {
\ 'session_cache_expire(': '[ string $new_cache_expire] | int',
\ 'session_cache_limiter(': '[ string $cache_limiter] | string',
\ 'session_commit(': 'session_commit — Alias of session_write_close()',
\ 'session_decode(': 'string $data | bool',
\ 'session_destroy(': 'void | bool',
\ 'session_encode(': 'void | string',
\ 'session_get_cookie_params(': 'void | array',
\ 'session_id(': '[ string $id] | string',
\ 'session_is_registered(': 'string $name | bool',
\ 'session_module_name(': '[ string $module] | string',
\ 'session_name(': '[ string $name] | string',
\ 'session_regenerate_id(': '[ bool $delete_old_session = false] | bool',
\ 'session_register_shutdown(': 'void | void',
\ 'session_register(': 'mixed $name [, mixed $...] | bool',
\ 'session_save_path(': '[ string $path] | string',
\ 'session_set_cookie_params(': 'int $lifetime [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false]]]] | void',
\ 'session_set_save_handler(': 'callable $open, callable $close, callable $read, callable $write, callable $destroy, callable $gc | bool',
\ 'session_start(': 'void | bool',
\ 'session_status(': 'void | int',
\ 'session_unregister(': 'string $name | bool',
\ 'session_unset(': 'void | void',
\ 'session_write_close(': 'void | void',
\ }
let g:phpcomplete_builtin['functions']['session_pgsql'] = {
\ 'session_pgsql_add_error(': 'int $error_level [, string $error_message] | bool',
\ 'session_pgsql_get_error(': '[ bool $with_error_message = false] | array',
\ 'session_pgsql_get_field(': 'void | string',
\ 'session_pgsql_reset(': 'void | bool',
\ 'session_pgsql_set_field(': 'string $value | bool',
\ 'session_pgsql_status(': 'void | array',
\ }
let g:phpcomplete_builtin['functions']['streams'] = {
\ 'set_socket_blocking(': 'set_socket_blocking — Alias of stream_set_blocking()',
\ 'stream_bucket_append(': 'resource $brigade, resource $bucket | void',
\ 'stream_bucket_make_writeable(': 'resource $brigade | object',
\ 'stream_bucket_new(': 'resource $stream, string $buffer | object',
\ 'stream_bucket_prepend(': 'resource $brigade, resource $bucket | void',
\ 'stream_context_create(': '[ array $options [, array $params]] | resource',
\ 'stream_context_get_default(': '[ array $options] | resource',
\ 'stream_context_get_options(': 'resource $stream_or_context | array',
\ 'stream_context_get_params(': 'resource $stream_or_context | array',
\ 'stream_context_set_default(': 'array $options | resource',
\ 'stream_context_set_option(': 'resource $stream_or_context, string $wrapper, string $option, mixed $value | bool',
\ 'stream_context_set_params(': 'resource $stream_or_context, array $params | bool',
\ 'stream_copy_to_stream(': 'resource $source, resource $dest [, int $maxlength = -1 [, int $offset = 0]] | int',
\ 'stream_encoding(': 'resource $stream [, string $encoding] | bool',
\ 'stream_filter_append(': 'resource $stream, string $filtername [, int $read_write [, mixed $params]] | resource',
\ 'stream_filter_prepend(': 'resource $stream, string $filtername [, int $read_write [, mixed $params]] | resource',
\ 'stream_filter_register(': 'string $filtername, string $classname | bool',
\ 'stream_filter_remove(': 'resource $stream_filter | bool',
\ 'stream_get_contents(': 'resource $handle [, int $maxlength = -1 [, int $offset = -1]] | string',
\ 'stream_get_filters(': 'void | array',
\ 'stream_get_line(': 'resource $handle, int $length [, string $ending] | string',
\ 'stream_get_meta_data(': 'resource $stream | array',
\ 'stream_get_transports(': 'void | array',
\ 'stream_get_wrappers(': 'void | array',
\ 'stream_is_local(': 'mixed $stream_or_url | bool',
\ 'stream_notification_callback(': 'int $notification_code, int $severity, string $message, int $message_code, int $bytes_transferred, int $bytes_max | void',
\ 'stream_resolve_include_path(': 'string $filename | string',
\ 'stream_select(': 'array &$read, array &$write, array &$except, int $tv_sec [, int $tv_usec = 0] | int',
\ 'stream_set_blocking(': 'resource $stream, int $mode | bool',
\ 'stream_set_chunk_size(': 'resource $fp, int $chunk_size | int',
\ 'stream_set_read_buffer(': 'resource $stream, int $buffer | int',
\ 'stream_set_timeout(': 'resource $stream, int $seconds [, int $microseconds = 0] | bool',
\ 'stream_set_write_buffer(': 'resource $stream, int $buffer | int',
\ 'stream_socket_accept(': 'resource $server_socket [, float $timeout = ini_get("default_socket_timeout") [, string &$peername]] | resource',
\ 'stream_socket_client(': 'string $remote_socket [, int &$errno [, string &$errstr [, float $timeout = ini_get("default_socket_timeout") [, int $flags = STREAM_CLIENT_CONNECT [, resource $context]]]]] | resource',
\ 'stream_socket_enable_crypto(': 'resource $stream, bool $enable [, int $crypto_type [, resource $session_stream]] | mixed',
\ 'stream_socket_get_name(': 'resource $handle, bool $want_peer | string',
\ 'stream_socket_pair(': 'int $domain, int $type, int $protocol | array',
\ 'stream_socket_recvfrom(': 'resource $socket, int $length [, int $flags = 0 [, string &$address]] | string',
\ 'stream_socket_sendto(': 'resource $socket, string $data [, int $flags = 0 [, string $address]] | int',
\ 'stream_socket_server(': 'string $local_socket [, int &$errno [, string &$errstr [, int $flags = STREAM_SERVER_BIND | STREAM_SERVER_LISTEN [, resource $context]]]] | resource',
\ 'stream_socket_shutdown(': 'resource $stream, int $how | bool',
\ 'stream_supports_lock(': 'resource $stream | bool',
\ 'stream_wrapper_register(': 'string $protocol, string $classname [, int $flags = 0] | bool',
\ 'stream_wrapper_restore(': 'string $protocol | bool',
\ 'stream_wrapper_unregister(': 'string $protocol | bool',
\ }
let g:phpcomplete_builtin['functions']['proctitle'] = {
\ 'setproctitle(': 'string $title | void',
\ 'setthreadtitle(': 'string $title | bool',
\ }
let g:phpcomplete_builtin['functions']['shared_memory'] = {
\ 'shmop_close(': 'int $shmid | void',
\ 'shmop_delete(': 'int $shmid | bool',
\ 'shmop_open(': 'int $key, string $flags, int $mode, int $size | int',
\ 'shmop_read(': 'int $shmid, int $start, int $count | string',
\ 'shmop_size(': 'int $shmid | int',
\ 'shmop_write(': 'int $shmid, string $data, int $offset | int',
\ }
let g:phpcomplete_builtin['functions']['simplexml'] = {
\ 'simplexml_import_dom(': 'DOMNode $node [, string $class_name = "SimpleXMLElement"] | SimpleXMLElement',
\ 'simplexml_load_file(': 'string $filename [, string $class_name = "SimpleXMLElement" [, int $options = 0 [, string $ns = "" [, bool $is_prefix = false]]]] | SimpleXMLElement',
\ 'simplexml_load_string(': 'string $data [, string $class_name = "SimpleXMLElement" [, int $options = 0 [, string $ns = "" [, bool $is_prefix = false]]]] | SimpleXMLElement',
\ }
let g:phpcomplete_builtin['functions']['snmp'] = {
\ 'snmp_get_quick_print(': 'void | bool',
\ 'snmp_get_valueretrieval(': 'void | int',
\ 'snmp_read_mib(': 'string $filename | bool',
\ 'snmp_set_enum_print(': 'int $enum_print | bool',
\ 'snmp_set_oid_numeric_print(': 'int $oid_format | void',
\ 'snmp_set_oid_output_format(': '[ int $oid_format = SNMP_OID_OUTPUT_MODULE] | bool',
\ 'snmp_set_quick_print(': 'bool $quick_print | bool',
\ 'snmp_set_valueretrieval(': '[ int $method = SNMP_VALUE_LIBRARY] | bool',
\ 'snmp2_get(': 'string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | string',
\ 'snmp2_getnext(': 'string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | string',
\ 'snmp2_real_walk(': 'string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | array',
\ 'snmp2_set(': 'string $host, string $community, string $object_id, string $type, string $value [, string $timeout = 1000000 [, string $retries = 5]] | bool',
\ 'snmp2_walk(': 'string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | array',
\ 'snmp3_get(': 'string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | string',
\ 'snmp3_getnext(': 'string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | string',
\ 'snmp3_real_walk(': 'string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | array',
\ 'snmp3_set(': 'string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id, string $type, string $value [, int $timeout = 1000000 [, int $retries = 5]] | bool',
\ 'snmp3_walk(': 'string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id [, string $timeout = 1000000 [, string $retries = 5]] | array',
\ 'snmpget(': 'string $hostname, string $community, string $object_id [, int $timeout = 1000000 [, int $retries = 5]] | string',
\ 'snmpgetnext(': 'string $host, string $community, string $object_id [, int $timeout = 1000000 [, int $retries = 5]] | string',
\ 'snmprealwalk(': 'string $host, string $community, string $object_id [, int $timeout = 1000000 [, int $retries = 5]] | array',
\ 'snmpset(': 'string $host, string $community, string $object_id, string $type, mixed $value [, int $timeout = 1000000 [, int $retries = 5]] | bool',
\ 'snmpwalk(': 'string $hostname, string $community, string $object_id [, int $timeout = 1000000 [, int $retries = 5]] | array',
\ 'snmpwalkoid(': 'string $hostname, string $community, string $object_id [, int $timeout = 1000000 [, int $retries = 5]] | array',
\ }
let g:phpcomplete_builtin['functions']['sockets'] = {
\ 'socket_accept(': 'resource $socket | resource',
\ 'socket_bind(': 'resource $socket, string $address [, int $port = 0] | bool',
\ 'socket_clear_error(': '[ resource $socket] | void',
\ 'socket_close(': 'resource $socket | void',
\ 'socket_cmsg_space(': 'int $level, int $type | int',
\ 'socket_connect(': 'resource $socket, string $address [, int $port = 0] | bool',
\ 'socket_create_listen(': 'int $port [, int $backlog = 128] | resource',
\ 'socket_create_pair(': 'int $domain, int $type, int $protocol, array &$fd | bool',
\ 'socket_create(': 'int $domain, int $type, int $protocol | resource',
\ 'socket_get_option(': 'resource $socket, int $level, int $optname | mixed',
\ 'socket_getpeername(': 'resource $socket, string &$address [, int &$port] | bool',
\ 'socket_getsockname(': 'resource $socket, string &$addr [, int &$port] | bool',
\ 'socket_import_stream(': 'resource $stream | resource',
\ 'socket_last_error(': '[ resource $socket] | int',
\ 'socket_listen(': 'resource $socket [, int $backlog = 0] | bool',
\ 'socket_read(': 'resource $socket, int $length [, int $type = PHP_BINARY_READ] | string',
\ 'socket_recv(': 'resource $socket, string &$buf, int $len, int $flags | int',
\ 'socket_recvfrom(': 'resource $socket, string &$buf, int $len, int $flags, string &$name [, int &$port] | int',
\ 'socket_recvmsg(': 'resource $socket, string $message [, int $flags] | int',
\ 'socket_select(': 'array &$read, array &$write, array &$except, int $tv_sec [, int $tv_usec = 0] | int',
\ 'socket_send(': 'resource $socket, string $buf, int $len, int $flags | int',
\ 'socket_sendmsg(': 'resource $socket, array $message, int $flags | int',
\ 'socket_sendto(': 'resource $socket, string $buf, int $len, int $flags, string $addr [, int $port = 0] | int',
\ 'socket_set_block(': 'resource $socket | bool',
\ 'socket_set_nonblock(': 'resource $socket | bool',
\ 'socket_set_option(': 'resource $socket, int $level, int $optname, mixed $optval | bool',
\ 'socket_shutdown(': 'resource $socket [, int $how = 2] | bool',
\ 'socket_strerror(': 'int $errno | string',
\ 'socket_write(': 'resource $socket, string $buffer [, int $length = 0] | int',
\ }
let g:phpcomplete_builtin['functions']['solr'] = {
\ 'solr_get_version(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['sqlite'] = {
\ 'sqlite_array_query(': 'resource $dbhandle, string $query [, int $result_type = SQLITE_BOTH [, bool $decode_binary = true]] | array',
\ 'sqlite_busy_timeout(': 'resource $dbhandle, int $milliseconds | void',
\ 'sqlite_changes(': 'resource $dbhandle | int',
\ 'sqlite_close(': 'resource $dbhandle | void',
\ 'sqlite_column(': 'resource $result, mixed $index_or_name [, bool $decode_binary = true] | mixed',
\ 'sqlite_create_aggregate(': 'resource $dbhandle, string $function_name, callable $step_func, callable $finalize_func [, int $num_args = -1] | void',
\ 'sqlite_create_function(': 'resource $dbhandle, string $function_name, callable $callback [, int $num_args = -1] | void',
\ 'sqlite_current(': 'resource $result [, int $result_type = SQLITE_BOTH [, bool $decode_binary = true]] | array',
\ 'sqlite_error_string(': 'int $error_code | string',
\ 'sqlite_escape_string(': 'string $item | string',
\ 'sqlite_exec(': 'resource $dbhandle, string $query [, string &$error_msg] | bool',
\ 'sqlite_factory(': 'string $filename [, int $mode = 0666 [, string &$error_message]] | SQLiteDatabase',
\ 'sqlite_fetch_all(': 'resource $result [, int $result_type = SQLITE_BOTH [, bool $decode_binary = true]] | array',
\ 'sqlite_fetch_array(': 'resource $result [, int $result_type = SQLITE_BOTH [, bool $decode_binary = true]] | array',
\ 'sqlite_fetch_column_types(': 'string $table_name, resource $dbhandle [, int $result_type = SQLITE_ASSOC] | array',
\ 'sqlite_fetch_object(': 'resource $result [, string $class_name [, array $ctor_params [, bool $decode_binary = true]]] | object',
\ 'sqlite_fetch_single(': 'resource $result [, bool $decode_binary = true] | string',
\ 'sqlite_fetch_string(': 'sqlite_fetch_string — Alias of sqlite_fetch_single()',
\ 'sqlite_field_name(': 'resource $result, int $field_index | string',
\ 'sqlite_has_more(': 'resource $result | bool',
\ 'sqlite_has_prev(': 'resource $result | bool',
\ 'SQLiteResult::key(': 'void | int',
\ 'sqlite_last_error(': 'resource $dbhandle | int',
\ 'sqlite_last_insert_rowid(': 'resource $dbhandle | int',
\ 'sqlite_libencoding(': 'void | string',
\ 'sqlite_libversion(': 'void | string',
\ 'sqlite_next(': 'resource $result | bool',
\ 'sqlite_num_fields(': 'resource $result | int',
\ 'sqlite_num_rows(': 'resource $result | int',
\ 'sqlite_open(': 'string $filename [, int $mode = 0666 [, string &$error_message]] | resource',
\ 'sqlite_popen(': 'string $filename [, int $mode = 0666 [, string &$error_message]] | resource',
\ 'sqlite_prev(': 'resource $result | bool',
\ 'sqlite_query(': 'resource $dbhandle, string $query [, int $result_type = SQLITE_BOTH [, string &$error_msg]] | resource',
\ 'sqlite_rewind(': 'resource $result | bool',
\ 'sqlite_seek(': 'resource $result, int $rownum | bool',
\ 'sqlite_single_query(': 'resource $db, string $query [, bool $first_row_only [, bool $decode_binary]] | array',
\ 'sqlite_udf_decode_binary(': 'string $data | string',
\ 'sqlite_udf_encode_binary(': 'string $data | string',
\ 'sqlite_unbuffered_query(': 'resource $dbhandle, string $query [, int $result_type = SQLITE_BOTH [, string &$error_msg]] | resource',
\ 'sqlite_valid(': 'resource $result | bool',
\ }
let g:phpcomplete_builtin['functions']['sqlsrv'] = {
\ 'sqlsrv_begin_transaction(': 'resource $conn | bool',
\ 'sqlsrv_cancel(': 'resource $stmt | bool',
\ 'sqlsrv_client_info(': 'resource $conn | array',
\ 'sqlsrv_close(': 'resource $conn | bool',
\ 'sqlsrv_commit(': 'resource $conn | bool',
\ 'sqlsrv_configure(': 'string $setting, mixed $value | bool',
\ 'sqlsrv_connect(': 'string $serverName [, array $connectionInfo] | resource',
\ 'sqlsrv_errors(': '[ int $errorsOrWarnings] | mixed',
\ 'sqlsrv_execute(': 'resource $stmt | bool',
\ 'sqlsrv_fetch_array(': 'resource $stmt [, int $fetchType [, int $row [, int $offset]]] | array',
\ 'sqlsrv_fetch_object(': 'resource $stmt [, string $className [, array $ctorParams [, int $row [, int $offset]]]] | mixed',
\ 'sqlsrv_fetch(': 'resource $stmt [, int $row [, int $offset]] | mixed',
\ 'sqlsrv_field_metadata(': 'resource $stmt | mixed',
\ 'sqlsrv_free_stmt(': 'resource $stmt | bool',
\ 'sqlsrv_get_config(': 'string $setting | mixed',
\ 'sqlsrv_get_field(': 'resource $stmt, int $fieldIndex [, int $getAsType] | mixed',
\ 'sqlsrv_has_rows(': 'resource $stmt | bool',
\ 'sqlsrv_next_result(': 'resource $stmt | mixed',
\ 'sqlsrv_num_fields(': 'resource $stmt | mixed',
\ 'sqlsrv_num_rows(': 'resource $stmt | mixed',
\ 'sqlsrv_prepare(': 'resource $conn, string $sql [, array $params [, array $options]] | mixed',
\ 'sqlsrv_query(': 'resource $conn, string $sql [, array $params [, array $options]] | mixed',
\ 'sqlsrv_rollback(': 'resource $conn | bool',
\ 'sqlsrv_rows_affected(': 'resource $stmt | int',
\ 'sqlsrv_send_stream_data(': 'resource $stmt | bool',
\ 'sqlsrv_server_info(': 'resource $conn | array',
\ }
let g:phpcomplete_builtin['functions']['ssdeep'] = {
\ 'ssdeep_fuzzy_compare(': 'string $signature1, string $signature2 | int',
\ 'ssdeep_fuzzy_hash_filename(': 'string $file_name | string',
\ 'ssdeep_fuzzy_hash(': 'string $to_hash | string',
\ }
let g:phpcomplete_builtin['functions']['ssh2'] = {
\ 'ssh2_auth_agent(': 'resource $session, string $username | bool',
\ 'ssh2_auth_hostbased_file(': 'resource $session, string $username, string $hostname, string $pubkeyfile, string $privkeyfile [, string $passphrase [, string $local_username]] | bool',
\ 'ssh2_auth_none(': 'resource $session, string $username | mixed',
\ 'ssh2_auth_password(': 'resource $session, string $username, string $password | bool',
\ 'ssh2_auth_pubkey_file(': 'resource $session, string $username, string $pubkeyfile, string $privkeyfile [, string $passphrase] | bool',
\ 'ssh2_connect(': 'string $host [, int $port = 22 [, array $methods [, array $callbacks]]] | resource',
\ 'ssh2_exec(': 'resource $session, string $command [, string $pty [, array $env [, int $width = 80 [, int $height = 25 [, int $width_height_type = SSH2_TERM_UNIT_CHARS]]]]] | resource',
\ 'ssh2_fetch_stream(': 'resource $channel, int $streamid | resource',
\ 'ssh2_fingerprint(': 'resource $session [, int $flags = SSH2_FINGERPRINT_MD5 | SSH2_FINGERPRINT_HEX] | string',
\ 'ssh2_methods_negotiated(': 'resource $session | array',
\ 'ssh2_publickey_add(': 'resource $pkey, string $algoname, string $blob [, bool $overwrite = false [, array $attributes]] | bool',
\ 'ssh2_publickey_init(': 'resource $session | resource',
\ 'ssh2_publickey_list(': 'resource $pkey | array',
\ 'ssh2_publickey_remove(': 'resource $pkey, string $algoname, string $blob | bool',
\ 'ssh2_scp_recv(': 'resource $session, string $remote_file, string $local_file | bool',
\ 'ssh2_scp_send(': 'resource $session, string $local_file, string $remote_file [, int $create_mode = 0644] | bool',
\ 'ssh2_sftp_chmod(': 'resource $sftp, string $filename, int $mode | bool',
\ 'ssh2_sftp_lstat(': 'resource $sftp, string $path | array',
\ 'ssh2_sftp_mkdir(': 'resource $sftp, string $dirname [, int $mode = 0777 [, bool $recursive = false]] | bool',
\ 'ssh2_sftp_readlink(': 'resource $sftp, string $link | string',
\ 'ssh2_sftp_realpath(': 'resource $sftp, string $filename | string',
\ 'ssh2_sftp_rename(': 'resource $sftp, string $from, string $to | bool',
\ 'ssh2_sftp_rmdir(': 'resource $sftp, string $dirname | bool',
\ 'ssh2_sftp_stat(': 'resource $sftp, string $path | array',
\ 'ssh2_sftp_symlink(': 'resource $sftp, string $target, string $link | bool',
\ 'ssh2_sftp_unlink(': 'resource $sftp, string $filename | bool',
\ 'ssh2_sftp(': 'resource $session | resource',
\ 'ssh2_shell(': 'resource $session [, string $term_type = "vanilla" [, array $env [, int $width = 80 [, int $height = 25 [, int $width_height_type = SSH2_TERM_UNIT_CHARS]]]]] | resource',
\ 'ssh2_tunnel(': 'resource $session, string $host, int $port | resource',
\ }
let g:phpcomplete_builtin['functions']['statistics'] = {
\ 'stats_absolute_deviation(': 'array $a | float',
\ 'stats_cdf_beta(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_binomial(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_cauchy(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_chisquare(': 'float $par1, float $par2, int $which | float',
\ 'stats_cdf_exponential(': 'float $par1, float $par2, int $which | float',
\ 'stats_cdf_f(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_gamma(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_laplace(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_logistic(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_negative_binomial(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_noncentral_chisquare(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_noncentral_f(': 'float $par1, float $par2, float $par3, float $par4, int $which | float',
\ 'stats_cdf_poisson(': 'float $par1, float $par2, int $which | float',
\ 'stats_cdf_t(': 'float $par1, float $par2, int $which | float',
\ 'stats_cdf_uniform(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_cdf_weibull(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_covariance(': 'array $a, array $b | float',
\ 'stats_den_uniform(': 'float $x, float $a, float $b | float',
\ 'stats_dens_beta(': 'float $x, float $a, float $b | float',
\ 'stats_dens_cauchy(': 'float $x, float $ave, float $stdev | float',
\ 'stats_dens_chisquare(': 'float $x, float $dfr | float',
\ 'stats_dens_exponential(': 'float $x, float $scale | float',
\ 'stats_dens_f(': 'float $x, float $dfr1, float $dfr2 | float',
\ 'stats_dens_gamma(': 'float $x, float $shape, float $scale | float',
\ 'stats_dens_laplace(': 'float $x, float $ave, float $stdev | float',
\ 'stats_dens_logistic(': 'float $x, float $ave, float $stdev | float',
\ 'stats_dens_negative_binomial(': 'float $x, float $n, float $pi | float',
\ 'stats_dens_normal(': 'float $x, float $ave, float $stdev | float',
\ 'stats_dens_pmf_binomial(': 'float $x, float $n, float $pi | float',
\ 'stats_dens_pmf_hypergeometric(': 'float $n1, float $n2, float $N1, float $N2 | float',
\ 'stats_dens_pmf_poisson(': 'float $x, float $lb | float',
\ 'stats_dens_t(': 'float $x, float $dfr | float',
\ 'stats_dens_weibull(': 'float $x, float $a, float $b | float',
\ 'stats_harmonic_mean(': 'array $a | number',
\ 'stats_kurtosis(': 'array $a | float',
\ 'stats_rand_gen_beta(': 'float $a, float $b | float',
\ 'stats_rand_gen_chisquare(': 'float $df | float',
\ 'stats_rand_gen_exponential(': 'float $av | float',
\ 'stats_rand_gen_f(': 'float $dfn, float $dfd | float',
\ 'stats_rand_gen_funiform(': 'float $low, float $high | float',
\ 'stats_rand_gen_gamma(': 'float $a, float $r | float',
\ 'stats_rand_gen_ibinomial_negative(': 'int $n, float $p | int',
\ 'stats_rand_gen_ibinomial(': 'int $n, float $pp | int',
\ 'stats_rand_gen_int(': 'void | int',
\ 'stats_rand_gen_ipoisson(': 'float $mu | int',
\ 'stats_rand_gen_iuniform(': 'int $low, int $high | int',
\ 'stats_rand_gen_noncenral_chisquare(': 'float $df, float $xnonc | float',
\ 'stats_rand_gen_noncentral_f(': 'float $dfn, float $dfd, float $xnonc | float',
\ 'stats_rand_gen_noncentral_t(': 'float $df, float $xnonc | float',
\ 'stats_rand_gen_normal(': 'float $av, float $sd | float',
\ 'stats_rand_gen_t(': 'float $df | float',
\ 'stats_rand_get_seeds(': 'void | array',
\ 'stats_rand_phrase_to_seeds(': 'string $phrase | array',
\ 'stats_rand_ranf(': 'void | float',
\ 'stats_rand_setall(': 'int $iseed1, int $iseed2 | void',
\ 'stats_skew(': 'array $a | float',
\ 'stats_standard_deviation(': 'array $a [, bool $sample = false] | float',
\ 'stats_stat_binomial_coef(': 'int $x, int $n | float',
\ 'stats_stat_correlation(': 'array $arr1, array $arr2 | float',
\ 'stats_stat_gennch(': 'int $n | float',
\ 'stats_stat_independent_t(': 'array $arr1, array $arr2 | float',
\ 'stats_stat_innerproduct(': 'array $arr1, array $arr2 | float',
\ 'stats_stat_noncentral_t(': 'float $par1, float $par2, float $par3, int $which | float',
\ 'stats_stat_paired_t(': 'array $arr1, array $arr2 | float',
\ 'stats_stat_percentile(': 'float $df, float $xnonc | float',
\ 'stats_stat_powersum(': 'array $arr, float $power | float',
\ 'stats_variance(': 'array $a [, bool $sample = false] | float',
\ }
let g:phpcomplete_builtin['functions']['stomp'] = {
\ 'stomp_connect_error(': 'void | string',
\ 'stomp_version(': 'void | string',
\ }
let g:phpcomplete_builtin['functions']['svn'] = {
\ 'svn_add(': 'string $path [, bool $recursive = true [, bool $force = false]] | bool',
\ 'svn_auth_get_parameter(': 'string $key | string',
\ 'svn_auth_set_parameter(': 'string $key, string $value | void',
\ 'svn_blame(': 'string $repository_url [, int $revision_no = SVN_REVISION_HEAD] | array',
\ 'svn_cat(': 'string $repos_url [, int $revision_no] | string',
\ 'svn_checkout(': 'string $repos, string $targetpath [, int $revision [, int $flags = 0]] | bool',
\ 'svn_cleanup(': 'string $workingdir | bool',
\ 'svn_client_version(': 'void | string',
\ 'svn_commit(': 'string $log, array $targets [, bool $recursive = true] | array',
\ 'svn_delete(': 'string $path [, bool $force = false] | bool',
\ 'svn_diff(': 'string $path1, int $rev1, string $path2, int $rev2 | array',
\ 'svn_export(': 'string $frompath, string $topath [, bool $working_copy = true [, int $revision_no = -1]] | bool',
\ 'svn_fs_abort_txn(': 'resource $txn | bool',
\ 'svn_fs_apply_text(': 'resource $root, string $path | resource',
\ 'svn_fs_begin_txn2(': 'resource $repos, int $rev | resource',
\ 'svn_fs_change_node_prop(': 'resource $root, string $path, string $name, string $value | bool',
\ 'svn_fs_check_path(': 'resource $fsroot, string $path | int',
\ 'svn_fs_contents_changed(': 'resource $root1, string $path1, resource $root2, string $path2 | bool',
\ 'svn_fs_copy(': 'resource $from_root, string $from_path, resource $to_root, string $to_path | bool',
\ 'svn_fs_delete(': 'resource $root, string $path | bool',
\ 'svn_fs_dir_entries(': 'resource $fsroot, string $path | array',
\ 'svn_fs_file_contents(': 'resource $fsroot, string $path | resource',
\ 'svn_fs_file_length(': 'resource $fsroot, string $path | int',
\ 'svn_fs_is_dir(': 'resource $root, string $path | bool',
\ 'svn_fs_is_file(': 'resource $root, string $path | bool',
\ 'svn_fs_make_dir(': 'resource $root, string $path | bool',
\ 'svn_fs_make_file(': 'resource $root, string $path | bool',
\ 'svn_fs_node_created_rev(': 'resource $fsroot, string $path | int',
\ 'svn_fs_node_prop(': 'resource $fsroot, string $path, string $propname | string',
\ 'svn_fs_props_changed(': 'resource $root1, string $path1, resource $root2, string $path2 | bool',
\ 'svn_fs_revision_prop(': 'resource $fs, int $revnum, string $propname | string',
\ 'svn_fs_revision_root(': 'resource $fs, int $revnum | resource',
\ 'svn_fs_txn_root(': 'resource $txn | resource',
\ 'svn_fs_youngest_rev(': 'resource $fs | int',
\ 'svn_import(': 'string $path, string $url, bool $nonrecursive | bool',
\ 'svn_log(': 'string $repos_url [, int $start_revision [, int $end_revision [, int $limit = 0 [, int $flags = SVN_DISCOVER_CHANGED_PATHS | SVN_STOP_ON_COPY]]]] | array',
\ 'svn_ls(': 'string $repos_url [, int $revision_no = SVN_REVISION_HEAD [, bool $recurse = false [, bool $peg = false]]] | array',
\ 'svn_mkdir(': 'string $path [, string $log_message] | bool',
\ 'svn_repos_create(': 'string $path [, array $config [, array $fsconfig]] | resource',
\ 'svn_repos_fs_begin_txn_for_commit(': 'resource $repos, int $rev, string $author, string $log_msg | resource',
\ 'svn_repos_fs_commit_txn(': 'resource $txn | int',
\ 'svn_repos_fs(': 'resource $repos | resource',
\ 'svn_repos_hotcopy(': 'string $repospath, string $destpath, bool $cleanlogs | bool',
\ 'svn_repos_open(': 'string $path | resource',
\ 'svn_repos_recover(': 'string $path | bool',
\ 'svn_revert(': 'string $path [, bool $recursive = false] | bool',
\ 'svn_status(': 'string $path [, int $flags = 0] | array',
\ 'svn_update(': 'string $path [, int $revno = SVN_REVISION_HEAD [, bool $recurse = true]] | int',
\ }
let g:phpcomplete_builtin['functions']['swf'] = {
\ 'swf_actiongeturl(': 'string $url, string $target | void',
\ 'swf_actiongotoframe(': 'int $framenumber | void',
\ 'swf_actiongotolabel(': 'string $label | void',
\ 'swf_actionnextframe(': 'void | void',
\ 'swf_actionplay(': 'void | void',
\ 'swf_actionprevframe(': 'void | void',
\ 'swf_actionsettarget(': 'string $target | void',
\ 'swf_actionstop(': 'void | void',
\ 'swf_actiontogglequality(': 'void | void',
\ 'swf_actionwaitforframe(': 'int $framenumber, int $skipcount | void',
\ 'swf_addbuttonrecord(': 'int $states, int $shapeid, int $depth | void',
\ 'swf_addcolor(': 'float $r, float $g, float $b, float $a | void',
\ 'swf_closefile(': '[ int $return_file] | void',
\ 'swf_definebitmap(': 'int $objid, string $image_name | void',
\ 'swf_definefont(': 'int $fontid, string $fontname | void',
\ 'swf_defineline(': 'int $objid, float $x1, float $y1, float $x2, float $y2, float $width | void',
\ 'swf_definepoly(': 'int $objid, array $coords, int $npoints, float $width | void',
\ 'swf_definerect(': 'int $objid, float $x1, float $y1, float $x2, float $y2, float $width | void',
\ 'swf_definetext(': 'int $objid, string $str, int $docenter | void',
\ 'swf_endbutton(': 'void | void',
\ 'swf_enddoaction(': 'void | void',
\ 'swf_endshape(': 'void | void',
\ 'swf_endsymbol(': 'void | void',
\ 'swf_fontsize(': 'float $size | void',
\ 'swf_fontslant(': 'float $slant | void',
\ 'swf_fonttracking(': 'float $tracking | void',
\ 'swf_getbitmapinfo(': 'int $bitmapid | array',
\ 'swf_getfontinfo(': 'void | array',
\ 'swf_getframe(': 'void | int',
\ 'swf_labelframe(': 'string $name | void',
\ 'swf_lookat(': 'float $view_x, float $view_y, float $view_z, float $reference_x, float $reference_y, float $reference_z, float $twist | void',
\ 'swf_modifyobject(': 'int $depth, int $how | void',
\ 'swf_mulcolor(': 'float $r, float $g, float $b, float $a | void',
\ 'swf_nextid(': 'void | int',
\ 'swf_oncondition(': 'int $transition | void',
\ 'swf_openfile(': 'string $filename, float $width, float $height, float $framerate, float $r, float $g, float $b | void',
\ 'swf_ortho(': 'float $xmin, float $xmax, float $ymin, float $ymax, float $zmin, float $zmax | void',
\ 'swf_ortho2(': 'float $xmin, float $xmax, float $ymin, float $ymax | void',
\ 'swf_perspective(': 'float $fovy, float $aspect, float $near, float $far | void',
\ 'swf_placeobject(': 'int $objid, int $depth | void',
\ 'swf_polarview(': 'float $dist, float $azimuth, float $incidence, float $twist | void',
\ 'swf_popmatrix(': 'void | void',
\ 'swf_posround(': 'int $round | void',
\ 'swf_pushmatrix(': 'void | void',
\ 'swf_removeobject(': 'int $depth | void',
\ 'swf_rotate(': 'float $angle, string $axis | void',
\ 'swf_scale(': 'float $x, float $y, float $z | void',
\ 'swf_setfont(': 'int $fontid | void',
\ 'swf_setframe(': 'int $framenumber | void',
\ 'swf_shapearc(': 'float $x, float $y, float $r, float $ang1, float $ang2 | void',
\ 'swf_shapecurveto(': 'float $x1, float $y1, float $x2, float $y2 | void',
\ 'swf_shapecurveto3(': 'float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 | void',
\ 'swf_shapefillbitmapclip(': 'int $bitmapid | void',
\ 'swf_shapefillbitmaptile(': 'int $bitmapid | void',
\ 'swf_shapefilloff(': 'void | void',
\ 'swf_shapefillsolid(': 'float $r, float $g, float $b, float $a | void',
\ 'swf_shapelinesolid(': 'float $r, float $g, float $b, float $a, float $width | void',
\ 'swf_shapelineto(': 'float $x, float $y | void',
\ 'swf_shapemoveto(': 'float $x, float $y | void',
\ 'swf_showframe(': 'void | void',
\ 'swf_startbutton(': 'int $objid, int $type | void',
\ 'swf_startdoaction(': 'void | void',
\ 'swf_startshape(': 'int $objid | void',
\ 'swf_startsymbol(': 'int $objid | void',
\ 'swf_textwidth(': 'string $str | float',
\ 'swf_translate(': 'float $x, float $y, float $z | void',
\ 'swf_viewport(': 'float $xmin, float $xmax, float $ymin, float $ymax | void',
\ }
let g:phpcomplete_builtin['functions']['sybase'] = {
\ 'sybase_affected_rows(': '[ resource $link_identifier] | int',
\ 'sybase_close(': '[ resource $link_identifier] | bool',
\ 'sybase_connect(': '[ string $servername [, string $username [, string $password [, string $charset [, string $appname [, bool $new = false]]]]]] | resource',
\ 'sybase_data_seek(': 'resource $result_identifier, int $row_number | bool',
\ 'sybase_deadlock_retry_count(': 'int $retry_count | void',
\ 'sybase_fetch_array(': 'resource $result | array',
\ 'sybase_fetch_assoc(': 'resource $result | array',
\ 'sybase_fetch_field(': 'resource $result [, int $field_offset = -1] | object',
\ 'sybase_fetch_object(': 'resource $result [, mixed $object] | object',
\ 'sybase_fetch_row(': 'resource $result | array',
\ 'sybase_field_seek(': 'resource $result, int $field_offset | bool',
\ 'sybase_free_result(': 'resource $result | bool',
\ 'sybase_get_last_message(': 'void | string',
\ 'sybase_min_client_severity(': 'int $severity | void',
\ 'sybase_min_error_severity(': 'int $severity | void',
\ 'sybase_min_message_severity(': 'int $severity | void',
\ 'sybase_min_server_severity(': 'int $severity | void',
\ 'sybase_num_fields(': 'resource $result | int',
\ 'sybase_num_rows(': 'resource $result | int',
\ 'sybase_pconnect(': '[ string $servername [, string $username [, string $password [, string $charset [, string $appname]]]]] | resource',
\ 'sybase_query(': 'string $query [, resource $link_identifier] | mixed',
\ 'sybase_result(': 'resource $result, int $row, mixed $field | string',
\ 'sybase_select_db(': 'string $database_name [, resource $link_identifier] | bool',
\ 'sybase_set_message_handler(': 'callable $handler [, resource $link_identifier] | bool',
\ 'sybase_unbuffered_query(': 'string $query, resource $link_identifier [, bool $store_result] | resource',
\ }
let g:phpcomplete_builtin['functions']['tcp'] = {
\ 'tcpwrap_check(': 'string $daemon, string $address [, string $user [, bool $nodns = false]] | bool',
\ }
let g:phpcomplete_builtin['functions']['tokenizer'] = {
\ 'token_get_all(': 'string $source | array',
\ 'token_name(': 'int $token | string',
\ }
let g:phpcomplete_builtin['functions']['trader'] = {
\ 'trader_acos(': 'array $real | array',
\ 'trader_ad(': 'array $high, array $low, array $close, array $volume | array',
\ 'trader_add(': 'array $real0, array $real1 | array',
\ 'trader_adosc(': 'array $high, array $low, array $close, array $volume [, integer $fastPeriod [, integer $slowPeriod]] | array',
\ 'trader_adx(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_adxr(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_apo(': 'array $real [, integer $fastPeriod [, integer $slowPeriod [, integer $mAType]]] | array',
\ 'trader_aroon(': 'array $high, array $low [, integer $timePeriod] | array',
\ 'trader_aroonosc(': 'array $high, array $low [, integer $timePeriod] | array',
\ 'trader_asin(': 'array $real | array',
\ 'trader_atan(': 'array $real | array',
\ 'trader_atr(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_avgprice(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_bbands(': 'array $real [, integer $timePeriod [, float $nbDevUp [, float $nbDevDn [, integer $mAType]]]] | array',
\ 'trader_beta(': 'array $real0, array $real1 [, integer $timePeriod] | array',
\ 'trader_bop(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cci(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_cdl2crows(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdl3blackcrows(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdl3inside(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdl3linestrike(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdl3outside(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdl3starsinsouth(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdl3whitesoldiers(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlabandonedbaby(': 'array $open, array $high, array $low, array $close [, float $penetration] | array',
\ 'trader_cdladvanceblock(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlbelthold(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlbreakaway(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlclosingmarubozu(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlconcealbabyswall(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlcounterattack(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdldarkcloudcover(': 'array $open, array $high, array $low, array $close [, float $penetration] | array',
\ 'trader_cdldoji(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdldojistar(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdldragonflydoji(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlengulfing(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdleveningdojistar(': 'array $open, array $high, array $low, array $close [, float $penetration] | array',
\ 'trader_cdleveningstar(': 'array $open, array $high, array $low, array $close [, float $penetration] | array',
\ 'trader_cdlgapsidesidewhite(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlgravestonedoji(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlhammer(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlhangingman(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlharami(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlharamicross(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlhighwave(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlhikkake(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlhikkakemod(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlhomingpigeon(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlidentical3crows(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlinneck(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlinvertedhammer(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlkicking(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlkickingbylength(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlladderbottom(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdllongleggeddoji(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdllongline(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlmarubozu(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlmatchinglow(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlmathold(': 'array $open, array $high, array $low, array $close [, float $penetration] | array',
\ 'trader_cdlmorningdojistar(': 'array $open, array $high, array $low, array $close [, float $penetration] | array',
\ 'trader_cdlmorningstar(': 'array $open, array $high, array $low, array $close [, float $penetration] | array',
\ 'trader_cdlonneck(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlpiercing(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlrickshawman(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlrisefall3methods(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlseparatinglines(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlshootingstar(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlshortline(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlspinningtop(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlstalledpattern(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlsticksandwich(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdltakuri(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdltasukigap(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlthrusting(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdltristar(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlunique3river(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlupsidegap2crows(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_cdlxsidegap3methods(': 'array $open, array $high, array $low, array $close | array',
\ 'trader_ceil(': 'array $real | array',
\ 'trader_cmo(': 'array $real [, integer $timePeriod] | array',
\ 'trader_correl(': 'array $real0, array $real1 [, integer $timePeriod] | array',
\ 'trader_cos(': 'array $real | array',
\ 'trader_cosh(': 'array $real | array',
\ 'trader_dema(': 'array $real [, integer $timePeriod] | array',
\ 'trader_div(': 'array $real0, array $real1 | array',
\ 'trader_dx(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_ema(': 'array $real [, integer $timePeriod] | array',
\ 'trader_errno(': 'void | integer',
\ 'trader_exp(': 'array $real | array',
\ 'trader_floor(': 'array $real | array',
\ 'trader_get_compat(': 'void | integer',
\ 'trader_get_unstable_period(': 'integer $functionId | integer',
\ 'trader_ht_dcperiod(': 'array $real | array',
\ 'trader_ht_dcphase(': 'array $real | array',
\ 'trader_ht_phasor(': 'array $real | array',
\ 'trader_ht_sine(': 'array $real | array',
\ 'trader_ht_trendline(': 'array $real | array',
\ 'trader_ht_trendmode(': 'array $real | array',
\ 'trader_kama(': 'array $real [, integer $timePeriod] | array',
\ 'trader_linearreg_angle(': 'array $real [, integer $timePeriod] | array',
\ 'trader_linearreg_intercept(': 'array $real [, integer $timePeriod] | array',
\ 'trader_linearreg_slope(': 'array $real [, integer $timePeriod] | array',
\ 'trader_linearreg(': 'array $real [, integer $timePeriod] | array',
\ 'trader_ln(': 'array $real | array',
\ 'trader_log10(': 'array $real | array',
\ 'trader_ma(': 'array $real [, integer $timePeriod [, integer $mAType]] | array',
\ 'trader_macd(': 'array $real [, integer $fastPeriod [, integer $slowPeriod [, integer $signalPeriod]]] | array',
\ 'trader_macdext(': 'array $real [, integer $fastPeriod [, integer $fastMAType [, integer $slowPeriod [, integer $slowMAType [, integer $signalPeriod [, integer $signalMAType]]]]]] | array',
\ 'trader_macdfix(': 'array $real [, integer $signalPeriod] | array',
\ 'trader_mama(': 'array $real [, float $fastLimit [, float $slowLimit]] | array',
\ 'trader_mavp(': 'array $real, array $periods [, integer $minPeriod [, integer $maxPeriod [, integer $mAType]]] | array',
\ 'trader_max(': 'array $real [, integer $timePeriod] | array',
\ 'trader_maxindex(': 'array $real [, integer $timePeriod] | array',
\ 'trader_medprice(': 'array $high, array $low | array',
\ 'trader_mfi(': 'array $high, array $low, array $close, array $volume [, integer $timePeriod] | array',
\ 'trader_midpoint(': 'array $real [, integer $timePeriod] | array',
\ 'trader_midprice(': 'array $high, array $low [, integer $timePeriod] | array',
\ 'trader_min(': 'array $real [, integer $timePeriod] | array',
\ 'trader_minindex(': 'array $real [, integer $timePeriod] | array',
\ 'trader_minmax(': 'array $real [, integer $timePeriod] | array',
\ 'trader_minmaxindex(': 'array $real [, integer $timePeriod] | array',
\ 'trader_minus_di(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_minus_dm(': 'array $high, array $low [, integer $timePeriod] | array',
\ 'trader_mom(': 'array $real [, integer $timePeriod] | array',
\ 'trader_mult(': 'array $real0, array $real1 | array',
\ 'trader_natr(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_obv(': 'array $real, array $volume | array',
\ 'trader_plus_di(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_plus_dm(': 'array $high, array $low [, integer $timePeriod] | array',
\ 'trader_ppo(': 'array $real [, integer $fastPeriod [, integer $slowPeriod [, integer $mAType]]] | array',
\ 'trader_roc(': 'array $real [, integer $timePeriod] | array',
\ 'trader_rocp(': 'array $real [, integer $timePeriod] | array',
\ 'trader_rocr(': 'array $real [, integer $timePeriod] | array',
\ 'trader_rocr100(': 'array $real [, integer $timePeriod] | array',
\ 'trader_rsi(': 'array $real [, integer $timePeriod] | array',
\ 'trader_sar(': 'array $high, array $low [, float $acceleration [, float $maximum]] | array',
\ 'trader_sarext(': 'array $high, array $low [, float $startValue [, float $offsetOnReverse [, float $accelerationInitLong [, float $accelerationLong [, float $accelerationMaxLong [, float $accelerationInitShort [, float $accelerationShort [, float $accelerationMaxShort]]]]]]]] | array',
\ 'trader_set_compat(': 'integer $compatId | void',
\ 'trader_set_unstable_period(': 'integer $functionId, integer $timePeriod | void',
\ 'trader_sin(': 'array $real | array',
\ 'trader_sinh(': 'array $real | array',
\ 'trader_sma(': 'array $real [, integer $timePeriod] | array',
\ 'trader_sqrt(': 'array $real | array',
\ 'trader_stddev(': 'array $real [, integer $timePeriod [, float $nbDev]] | array',
\ 'trader_stoch(': 'array $high, array $low, array $close [, integer $fastK_Period [, integer $slowK_Period [, integer $slowK_MAType [, integer $slowD_Period [, integer $slowD_MAType]]]]] | array',
\ 'trader_stochf(': 'array $high, array $low, array $close [, integer $fastK_Period [, integer $fastD_Period [, integer $fastD_MAType]]] | array',
\ 'trader_stochrsi(': 'array $real [, integer $timePeriod [, integer $fastK_Period [, integer $fastD_Period [, integer $fastD_MAType]]]] | array',
\ 'trader_sub(': 'array $real0, array $real1 | array',
\ 'trader_sum(': 'array $real [, integer $timePeriod] | array',
\ 'trader_t3(': 'array $real [, integer $timePeriod [, float $vFactor]] | array',
\ 'trader_tan(': 'array $real | array',
\ 'trader_tanh(': 'array $real | array',
\ 'trader_tema(': 'array $real [, integer $timePeriod] | array',
\ 'trader_trange(': 'array $high, array $low, array $close | array',
\ 'trader_trima(': 'array $real [, integer $timePeriod] | array',
\ 'trader_trix(': 'array $real [, integer $timePeriod] | array',
\ 'trader_tsf(': 'array $real [, integer $timePeriod] | array',
\ 'trader_typprice(': 'array $high, array $low, array $close | array',
\ 'trader_ultosc(': 'array $high, array $low, array $close [, integer $timePeriod1 [, integer $timePeriod2 [, integer $timePeriod3]]] | array',
\ 'trader_var(': 'array $real [, integer $timePeriod [, float $nbDev]] | array',
\ 'trader_wclprice(': 'array $high, array $low, array $close | array',
\ 'trader_willr(': 'array $high, array $low, array $close [, integer $timePeriod] | array',
\ 'trader_wma(': 'array $real [, integer $timePeriod] | array',
\ }
let g:phpcomplete_builtin['functions']['mnogosearch'] = {
\ 'udm_add_search_limit(': 'resource $agent, int $var, string $val | bool',
\ 'udm_alloc_agent_array(': 'array $databases | resource',
\ 'udm_alloc_agent(': 'string $dbaddr [, string $dbmode] | resource',
\ 'udm_api_version(': 'void | int',
\ 'udm_cat_list(': 'resource $agent, string $category | array',
\ 'udm_cat_path(': 'resource $agent, string $category | array',
\ 'udm_check_charset(': 'resource $agent, string $charset | bool',
\ 'udm_check_stored(': 'resource $agent, int $link, string $doc_id | int',
\ 'udm_clear_search_limits(': 'resource $agent | bool',
\ 'udm_close_stored(': 'resource $agent, int $link | int',
\ 'udm_crc32(': 'resource $agent, string $str | int',
\ 'udm_errno(': 'resource $agent | int',
\ 'udm_error(': 'resource $agent | string',
\ 'udm_find(': 'resource $agent, string $query | resource',
\ 'udm_free_agent(': 'resource $agent | int',
\ 'udm_free_ispell_data(': 'int $agent | bool',
\ 'udm_free_res(': 'resource $res | bool',
\ 'udm_get_doc_count(': 'resource $agent | int',
\ 'udm_get_res_field(': 'resource $res, int $row, int $field | string',
\ 'udm_get_res_param(': 'resource $res, int $param | string',
\ 'udm_hash32(': 'resource $agent, string $str | int',
\ 'udm_load_ispell_data(': 'resource $agent, int $var, string $val1, string $val2, int $flag | bool',
\ 'udm_open_stored(': 'resource $agent, string $storedaddr | int',
\ 'udm_set_agent_param(': 'resource $agent, int $var, string $val | bool',
\ }
let g:phpcomplete_builtin['functions']['xml_parser'] = {
\ 'utf8_decode(': 'string $data | string',
\ 'utf8_encode(': 'string $data | string',
\ 'xml_error_string(': 'int $code | string',
\ 'xml_get_current_byte_index(': 'resource $parser | int',
\ 'xml_get_current_column_number(': 'resource $parser | int',
\ 'xml_get_current_line_number(': 'resource $parser | int',
\ 'xml_get_error_code(': 'resource $parser | int',
\ 'xml_parse_into_struct(': 'resource $parser, string $data, array &$values [, array &$index] | int',
\ 'xml_parse(': 'resource $parser, string $data [, bool $is_final = false] | int',
\ 'xml_parser_create_ns(': '[ string $encoding [, string $separator = '':'']] | resource',
\ 'xml_parser_create(': '[ string $encoding] | resource',
\ 'xml_parser_free(': 'resource $parser | bool',
\ 'xml_parser_get_option(': 'resource $parser, int $option | mixed',
\ 'xml_parser_set_option(': 'resource $parser, int $option, mixed $value | bool',
\ 'xml_set_character_data_handler(': 'resource $parser, callable $handler | bool',
\ 'xml_set_default_handler(': 'resource $parser, callable $handler | bool',
\ 'xml_set_element_handler(': 'resource $parser, callable $start_element_handler, callable $end_element_handler | bool',
\ 'xml_set_end_namespace_decl_handler(': 'resource $parser, callable $handler | bool',
\ 'xml_set_external_entity_ref_handler(': 'resource $parser, callable $handler | bool',
\ 'xml_set_notation_decl_handler(': 'resource $parser, callable $handler | bool',
\ 'xml_set_object(': 'resource $parser, object &$object | bool',
\ 'xml_set_processing_instruction_handler(': 'resource $parser, callable $handler | bool',
\ 'xml_set_start_namespace_decl_handler(': 'resource $parser, callable $handler | bool',
\ 'xml_set_unparsed_entity_decl_handler(': 'resource $parser, callable $handler | bool',
\ }
let g:phpcomplete_builtin['functions']['vpopmail'] = {
\ 'vpopmail_add_alias_domain_ex(': 'string $olddomain, string $newdomain | bool',
\ 'vpopmail_add_alias_domain(': 'string $domain, string $aliasdomain | bool',
\ 'vpopmail_add_domain_ex(': 'string $domain, string $passwd [, string $quota [, string $bounce [, bool $apop]]] | bool',
\ 'vpopmail_add_domain(': 'string $domain, string $dir, int $uid, int $gid | bool',
\ 'vpopmail_add_user(': 'string $user, string $domain, string $password [, string $gecos [, bool $apop]] | bool',
\ 'vpopmail_alias_add(': 'string $user, string $domain, string $alias | bool',
\ 'vpopmail_alias_del_domain(': 'string $domain | bool',
\ 'vpopmail_alias_del(': 'string $user, string $domain | bool',
\ 'vpopmail_alias_get_all(': 'string $domain | array',
\ 'vpopmail_alias_get(': 'string $alias, string $domain | array',
\ 'vpopmail_auth_user(': 'string $user, string $domain, string $password [, string $apop] | bool',
\ 'vpopmail_del_domain_ex(': 'string $domain | bool',
\ 'vpopmail_del_domain(': 'string $domain | bool',
\ 'vpopmail_del_user(': 'string $user, string $domain | bool',
\ 'vpopmail_error(': 'void | string',
\ 'vpopmail_passwd(': 'string $user, string $domain, string $password [, bool $apop] | bool',
\ 'vpopmail_set_user_quota(': 'string $user, string $domain, string $quota | bool',
\ }
let g:phpcomplete_builtin['functions']['w32api'] = {
\ 'w32api_deftype(': 'string $typename, string $member1_type, string $member1_name [, string $... [, string $...]] | bool',
\ 'w32api_init_dtype(': 'string $typename, mixed $value [, mixed $...] | resource',
\ 'w32api_invoke_function(': 'string $funcname, mixed $argument [, mixed $...] | mixed',
\ 'w32api_register_function(': 'string $library, string $function_name, string $return_type | bool',
\ 'w32api_set_call_method(': 'int $method | void',
\ }
let g:phpcomplete_builtin['functions']['wddx'] = {
\ 'wddx_add_vars(': 'resource $packet_id, mixed $var_name [, mixed $...] | bool',
\ 'wddx_deserialize(': 'string $packet | mixed',
\ 'wddx_packet_end(': 'resource $packet_id | string',
\ 'wddx_packet_start(': '[ string $comment] | resource',
\ 'wddx_serialize_value(': 'mixed $var [, string $comment] | string',
\ 'wddx_serialize_vars(': 'mixed $var_name [, mixed $...] | string',
\ }
let g:phpcomplete_builtin['functions']['win32service'] = {
\ 'win32_continue_service(': 'string $servicename [, string $machine] | int',
\ 'win32_create_service(': 'array $details [, string $machine] | mixed',
\ 'win32_delete_service(': 'string $servicename [, string $machine] | mixed',
\ 'win32_get_last_control_message(': 'void | int',
\ 'win32_pause_service(': 'string $servicename [, string $machine] | int',
\ 'win32_query_service_status(': 'string $servicename [, string $machine] | mixed',
\ 'win32_set_service_status(': 'int $status [, int $checkpoint = 0] | bool',
\ 'win32_start_service_ctrl_dispatcher(': 'string $name | mixed',
\ 'win32_start_service(': 'string $servicename [, string $machine] | int',
\ 'win32_stop_service(': 'string $servicename [, string $machine] | int',
\ }
let g:phpcomplete_builtin['functions']['win32ps'] = {
\ 'win32_ps_list_procs(': 'void | array',
\ 'win32_ps_stat_mem(': 'void | array',
\ 'win32_ps_stat_proc(': '[ int $pid = 0] | array',
\ }
let g:phpcomplete_builtin['functions']['wincache'] = {
\ 'wincache_fcache_fileinfo(': '[ bool $summaryonly = false] | array',
\ 'wincache_fcache_meminfo(': 'void | array',
\ 'wincache_lock(': 'string $key [, bool $isglobal = false] | bool',
\ 'wincache_ocache_fileinfo(': '[ bool $summaryonly = false] | array',
\ 'wincache_ocache_meminfo(': 'void | array',
\ 'wincache_refresh_if_changed(': '[ array $files] | bool',
\ 'wincache_rplist_fileinfo(': '[ bool $summaryonly = false] | array',
\ 'wincache_rplist_meminfo(': 'void | array',
\ 'wincache_scache_info(': '[ bool $summaryonly = false] | array',
\ 'wincache_scache_meminfo(': 'void | array',
\ 'wincache_ucache_add(': 'string $key, mixed $value [, int $ttl = 0] | bool',
\ 'wincache_ucache_cas(': 'string $key, int $old_value, int $new_value | bool',
\ 'wincache_ucache_clear(': 'void | bool',
\ 'wincache_ucache_dec(': 'string $key [, int $dec_by = 1 [, bool &$success]] | mixed',
\ 'wincache_ucache_delete(': 'mixed $key | bool',
\ 'wincache_ucache_exists(': 'string $key | bool',
\ 'wincache_ucache_get(': 'mixed $key [, bool &$success] | mixed',
\ 'wincache_ucache_inc(': 'string $key [, int $inc_by = 1 [, bool &$success]] | mixed',
\ 'wincache_ucache_info(': '[ bool $summaryonly = false [, string $key]] | array',
\ 'wincache_ucache_meminfo(': 'void | array',
\ 'wincache_ucache_set(': 'mixed $key, mixed $value [, int $ttl = 0] | bool',
\ 'wincache_unlock(': 'string $key | bool',
\ }
let g:phpcomplete_builtin['functions']['xattr'] = {
\ 'xattr_get(': 'string $filename, string $name [, int $flags = 0] | string',
\ 'xattr_list(': 'string $filename [, int $flags = 0] | array',
\ 'xattr_remove(': 'string $filename, string $name [, int $flags = 0] | bool',
\ 'xattr_set(': 'string $filename, string $name, string $value [, int $flags = 0] | bool',
\ 'xattr_supported(': 'string $filename [, int $flags = 0] | bool',
\ }
let g:phpcomplete_builtin['functions']['xdiff'] = {
\ 'xdiff_file_bdiff_size(': 'string $file | int',
\ 'xdiff_file_bdiff(': 'string $old_file, string $new_file, string $dest | bool',
\ 'xdiff_file_bpatch(': 'string $file, string $patch, string $dest | bool',
\ 'xdiff_file_diff_binary(': 'string $old_file, string $new_file, string $dest | bool',
\ 'xdiff_file_diff(': 'string $old_file, string $new_file, string $dest [, int $context = 3 [, bool $minimal = false]] | bool',
\ 'xdiff_file_merge3(': 'string $old_file, string $new_file1, string $new_file2, string $dest | mixed',
\ 'xdiff_file_patch_binary(': 'string $file, string $patch, string $dest | bool',
\ 'xdiff_file_patch(': 'string $file, string $patch, string $dest [, int $flags = DIFF_PATCH_NORMAL] | mixed',
\ 'xdiff_file_rabdiff(': 'string $old_file, string $new_file, string $dest | bool',
\ 'xdiff_string_bdiff_size(': 'string $patch | int',
\ 'xdiff_string_bdiff(': 'string $old_data, string $new_data | string',
\ 'xdiff_string_bpatch(': 'string $str, string $patch | string',
\ 'xdiff_string_diff(': 'string $old_data, string $new_data [, int $context = 3 [, bool $minimal = false]] | string',
\ 'xdiff_string_merge3(': 'string $old_data, string $new_data1, string $new_data2 [, string &$error] | mixed',
\ 'xdiff_string_patch_binary(': 'string $str, string $patch | string',
\ 'xdiff_string_patch(': 'string $str, string $patch [, int $flags [, string &$error]] | string',
\ }
let g:phpcomplete_builtin['functions']['xhprof'] = {
\ 'xhprof_disable(': 'void | array',
\ 'xhprof_enable(': '[ int $flags = 0 [, array $options]] | void',
\ 'xhprof_sample_disable(': 'void | array',
\ 'xhprof_sample_enable(': 'void | void',
\ }
let g:phpcomplete_builtin['functions']['xml_rpc'] = {
\ 'xmlrpc_decode_request(': 'string $xml, string &$method [, string $encoding] | mixed',
\ 'xmlrpc_decode(': 'string $xml [, string $encoding = "iso-8859-1"] | mixed',
\ 'xmlrpc_encode_request(': 'string $method, mixed $params [, array $output_options] | string',
\ 'xmlrpc_encode(': 'mixed $value | string',
\ 'xmlrpc_get_type(': 'mixed $value | string',
\ 'xmlrpc_is_fault(': 'array $arg | bool',
\ 'xmlrpc_parse_method_descriptions(': 'string $xml | array',
\ 'xmlrpc_server_add_introspection_data(': 'resource $server, array $desc | int',
\ 'xmlrpc_server_call_method(': 'resource $server, string $xml, mixed $user_data [, array $output_options] | string',
\ 'xmlrpc_server_create(': 'void | resource',
\ 'xmlrpc_server_destroy(': 'resource $server | int',
\ 'xmlrpc_server_register_introspection_callback(': 'resource $server, string $function | bool',
\ 'xmlrpc_server_register_method(': 'resource $server, string $method_name, string $function | bool',
\ 'xmlrpc_set_type(': 'string &$value, string $type | bool',
\ }
let g:phpcomplete_builtin['functions']['xmlwriter'] = {
\ 'xmlwriter_end_attribute(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_cdata(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_comment(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_document(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_dtd_attlist(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_dtd_element(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_dtd_entity(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_dtd(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_element(': 'resource $xmlwriter | bool',
\ 'xmlwriter_end_pi(': 'resource $xmlwriter | bool',
\ 'xmlwriter_flush(': 'resource $xmlwriter [, bool $empty = true] | mixed',
\ 'xmlwriter_full_end_element(': 'resource $xmlwriter | bool',
\ 'xmlwriter_open_memory(': 'void | resource',
\ 'xmlwriter_open_uri(': 'string $uri | resource',
\ 'xmlwriter_output_memory(': 'resource $xmlwriter [, bool $flush = true] | string',
\ 'xmlwriter_set_indent_string(': 'resource $xmlwriter, string $indentString | bool',
\ 'xmlwriter_set_indent(': 'resource $xmlwriter, bool $indent | bool',
\ 'xmlwriter_start_attribute_ns(': 'resource $xmlwriter, string $prefix, string $name, string $uri | bool',
\ 'xmlwriter_start_attribute(': 'resource $xmlwriter, string $name | bool',
\ 'xmlwriter_start_cdata(': 'resource $xmlwriter | bool',
\ 'xmlwriter_start_comment(': 'resource $xmlwriter | bool',
\ 'xmlwriter_start_document(': 'resource $xmlwriter [, string $version = 1.0 [, string $encoding = NULL [, string $standalone]]] | bool',
\ 'xmlwriter_start_dtd_attlist(': 'resource $xmlwriter, string $name | bool',
\ 'xmlwriter_start_dtd_element(': 'resource $xmlwriter, string $qualifiedName | bool',
\ 'xmlwriter_start_dtd_entity(': 'resource $xmlwriter, string $name, bool $isparam | bool',
\ 'xmlwriter_start_dtd(': 'resource $xmlwriter, string $qualifiedName [, string $publicId [, string $systemId]] | bool',
\ 'xmlwriter_start_element_ns(': 'resource $xmlwriter, string $prefix, string $name, string $uri | bool',
\ 'xmlwriter_start_element(': 'resource $xmlwriter, string $name | bool',
\ 'xmlwriter_start_pi(': 'resource $xmlwriter, string $target | bool',
\ 'xmlwriter_text(': 'resource $xmlwriter, string $content | bool',
\ 'xmlwriter_write_attribute_ns(': 'resource $xmlwriter, string $prefix, string $name, string $uri, string $content | bool',
\ 'xmlwriter_write_attribute(': 'resource $xmlwriter, string $name, string $value | bool',
\ 'xmlwriter_write_cdata(': 'resource $xmlwriter, string $content | bool',
\ 'xmlwriter_write_comment(': 'resource $xmlwriter, string $content | bool',
\ 'xmlwriter_write_dtd_attlist(': 'resource $xmlwriter, string $name, string $content | bool',
\ 'xmlwriter_write_dtd_element(': 'resource $xmlwriter, string $name, string $content | bool',
\ 'xmlwriter_write_dtd_entity(': 'resource $xmlwriter, string $name, string $content, bool $pe, string $pubid, string $sysid, string $ndataid | bool',
\ 'xmlwriter_write_dtd(': 'resource $xmlwriter, string $name [, string $publicId [, string $systemId [, string $subset]]] | bool',
\ 'xmlwriter_write_element_ns(': 'resource $xmlwriter, string $prefix, string $name, string $uri [, string $content] | bool',
\ 'xmlwriter_write_element(': 'resource $xmlwriter, string $name [, string $content] | bool',
\ 'xmlwriter_write_pi(': 'resource $xmlwriter, string $target, string $content | bool',
\ 'xmlwriter_write_raw(': 'resource $xmlwriter, string $content | bool',
\ }
let g:phpcomplete_builtin['functions']['xslt_php_4'] = {
\ 'xslt_backend_info(': 'void | string',
\ 'xslt_backend_name(': 'void | string',
\ 'xslt_backend_version(': 'void | string',
\ 'xslt_create(': 'void | resource',
\ 'xslt_errno(': 'resource $xh | int',
\ 'xslt_error(': 'resource $xh | string',
\ 'xslt_free(': 'resource $xh | void',
\ 'xslt_getopt(': 'resource $processor | int',
\ 'xslt_process(': 'resource $xh, string $xmlcontainer, string $xslcontainer [, string $resultcontainer [, array $arguments [, array $parameters]]] | mixed',
\ 'xslt_set_base(': 'resource $xh, string $uri | void',
\ 'xslt_set_encoding(': 'resource $xh, string $encoding | void',
\ 'xslt_set_error_handler(': 'resource $xh, mixed $handler | void',
\ 'xslt_set_log(': 'resource $xh [, mixed $log] | void',
\ 'xslt_set_object(': 'resource $processor, object &$obj | bool',
\ 'xslt_set_sax_handler(': 'resource $xh, array $handlers | void',
\ 'xslt_set_sax_handlers(': 'resource $processor, array $handlers | void',
\ 'xslt_set_scheme_handler(': 'resource $xh, array $handlers | void',
\ 'xslt_set_scheme_handlers(': 'resource $xh, array $handlers | void',
\ 'xslt_setopt(': 'resource $processor, int $newmask | mixed',
\ }
let g:phpcomplete_builtin['functions']['yaml'] = {
\ 'yaml_emit_file(': 'string $filename, mixed $data [, int $encoding = YAML_ANY_ENCODING [, int $linebreak = YAML_ANY_BREAK [, array $callbacks]]] | bool',
\ 'yaml_emit(': 'mixed $data [, int $encoding = YAML_ANY_ENCODING [, int $linebreak = YAML_ANY_BREAK [, array $callbacks]]] | string',
\ 'yaml_parse_file(': 'string $filename [, int $pos = 0 [, int &$ndocs [, array $callbacks]]] | mixed',
\ 'yaml_parse_url(': 'string $url [, int $pos = 0 [, int &$ndocs [, array $callbacks]]] | mixed',
\ 'yaml_parse(': 'string $input [, int $pos = 0 [, int &$ndocs [, array $callbacks]]] | mixed',
\ }
let g:phpcomplete_builtin['functions']['yaz'] = {
\ 'yaz_addinfo(': 'resource $id | string',
\ 'yaz_ccl_conf(': 'resource $id, array $config | void',
\ 'yaz_ccl_parse(': 'resource $id, string $query, array &$result | bool',
\ 'yaz_close(': 'resource $id | bool',
\ 'yaz_connect(': 'string $zurl [, mixed $options] | mixed',
\ 'yaz_database(': 'resource $id, string $databases | bool',
\ 'yaz_element(': 'resource $id, string $elementset | bool',
\ 'yaz_errno(': 'resource $id | int',
\ 'yaz_error(': 'resource $id | string',
\ 'yaz_es_result(': 'resource $id | array',
\ 'yaz_es(': 'resource $id, string $type, array $args | void',
\ 'yaz_get_option(': 'resource $id, string $name | string',
\ 'yaz_hits(': 'resource $id [, array &$searchresult] | int',
\ 'yaz_itemorder(': 'resource $id, array $args | void',
\ 'yaz_present(': 'resource $id | bool',
\ 'yaz_range(': 'resource $id, int $start, int $number | void',
\ 'yaz_record(': 'resource $id, int $pos, string $type | string',
\ 'yaz_scan_result(': 'resource $id [, array &$result] | array',
\ 'yaz_scan(': 'resource $id, string $type, string $startterm [, array $flags] | void',
\ 'yaz_schema(': 'resource $id, string $schema | void',
\ 'yaz_search(': 'resource $id, string $type, string $query | bool',
\ 'yaz_set_option(': 'resource $id, string $name, string $value | void',
\ 'yaz_sort(': 'resource $id, string $criteria | void',
\ 'yaz_syntax(': 'resource $id, string $syntax | void',
\ 'yaz_wait(': '[ array &$options] | mixed',
\ }
let g:phpcomplete_builtin['functions']['yp_nis'] = {
\ 'yp_all(': 'string $domain, string $map, string $callback | void',
\ 'yp_cat(': 'string $domain, string $map | array',
\ 'yp_err_string(': 'int $errorcode | string',
\ 'yp_errno(': 'void | int',
\ 'yp_first(': 'string $domain, string $map | array',
\ 'yp_get_default_domain(': 'void | string',
\ 'yp_master(': 'string $domain, string $map | string',
\ 'yp_match(': 'string $domain, string $map, string $key | string',
\ 'yp_next(': 'string $domain, string $map, string $key | array',
\ 'yp_order(': 'string $domain, string $map | int',
\ }
let g:phpcomplete_builtin['functions']['zip'] = {
\ 'zip_close(': 'resource $zip | void',
\ 'zip_entry_close(': 'resource $zip_entry | bool',
\ 'zip_entry_compressedsize(': 'resource $zip_entry | int',
\ 'zip_entry_compressionmethod(': 'resource $zip_entry | string',
\ 'zip_entry_filesize(': 'resource $zip_entry | int',
\ 'zip_entry_name(': 'resource $zip_entry | string',
\ 'zip_entry_open(': 'resource $zip, resource $zip_entry [, string $mode] | bool',
\ 'zip_entry_read(': 'resource $zip_entry [, int $length = 1024] | string',
\ 'zip_open(': 'string $filename | resource',
\ 'zip_read(': 'resource $zip | resource',
\ }
let g:phpcomplete_builtin['classes']['oci8'] = {
\'oci-collection': {
\ 'name': 'OCI-Collection',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'append': { 'signature': 'mixed $value | bool', 'return_type': 'bool'},
\ 'assign': { 'signature': 'OCI-Collection $from | bool', 'return_type': 'bool'},
\ 'assignElem': { 'signature': 'int $index, mixed $value | bool', 'return_type': 'bool'},
\ 'free': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getElem': { 'signature': 'int $index | mixed', 'return_type': 'mixed'},
\ 'max': { 'signature': 'void | int', 'return_type': 'int'},
\ 'size': { 'signature': 'void | int', 'return_type': 'int'},
\ 'trim': { 'signature': 'int $num | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'oci-lob': {
\ 'name': 'OCI-Lob',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'append': { 'signature': 'OCI-Lob $lob_from | bool', 'return_type': 'bool'},
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'eof': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'erase': { 'signature': '[ int $offset [, int $length]] | int', 'return_type': 'int'},
\ 'export': { 'signature': 'string $filename [, int $start [, int $length]] | bool', 'return_type': 'bool'},
\ 'flush': { 'signature': '[ int $flag] | bool', 'return_type': 'bool'},
\ 'free': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getBuffering': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'import': { 'signature': 'string $filename | bool', 'return_type': 'bool'},
\ 'load': { 'signature': 'void | string', 'return_type': 'string'},
\ 'read': { 'signature': 'int $length | string', 'return_type': 'string'},
\ 'rewind': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'save': { 'signature': 'string $data [, int $offset] | bool', 'return_type': 'bool'},
\ 'seek': { 'signature': 'int $offset [, int $whence = OCI_SEEK_SET] | bool', 'return_type': 'bool'},
\ 'setBuffering': { 'signature': 'bool $on_off | bool', 'return_type': 'bool'},
\ 'size': { 'signature': 'void | int', 'return_type': 'int'},
\ 'tell': { 'signature': 'void | int', 'return_type': 'int'},
\ 'truncate': { 'signature': '[ int $length = 0] | bool', 'return_type': 'bool'},
\ 'write': { 'signature': 'string $data [, int $length] | int', 'return_type': 'int'},
\ 'writeTemporary': { 'signature': 'string $data [, int $lob_type = OCI_TEMP_CLOB] | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['amqp'] = {
\'amqpchannel': {
\ 'name': 'AMQPChannel',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'commitTransaction': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'AMQPConnection $amqp_connection', 'return_type': ''},
\ 'isConnected': { 'signature': 'void | void', 'return_type': 'void'},
\ 'qos': { 'signature': 'int $size, int $count | void', 'return_type': 'void'},
\ 'rollbackTransaction': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setPrefetchCount': { 'signature': 'int $count | void', 'return_type': 'void'},
\ 'setPrefetchSize': { 'signature': 'int $size | void', 'return_type': 'void'},
\ 'startTransaction': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'amqpconnection': {
\ 'name': 'AMQPConnection',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'connect': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': '[ array $credentials = array()]', 'return_type': ''},
\ 'disconnect': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getHost': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLogin': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPassword': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPort': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTimeout': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getVhost': { 'signature': 'void | string', 'return_type': 'string'},
\ 'isConnected': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'reconnect': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setHost': { 'signature': 'string $host | bool', 'return_type': 'bool'},
\ 'setLogin': { 'signature': 'string $login | bool', 'return_type': 'bool'},
\ 'setPassword': { 'signature': 'string $password | bool', 'return_type': 'bool'},
\ 'setPort': { 'signature': 'int $port | bool', 'return_type': 'bool'},
\ 'setTimeout': { 'signature': 'float $timeout | bool', 'return_type': 'bool'},
\ 'setVhost': { 'signature': 'string $vhost | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'amqpenvelope': {
\ 'name': 'AMQPEnvelope',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getAppId': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getBody': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getContentEncoding': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getContentType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getCorrelationId': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getDeliveryTag': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getExchange': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getExpiration': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getHeader': { 'signature': 'string $header_key | string', 'return_type': 'string'},
\ 'getHeaders': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getMessageId': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPriority': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getReplyTo': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getRoutingKey': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTimeStamp': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getUserId': { 'signature': 'void | string', 'return_type': 'string'},
\ 'isRedelivery': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'amqpexchange': {
\ 'name': 'AMQPExchange',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'bind': { 'signature': 'string $destination_exchange_name, string $source_exchange_name, string $routing_key | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'AMQPChannel $amqp_channel', 'return_type': ''},
\ 'declare': { 'signature': 'void | int', 'return_type': 'int'},
\ 'delete': { 'signature': '[ int $flags = AMQP_NOPARAM] | bool', 'return_type': 'bool'},
\ 'getArgument': { 'signature': 'string $key | mixed', 'return_type': 'mixed'},
\ 'getArguments': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'publish': { 'signature': 'string $message, string $routing_key [, int $flags = AMQP_NOPARAM [, array $attributes = array()]] | bool', 'return_type': 'bool'},
\ 'setArgument': { 'signature': 'string $key, mixed $value | void', 'return_type': 'void'},
\ 'setArguments': { 'signature': 'array $arguments | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'setName': { 'signature': 'string $exchange_name | void', 'return_type': 'void'},
\ 'setType': { 'signature': 'string $exchange_type | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'amqpqueue': {
\ 'name': 'AMQPQueue',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'ack': { 'signature': 'int $delivery_tag [, int $flags = AMQP_NOPARAM] | bool', 'return_type': 'bool'},
\ 'bind': { 'signature': 'string $exchange_name, string $routing_key | bool', 'return_type': 'bool'},
\ 'cancel': { 'signature': '[ string $consumer_tag = ""] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'AMQPChannel $amqp_channel', 'return_type': ''},
\ 'consume': { 'signature': 'callable $callback [, int $flags = AMQP_NOPARAM] | void', 'return_type': 'void'},
\ 'declare': { 'signature': 'void | int', 'return_type': 'int'},
\ 'delete': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'get': { 'signature': '[ int $flags = ini_get("amqp.auto_ack")] | mixed', 'return_type': 'mixed'},
\ 'getArgument': { 'signature': 'string $key | mixed', 'return_type': 'mixed'},
\ 'getArguments': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'nack': { 'signature': 'string $delivery_tag [, string $flags = AMQP_NOPARAM] | void', 'return_type': 'void'},
\ 'purge': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setArgument': { 'signature': 'string $key, mixed $value | void', 'return_type': 'void'},
\ 'setArguments': { 'signature': 'array $arguments | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'setName': { 'signature': 'string $queue_name | void', 'return_type': 'void'},
\ 'unbind': { 'signature': 'string $exchange_name, string $routing_key | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['apc'] = {
\'apciterator': {
\ 'name': 'APCIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $cache [, mixed $search = null [, int $format = APC_ITER_ALL [, int $chunk_size = 100 [, int $list = APC_LIST_ACTIVE]]]]', 'return_type': ''},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getTotalCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTotalHits': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTotalSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'key': { 'signature': 'void | string', 'return_type': 'string'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['spl'] = {
\'appenditerator': {
\ 'name': 'AppendIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Traversable $iterator', 'return_type': ''},
\ 'append': { 'signature': 'Iterator $iterator | void', 'return_type': 'void'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getArrayIterator': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getInnerIterator': { 'signature': 'void | Traversable', 'return_type': 'Traversable'},
\ 'getIteratorIndex': { 'signature': 'void | int', 'return_type': 'int'},
\ 'key': { 'signature': 'void | scalar', 'return_type': 'scalar'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'arrayiterator': {
\ 'name': 'ArrayIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'append': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'asort': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': '[ mixed $array = array() [, int $flags = 0]]', 'return_type': ''},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getArrayCopy': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFlags': { 'signature': 'void | void', 'return_type': 'void'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'ksort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'natcasesort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'natsort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'offsetGet': { 'signature': 'string $index | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'string $index, string $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'seek': { 'signature': 'int $position | void', 'return_type': 'void'},
\ 'serialize': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setFlags': { 'signature': 'string $flags | void', 'return_type': 'void'},
\ 'uasort': { 'signature': 'string $cmp_function | void', 'return_type': 'void'},
\ 'uksort': { 'signature': 'string $cmp_function | void', 'return_type': 'void'},
\ 'unserialize': { 'signature': 'string $serialized | string', 'return_type': 'string'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'arrayobject': {
\ 'name': 'ArrayObject',
\ 'constants': {
\ 'STD_PROP_LIST': '1',
\ 'ARRAY_AS_PROPS': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ mixed $input = [] [, int $flags = 0 [, string $iterator_class = "ArrayIterator"]]]', 'return_type': ''},
\ 'append': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'asort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'exchangeArray': { 'signature': 'mixed $input | array', 'return_type': 'array'},
\ 'getArrayCopy': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getIterator': { 'signature': 'void | ArrayIterator', 'return_type': 'ArrayIterator'},
\ 'getIteratorClass': { 'signature': 'void | string', 'return_type': 'string'},
\ 'ksort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'natcasesort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'natsort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'mixed $index | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'mixed $index | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'mixed $index, mixed $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'mixed $index | void', 'return_type': 'void'},
\ 'serialize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'setIteratorClass': { 'signature': 'string $iterator_class | void', 'return_type': 'void'},
\ 'uasort': { 'signature': 'callable $cmp_function | void', 'return_type': 'void'},
\ 'uksort': { 'signature': 'callable $cmp_function | void', 'return_type': 'void'},
\ 'unserialize': { 'signature': 'string $serialized | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'badfunctioncallexception': {
\ 'name': 'BadFunctionCallException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'badmethodcallexception': {
\ 'name': 'BadMethodCallException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'cachingiterator': {
\ 'name': 'CachingIterator',
\ 'constants': {
\ 'CALL_TOSTRING': '1',
\ 'CATCH_GET_CHILD': '16',
\ 'TOSTRING_USE_KEY': '2',
\ 'TOSTRING_USE_CURRENT': '4',
\ 'TOSTRING_USE_INNER': '8',
\ 'FULL_CACHE': '256',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Iterator $iterator [, string $flags = self::CALL_TOSTRING]', 'return_type': ''},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getCache': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getFlags': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'hasNext': { 'signature': 'void | void', 'return_type': 'void'},
\ 'key': { 'signature': 'void | scalar', 'return_type': 'scalar'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'offsetGet': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'offsetSet': { 'signature': 'string $index, string $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'bitmask $flags | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'callbackfilteriterator': {
\ 'name': 'CallbackFilterIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Iterator $iterator', 'return_type': ''},
\ 'accept': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'directoryiterator': {
\ 'name': 'DirectoryIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $path', 'return_type': ''},
\ 'current': { 'signature': 'void | DirectoryIterator', 'return_type': 'DirectoryIterator'},
\ 'getATime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getBasename': { 'signature': '[ string $suffix] | string', 'return_type': 'string'},
\ 'getCTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGroup': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getOwner': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPathname': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPerms': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'isDir': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDot': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isExecutable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isFile': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isLink': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isReadable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isWritable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | string', 'return_type': 'string'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'seek': { 'signature': 'int $position | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'domainexception': {
\ 'name': 'DomainException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'emptyiterator': {
\ 'name': 'EmptyIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'current': { 'signature': 'void | void', 'return_type': 'void'},
\ 'key': { 'signature': 'void | void', 'return_type': 'void'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'filesystemiterator': {
\ 'name': 'FilesystemIterator',
\ 'constants': {
\ 'CURRENT_AS_PATHNAME': '32',
\ 'CURRENT_AS_FILEINFO': '0',
\ 'CURRENT_AS_SELF': '16',
\ 'CURRENT_MODE_MASK': '240',
\ 'KEY_AS_PATHNAME': '0',
\ 'KEY_AS_FILENAME': '256',
\ 'FOLLOW_SYMLINKS': '512',
\ 'KEY_MODE_MASK': '3840',
\ 'NEW_CURRENT_AND_KEY': '256',
\ 'SKIP_DOTS': '4096',
\ 'UNIX_PATHS': '8192',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS]', 'return_type': ''},
\ 'current': { 'signature': 'void | DirectoryIterator', 'return_type': 'DirectoryIterator'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'key': { 'signature': 'void | string', 'return_type': 'string'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': '[ int $flags] | void', 'return_type': 'void'},
\ 'getATime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getBasename': { 'signature': '[ string $suffix] | string', 'return_type': 'string'},
\ 'getCTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGroup': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getOwner': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPathname': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPerms': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'isDir': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDot': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isExecutable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isFile': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isLink': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isReadable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isWritable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'seek': { 'signature': 'int $position | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'filteriterator': {
\ 'name': 'FilterIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'accept': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'Iterator $iterator', 'return_type': ''},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'globiterator': {
\ 'name': 'GlobIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS]', 'return_type': ''},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'key': { 'signature': 'void | string', 'return_type': 'string'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': '[ int $flags] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'infiniteiterator': {
\ 'name': 'InfiniteIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Traversable $iterator', 'return_type': ''},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Traversable', 'return_type': 'Traversable'},
\ 'key': { 'signature': 'void | scalar', 'return_type': 'scalar'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'invalidargumentexception': {
\ 'name': 'InvalidArgumentException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'iteratoriterator': {
\ 'name': 'IteratorIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Traversable $iterator', 'return_type': ''},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Traversable', 'return_type': 'Traversable'},
\ 'key': { 'signature': 'void | scalar', 'return_type': 'scalar'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'lengthexception': {
\ 'name': 'LengthException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'limititerator': {
\ 'name': 'LimitIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Iterator $iterator [, int $offset = 0 [, int $count = -1]]', 'return_type': ''},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'getPosition': { 'signature': 'void | int', 'return_type': 'int'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'seek': { 'signature': 'int $position | int', 'return_type': 'int'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'logicexception': {
\ 'name': 'LogicException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'multipleiterator': {
\ 'name': 'MultipleIterator',
\ 'constants': {
\ 'MIT_NEED_ANY': '0',
\ 'MIT_NEED_ALL': '1',
\ 'MIT_KEYS_NUMERIC': '0',
\ 'MIT_KEYS_ASSOC': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ int $flags = MultipleIterator::MIT_NEED_ALL|MultipleIterator::MIT_KEYS_NUMERIC]', 'return_type': ''},
\ 'attachIterator': { 'signature': 'Iterator $iterator [, string $infos] | void', 'return_type': 'void'},
\ 'containsIterator': { 'signature': 'Iterator $iterator | void', 'return_type': 'void'},
\ 'countIterators': { 'signature': 'void | void', 'return_type': 'void'},
\ 'current': { 'signature': 'void | array', 'return_type': 'array'},
\ 'detachIterator': { 'signature': 'Iterator $iterator | void', 'return_type': 'void'},
\ 'getFlags': { 'signature': 'void | void', 'return_type': 'void'},
\ 'key': { 'signature': 'void | array', 'return_type': 'array'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'norewinditerator': {
\ 'name': 'NoRewindIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Traversable $iterator', 'return_type': ''},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Traversable', 'return_type': 'Traversable'},
\ 'key': { 'signature': 'void | scalar', 'return_type': 'scalar'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'outofboundsexception': {
\ 'name': 'OutOfBoundsException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'outofrangeexception': {
\ 'name': 'OutOfRangeException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'overflowexception': {
\ 'name': 'OverflowException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'parentiterator': {
\ 'name': 'ParentIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'accept': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'RecursiveIterator $iterator', 'return_type': ''},
\ 'getChildren': { 'signature': 'void | ParentIterator', 'return_type': 'ParentIterator'},
\ 'hasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'rangeexception': {
\ 'name': 'RangeException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'recursivearrayiterator': {
\ 'name': 'RecursiveArrayIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getChildren': { 'signature': 'void | RecursiveArrayIterator', 'return_type': 'RecursiveArrayIterator'},
\ 'hasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'append': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'asort': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': '[ mixed $array = array() [, int $flags = 0]]', 'return_type': ''},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getArrayCopy': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFlags': { 'signature': 'void | void', 'return_type': 'void'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'ksort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'natcasesort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'natsort': { 'signature': 'void | void', 'return_type': 'void'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'offsetGet': { 'signature': 'string $index | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'string $index, string $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'seek': { 'signature': 'int $position | void', 'return_type': 'void'},
\ 'serialize': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setFlags': { 'signature': 'string $flags | void', 'return_type': 'void'},
\ 'uasort': { 'signature': 'string $cmp_function | void', 'return_type': 'void'},
\ 'uksort': { 'signature': 'string $cmp_function | void', 'return_type': 'void'},
\ 'unserialize': { 'signature': 'string $serialized | string', 'return_type': 'string'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'recursivecachingiterator': {
\ 'name': 'RecursiveCachingIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Iterator $iterator [, string $flags = self::CALL_TOSTRING]', 'return_type': ''},
\ 'getChildren': { 'signature': 'void | RecursiveCachingIterator', 'return_type': 'RecursiveCachingIterator'},
\ 'hasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getCache': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getFlags': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'hasNext': { 'signature': 'void | void', 'return_type': 'void'},
\ 'key': { 'signature': 'void | scalar', 'return_type': 'scalar'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'offsetGet': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'offsetSet': { 'signature': 'string $index, string $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'string $index | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'bitmask $flags | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'recursivecallbackfilteriterator': {
\ 'name': 'RecursiveCallbackFilterIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'RecursiveIterator $iterator, string $callback', 'return_type': ''},
\ 'getChildren': { 'signature': 'void | RecursiveCallbackFilterIterator', 'return_type': 'RecursiveCallbackFilterIterator'},
\ 'hasChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'accept': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'recursivedirectoryiterator': {
\ 'name': 'RecursiveDirectoryIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS]', 'return_type': ''},
\ 'getChildren': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getSubPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSubPathname': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasChildren': { 'signature': '[ bool $allow_links = false] | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | string', 'return_type': 'string'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setFlags': { 'signature': '[ int $flags] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'recursivefilteriterator': {
\ 'name': 'RecursiveFilterIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Iterator $iterator', 'return_type': ''},
\ 'getChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'hasChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'accept': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'recursiveiteratoriterator': {
\ 'name': 'RecursiveIteratorIterator',
\ 'constants': {
\ 'LEAVES_ONLY': '0',
\ 'SELF_FIRST': '1',
\ 'CHILD_FIRST': '2',
\ 'CATCH_GET_CHILD': '16',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'beginChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'beginIteration': { 'signature': 'void | void', 'return_type': 'void'},
\ 'callGetChildren': { 'signature': 'void | RecursiveIterator', 'return_type': 'RecursiveIterator'},
\ 'callHasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'Traversable $iterator [, int $mode = RecursiveIteratorIterator::LEAVES_ONLY [, int $flags = 0]]', 'return_type': ''},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'endChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'endIteration': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getDepth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'getMaxDepth': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getSubIterator': { 'signature': '[ int $level] | RecursiveIterator', 'return_type': 'RecursiveIterator'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'nextElement': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setMaxDepth': { 'signature': '[ string $max_depth = -1] | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'recursiveregexiterator': {
\ 'name': 'RecursiveRegexIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'RecursiveIterator $iterator, string $regex [, int $mode = self::MATCH [, int $flags = 0 [, int $preg_flags = 0]]]', 'return_type': ''},
\ 'getChildren': { 'signature': 'void | RecursiveIterator', 'return_type': 'RecursiveIterator'},
\ 'hasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'accept': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPregFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getRegex': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'setMode': { 'signature': 'int $mode | void', 'return_type': 'void'},
\ 'setPregFlags': { 'signature': 'int $preg_flags | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'recursivetreeiterator': {
\ 'name': 'RecursiveTreeIterator',
\ 'constants': {
\ 'BYPASS_CURRENT': '4',
\ 'BYPASS_KEY': '8',
\ 'PREFIX_LEFT': '0',
\ 'PREFIX_MID_HAS_NEXT': '1',
\ 'PREFIX_MID_LAST': '2',
\ 'PREFIX_END_HAS_NEXT': '3',
\ 'PREFIX_END_LAST': '4',
\ 'PREFIX_RIGHT': '5',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'beginChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'beginIteration': { 'signature': 'void | void', 'return_type': 'void'},
\ 'callGetChildren': { 'signature': 'void | RecursiveIterator', 'return_type': 'RecursiveIterator'},
\ 'callHasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'Traversable $iterator [, int $mode = RecursiveIteratorIterator::LEAVES_ONLY [, int $flags = 0]]', 'return_type': ''},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'endChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'endIteration': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getEntry': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPostfix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getPrefix': { 'signature': 'void | string', 'return_type': 'string'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'nextElement': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setPrefixPart': { 'signature': 'int $part, string $value | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getDepth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInnerIterator': { 'signature': 'void | iterator', 'return_type': 'iterator'},
\ 'getMaxDepth': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getSubIterator': { 'signature': '[ int $level] | RecursiveIterator', 'return_type': 'RecursiveIterator'},
\ 'setMaxDepth': { 'signature': '[ string $max_depth = -1] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'regexiterator': {
\ 'name': 'RegexIterator',
\ 'constants': {
\ 'MATCH': '0',
\ 'GET_MATCH': '1',
\ 'ALL_MATCHES': '2',
\ 'SPLIT': '3',
\ 'REPLACE': '4',
\ 'USE_KEY': '1',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'Iterator $iterator', 'return_type': ''},
\ 'accept': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPregFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getRegex': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'setMode': { 'signature': 'int $mode | void', 'return_type': 'void'},
\ 'setPregFlags': { 'signature': 'int $preg_flags | void', 'return_type': 'void'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getInnerIterator': { 'signature': 'void | Iterator', 'return_type': 'Iterator'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'runtimeexception': {
\ 'name': 'RuntimeException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'spldoublylinkedlist': {
\ 'name': 'SplDoublyLinkedList',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'bottom': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getIteratorMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'mixed $index | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'mixed $index | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'mixed $index, mixed $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'mixed $index | void', 'return_type': 'void'},
\ 'pop': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'prev': { 'signature': 'void | void', 'return_type': 'void'},
\ 'push': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'serialize': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setIteratorMode': { 'signature': 'int $mode | void', 'return_type': 'void'},
\ 'shift': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'top': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'unserialize': { 'signature': 'string $serialized | void', 'return_type': 'void'},
\ 'unshift': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'splfileinfo': {
\ 'name': 'SplFileInfo',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $file_name', 'return_type': ''},
\ 'getATime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getBasename': { 'signature': '[ string $suffix] | string', 'return_type': 'string'},
\ 'getCTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileInfo': { 'signature': '[ string $class_name] | SplFileInfo', 'return_type': 'SplFileInfo'},
\ 'getFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGroup': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLinkTarget': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getMTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getOwner': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPathInfo': { 'signature': '[ string $class_name] | SplFileInfo', 'return_type': 'SplFileInfo'},
\ 'getPathname': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPerms': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getRealPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'isDir': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isExecutable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isFile': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isLink': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isReadable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isWritable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'openFile': { 'signature': '[ string $open_mode = r [, bool $use_include_path = false [, resource $context = NULL]]] | SplFileObject', 'return_type': 'SplFileObject'},
\ 'setFileClass': { 'signature': '[ string $class_name] | void', 'return_type': 'void'},
\ 'setInfoClass': { 'signature': '[ string $class_name] | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'splfileobject': {
\ 'name': 'SplFileObject',
\ 'constants': {
\ 'DROP_NEW_LINE': '1',
\ 'READ_AHEAD': '2',
\ 'SKIP_EMPTY': '4',
\ 'READ_CSV': '8',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $file_name', 'return_type': ''},
\ 'current': { 'signature': 'void | string|array', 'return_type': 'string|array'},
\ 'eof': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'fflush': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'fgetc': { 'signature': 'void | string', 'return_type': 'string'},
\ 'fgetcsv': { 'signature': '[ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\"]]] | array', 'return_type': 'array'},
\ 'fgets': { 'signature': 'void | string', 'return_type': 'string'},
\ 'fgetss': { 'signature': '[ string $allowable_tags] | string', 'return_type': 'string'},
\ 'flock': { 'signature': 'int $operation [, int &$wouldblock] | bool', 'return_type': 'bool'},
\ 'fpassthru': { 'signature': 'void | int', 'return_type': 'int'},
\ 'fputcsv': { 'signature': 'array $fields [, string $delimiter = '','' [, string $enclosure = ''"'']] | int', 'return_type': 'int'},
\ 'fscanf': { 'signature': 'string $format [, mixed &$...] | mixed', 'return_type': 'mixed'},
\ 'fseek': { 'signature': 'int $offset [, int $whence = SEEK_SET] | int', 'return_type': 'int'},
\ 'fstat': { 'signature': 'void | array', 'return_type': 'array'},
\ 'ftell': { 'signature': 'void | int', 'return_type': 'int'},
\ 'ftruncate': { 'signature': 'int $size | bool', 'return_type': 'bool'},
\ 'fwrite': { 'signature': 'string $str [, int $length] | int', 'return_type': 'int'},
\ 'getChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getCsvControl': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMaxLineLen': { 'signature': 'void | int', 'return_type': 'int'},
\ 'hasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | int', 'return_type': 'int'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'seek': { 'signature': 'int $line_pos | void', 'return_type': 'void'},
\ 'setCsvControl': { 'signature': '[ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\"]]] | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'setMaxLineLen': { 'signature': 'int $max_len | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getATime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getBasename': { 'signature': '[ string $suffix] | string', 'return_type': 'string'},
\ 'getCTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileInfo': { 'signature': '[ string $class_name] | SplFileInfo', 'return_type': 'SplFileInfo'},
\ 'getFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGroup': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLinkTarget': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getMTime': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getOwner': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPathInfo': { 'signature': '[ string $class_name] | SplFileInfo', 'return_type': 'SplFileInfo'},
\ 'getPathname': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPerms': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getRealPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'isDir': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isExecutable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isFile': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isLink': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isReadable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isWritable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'openFile': { 'signature': '[ string $open_mode = r [, bool $use_include_path = false [, resource $context = NULL]]] | SplFileObject', 'return_type': 'SplFileObject'},
\ 'setFileClass': { 'signature': '[ string $class_name] | void', 'return_type': 'void'},
\ 'setInfoClass': { 'signature': '[ string $class_name] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'splfixedarray': {
\ 'name': 'SplFixedArray',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ int $size = 0]', 'return_type': ''},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'key': { 'signature': 'void | int', 'return_type': 'int'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'int $index | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'int $index | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'int $index, mixed $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'int $index | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setSize': { 'signature': 'int $size | int', 'return_type': 'int'},
\ 'toArray': { 'signature': 'void | array', 'return_type': 'array'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__wakeup': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'fromArray': { 'signature': 'array $array [, bool $save_indexes = true] | SplFixedArray', 'return_type': 'SplFixedArray'},
\ },
\},
\'splheap': {
\ 'name': 'SplHeap',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'compare': { 'signature': 'mixed $value1, mixed $value2 | int', 'return_type': 'int'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'extract': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'insert': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'recoverFromCorruption': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'top': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'splmaxheap': {
\ 'name': 'SplMaxHeap',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'compare': { 'signature': 'mixed $value1, mixed $value2 | int', 'return_type': 'int'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'extract': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'insert': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'recoverFromCorruption': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'top': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'splminheap': {
\ 'name': 'SplMinHeap',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'compare': { 'signature': 'mixed $value1, mixed $value2 | int', 'return_type': 'int'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'extract': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'insert': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'recoverFromCorruption': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'top': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'splobjectstorage': {
\ 'name': 'SplObjectStorage',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addAll': { 'signature': 'SplObjectStorage $storage | void', 'return_type': 'void'},
\ 'attach': { 'signature': 'object $object [, mixed $data = NULL] | void', 'return_type': 'void'},
\ 'contains': { 'signature': 'object $object | bool', 'return_type': 'bool'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | object', 'return_type': 'object'},
\ 'detach': { 'signature': 'object $object | void', 'return_type': 'void'},
\ 'getHash': { 'signature': 'object $object | string', 'return_type': 'string'},
\ 'getInfo': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'key': { 'signature': 'void | int', 'return_type': 'int'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'object $object | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'object $object | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'object $object [, mixed $data = NULL] | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'object $object | void', 'return_type': 'void'},
\ 'removeAll': { 'signature': 'SplObjectStorage $storage | void', 'return_type': 'void'},
\ 'removeAllExcept': { 'signature': 'SplObjectStorage $storage | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'serialize': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setInfo': { 'signature': 'mixed $data | void', 'return_type': 'void'},
\ 'unserialize': { 'signature': 'string $serialized | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'splpriorityqueue': {
\ 'name': 'SplPriorityQueue',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'compare': { 'signature': 'mixed $priority1, mixed $priority2 | int', 'return_type': 'int'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'extract': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'insert': { 'signature': 'mixed $value, mixed $priority | void', 'return_type': 'void'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'recoverFromCorruption': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setExtractFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'top': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'splqueue': {
\ 'name': 'SplQueue',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'dequeue': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'enqueue': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'setIteratorMode': { 'signature': 'int $mode | void', 'return_type': 'void'},
\ 'bottom': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getIteratorMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'mixed $index | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'mixed $index | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'mixed $index, mixed $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'mixed $index | void', 'return_type': 'void'},
\ 'pop': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'prev': { 'signature': 'void | void', 'return_type': 'void'},
\ 'push': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'serialize': { 'signature': 'void | string', 'return_type': 'string'},
\ 'shift': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'top': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'unserialize': { 'signature': 'string $serialized | void', 'return_type': 'void'},
\ 'unshift': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'splstack': {
\ 'name': 'SplStack',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'setIteratorMode': { 'signature': 'int $mode | void', 'return_type': 'void'},
\ 'bottom': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getIteratorMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'offsetExists': { 'signature': 'mixed $index | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'mixed $index | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'mixed $index, mixed $newval | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'mixed $index | void', 'return_type': 'void'},
\ 'pop': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'prev': { 'signature': 'void | void', 'return_type': 'void'},
\ 'push': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'serialize': { 'signature': 'void | string', 'return_type': 'string'},
\ 'shift': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'top': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'unserialize': { 'signature': 'string $serialized | void', 'return_type': 'void'},
\ 'unshift': { 'signature': 'mixed $value | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'spltempfileobject': {
\ 'name': 'SplTempFileObject',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $filename [, string $open_mode = "r" [, bool $use_include_path = false [, resource $context]]]', 'return_type': ''},
\ 'current': { 'signature': 'void | string|array', 'return_type': 'string|array'},
\ 'eof': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'fflush': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'fgetc': { 'signature': 'void | string', 'return_type': 'string'},
\ 'fgetcsv': { 'signature': '[ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\"]]] | array', 'return_type': 'array'},
\ 'fgets': { 'signature': 'void | string', 'return_type': 'string'},
\ 'fgetss': { 'signature': '[ string $allowable_tags] | string', 'return_type': 'string'},
\ 'flock': { 'signature': 'int $operation [, int &$wouldblock] | bool', 'return_type': 'bool'},
\ 'fpassthru': { 'signature': 'void | int', 'return_type': 'int'},
\ 'fputcsv': { 'signature': 'array $fields [, string $delimiter = '','' [, string $enclosure = ''"'']] | int', 'return_type': 'int'},
\ 'fscanf': { 'signature': 'string $format [, mixed &$...] | mixed', 'return_type': 'mixed'},
\ 'fseek': { 'signature': 'int $offset [, int $whence = SEEK_SET] | int', 'return_type': 'int'},
\ 'fstat': { 'signature': 'void | array', 'return_type': 'array'},
\ 'ftell': { 'signature': 'void | int', 'return_type': 'int'},
\ 'ftruncate': { 'signature': 'int $size | bool', 'return_type': 'bool'},
\ 'fwrite': { 'signature': 'string $str [, int $length] | int', 'return_type': 'int'},
\ 'getChildren': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getCsvControl': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMaxLineLen': { 'signature': 'void | int', 'return_type': 'int'},
\ 'hasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | int', 'return_type': 'int'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'seek': { 'signature': 'int $line_pos | void', 'return_type': 'void'},
\ 'setCsvControl': { 'signature': '[ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\"]]] | void', 'return_type': 'void'},
\ 'setFlags': { 'signature': 'int $flags | void', 'return_type': 'void'},
\ 'setMaxLineLen': { 'signature': 'int $max_len | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'underflowexception': {
\ 'name': 'UnderflowException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'unexpectedvalueexception': {
\ 'name': 'UnexpectedValueException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['cairo'] = {
\'cairo': {
\ 'name': 'Cairo',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'availableFonts': { 'signature': 'void | array', 'return_type': 'array'},
\ 'availableSurfaces': { 'signature': 'void | array', 'return_type': 'array'},
\ 'statusToString': { 'signature': 'int $status | string', 'return_type': 'string'},
\ 'version': { 'signature': 'void | int', 'return_type': 'int'},
\ 'versionString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\},
\'cairoantialias': {
\ 'name': 'CairoAntialias',
\ 'constants': {
\ 'MODE_DEFAULT': '0',
\ 'MODE_NONE': '1',
\ 'MODE_GRAY': '2',
\ 'MODE_SUBPIXEL': '3',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairocontent': {
\ 'name': 'CairoContent',
\ 'constants': {
\ 'COLOR': '4096',
\ 'ALPHA': '8192',
\ 'COLOR_ALPHA': '12288',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairocontext': {
\ 'name': 'CairoContext',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'appendPath': { 'signature': 'CairoPath $path | void', 'return_type': 'void'},
\ 'arc': { 'signature': 'float $x, float $y, float $radius, float $angle1, float $angle2 | void', 'return_type': 'void'},
\ 'arcNegative': { 'signature': 'float $x, float $y, float $radius, float $angle1, float $angle2 | void', 'return_type': 'void'},
\ 'clip': { 'signature': 'void | void', 'return_type': 'void'},
\ 'clipExtents': { 'signature': 'void | array', 'return_type': 'array'},
\ 'clipPreserve': { 'signature': 'void | void', 'return_type': 'void'},
\ 'clipRectangleList': { 'signature': 'void | array', 'return_type': 'array'},
\ 'closePath': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'CairoSurface $surface', 'return_type': ''},
\ 'copyPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'copyPath': { 'signature': 'void | CairoPath', 'return_type': 'CairoPath'},
\ 'copyPathFlat': { 'signature': 'void | CairoPath', 'return_type': 'CairoPath'},
\ 'curveTo': { 'signature': 'float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 | void', 'return_type': 'void'},
\ 'deviceToUser': { 'signature': 'float $x, float $y | array', 'return_type': 'array'},
\ 'deviceToUserDistance': { 'signature': 'float $x, float $y | array', 'return_type': 'array'},
\ 'fill': { 'signature': 'void | void', 'return_type': 'void'},
\ 'fillExtents': { 'signature': 'void | array', 'return_type': 'array'},
\ 'fillPreserve': { 'signature': 'void | void', 'return_type': 'void'},
\ 'fontExtents': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getAntialias': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCurrentPoint': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getDash': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getDashCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getFillRule': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getFontFace': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getFontMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getFontOptions': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getGroupTarget': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getLineCap': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLineJoin': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLineWidth': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getMiterLimit': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getOperator': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getScaledFont': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getSource': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getTarget': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getTolerance': { 'signature': 'void | float', 'return_type': 'float'},
\ 'glyphPath': { 'signature': 'array $glyphs | void', 'return_type': 'void'},
\ 'hasCurrentPoint': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'identityMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'inFill': { 'signature': 'string $x, string $y | bool', 'return_type': 'bool'},
\ 'inStroke': { 'signature': 'string $x, string $y | bool', 'return_type': 'bool'},
\ 'lineTo': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'mask': { 'signature': 'string $pattern | void', 'return_type': 'void'},
\ 'maskSurface': { 'signature': 'string $surface [, string $x [, string $y]] | void', 'return_type': 'void'},
\ 'moveTo': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'newPath': { 'signature': 'void | void', 'return_type': 'void'},
\ 'newSubPath': { 'signature': 'void | void', 'return_type': 'void'},
\ 'paint': { 'signature': 'void | void', 'return_type': 'void'},
\ 'paintWithAlpha': { 'signature': 'string $alpha | void', 'return_type': 'void'},
\ 'pathExtents': { 'signature': 'void | array', 'return_type': 'array'},
\ 'popGroup': { 'signature': 'void | void', 'return_type': 'void'},
\ 'popGroupToSource': { 'signature': 'void | void', 'return_type': 'void'},
\ 'pushGroup': { 'signature': 'void | void', 'return_type': 'void'},
\ 'pushGroupWithContent': { 'signature': 'string $content | void', 'return_type': 'void'},
\ 'rectangle': { 'signature': 'string $x, string $y, string $width, string $height | void', 'return_type': 'void'},
\ 'relCurveTo': { 'signature': 'string $x1, string $y1, string $x2, string $y2, string $x3, string $y3 | void', 'return_type': 'void'},
\ 'relLineTo': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'relMoveTo': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'resetClip': { 'signature': 'void | void', 'return_type': 'void'},
\ 'restore': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rotate': { 'signature': 'string $angle | void', 'return_type': 'void'},
\ 'save': { 'signature': 'void | void', 'return_type': 'void'},
\ 'scale': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'selectFontFace': { 'signature': 'string $family [, string $slant [, string $weight]] | void', 'return_type': 'void'},
\ 'setAntialias': { 'signature': '[ string $antialias] | void', 'return_type': 'void'},
\ 'setDash': { 'signature': 'string $dashes [, string $offset] | void', 'return_type': 'void'},
\ 'setFillRule': { 'signature': 'string $setting | void', 'return_type': 'void'},
\ 'setFontFace': { 'signature': 'CairoFontFace $fontface | void', 'return_type': 'void'},
\ 'setFontMatrix': { 'signature': 'string $matrix | void', 'return_type': 'void'},
\ 'setFontOptions': { 'signature': 'string $fontoptions | void', 'return_type': 'void'},
\ 'setFontSize': { 'signature': 'string $size | void', 'return_type': 'void'},
\ 'setLineCap': { 'signature': 'string $setting | void', 'return_type': 'void'},
\ 'setLineJoin': { 'signature': 'string $setting | void', 'return_type': 'void'},
\ 'setLineWidth': { 'signature': 'string $width | void', 'return_type': 'void'},
\ 'setMatrix': { 'signature': 'string $matrix | void', 'return_type': 'void'},
\ 'setMiterLimit': { 'signature': 'string $limit | void', 'return_type': 'void'},
\ 'setOperator': { 'signature': 'string $setting | void', 'return_type': 'void'},
\ 'setScaledFont': { 'signature': 'string $scaledfont | void', 'return_type': 'void'},
\ 'setSource': { 'signature': 'string $pattern | void', 'return_type': 'void'},
\ 'setSourceRGB': { 'signature': 'string $red, string $green, string $blue | void', 'return_type': 'void'},
\ 'setSourceRGBA': { 'signature': 'string $red, string $green, string $blue, string $alpha | void', 'return_type': 'void'},
\ 'setSourceSurface': { 'signature': 'string $surface [, string $x [, string $y]] | void', 'return_type': 'void'},
\ 'setTolerance': { 'signature': 'string $tolerance | void', 'return_type': 'void'},
\ 'showPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'showText': { 'signature': 'string $text | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ 'stroke': { 'signature': 'void | void', 'return_type': 'void'},
\ 'strokeExtents': { 'signature': 'void | array', 'return_type': 'array'},
\ 'strokePreserve': { 'signature': 'void | void', 'return_type': 'void'},
\ 'textExtents': { 'signature': 'string $text | array', 'return_type': 'array'},
\ 'textPath': { 'signature': 'string $string | void', 'return_type': 'void'},
\ 'transform': { 'signature': 'string $matrix | void', 'return_type': 'void'},
\ 'translate': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'userToDevice': { 'signature': 'string $x, string $y | array', 'return_type': 'array'},
\ 'userToDeviceDistance': { 'signature': 'string $x, string $y | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\'cairoexception': {
\ 'name': 'CairoException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'cairoextend': {
\ 'name': 'CairoExtend',
\ 'constants': {
\ 'NONE': '0',
\ 'REPEAT': '1',
\ 'REFLECT': '2',
\ 'PAD': '3',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairofillrule': {
\ 'name': 'CairoFillRule',
\ 'constants': {
\ 'WINDING': '0',
\ 'EVEN_ODD': '1',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairofilter': {
\ 'name': 'CairoFilter',
\ 'constants': {
\ 'FAST': '0',
\ 'GOOD': '1',
\ 'BEST': '2',
\ 'NEAREST': '3',
\ 'BILINEAR': '4',
\ 'GAUSSIAN': '5',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairofontface': {
\ 'name': 'CairoFontFace',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'cairofontoptions': {
\ 'name': 'CairoFontOptions',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'equal': { 'signature': 'string $other | bool', 'return_type': 'bool'},
\ 'getAntialias': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getHintMetrics': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getHintStyle': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getSubpixelOrder': { 'signature': 'void | int', 'return_type': 'int'},
\ 'hash': { 'signature': 'void | int', 'return_type': 'int'},
\ 'merge': { 'signature': 'string $other | void', 'return_type': 'void'},
\ 'setAntialias': { 'signature': 'string $antialias | void', 'return_type': 'void'},
\ 'setHintMetrics': { 'signature': 'string $hint_metrics | void', 'return_type': 'void'},
\ 'setHintStyle': { 'signature': 'string $hint_style | void', 'return_type': 'void'},
\ 'setSubpixelOrder': { 'signature': 'string $subpixel_order | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'cairofontslant': {
\ 'name': 'CairoFontSlant',
\ 'constants': {
\ 'NORMAL': '0',
\ 'ITALIC': '1',
\ 'OBLIQUE': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairofonttype': {
\ 'name': 'CairoFontType',
\ 'constants': {
\ 'TOY': '0',
\ 'FT': '1',
\ 'WIN32': '2',
\ 'QUARTZ': '3',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairofontweight': {
\ 'name': 'CairoFontWeight',
\ 'constants': {
\ 'NORMAL': '0',
\ 'BOLD': '1',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairoformat': {
\ 'name': 'CairoFormat',
\ 'constants': {
\ 'ARGB32': '0',
\ 'RGB24': '1',
\ 'A8': '2',
\ 'A1': '3',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'strideForWidth': { 'signature': 'int $format, int $width | int', 'return_type': 'int'},
\ },
\},
\'cairogradientpattern': {
\ 'name': 'CairoGradientPattern',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addColorStopRgb': { 'signature': 'string $offset, string $red, string $green, string $blue | void', 'return_type': 'void'},
\ 'addColorStopRgba': { 'signature': 'string $offset, string $red, string $green, string $blue, string $alpha | void', 'return_type': 'void'},
\ 'getColorStopCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getColorStopRgba': { 'signature': 'string $index | array', 'return_type': 'array'},
\ 'getExtend': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setExtend': { 'signature': 'int $extend | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'getMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setMatrix': { 'signature': 'string $matrix | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'cairohintmetrics': {
\ 'name': 'CairoHintMetrics',
\ 'constants': {
\ 'METRICS_DEFAULT': '0',
\ 'METRICS_OFF': '1',
\ 'METRICS_ON': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairohintstyle': {
\ 'name': 'CairoHintStyle',
\ 'constants': {
\ 'STYLE_DEFAULT': '0',
\ 'STYLE_NONE': '1',
\ 'STYLE_SLIGHT': '2',
\ 'STYLE_MEDIUM': '3',
\ 'STYLE_FULL': '4',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairoimagesurface': {
\ 'name': 'CairoImageSurface',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'getData': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFormat': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getHeight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStride': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getWidth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'copyPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'createSimilar': { 'signature': 'CairoSurface $other, int $content, string $width, string $height | void', 'return_type': 'void'},
\ 'finish': { 'signature': 'void | void', 'return_type': 'void'},
\ 'flush': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getContent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDeviceOffset': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFontOptions': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'markDirty': { 'signature': 'void | void', 'return_type': 'void'},
\ 'markDirtyRectangle': { 'signature': 'string $x, string $y, string $width, string $height | void', 'return_type': 'void'},
\ 'setDeviceOffset': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'setFallbackResolution': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'showPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ 'writeToPng': { 'signature': 'string $file | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createForData': { 'signature': 'string $data, int $format, int $width, int $height [, int $stride = -1] | void', 'return_type': 'void'},
\ 'createFromPng': { 'signature': 'string $file | CairoImageSurface', 'return_type': 'CairoImageSurface'},
\ },
\},
\'cairolineargradient': {
\ 'name': 'CairoLinearGradient',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'float $x0, float $y0, float $x1, float $y1', 'return_type': ''},
\ 'getPoints': { 'signature': 'void | array', 'return_type': 'array'},
\ 'addColorStopRgb': { 'signature': 'string $offset, string $red, string $green, string $blue | void', 'return_type': 'void'},
\ 'addColorStopRgba': { 'signature': 'string $offset, string $red, string $green, string $blue, string $alpha | void', 'return_type': 'void'},
\ 'getColorStopCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getColorStopRgba': { 'signature': 'string $index | array', 'return_type': 'array'},
\ 'getExtend': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setExtend': { 'signature': 'int $extend | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'cairolinecap': {
\ 'name': 'CairoLineCap',
\ 'constants': {
\ 'BUTT': '0',
\ 'ROUND': '1',
\ 'SQUARE': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairolinejoin': {
\ 'name': 'CairoLineJoin',
\ 'constants': {
\ 'MITER': '0',
\ 'ROUND': '1',
\ 'BEVEL': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairomatrix': {
\ 'name': 'CairoMatrix',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ float $xx = 1.0 [, float $yx = 0.0 [, float $xy = 0.0 [, float $yy = 1.0 [, float $x0 = 0.0 [, float $y0 = 0.0]]]]]]', 'return_type': ''},
\ 'invert': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rotate': { 'signature': 'string $sx, string $sy | void', 'return_type': 'void'},
\ 'scale': { 'signature': 'float $sx, float $sy | void', 'return_type': 'void'},
\ 'transformDistance': { 'signature': 'string $dx, string $dy | array', 'return_type': 'array'},
\ 'transformPoint': { 'signature': 'string $dx, string $dy | array', 'return_type': 'array'},
\ 'translate': { 'signature': 'string $tx, string $ty | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'initIdentity': { 'signature': 'void | void', 'return_type': 'void'},
\ 'initRotate': { 'signature': 'float $radians | void', 'return_type': 'void'},
\ 'initScale': { 'signature': 'float $sx, float $sy | void', 'return_type': 'void'},
\ 'initTranslate': { 'signature': 'float $tx, float $ty | void', 'return_type': 'void'},
\ 'multiply': { 'signature': 'CairoMatrix $matrix1, CairoMatrix $matrix2 | CairoMatrix', 'return_type': 'CairoMatrix'},
\ },
\},
\'cairooperator': {
\ 'name': 'CairoOperator',
\ 'constants': {
\ 'CLEAR': '0',
\ 'SOURCE': '1',
\ 'OVER': '2',
\ 'IN': '3',
\ 'OUT': '4',
\ 'ATOP': '5',
\ 'DEST': '6',
\ 'DEST_OVER': '7',
\ 'DEST_IN': '8',
\ 'DEST_OUT': '9',
\ 'DEST_ATOP': '10',
\ 'XOR': '11',
\ 'ADD': '12',
\ 'SATURATE': '13',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairopath': {
\ 'name': 'CairoPath',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairopattern': {
\ 'name': 'CairoPattern',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'getMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setMatrix': { 'signature': 'string $matrix | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'cairopatterntype': {
\ 'name': 'CairoPatternType',
\ 'constants': {
\ 'SOLID': '0',
\ 'SURFACE': '1',
\ 'LINEAR': '2',
\ 'RADIAL': '3',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairopdfsurface': {
\ 'name': 'CairoPdfSurface',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'setSize': { 'signature': 'string $width, string $height | void', 'return_type': 'void'},
\ 'copyPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'createSimilar': { 'signature': 'CairoSurface $other, int $content, string $width, string $height | void', 'return_type': 'void'},
\ 'finish': { 'signature': 'void | void', 'return_type': 'void'},
\ 'flush': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getContent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDeviceOffset': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFontOptions': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'markDirty': { 'signature': 'void | void', 'return_type': 'void'},
\ 'markDirtyRectangle': { 'signature': 'string $x, string $y, string $width, string $height | void', 'return_type': 'void'},
\ 'setDeviceOffset': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'setFallbackResolution': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'showPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ 'writeToPng': { 'signature': 'string $file | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'cairopslevel': {
\ 'name': 'CairoPsLevel',
\ 'constants': {
\ 'LEVEL_2': '0',
\ 'LEVEL_3': '1',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairopssurface': {
\ 'name': 'CairoPsSurface',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'dscBeginPageSetup': { 'signature': 'void | void', 'return_type': 'void'},
\ 'dscBeginSetup': { 'signature': 'void | void', 'return_type': 'void'},
\ 'dscComment': { 'signature': 'string $comment | void', 'return_type': 'void'},
\ 'getEps': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'restrictToLevel': { 'signature': 'string $level | void', 'return_type': 'void'},
\ 'setEps': { 'signature': 'string $level | void', 'return_type': 'void'},
\ 'setSize': { 'signature': 'string $width, string $height | void', 'return_type': 'void'},
\ 'copyPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'createSimilar': { 'signature': 'CairoSurface $other, int $content, string $width, string $height | void', 'return_type': 'void'},
\ 'finish': { 'signature': 'void | void', 'return_type': 'void'},
\ 'flush': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getContent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDeviceOffset': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFontOptions': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'markDirty': { 'signature': 'void | void', 'return_type': 'void'},
\ 'markDirtyRectangle': { 'signature': 'string $x, string $y, string $width, string $height | void', 'return_type': 'void'},
\ 'setDeviceOffset': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'setFallbackResolution': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'showPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ 'writeToPng': { 'signature': 'string $file | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'getLevels': { 'signature': 'void | array', 'return_type': 'array'},
\ 'levelToString': { 'signature': 'int $level | string', 'return_type': 'string'},
\ },
\},
\'cairoradialgradient': {
\ 'name': 'CairoRadialGradient',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'float $x0, float $y0, float $r0, float $x1, float $y1, float $r1', 'return_type': ''},
\ 'getCircles': { 'signature': 'void | array', 'return_type': 'array'},
\ 'addColorStopRgb': { 'signature': 'string $offset, string $red, string $green, string $blue | void', 'return_type': 'void'},
\ 'addColorStopRgba': { 'signature': 'string $offset, string $red, string $green, string $blue, string $alpha | void', 'return_type': 'void'},
\ 'getColorStopCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getColorStopRgba': { 'signature': 'string $index | array', 'return_type': 'array'},
\ 'getExtend': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setExtend': { 'signature': 'int $extend | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'cairoscaledfont': {
\ 'name': 'CairoScaledFont',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'CairoFontFace $font_face, CairoMatrix $matrix, CairoMatrix $ctm, CairoFontOptions $options', 'return_type': ''},
\ 'extents': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getCtm': { 'signature': 'void | CairoMatrix', 'return_type': 'CairoMatrix'},
\ 'getFontFace': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getFontMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getFontOptions': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getScaleMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'glyphExtents': { 'signature': 'string $glyphs | array', 'return_type': 'array'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ 'textExtents': { 'signature': 'string $text | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\'cairosolidpattern': {
\ 'name': 'CairoSolidPattern',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'getRgba': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setMatrix': { 'signature': 'string $matrix | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'cairostatus': {
\ 'name': 'CairoStatus',
\ 'constants': {
\ 'SUCCESS': '0',
\ 'NO_MEMORY': '1',
\ 'INVALID_RESTORE': '2',
\ 'INVALID_POP_GROUP': '3',
\ 'NO_CURRENT_POINT': '4',
\ 'INVALID_MATRIX': '5',
\ 'INVALID_STATUS': '6',
\ 'NULL_POINTER': '7',
\ 'INVALID_STRING': '8',
\ 'INVALID_PATH_DATA': '9',
\ 'READ_ERROR': '10',
\ 'WRITE_ERROR': '11',
\ 'SURFACE_FINISHED': '12',
\ 'SURFACE_TYPE_MISMATCH': '13',
\ 'PATTERN_TYPE_MISMATCH': '14',
\ 'INVALID_CONTENT': '15',
\ 'INVALID_FORMAT': '16',
\ 'INVALID_VISUAL': '17',
\ 'FILE_NOT_FOUND': '18',
\ 'INVALID_DASH': '19',
\ 'INVALID_DSC_COMMENT': '20',
\ 'INVALID_INDEX': '21',
\ 'CLIP_NOT_REPRESENTABLE': '22',
\ 'TEMP_FILE_ERROR': '23',
\ 'INVALID_STRIDE': '24',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairosubpixelorder': {
\ 'name': 'CairoSubpixelOrder',
\ 'constants': {
\ 'ORDER_DEFAULT': '0',
\ 'ORDER_RGB': '1',
\ 'ORDER_BGR': '2',
\ 'ORDER_VRGB': '3',
\ 'ORDER_VBGR': '4',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairosurface': {
\ 'name': 'CairoSurface',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'copyPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'createSimilar': { 'signature': 'CairoSurface $other, int $content, string $width, string $height | void', 'return_type': 'void'},
\ 'finish': { 'signature': 'void | void', 'return_type': 'void'},
\ 'flush': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getContent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDeviceOffset': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFontOptions': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'markDirty': { 'signature': 'void | void', 'return_type': 'void'},
\ 'markDirtyRectangle': { 'signature': 'string $x, string $y, string $width, string $height | void', 'return_type': 'void'},
\ 'setDeviceOffset': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'setFallbackResolution': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'showPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ 'writeToPng': { 'signature': 'string $file | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'cairosurfacepattern': {
\ 'name': 'CairoSurfacePattern',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'getExtend': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getFilter': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getSurface': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setExtend': { 'signature': 'int $extend | void', 'return_type': 'void'},
\ 'setFilter': { 'signature': 'string $filter | void', 'return_type': 'void'},
\ 'getMatrix': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setMatrix': { 'signature': 'string $matrix | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'cairosurfacetype': {
\ 'name': 'CairoSurfaceType',
\ 'constants': {
\ 'IMAGE': '0',
\ 'PDF': '1',
\ 'PS': '2',
\ 'XLIB': '3',
\ 'XCB': '4',
\ 'GLITZ': '5',
\ 'QUARTZ': '6',
\ 'WIN32': '7',
\ 'BEOS': '8',
\ 'DIRECTFB': '9',
\ 'SVG': '10',
\ 'OS2': '11',
\ 'WIN32_PRINTING': '12',
\ 'QUARTZ_IMAGE': '13',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairosvgsurface': {
\ 'name': 'CairoSvgSurface',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'restrictToVersion': { 'signature': 'string $version | void', 'return_type': 'void'},
\ 'copyPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'createSimilar': { 'signature': 'CairoSurface $other, int $content, string $width, string $height | void', 'return_type': 'void'},
\ 'finish': { 'signature': 'void | void', 'return_type': 'void'},
\ 'flush': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getContent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDeviceOffset': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFontOptions': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'markDirty': { 'signature': 'void | void', 'return_type': 'void'},
\ 'markDirtyRectangle': { 'signature': 'string $x, string $y, string $width, string $height | void', 'return_type': 'void'},
\ 'setDeviceOffset': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'setFallbackResolution': { 'signature': 'string $x, string $y | void', 'return_type': 'void'},
\ 'showPage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'status': { 'signature': 'void | int', 'return_type': 'int'},
\ 'writeToPng': { 'signature': 'string $file | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'getVersions': { 'signature': 'void | array', 'return_type': 'array'},
\ 'versionToString': { 'signature': 'int $version | string', 'return_type': 'string'},
\ },
\},
\'cairosvgversion': {
\ 'name': 'CairoSvgVersion',
\ 'constants': {
\ 'VERSION_1_1': '0',
\ 'VERSION_1_2': '1',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'cairotoyfontface': {
\ 'name': 'CairoToyFontFace',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['chdb'] = {
\'chdb': {
\ 'name': 'chdb',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $pathname', 'return_type': ''},
\ 'get': { 'signature': 'string $key | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['predefined_interfaces_and_classes'] = {
\'closure': {
\ 'name': 'Closure',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'bindTo': { 'signature': 'object $newthis [, mixed $newscope = ''static''] | Closure', 'return_type': 'Closure'},
\ },
\ 'static_methods': {
\ 'bind': { 'signature': 'Closure $closure, object $newthis [, mixed $newscope = ''static''] | Closure', 'return_type': 'Closure'},
\ },
\},
\'generator': {
\ 'name': 'Generator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'send': { 'signature': 'mixed $value | mixed', 'return_type': 'mixed'},
\ 'throw': { 'signature': 'Exception $exception | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__wakeup': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['intl'] = {
\'collator': {
\ 'name': 'Collator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $locale', 'return_type': ''},
\ 'asort': { 'signature': 'array &$arr [, int $sort_flag] | bool', 'return_type': 'bool'},
\ 'compare': { 'signature': 'string $str1, string $str2 | int', 'return_type': 'int'},
\ 'getAttribute': { 'signature': 'int $attr | int', 'return_type': 'int'},
\ 'getErrorCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLocale': { 'signature': 'int $type | string', 'return_type': 'string'},
\ 'getSortKey': { 'signature': 'string $str | string', 'return_type': 'string'},
\ 'getStrength': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setAttribute': { 'signature': 'int $attr, int $val | bool', 'return_type': 'bool'},
\ 'setStrength': { 'signature': 'int $strength | bool', 'return_type': 'bool'},
\ 'sortWithSortKeys': { 'signature': 'array &$arr | bool', 'return_type': 'bool'},
\ 'sort': { 'signature': 'array &$arr [, int $sort_flag] | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'create': { 'signature': 'string $locale | Collator', 'return_type': 'Collator'},
\ },
\},
\'intlbreakiterator': {
\ 'name': 'IntlBreakIterator',
\ 'constants': {
\ 'DONE': '-1',
\ 'WORD_NONE': '0',
\ 'WORD_NONE_LIMIT': '100',
\ 'WORD_NUMBER': '100',
\ 'WORD_NUMBER_LIMIT': '200',
\ 'WORD_LETTER': '200',
\ 'WORD_LETTER_LIMIT': '300',
\ 'WORD_KANA': '300',
\ 'WORD_KANA_LIMIT': '400',
\ 'WORD_IDEO': '400',
\ 'WORD_IDEO_LIMIT': '500',
\ 'LINE_SOFT': '0',
\ 'LINE_SOFT_LIMIT': '100',
\ 'LINE_HARD': '100',
\ 'LINE_HARD_LIMIT': '200',
\ 'SENTENCE_TERM': '0',
\ 'SENTENCE_TERM_LIMIT': '100',
\ 'SENTENCE_SEP': '100',
\ 'SENTENCE_SEP_LIMIT': '200',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'current': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'first': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'following': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'getErrorCode': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'intl_get_error_code': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getErrorMessage': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'intl_get_error_message': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getLocale': { 'signature': 'string $"locale_type" | ReturnType', 'return_type': 'ReturnType'},
\ 'getPartsIterator': { 'signature': '[ string $"key_type"] | ReturnType', 'return_type': 'ReturnType'},
\ 'getText': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'isBoundary': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'last': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'next': { 'signature': '[ string $"offset"] | ReturnType', 'return_type': 'ReturnType'},
\ 'preceding': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'previous': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'setText': { 'signature': 'string $"text" | ReturnType', 'return_type': 'ReturnType'},
\ },
\ 'static_methods': {
\ 'createCharacterInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createCodePointInstance': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'createLineInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createSentenceInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createTitleInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createWordInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ },
\},
\'intlcalendar': {
\ 'name': 'IntlCalendar',
\ 'constants': {
\ 'FIELD_ERA': '0',
\ 'FIELD_YEAR': '1',
\ 'FIELD_MONTH': '2',
\ 'FIELD_WEEK_OF_YEAR': '3',
\ 'FIELD_WEEK_OF_MONTH': '4',
\ 'FIELD_DATE': '5',
\ 'FIELD_DAY_OF_YEAR': '6',
\ 'FIELD_DAY_OF_WEEK': '7',
\ 'FIELD_DAY_OF_WEEK_IN_MONTH': '8',
\ 'FIELD_AM_PM': '9',
\ 'FIELD_HOUR': '10',
\ 'FIELD_HOUR_OF_DAY': '11',
\ 'FIELD_MINUTE': '12',
\ 'FIELD_SECOND': '13',
\ 'FIELD_MILLISECOND': '14',
\ 'FIELD_ZONE_OFFSET': '15',
\ 'FIELD_DST_OFFSET': '16',
\ 'FIELD_YEAR_WOY': '17',
\ 'FIELD_DOW_LOCAL': '18',
\ 'FIELD_EXTENDED_YEAR': '19',
\ 'FIELD_JULIAN_DAY': '20',
\ 'FIELD_MILLISECONDS_IN_DAY': '21',
\ 'FIELD_IS_LEAP_MONTH': '22',
\ 'FIELD_FIELD_COUNT': '23',
\ 'FIELD_DAY_OF_MONTH': '5',
\ 'DOW_SUNDAY': '1',
\ 'DOW_MONDAY': '2',
\ 'DOW_TUESDAY': '3',
\ 'DOW_WEDNESDAY': '4',
\ 'DOW_THURSDAY': '5',
\ 'DOW_FRIDAY': '6',
\ 'DOW_SATURDAY': '7',
\ 'DOW_TYPE_WEEKDAY': '0',
\ 'DOW_TYPE_WEEKEND': '1',
\ 'DOW_TYPE_WEEKEND_OFFSET': '2',
\ 'DOW_TYPE_WEEKEND_CEASE': '3',
\ 'WALLTIME_FIRST': '1',
\ 'WALLTIME_LAST': '0',
\ 'WALLTIME_NEXT_VALID': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': 'int $field, int $amount | bool', 'return_type': 'bool'},
\ 'after': { 'signature': 'IntlCalendar $calendar | bool', 'return_type': 'bool'},
\ 'before': { 'signature': 'IntlCalendar $calendar | bool', 'return_type': 'bool'},
\ 'clear': { 'signature': '[ int $field = NULL] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'equals': { 'signature': 'IntlCalendar $calendar | bool', 'return_type': 'bool'},
\ 'fieldDifference': { 'signature': 'float $when, int $field | int', 'return_type': 'int'},
\ 'get': { 'signature': 'int $field | int', 'return_type': 'int'},
\ 'getActualMaximum': { 'signature': 'int $field | int', 'return_type': 'int'},
\ 'getActualMinimum': { 'signature': 'int $field | int', 'return_type': 'int'},
\ 'getDayOfWeekType': { 'signature': 'int $dayOfWeek | int', 'return_type': 'int'},
\ 'getErrorCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFirstDayOfWeek': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getGreatestMinimum': { 'signature': 'int $field | int', 'return_type': 'int'},
\ 'getLeastMaximum': { 'signature': 'int $field | int', 'return_type': 'int'},
\ 'getLocale': { 'signature': 'int $localeType | string', 'return_type': 'string'},
\ 'getMaximum': { 'signature': 'int $field | int', 'return_type': 'int'},
\ 'getMinimalDaysInFirstWeek': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMinimum': { 'signature': 'int $field | int', 'return_type': 'int'},
\ 'getRepeatedWallTimeOption': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getSkippedWallTimeOption': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTime': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getTimeZone': { 'signature': 'void | IntlTimeZone', 'return_type': 'IntlTimeZone'},
\ 'getType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getWeekendTransition': { 'signature': 'string $dayOfWeek | int', 'return_type': 'int'},
\ 'inDaylightTime': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isEquivalentTo': { 'signature': 'IntlCalendar $calendar | bool', 'return_type': 'bool'},
\ 'isLenient': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isSet': { 'signature': 'int $field | bool', 'return_type': 'bool'},
\ 'isWeekend': { 'signature': '[ float $date = NULL] | bool', 'return_type': 'bool'},
\ 'roll': { 'signature': 'int $field, mixed $amountOrUpOrDown | bool', 'return_type': 'bool'},
\ 'set': { 'signature': 'int $year, int $month [, int $dayOfMonth = NULL [, int $hour = NULL [, int $minute = NULL [, int $second = NULL]]]] | bool', 'return_type': 'bool'},
\ 'setFirstDayOfWeek': { 'signature': 'int $dayOfWeek | bool', 'return_type': 'bool'},
\ 'setLenient': { 'signature': 'string $isLenient | ReturnType', 'return_type': 'ReturnType'},
\ 'setRepeatedWallTimeOption': { 'signature': 'int $wallTimeOption | bool', 'return_type': 'bool'},
\ 'setSkippedWallTimeOption': { 'signature': 'int $wallTimeOption | bool', 'return_type': 'bool'},
\ 'setTime': { 'signature': 'float $date | bool', 'return_type': 'bool'},
\ 'setTimeZone': { 'signature': 'mixed $timeZone | bool', 'return_type': 'bool'},
\ 'toDateTime': { 'signature': 'void | DateTime', 'return_type': 'DateTime'},
\ },
\ 'static_methods': {
\ 'createInstance': { 'signature': '[ mixed $timeZone = NULL [, string $locale = NULL]] | IntlCalendar', 'return_type': 'IntlCalendar'},
\ 'fromDateTime': { 'signature': 'mixed $dateTime | IntlCalendar', 'return_type': 'IntlCalendar'},
\ 'getAvailableLocales': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getKeywordValuesForLocale': { 'signature': 'string $key, string $locale, boolean $commonlyUsed | Iterator', 'return_type': 'Iterator'},
\ 'getNow': { 'signature': 'void | float', 'return_type': 'float'},
\ },
\},
\'intlcodepointbreakiterator': {
\ 'name': 'IntlCodePointBreakIterator',
\ 'constants': {
\ 'DONE': '-1',
\ 'WORD_NONE': '0',
\ 'WORD_NONE_LIMIT': '100',
\ 'WORD_NUMBER': '100',
\ 'WORD_NUMBER_LIMIT': '200',
\ 'WORD_LETTER': '200',
\ 'WORD_LETTER_LIMIT': '300',
\ 'WORD_KANA': '300',
\ 'WORD_KANA_LIMIT': '400',
\ 'WORD_IDEO': '400',
\ 'WORD_IDEO_LIMIT': '500',
\ 'LINE_SOFT': '0',
\ 'LINE_SOFT_LIMIT': '100',
\ 'LINE_HARD': '100',
\ 'LINE_HARD_LIMIT': '200',
\ 'SENTENCE_TERM': '0',
\ 'SENTENCE_TERM_LIMIT': '100',
\ 'SENTENCE_SEP': '100',
\ 'SENTENCE_SEP_LIMIT': '200',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getLastCodePoint': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'current': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'first': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'following': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'getErrorCode': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'intl_get_error_code': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getErrorMessage': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'intl_get_error_message': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getLocale': { 'signature': 'string $"locale_type" | ReturnType', 'return_type': 'ReturnType'},
\ 'getPartsIterator': { 'signature': '[ string $"key_type"] | ReturnType', 'return_type': 'ReturnType'},
\ 'getText': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'isBoundary': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'last': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'next': { 'signature': '[ string $"offset"] | ReturnType', 'return_type': 'ReturnType'},
\ 'preceding': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'previous': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'setText': { 'signature': 'string $"text" | ReturnType', 'return_type': 'ReturnType'},
\ },
\ 'static_methods': {
\ 'createCharacterInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createCodePointInstance': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'createLineInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createSentenceInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createTitleInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createWordInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ },
\},
\'intldateformatter': {
\ 'name': 'IntlDateFormatter',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $locale, int $datetype, int $timetype [, mixed $timezone = NULL [, mixed $calendar = NULL [, string $pattern = '''']]]', 'return_type': ''},
\ 'format': { 'signature': 'mixed $value | string', 'return_type': 'string'},
\ 'getCalendar': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDateType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLocale': { 'signature': '[ int $which] | string', 'return_type': 'string'},
\ 'getPattern': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTimeType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTimeZoneId': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getCalendarObject': { 'signature': 'void | IntlCalendar', 'return_type': 'IntlCalendar'},
\ 'getTimeZone': { 'signature': 'void | IntlTimeZone', 'return_type': 'IntlTimeZone'},
\ 'isLenient': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'localtime': { 'signature': 'string $value [, int &$position] | array', 'return_type': 'array'},
\ 'parse': { 'signature': 'string $value [, int &$position] | int', 'return_type': 'int'},
\ 'setCalendar': { 'signature': 'mixed $which | bool', 'return_type': 'bool'},
\ 'setLenient': { 'signature': 'bool $lenient | bool', 'return_type': 'bool'},
\ 'setPattern': { 'signature': 'string $pattern | bool', 'return_type': 'bool'},
\ 'setTimeZoneId': { 'signature': 'string $zone | bool', 'return_type': 'bool'},
\ 'setTimeZone': { 'signature': 'mixed $zone | boolean', 'return_type': 'boolean'},
\ },
\ 'static_methods': {
\ 'create': { 'signature': 'string $locale, int $datetype, int $timetype [, mixed $timezone = NULL [, mixed $calendar = NULL [, string $pattern = '''']]] | IntlDateFormatter', 'return_type': 'IntlDateFormatter'},
\ 'formatObject': { 'signature': 'object $object [, mixed $format = NULL [, string $locale = NULL]] | string', 'return_type': 'string'},
\ },
\},
\'intlexception': {
\ 'name': 'IntlException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'intliterator': {
\ 'name': 'IntlIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'current': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'key': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'next': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'rewind': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'valid': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ },
\ 'static_methods': {
\ },
\},
\'intlpartsiterator': {
\ 'name': 'IntlPartsIterator',
\ 'constants': {
\ 'KEY_SEQUENTIAL': '0',
\ 'KEY_LEFT': '1',
\ 'KEY_RIGHT': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getBreakIterator': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'current': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'key': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'next': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'rewind': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'valid': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ },
\ 'static_methods': {
\ },
\},
\'intlrulebasedbreakiterator': {
\ 'name': 'IntlRuleBasedBreakIterator',
\ 'constants': {
\ 'DONE': '-1',
\ 'WORD_NONE': '0',
\ 'WORD_NONE_LIMIT': '100',
\ 'WORD_NUMBER': '100',
\ 'WORD_NUMBER_LIMIT': '200',
\ 'WORD_LETTER': '200',
\ 'WORD_LETTER_LIMIT': '300',
\ 'WORD_KANA': '300',
\ 'WORD_KANA_LIMIT': '400',
\ 'WORD_IDEO': '400',
\ 'WORD_IDEO_LIMIT': '500',
\ 'LINE_SOFT': '0',
\ 'LINE_SOFT_LIMIT': '100',
\ 'LINE_HARD': '100',
\ 'LINE_HARD_LIMIT': '200',
\ 'SENTENCE_TERM': '0',
\ 'SENTENCE_TERM_LIMIT': '100',
\ 'SENTENCE_SEP': '100',
\ 'SENTENCE_SEP_LIMIT': '200',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'getBinaryRules': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getRules': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getRuleStatus': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getRuleStatusVec': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'current': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'first': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'following': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'getErrorCode': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'intl_get_error_code': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getErrorMessage': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'intl_get_error_message': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'getLocale': { 'signature': 'string $"locale_type" | ReturnType', 'return_type': 'ReturnType'},
\ 'getPartsIterator': { 'signature': '[ string $"key_type"] | ReturnType', 'return_type': 'ReturnType'},
\ 'getText': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'isBoundary': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'last': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'next': { 'signature': '[ string $"offset"] | ReturnType', 'return_type': 'ReturnType'},
\ 'preceding': { 'signature': 'string $"offset" | ReturnType', 'return_type': 'ReturnType'},
\ 'previous': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'setText': { 'signature': 'string $"text" | ReturnType', 'return_type': 'ReturnType'},
\ },
\ 'static_methods': {
\ 'createCharacterInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createCodePointInstance': { 'signature': 'void | ReturnType', 'return_type': 'ReturnType'},
\ 'createLineInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createSentenceInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createTitleInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ 'createWordInstance': { 'signature': '[ string $"locale"] | ReturnType', 'return_type': 'ReturnType'},
\ },
\},
\'intltimezone': {
\ 'name': 'IntlTimeZone',
\ 'constants': {
\ 'DISPLAY_SHORT': '1',
\ 'DISPLAY_LONG': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getDisplayName': { 'signature': '[ bool $isDaylight [, integer $style [, string $locale]]] | string', 'return_type': 'string'},
\ 'getDSTSavings': { 'signature': 'void | integer', 'return_type': 'integer'},
\ 'getErrorCode': { 'signature': 'void | integer', 'return_type': 'integer'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getID': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getOffset': { 'signature': 'float $date, bool $local, integer &$rawOffset, integer &$dstOffset | integer', 'return_type': 'integer'},
\ 'getRawOffset': { 'signature': 'void | integer', 'return_type': 'integer'},
\ 'hasSameRules': { 'signature': 'IntlTimeZone $otherTimeZone | bool', 'return_type': 'bool'},
\ 'toDateTimeZone': { 'signature': 'void | DateTimeZone', 'return_type': 'DateTimeZone'},
\ 'useDaylightTime': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'countEquivalentIDs': { 'signature': 'string $zoneId | integer', 'return_type': 'integer'},
\ 'createDefault': { 'signature': 'void | IntlTimeZone', 'return_type': 'IntlTimeZone'},
\ 'createEnumeration': { 'signature': '[ mixed $countryOrRawOffset] | IntlIterator', 'return_type': 'IntlIterator'},
\ 'createTimeZone': { 'signature': 'string $zoneId | IntlTimeZone', 'return_type': 'IntlTimeZone'},
\ 'fromDateTimeZone': { 'signature': 'DateTimeZone $zoneId | IntlTimeZone', 'return_type': 'IntlTimeZone'},
\ 'getCanonicalID': { 'signature': 'string $zoneId [, bool &$isSystemID] | string', 'return_type': 'string'},
\ 'getEquivalentID': { 'signature': 'string $zoneId, integer $index | string', 'return_type': 'string'},
\ 'getGMT': { 'signature': 'void | IntlTimeZone', 'return_type': 'IntlTimeZone'},
\ 'getTZDataVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\},
\'locale': {
\ 'name': 'Locale',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'acceptFromHttp': { 'signature': 'string $header | string', 'return_type': 'string'},
\ 'canonicalize': { 'signature': 'string $locale | string', 'return_type': 'string'},
\ 'composeLocale': { 'signature': 'array $subtags | string', 'return_type': 'string'},
\ 'filterMatches': { 'signature': 'string $langtag, string $locale [, bool $canonicalize = false] | bool', 'return_type': 'bool'},
\ 'getAllVariants': { 'signature': 'string $locale | array', 'return_type': 'array'},
\ 'getDefault': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getDisplayLanguage': { 'signature': 'string $locale [, string $in_locale] | string', 'return_type': 'string'},
\ 'getDisplayName': { 'signature': 'string $locale [, string $in_locale] | string', 'return_type': 'string'},
\ 'getDisplayRegion': { 'signature': 'string $locale [, string $in_locale] | string', 'return_type': 'string'},
\ 'getDisplayScript': { 'signature': 'string $locale [, string $in_locale] | string', 'return_type': 'string'},
\ 'getDisplayVariant': { 'signature': 'string $locale [, string $in_locale] | string', 'return_type': 'string'},
\ 'getKeywords': { 'signature': 'string $locale | array', 'return_type': 'array'},
\ 'getPrimaryLanguage': { 'signature': 'string $locale | string', 'return_type': 'string'},
\ 'getRegion': { 'signature': 'string $locale | string', 'return_type': 'string'},
\ 'getScript': { 'signature': 'string $locale | string', 'return_type': 'string'},
\ 'lookup': { 'signature': 'array $langtag, string $locale [, bool $canonicalize = false [, string $default]] | string', 'return_type': 'string'},
\ 'parseLocale': { 'signature': 'string $locale | array', 'return_type': 'array'},
\ 'setDefault': { 'signature': 'string $locale | bool', 'return_type': 'bool'},
\ },
\},
\'messageformatter': {
\ 'name': 'MessageFormatter',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $locale, string $pattern', 'return_type': ''},
\ 'format': { 'signature': 'array $args | string', 'return_type': 'string'},
\ 'getErrorCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLocale': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPattern': { 'signature': 'void | string', 'return_type': 'string'},
\ 'parse': { 'signature': 'string $value | array', 'return_type': 'array'},
\ 'setPattern': { 'signature': 'string $pattern | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'create': { 'signature': 'string $locale, string $pattern | MessageFormatter', 'return_type': 'MessageFormatter'},
\ 'formatMessage': { 'signature': 'string $locale, string $pattern, array $args | string', 'return_type': 'string'},
\ 'parseMessage': { 'signature': 'string $locale, string $pattern, string $source | array', 'return_type': 'array'},
\ },
\},
\'normalizer': {
\ 'name': 'Normalizer',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'isNormalized': { 'signature': 'string $input [, string $form = Normalizer::FORM_C] | bool', 'return_type': 'bool'},
\ 'normalize': { 'signature': 'string $input [, string $form = Normalizer::FORM_C] | string', 'return_type': 'string'},
\ },
\},
\'numberformatter': {
\ 'name': 'NumberFormatter',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $locale, int $style [, string $pattern]', 'return_type': ''},
\ 'formatCurrency': { 'signature': 'float $value, string $currency | string', 'return_type': 'string'},
\ 'format': { 'signature': 'number $value [, int $type] | string', 'return_type': 'string'},
\ 'getAttribute': { 'signature': 'int $attr | int', 'return_type': 'int'},
\ 'getErrorCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLocale': { 'signature': '[ int $type] | string', 'return_type': 'string'},
\ 'getPattern': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSymbol': { 'signature': 'int $attr | string', 'return_type': 'string'},
\ 'getTextAttribute': { 'signature': 'int $attr | string', 'return_type': 'string'},
\ 'parseCurrency': { 'signature': 'string $value, string &$currency [, int &$position] | float', 'return_type': 'float'},
\ 'parse': { 'signature': 'string $value [, int $type [, int &$position]] | mixed', 'return_type': 'mixed'},
\ 'setAttribute': { 'signature': 'int $attr, int $value | bool', 'return_type': 'bool'},
\ 'setPattern': { 'signature': 'string $pattern | bool', 'return_type': 'bool'},
\ 'setSymbol': { 'signature': 'int $attr, string $value | bool', 'return_type': 'bool'},
\ 'setTextAttribute': { 'signature': 'int $attr, string $value | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'create': { 'signature': 'string $locale, int $style [, string $pattern] | NumberFormatter', 'return_type': 'NumberFormatter'},
\ },
\},
\'resourcebundle': {
\ 'name': 'ResourceBundle',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $locale, string $bundlename [, bool $fallback]', 'return_type': ''},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'get': { 'signature': 'string|int $index | mixed', 'return_type': 'mixed'},
\ 'getLocales': { 'signature': 'string $bundlename | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ 'create': { 'signature': 'string $locale, string $bundlename [, bool $fallback] | ResourceBundle', 'return_type': 'ResourceBundle'},
\ },
\},
\'spoofchecker': {
\ 'name': 'Spoofchecker',
\ 'constants': {
\ 'SINGLE_SCRIPT_CONFUSABLE': '1',
\ 'MIXED_SCRIPT_CONFUSABLE': '2',
\ 'WHOLE_SCRIPT_CONFUSABLE': '4',
\ 'ANY_CASE': '8',
\ 'SINGLE_SCRIPT': '16',
\ 'INVISIBLE': '32',
\ 'CHAR_LIMIT': '64',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'areConfusable': { 'signature': 'string $s1, string $s2 [, string &$error] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'isSuspicious': { 'signature': 'string $text [, string &$error] | bool', 'return_type': 'bool'},
\ 'setAllowedLocales': { 'signature': 'string $locale_list | void', 'return_type': 'void'},
\ 'setChecks': { 'signature': 'string $checks | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'transliterator': {
\ 'name': 'Transliterator',
\ 'constants': {
\ 'FORWARD': '0',
\ 'REVERSE': '1',
\ },
\ 'properties': {
\ 'id': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'createInverse': { 'signature': 'void | Transliterator', 'return_type': 'Transliterator'},
\ 'getErrorCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'transliterate': { 'signature': 'string $subject [, int $start [, int $end]] | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'create': { 'signature': 'string $id [, int $direction] | Transliterator', 'return_type': 'Transliterator'},
\ 'createFromRules': { 'signature': 'string $rules [, string $direction] | Transliterator', 'return_type': 'Transliterator'},
\ 'listIDs': { 'signature': 'void | array', 'return_type': 'array'},
\ },
\},
\'uconverter': {
\ 'name': 'UConverter',
\ 'constants': {
\ 'REASON_UNASSIGNED': '0',
\ 'REASON_ILLEGAL': '1',
\ 'REASON_IRREGULAR': '2',
\ 'REASON_RESET': '3',
\ 'REASON_CLOSE': '4',
\ 'REASON_CLONE': '5',
\ 'UNSUPPORTED_CONVERTER': '-1',
\ 'SBCS': '0',
\ 'DBCS': '1',
\ 'MBCS': '2',
\ 'LATIN_1': '3',
\ 'UTF8': '4',
\ 'UTF16_BigEndian': '5',
\ 'UTF16_LittleEndian': '6',
\ 'UTF32_BigEndian': '7',
\ 'UTF32_LittleEndian': '8',
\ 'EBCDIC_STATEFUL': '9',
\ 'ISO_2022': '10',
\ 'LMBCS_1': '11',
\ 'LMBCS_2': '12',
\ 'LMBCS_3': '13',
\ 'LMBCS_4': '14',
\ 'LMBCS_5': '15',
\ 'LMBCS_6': '16',
\ 'LMBCS_8': '17',
\ 'LMBCS_11': '18',
\ 'LMBCS_16': '19',
\ 'LMBCS_17': '20',
\ 'LMBCS_18': '21',
\ 'LMBCS_19': '22',
\ 'LMBCS_LAST': '22',
\ 'HZ': '23',
\ 'SCSU': '24',
\ 'ISCII': '25',
\ 'US_ASCII': '26',
\ 'UTF7': '27',
\ 'BOCU1': '28',
\ 'UTF16': '29',
\ 'UTF32': '30',
\ 'CESU8': '31',
\ 'IMAP_MAILBOX': '32',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $destination_encoding [, string $source_encoding]]', 'return_type': ''},
\ 'convert': { 'signature': 'string $str [, bool $reverse] | string', 'return_type': 'string'},
\ 'fromUCallback': { 'signature': 'integer $reason, string $source, string $codePoint, integer &$error | mixed', 'return_type': 'mixed'},
\ 'getDestinationEncoding': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getDestinationType': { 'signature': 'void | integer', 'return_type': 'integer'},
\ 'getErrorCode': { 'signature': 'void | integer', 'return_type': 'integer'},
\ 'getErrorMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSourceEncoding': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSourceType': { 'signature': 'void | integer', 'return_type': 'integer'},
\ 'getSubstChars': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setDestinationEncoding': { 'signature': 'string $encoding | void', 'return_type': 'void'},
\ 'setSourceEncoding': { 'signature': 'string $encoding | void', 'return_type': 'void'},
\ 'setSubstChars': { 'signature': 'string $chars | void', 'return_type': 'void'},
\ 'toUCallback': { 'signature': 'integer $reason, string $source, string $codeUnits, integer &$error | mixed', 'return_type': 'mixed'},
\ },
\ 'static_methods': {
\ 'getAliases': { 'signature': '[ string $name] | array', 'return_type': 'array'},
\ 'getAvailable': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStandards': { 'signature': 'void | array', 'return_type': 'array'},
\ 'reasonText': { 'signature': '[ integer $reason] | string', 'return_type': 'string'},
\ 'transcode': { 'signature': 'string $str, string $toEncoding, string $fromEncoding [, array $options] | string', 'return_type': 'string'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['pthreads'] = {
\'cond': {
\ 'name': 'Cond',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'broadcast': { 'signature': 'long $condition | boolean', 'return_type': 'boolean'},
\ 'create': { 'signature': 'void | long', 'return_type': 'long'},
\ 'destroy': { 'signature': 'long $condition | boolean', 'return_type': 'boolean'},
\ 'signal': { 'signature': 'long $condition | boolean', 'return_type': 'boolean'},
\ 'wait': { 'signature': 'long $condition, long $mutex [, long $timeout] | boolean', 'return_type': 'boolean'},
\ },
\},
\'mutex': {
\ 'name': 'Mutex',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'create': { 'signature': '[ boolean $lock] | long', 'return_type': 'long'},
\ 'destroy': { 'signature': 'long $mutex | boolean', 'return_type': 'boolean'},
\ 'lock': { 'signature': 'long $mutex | boolean', 'return_type': 'boolean'},
\ 'trylock': { 'signature': 'long $mutex | boolean', 'return_type': 'boolean'},
\ 'unlock': { 'signature': 'long $mutex [, boolean $destroy] | boolean', 'return_type': 'boolean'},
\ },
\},
\'stackable': {
\ 'name': 'Stackable',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'chunk': { 'signature': 'long $size, boolean $preserve | boolean', 'return_type': 'boolean'},
\ 'isRunning': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'isTerminated': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'isWaiting': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'lock': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'merge': { 'signature': 'mixed $from [, mixed $overwrite] | boolean', 'return_type': 'boolean'},
\ 'notify': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'pop': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'run': { 'signature': 'void | void', 'return_type': 'void'},
\ 'shift': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'synchronized': { 'signature': 'Closure $block [, mixed $...] | mixed', 'return_type': 'mixed'},
\ 'unlock': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'wait': { 'signature': '[ string $timeout] | boolean', 'return_type': 'boolean'},
\ },
\ 'static_methods': {
\ },
\},
\'thread': {
\ 'name': 'Thread',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'chunk': { 'signature': 'long $size, boolean $preserve | boolean', 'return_type': 'boolean'},
\ 'getCreatorId': { 'signature': 'void | long', 'return_type': 'long'},
\ 'getThreadId': { 'signature': 'void | long', 'return_type': 'long'},
\ 'isJoined': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'isRunning': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'isStarted': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'isTerminated': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'isWaiting': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'join': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'lock': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'merge': { 'signature': 'mixed $from [, mixed $overwrite] | boolean', 'return_type': 'boolean'},
\ 'notify': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'pop': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'run': { 'signature': 'void | void', 'return_type': 'void'},
\ 'shift': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'start': { 'signature': '[ long $options] | boolean', 'return_type': 'boolean'},
\ 'synchronized': { 'signature': 'Closure $block [, mixed $...] | mixed', 'return_type': 'mixed'},
\ 'unlock': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'wait': { 'signature': '[ long $timeout] | boolean', 'return_type': 'boolean'},
\ },
\ 'static_methods': {
\ },
\},
\'worker': {
\ 'name': 'Worker',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'chunk': { 'signature': 'long $size, boolean $preserve | boolean', 'return_type': 'boolean'},
\ 'getCreatorId': { 'signature': 'void | long', 'return_type': 'long'},
\ 'getStacked': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getThreadId': { 'signature': 'void | long', 'return_type': 'long'},
\ 'isShutdown': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'isWorking': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'merge': { 'signature': 'mixed $from [, mixed $overwrite] | boolean', 'return_type': 'boolean'},
\ 'pop': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'run': { 'signature': 'void | void', 'return_type': 'void'},
\ 'shift': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'shutdown': { 'signature': 'void | boolean', 'return_type': 'boolean'},
\ 'stack': { 'signature': 'Stackable $work | int', 'return_type': 'int'},
\ 'start': { 'signature': '[ long $options] | boolean', 'return_type': 'boolean'},
\ 'unstack': { 'signature': '[ Stackable $work] | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['curl'] = {
\'curlfile': {
\ 'name': 'CURLFile',
\ 'constants': {
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ 'mime': { 'initializer': '', 'type': ''},
\ 'postname': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $filename [, string $mimetype [, string $postname]]', 'return_type': ''},
\ 'getFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getMimeType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPostFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'setMimeType': { 'signature': 'string $mime | void', 'return_type': 'void'},
\ 'setPostFilename': { 'signature': 'string $postname | void', 'return_type': 'void'},
\ '__wakeup': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['date_time'] = {
\'dateinterval': {
\ 'name': 'DateInterval',
\ 'constants': {
\ },
\ 'properties': {
\ 'y': { 'initializer': '', 'type': 'integer'},
\ 'm': { 'initializer': '', 'type': 'integer'},
\ 'd': { 'initializer': '', 'type': 'integer'},
\ 'h': { 'initializer': '', 'type': 'integer'},
\ 'i': { 'initializer': '', 'type': 'integer'},
\ 's': { 'initializer': '', 'type': 'integer'},
\ 'invert': { 'initializer': '', 'type': 'integer'},
\ 'days': { 'initializer': '', 'type': 'mixed'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $interval_spec', 'return_type': ''},
\ 'format': { 'signature': 'string $format | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'createFromDateString': { 'signature': 'string $time | DateInterval', 'return_type': 'DateInterval'},
\ },
\},
\'dateperiod': {
\ 'name': 'DatePeriod',
\ 'constants': {
\ 'EXCLUDE_START_DATE': '1',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $isostr [, int $options]', 'return_type': ''},
\ },
\ 'static_methods': {
\ },
\},
\'datetime': {
\ 'name': 'DateTime',
\ 'constants': {
\ 'ATOM': '"Y-m-d\TH:i:sP"',
\ 'COOKIE': '"l, d-M-y H:i:s T"',
\ 'ISO8601': '"Y-m-d\TH:i:sO"',
\ 'RFC822': '"D, d M y H:i:s O"',
\ 'RFC850': '"l, d-M-y H:i:s T"',
\ 'RFC1036': '"D, d M y H:i:s O"',
\ 'RFC1123': '"D, d M Y H:i:s O"',
\ 'RFC2822': '"D, d M Y H:i:s O"',
\ 'RFC3339': '"Y-m-d\TH:i:sP"',
\ 'RSS': '"D, d M Y H:i:s O"',
\ 'W3C': '"Y-m-d\TH:i:sP"',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $time = "now" [, DateTimeZone $timezone = NULL]]', 'return_type': ''},
\ 'add': { 'signature': 'DateInterval $interval | DateTime', 'return_type': 'DateTime'},
\ 'modify': { 'signature': 'string $modify | DateTime', 'return_type': 'DateTime'},
\ 'setDate': { 'signature': 'int $year, int $month, int $day | DateTime', 'return_type': 'DateTime'},
\ 'setISODate': { 'signature': 'int $year, int $week [, int $day = 1] | DateTime', 'return_type': 'DateTime'},
\ 'setTime': { 'signature': 'int $hour, int $minute [, int $second = 0] | DateTime', 'return_type': 'DateTime'},
\ 'setTimestamp': { 'signature': 'int $unixtimestamp | DateTime', 'return_type': 'DateTime'},
\ 'setTimezone': { 'signature': 'DateTimeZone $timezone | DateTime', 'return_type': 'DateTime'},
\ 'sub': { 'signature': 'DateInterval $interval | DateTime', 'return_type': 'DateTime'},
\ 'diff': { 'signature': 'DateTimeInterface $datetime2 [, bool $absolute = false] | DateInterval', 'return_type': 'DateInterval'},
\ 'format': { 'signature': 'string $format | string', 'return_type': 'string'},
\ 'getOffset': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTimestamp': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTimezone': { 'signature': 'void | DateTimeZone', 'return_type': 'DateTimeZone'},
\ '__wakeup': { 'signature': 'void', 'return_type': ''},
\ },
\ 'static_methods': {
\ 'createFromFormat': { 'signature': 'string $format, string $time [, DateTimeZone $timezone] | DateTime', 'return_type': 'DateTime'},
\ 'getLastErrors': { 'signature': 'void | array', 'return_type': 'array'},
\ '__set_state': { 'signature': 'array $array | DateTime', 'return_type': 'DateTime'},
\ },
\},
\'datetimeimmutable': {
\ 'name': 'DateTimeImmutable',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $time = "now" [, DateTimeZone $timezone = NULL]]', 'return_type': ''},
\ 'add': { 'signature': 'DateInterval $interval | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'modify': { 'signature': 'string $modify | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'setDate': { 'signature': 'int $year, int $month, int $day | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'setISODate': { 'signature': 'int $year, int $week [, int $day = 1] | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'setTime': { 'signature': 'int $hour, int $minute [, int $second = 0] | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'setTimestamp': { 'signature': 'int $unixtimestamp | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'setTimezone': { 'signature': 'DateTimeZone $timezone | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'sub': { 'signature': 'DateInterval $interval | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'diff': { 'signature': 'DateTimeInterface $datetime2 [, bool $absolute = false] | DateInterval', 'return_type': 'DateInterval'},
\ 'format': { 'signature': 'string $format | string', 'return_type': 'string'},
\ 'getOffset': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTimestamp': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTimezone': { 'signature': 'void | DateTimeZone', 'return_type': 'DateTimeZone'},
\ '__wakeup': { 'signature': 'void', 'return_type': ''},
\ },
\ 'static_methods': {
\ 'createFromFormat': { 'signature': 'string $format, string $time [, DateTimeZone $timezone] | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ 'getLastErrors': { 'signature': 'void | array', 'return_type': 'array'},
\ '__set_state': { 'signature': 'array $array | DateTimeImmutable', 'return_type': 'DateTimeImmutable'},
\ },
\},
\'datetimezone': {
\ 'name': 'DateTimeZone',
\ 'constants': {
\ 'AFRICA': '1',
\ 'AMERICA': '2',
\ 'ANTARCTICA': '4',
\ 'ARCTIC': '8',
\ 'ASIA': '16',
\ 'ATLANTIC': '32',
\ 'AUSTRALIA': '64',
\ 'EUROPE': '128',
\ 'INDIAN': '256',
\ 'PACIFIC': '512',
\ 'UTC': '1024',
\ 'ALL': '2047',
\ 'ALL_WITH_BC': '4095',
\ 'PER_COUNTRY': '4096',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $timezone', 'return_type': ''},
\ 'getLocation': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getOffset': { 'signature': 'DateTime $datetime | int', 'return_type': 'int'},
\ 'getTransitions': { 'signature': '[ int $timestamp_begin [, int $timestamp_end]] | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ 'listAbbreviations': { 'signature': 'void | array', 'return_type': 'array'},
\ 'listIdentifiers': { 'signature': '[ int $what = DateTimeZone::ALL [, string $country = NULL]] | array', 'return_type': 'array'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['directories'] = {
\'directory': {
\ 'name': 'Directory',
\ 'constants': {
\ },
\ 'properties': {
\ 'path': { 'initializer': '', 'type': 'string'},
\ 'handle': { 'initializer': '', 'type': 'resource'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'close': { 'signature': '[ resource $dir_handle] | void', 'return_type': 'void'},
\ 'read': { 'signature': '[ resource $dir_handle] | string', 'return_type': 'string'},
\ 'rewind': { 'signature': '[ resource $dir_handle] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['dom'] = {
\'domattr': {
\ 'name': 'DOMAttr',
\ 'constants': {
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': 'string'},
\ 'ownerElement': { 'initializer': '', 'type': 'DOMElement'},
\ 'schemaTypeInfo': { 'initializer': '', 'type': 'bool'},
\ 'specified': { 'initializer': '', 'type': 'bool'},
\ 'value': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $name [, string $value]', 'return_type': ''},
\ 'isId': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domcdatasection': {
\ 'name': 'DOMCdataSection',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $value', 'return_type': ''},
\ 'isWhitespaceInElementContent': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'splitText': { 'signature': 'int $offset | DOMText', 'return_type': 'DOMText'},
\ },
\ 'static_methods': {
\ },
\},
\'domcharacterdata': {
\ 'name': 'DOMCharacterData',
\ 'constants': {
\ },
\ 'properties': {
\ 'data': { 'initializer': '', 'type': 'string'},
\ 'length': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'appendData': { 'signature': 'string $data | void', 'return_type': 'void'},
\ 'deleteData': { 'signature': 'int $offset, int $count | void', 'return_type': 'void'},
\ 'insertData': { 'signature': 'int $offset, string $data | void', 'return_type': 'void'},
\ 'replaceData': { 'signature': 'int $offset, int $count, string $data | void', 'return_type': 'void'},
\ 'substringData': { 'signature': 'int $offset, int $count | string', 'return_type': 'string'},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domcomment': {
\ 'name': 'DOMComment',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $value]', 'return_type': ''},
\ 'appendData': { 'signature': 'string $data | void', 'return_type': 'void'},
\ 'deleteData': { 'signature': 'int $offset, int $count | void', 'return_type': 'void'},
\ 'insertData': { 'signature': 'int $offset, string $data | void', 'return_type': 'void'},
\ 'replaceData': { 'signature': 'int $offset, int $count, string $data | void', 'return_type': 'void'},
\ 'substringData': { 'signature': 'int $offset, int $count | string', 'return_type': 'string'},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domdocument': {
\ 'name': 'DOMDocument',
\ 'constants': {
\ },
\ 'properties': {
\ 'actualEncoding': { 'initializer': '', 'type': 'string'},
\ 'config': { 'initializer': '', 'type': 'DOMConfiguration'},
\ 'doctype': { 'initializer': '', 'type': 'DOMDocumentType'},
\ 'documentElement': { 'initializer': '', 'type': 'DOMElement'},
\ 'documentURI': { 'initializer': '', 'type': 'string'},
\ 'encoding': { 'initializer': '', 'type': 'string'},
\ 'formatOutput': { 'initializer': '', 'type': 'bool'},
\ 'implementation': { 'initializer': '', 'type': 'DOMImplementation'},
\ 'preserveWhiteSpace': { 'initializer': 'true', 'type': 'bool'},
\ 'recover': { 'initializer': '', 'type': 'bool'},
\ 'resolveExternals': { 'initializer': '', 'type': 'bool'},
\ 'standalone': { 'initializer': '', 'type': 'bool'},
\ 'strictErrorChecking': { 'initializer': 'true', 'type': 'bool'},
\ 'substituteEntities': { 'initializer': '', 'type': 'bool'},
\ 'validateOnParse': { 'initializer': 'false', 'type': 'bool'},
\ 'version': { 'initializer': '', 'type': 'string'},
\ 'xmlEncoding': { 'initializer': '', 'type': 'string'},
\ 'xmlStandalone': { 'initializer': '', 'type': 'bool'},
\ 'xmlVersion': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $version [, string $encoding]]', 'return_type': ''},
\ 'createAttribute': { 'signature': 'string $name | DOMAttr', 'return_type': 'DOMAttr'},
\ 'createAttributeNS': { 'signature': 'string $namespaceURI, string $qualifiedName | DOMAttr', 'return_type': 'DOMAttr'},
\ 'createCDATASection': { 'signature': 'string $data | DOMCDATASection', 'return_type': 'DOMCDATASection'},
\ 'createComment': { 'signature': 'string $data | DOMComment', 'return_type': 'DOMComment'},
\ 'createDocumentFragment': { 'signature': 'void | DOMDocumentFragment', 'return_type': 'DOMDocumentFragment'},
\ 'createElement': { 'signature': 'string $name [, string $value] | DOMElement', 'return_type': 'DOMElement'},
\ 'createElementNS': { 'signature': 'string $namespaceURI, string $qualifiedName [, string $value] | DOMElement', 'return_type': 'DOMElement'},
\ 'createEntityReference': { 'signature': 'string $name | DOMEntityReference', 'return_type': 'DOMEntityReference'},
\ 'createProcessingInstruction': { 'signature': 'string $target [, string $data] | DOMProcessingInstruction', 'return_type': 'DOMProcessingInstruction'},
\ 'createTextNode': { 'signature': 'string $content | DOMText', 'return_type': 'DOMText'},
\ 'getElementById': { 'signature': 'string $elementId | DOMElement', 'return_type': 'DOMElement'},
\ 'getElementsByTagName': { 'signature': 'string $name | DOMNodeList', 'return_type': 'DOMNodeList'},
\ 'getElementsByTagNameNS': { 'signature': 'string $namespaceURI, string $localName | DOMNodeList', 'return_type': 'DOMNodeList'},
\ 'importNode': { 'signature': 'DOMNode $importedNode [, bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'load': { 'signature': 'string $filename [, int $options = 0] | mixed', 'return_type': 'mixed'},
\ 'loadHTML': { 'signature': 'string $source [, int $options = 0] | bool', 'return_type': 'bool'},
\ 'loadHTMLFile': { 'signature': 'string $filename [, int $options = 0] | bool', 'return_type': 'bool'},
\ 'loadXML': { 'signature': 'string $source [, int $options = 0] | mixed', 'return_type': 'mixed'},
\ 'normalizeDocument': { 'signature': 'void | void', 'return_type': 'void'},
\ 'registerNodeClass': { 'signature': 'string $baseclass, string $extendedclass | bool', 'return_type': 'bool'},
\ 'relaxNGValidate': { 'signature': 'string $filename | bool', 'return_type': 'bool'},
\ 'relaxNGValidateSource': { 'signature': 'string $source | bool', 'return_type': 'bool'},
\ 'save': { 'signature': 'string $filename [, int $options] | int', 'return_type': 'int'},
\ 'saveHTML': { 'signature': '[ DOMNode $node = NULL] | string', 'return_type': 'string'},
\ 'saveHTMLFile': { 'signature': 'string $filename | int', 'return_type': 'int'},
\ 'saveXML': { 'signature': '[ DOMNode $node [, int $options]] | string', 'return_type': 'string'},
\ 'schemaValidate': { 'signature': 'string $filename [, int $flags] | bool', 'return_type': 'bool'},
\ 'schemaValidateSource': { 'signature': 'string $source [, int $flags] | bool', 'return_type': 'bool'},
\ 'validate': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'xinclude': { 'signature': '[ int $options] | int', 'return_type': 'int'},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domdocumentfragment': {
\ 'name': 'DOMDocumentFragment',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'appendXML': { 'signature': 'string $data | bool', 'return_type': 'bool'},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domdocumenttype': {
\ 'name': 'DOMDocumentType',
\ 'constants': {
\ },
\ 'properties': {
\ 'publicId': { 'initializer': '', 'type': 'string'},
\ 'systemId': { 'initializer': '', 'type': 'string'},
\ 'name': { 'initializer': '', 'type': 'string'},
\ 'entities': { 'initializer': '', 'type': 'DOMNamedNodeMap'},
\ 'notations': { 'initializer': '', 'type': 'DOMNamedNodeMap'},
\ 'internalSubset': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domelement': {
\ 'name': 'DOMElement',
\ 'constants': {
\ },
\ 'properties': {
\ 'schemaTypeInfo': { 'initializer': '', 'type': 'bool'},
\ 'tagName': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $name [, string $value [, string $namespaceURI]]', 'return_type': ''},
\ 'getAttribute': { 'signature': 'string $name | string', 'return_type': 'string'},
\ 'getAttributeNode': { 'signature': 'string $name | DOMAttr', 'return_type': 'DOMAttr'},
\ 'getAttributeNodeNS': { 'signature': 'string $namespaceURI, string $localName | DOMAttr', 'return_type': 'DOMAttr'},
\ 'getAttributeNS': { 'signature': 'string $namespaceURI, string $localName | string', 'return_type': 'string'},
\ 'getElementsByTagName': { 'signature': 'string $name | DOMNodeList', 'return_type': 'DOMNodeList'},
\ 'getElementsByTagNameNS': { 'signature': 'string $namespaceURI, string $localName | DOMNodeList', 'return_type': 'DOMNodeList'},
\ 'hasAttribute': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'hasAttributeNS': { 'signature': 'string $namespaceURI, string $localName | bool', 'return_type': 'bool'},
\ 'removeAttribute': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'removeAttributeNode': { 'signature': 'DOMAttr $oldnode | bool', 'return_type': 'bool'},
\ 'removeAttributeNS': { 'signature': 'string $namespaceURI, string $localName | bool', 'return_type': 'bool'},
\ 'setAttribute': { 'signature': 'string $name, string $value | DOMAttr', 'return_type': 'DOMAttr'},
\ 'setAttributeNode': { 'signature': 'DOMAttr $attr | DOMAttr', 'return_type': 'DOMAttr'},
\ 'setAttributeNodeNS': { 'signature': 'DOMAttr $attr | DOMAttr', 'return_type': 'DOMAttr'},
\ 'setAttributeNS': { 'signature': 'string $namespaceURI, string $qualifiedName, string $value | void', 'return_type': 'void'},
\ 'setIdAttribute': { 'signature': 'string $name, bool $isId | void', 'return_type': 'void'},
\ 'setIdAttributeNode': { 'signature': 'DOMAttr $attr, bool $isId | void', 'return_type': 'void'},
\ 'setIdAttributeNS': { 'signature': 'string $namespaceURI, string $localName, bool $isId | void', 'return_type': 'void'},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domentity': {
\ 'name': 'DOMEntity',
\ 'constants': {
\ },
\ 'properties': {
\ 'publicId': { 'initializer': '', 'type': 'string'},
\ 'systemId': { 'initializer': '', 'type': 'string'},
\ 'notationName': { 'initializer': '', 'type': 'string'},
\ 'actualEncoding': { 'initializer': '', 'type': 'string'},
\ 'encoding': { 'initializer': '', 'type': 'string'},
\ 'version': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domentityreference': {
\ 'name': 'DOMEntityReference',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $name', 'return_type': ''},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domexception': {
\ 'name': 'DOMException',
\ 'constants': {
\ },
\ 'properties': {
\ 'code': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'domimplementation': {
\ 'name': 'DOMImplementation',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'createDocument': { 'signature': '[ string $namespaceURI = NULL [, string $qualifiedName = NULL [, DOMDocumentType $doctype = NULL]]] | DOMDocument', 'return_type': 'DOMDocument'},
\ 'createDocumentType': { 'signature': '[ string $qualifiedName = NULL [, string $publicId = NULL [, string $systemId = NULL]]] | DOMDocumentType', 'return_type': 'DOMDocumentType'},
\ 'hasFeature': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'domnamednodemap': {
\ 'name': 'DOMNamedNodeMap',
\ 'constants': {
\ },
\ 'properties': {
\ 'length': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getNamedItem': { 'signature': 'string $name | DOMNode', 'return_type': 'DOMNode'},
\ 'getNamedItemNS': { 'signature': 'string $namespaceURI, string $localName | DOMNode', 'return_type': 'DOMNode'},
\ 'item': { 'signature': 'int $index | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domnode': {
\ 'name': 'DOMNode',
\ 'constants': {
\ },
\ 'properties': {
\ 'nodeName': { 'initializer': '', 'type': 'string'},
\ 'nodeValue': { 'initializer': '', 'type': 'string'},
\ 'nodeType': { 'initializer': '', 'type': 'int'},
\ 'parentNode': { 'initializer': '', 'type': 'DOMNode'},
\ 'childNodes': { 'initializer': '', 'type': 'DOMNodeList'},
\ 'firstChild': { 'initializer': '', 'type': 'DOMNode'},
\ 'lastChild': { 'initializer': '', 'type': 'DOMNode'},
\ 'previousSibling': { 'initializer': '', 'type': 'DOMNode'},
\ 'nextSibling': { 'initializer': '', 'type': 'DOMNode'},
\ 'attributes': { 'initializer': '', 'type': 'DOMNamedNodeMap'},
\ 'ownerDocument': { 'initializer': '', 'type': 'DOMDocument'},
\ 'namespaceURI': { 'initializer': '', 'type': 'string'},
\ 'prefix': { 'initializer': '', 'type': 'string'},
\ 'localName': { 'initializer': '', 'type': 'string'},
\ 'baseURI': { 'initializer': '', 'type': 'string'},
\ 'textContent': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domnodelist': {
\ 'name': 'DOMNodeList',
\ 'constants': {
\ },
\ 'properties': {
\ 'length': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'item': { 'signature': 'int $index | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domnotation': {
\ 'name': 'DOMNotation',
\ 'constants': {
\ },
\ 'properties': {
\ 'publicId': { 'initializer': '', 'type': 'string'},
\ 'systemId': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domprocessinginstruction': {
\ 'name': 'DOMProcessingInstruction',
\ 'constants': {
\ },
\ 'properties': {
\ 'target': { 'initializer': '', 'type': 'string'},
\ 'data': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $name [, string $value]', 'return_type': ''},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domtext': {
\ 'name': 'DOMText',
\ 'constants': {
\ },
\ 'properties': {
\ 'wholeText': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $value]', 'return_type': ''},
\ 'isWhitespaceInElementContent': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'splitText': { 'signature': 'int $offset | DOMText', 'return_type': 'DOMText'},
\ 'appendChild': { 'signature': 'DOMNode $newnode | DOMNode', 'return_type': 'DOMNode'},
\ 'C14N': { 'signature': '[ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | string', 'return_type': 'string'},
\ 'C14NFile': { 'signature': 'string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes]]]] | int', 'return_type': 'int'},
\ 'cloneNode': { 'signature': '[ bool $deep] | DOMNode', 'return_type': 'DOMNode'},
\ 'getLineNo': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNodePath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasAttributes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasChildNodes': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'insertBefore': { 'signature': 'DOMNode $newnode [, DOMNode $refnode] | DOMNode', 'return_type': 'DOMNode'},
\ 'isDefaultNamespace': { 'signature': 'string $namespaceURI | bool', 'return_type': 'bool'},
\ 'isSameNode': { 'signature': 'DOMNode $node | bool', 'return_type': 'bool'},
\ 'isSupported': { 'signature': 'string $feature, string $version | bool', 'return_type': 'bool'},
\ 'lookupNamespaceURI': { 'signature': 'string $prefix | string', 'return_type': 'string'},
\ 'lookupPrefix': { 'signature': 'string $namespaceURI | string', 'return_type': 'string'},
\ 'normalize': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeChild': { 'signature': 'DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ 'replaceChild': { 'signature': 'DOMNode $newnode, DOMNode $oldnode | DOMNode', 'return_type': 'DOMNode'},
\ },
\ 'static_methods': {
\ },
\},
\'domxpath': {
\ 'name': 'DOMXPath',
\ 'constants': {
\ },
\ 'properties': {
\ 'document': { 'initializer': '', 'type': 'DOMDocument'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'DOMDocument $doc', 'return_type': ''},
\ 'evaluate': { 'signature': 'string $expression [, DOMNode $contextnode [, bool $registerNodeNS = true]] | mixed', 'return_type': 'mixed'},
\ 'query': { 'signature': 'string $expression [, DOMNode $contextnode [, bool $registerNodeNS = true]] | DOMNodeList', 'return_type': 'DOMNodeList'},
\ 'registerNamespace': { 'signature': 'string $prefix, string $namespaceURI | bool', 'return_type': 'bool'},
\ 'registerPhpFunctions': { 'signature': '[ mixed $restrict] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['predefined_exceptions'] = {
\'errorexception': {
\ 'name': 'ErrorException',
\ 'constants': {
\ },
\ 'properties': {
\ 'severity': { 'initializer': '', 'type': 'int'},
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $message = "" [, int $code = 0 [, int $severity = 1 [, string $filename = __FILE__ [, int $lineno = __LINE__ [, Exception $previous = NULL]]]]]]', 'return_type': ''},
\ 'getSeverity': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'exception': {
\ 'name': 'Exception',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $message = "" [, int $code = 0 [, Exception $previous = NULL]]]', 'return_type': ''},
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['ev'] = {
\'ev': {
\ 'name': 'Ev',
\ 'constants': {
\ 'FLAG_AUTO': '0',
\ 'FLAG_NOENV': '16777216',
\ 'FLAG_FORKCHECK': '33554432',
\ 'FLAG_NOINOTIFY': '1048576',
\ 'FLAG_SIGNALFD': '2097152',
\ 'FLAG_NOSIGMASK': '4194304',
\ 'RUN_NOWAIT': '1',
\ 'RUN_ONCE': '2',
\ 'BREAK_CANCEL': '0',
\ 'BREAK_ONE': '1',
\ 'BREAK_ALL': '2',
\ 'MINPRI': '-2',
\ 'MAXPRI': '2',
\ 'READ': '1',
\ 'WRITE': '2',
\ 'TIMER': '256',
\ 'PERIODIC': '512',
\ 'SIGNAL': '1024',
\ 'CHILD': '',
\ 'STAT': '4096',
\ 'IDLE': '8192',
\ 'PREPARE': '16384',
\ 'CHECK': '32768',
\ 'EMBED': '65536',
\ 'CUSTOM': '16777216',
\ 'ERROR': '2147483648',
\ 'BACKEND_SELECT': '1',
\ 'BACKEND_POLL': '2',
\ 'BACKEND_EPOLL': '4',
\ 'BACKEND_KQUEUE': '8',
\ 'BACKEND_DEVPOLL': '16',
\ 'BACKEND_PORT': '32',
\ 'BACKEND_ALL': '63',
\ 'BACKEND_MASK': '65535',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'backend': { 'signature': 'void | int', 'return_type': 'int'},
\ 'depth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'embeddableBackends': { 'signature': 'void | void', 'return_type': 'void'},
\ 'feedSignal': { 'signature': 'int $signum | void', 'return_type': 'void'},
\ 'feedSignalEvent': { 'signature': 'int $signum | void', 'return_type': 'void'},
\ 'iteration': { 'signature': 'void | int', 'return_type': 'int'},
\ 'now': { 'signature': 'void | double', 'return_type': 'double'},
\ 'nowUpdate': { 'signature': 'void | void', 'return_type': 'void'},
\ 'recommendedBackends': { 'signature': 'void | void', 'return_type': 'void'},
\ 'resume': { 'signature': 'void | void', 'return_type': 'void'},
\ 'run': { 'signature': '[ int $flags] | void', 'return_type': 'void'},
\ 'sleep': { 'signature': 'double $seconds | void', 'return_type': 'void'},
\ 'stop': { 'signature': '[ int $how] | void', 'return_type': 'void'},
\ 'supportedBackends': { 'signature': 'void | void', 'return_type': 'void'},
\ 'suspend': { 'signature': 'void | void', 'return_type': 'void'},
\ 'time': { 'signature': 'void | double', 'return_type': 'double'},
\ 'verify': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\},
\'evcheck': {
\ 'name': 'EvCheck',
\ 'constants': {
\ },
\ 'properties': {
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'string $callback [, string $data [, string $priority]] | object', 'return_type': 'object'},
\ },
\},
\'evchild': {
\ 'name': 'EvChild',
\ 'constants': {
\ },
\ 'properties': {
\ 'pid': { 'initializer': '', 'type': ''},
\ 'rpid': { 'initializer': '', 'type': ''},
\ 'rstatus': { 'initializer': '', 'type': ''},
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'set': { 'signature': 'int $pid, bool $trace | void', 'return_type': 'void'},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'int $pid, bool $trace, callable $callback [, mixed $data [, int $priority]] | object', 'return_type': 'object'},
\ },
\},
\'evembed': {
\ 'name': 'EvEmbed',
\ 'constants': {
\ },
\ 'properties': {
\ 'embed': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'set': { 'signature': 'object $other | void', 'return_type': 'void'},
\ 'sweep': { 'signature': 'void | void', 'return_type': 'void'},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'object $other [, callable $callback [, mixed $data [, int $priority]]] | void', 'return_type': 'void'},
\ },
\},
\'evfork': {
\ 'name': 'EvFork',
\ 'constants': {
\ },
\ 'properties': {
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'string $callback [, string $data [, string $priority]] | object', 'return_type': 'object'},
\ },
\},
\'evidle': {
\ 'name': 'EvIdle',
\ 'constants': {
\ },
\ 'properties': {
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'string $callback [, mixed $data [, int $priority]] | object', 'return_type': 'object'},
\ },
\},
\'evio': {
\ 'name': 'EvIo',
\ 'constants': {
\ },
\ 'properties': {
\ 'fd': { 'initializer': '', 'type': ''},
\ 'events': { 'initializer': '', 'type': ''},
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'set': { 'signature': 'mixed $fd, int $events | void', 'return_type': 'void'},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'mixed $fd, int $events, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvIo', 'return_type': 'EvIo'},
\ },
\},
\'evloop': {
\ 'name': 'EvLoop',
\ 'constants': {
\ },
\ 'properties': {
\ 'data': { 'initializer': '', 'type': ''},
\ 'backend': { 'initializer': '', 'type': ''},
\ 'is_default_loop': { 'initializer': '', 'type': ''},
\ 'iteration': { 'initializer': '', 'type': ''},
\ 'pending': { 'initializer': '', 'type': ''},
\ 'io_interval': { 'initializer': '', 'type': ''},
\ 'timeout_interval': { 'initializer': '', 'type': ''},
\ 'depth': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'backend': { 'signature': 'void | int', 'return_type': 'int'},
\ 'check': { 'signature': 'string $callback [, string $data [, string $priority]] | EvCheck', 'return_type': 'EvCheck'},
\ 'child': { 'signature': 'string $pid, string $trace, string $callback [, string $data [, string $priority]] | EvChild', 'return_type': 'EvChild'},
\ '__construct': { 'signature': '[ int $flags [, mixed $data = NULL [, double $io_interval = 0.0 [, double $timeout_interval = 0.0]]]]', 'return_type': ''},
\ 'embed': { 'signature': 'string $other [, string $callback [, string $data [, string $priority]]] | EvEmbed', 'return_type': 'EvEmbed'},
\ 'fork': { 'signature': 'callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvFork', 'return_type': 'EvFork'},
\ 'idle': { 'signature': 'callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvIdle', 'return_type': 'EvIdle'},
\ 'invokePending': { 'signature': 'void | void', 'return_type': 'void'},
\ 'io': { 'signature': 'mixed $fd, int $events, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvIo', 'return_type': 'EvIo'},
\ 'loopFork': { 'signature': 'void | void', 'return_type': 'void'},
\ 'now': { 'signature': 'void | double', 'return_type': 'double'},
\ 'nowUpdate': { 'signature': 'void | void', 'return_type': 'void'},
\ 'periodic': { 'signature': 'double $offset, double $interval, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvPeriodic', 'return_type': 'EvPeriodic'},
\ 'prepare': { 'signature': 'callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvPrepare', 'return_type': 'EvPrepare'},
\ 'resume': { 'signature': 'void | void', 'return_type': 'void'},
\ 'run': { 'signature': '[ int $flags = 0] | void', 'return_type': 'void'},
\ 'signal': { 'signature': 'int $signum, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvSignal', 'return_type': 'EvSignal'},
\ 'stat': { 'signature': 'string $path, double $interval, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvStat', 'return_type': 'EvStat'},
\ 'stop': { 'signature': '[ int $how] | void', 'return_type': 'void'},
\ 'suspend': { 'signature': 'void | void', 'return_type': 'void'},
\ 'timer': { 'signature': 'double $after, double $repeat, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvTimer', 'return_type': 'EvTimer'},
\ 'verify': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'defaultLoop': { 'signature': '[ int $flags = Ev::FLAG_AUTO [, mixed $data = NULL [, double $io_interval = 0. [, double $timeout_interval = 0.]]]] | EvLoop', 'return_type': 'EvLoop'},
\ },
\},
\'evperiodic': {
\ 'name': 'EvPeriodic',
\ 'constants': {
\ },
\ 'properties': {
\ 'offset': { 'initializer': '', 'type': ''},
\ 'interval': { 'initializer': '', 'type': ''},
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'again': { 'signature': 'void | void', 'return_type': 'void'},
\ 'at': { 'signature': 'void | double', 'return_type': 'double'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'set': { 'signature': 'double $offset, double $interval | void', 'return_type': 'void'},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'double $offset, double $interval, callable $reschedule_cb, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvPeriodic', 'return_type': 'EvPeriodic'},
\ },
\},
\'evprepare': {
\ 'name': 'EvPrepare',
\ 'constants': {
\ },
\ 'properties': {
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvPrepare', 'return_type': 'EvPrepare'},
\ },
\},
\'evsignal': {
\ 'name': 'EvSignal',
\ 'constants': {
\ },
\ 'properties': {
\ 'signum': { 'initializer': '', 'type': ''},
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'set': { 'signature': 'int $signum | void', 'return_type': 'void'},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'int $signum, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvSignal', 'return_type': 'EvSignal'},
\ },
\},
\'evstat': {
\ 'name': 'EvStat',
\ 'constants': {
\ },
\ 'properties': {
\ 'path': { 'initializer': '', 'type': ''},
\ 'interval': { 'initializer': '', 'type': ''},
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'attr': { 'signature': 'void | array', 'return_type': 'array'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'prev': { 'signature': 'void | void', 'return_type': 'void'},
\ 'set': { 'signature': 'string $path, double $interval | void', 'return_type': 'void'},
\ 'stat': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'string $path, double $interval, callable $callback [, mixed $data = NULL [, int $priority = 0]] | void', 'return_type': 'void'},
\ },
\},
\'evtimer': {
\ 'name': 'EvTimer',
\ 'constants': {
\ },
\ 'properties': {
\ 'repeat': { 'initializer': '', 'type': ''},
\ 'remaining': { 'initializer': '', 'type': ''},
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'again': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'set': { 'signature': 'double $after, double $repeat | void', 'return_type': 'void'},
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'createStopped': { 'signature': 'double $after, double $repeat, callable $callback [, mixed $data = NULL [, int $priority = 0]] | EvTimer', 'return_type': 'EvTimer'},
\ },
\},
\'evwatcher': {
\ 'name': 'EvWatcher',
\ 'constants': {
\ },
\ 'properties': {
\ 'is_active': { 'initializer': '', 'type': ''},
\ 'data': { 'initializer': '', 'type': ''},
\ 'is_pending': { 'initializer': '', 'type': ''},
\ 'priority': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'clear': { 'signature': 'void | int', 'return_type': 'int'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'feed': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'getLoop': { 'signature': 'void | EvLoop', 'return_type': 'EvLoop'},
\ 'invoke': { 'signature': 'int $revents | void', 'return_type': 'void'},
\ 'keepalive': { 'signature': '[ bool $value] | bool', 'return_type': 'bool'},
\ 'setCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'start': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['event'] = {
\'event': {
\ 'name': 'Event',
\ 'constants': {
\ 'ET': '32',
\ 'PERSIST': '16',
\ 'READ': '2',
\ 'WRITE': '4',
\ 'SIGNAL': '8',
\ 'TIMEOUT': '1',
\ },
\ 'properties': {
\ 'pending': { 'initializer': '', 'type': 'bool'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': '[ double $timeout] | void', 'return_type': 'void'},
\ 'addSignal': { 'signature': '[ double $timeout] | bool', 'return_type': 'bool'},
\ 'addTimer': { 'signature': '[ double $timeout] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'EventBase $base, mixed $fd, int $what, callable $cb [, mixed $arg = NULL]', 'return_type': ''},
\ 'del': { 'signature': 'void | void', 'return_type': 'void'},
\ 'delSignal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'delTimer': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'free': { 'signature': 'void | void', 'return_type': 'void'},
\ 'pending': { 'signature': 'int $flags | bool', 'return_type': 'bool'},
\ 'set': { 'signature': 'EventBase $base, mixed $fd [, int $what [, callable $cb [, mixed $arg]]] | bool', 'return_type': 'bool'},
\ 'setPriority': { 'signature': 'int $priority | bool', 'return_type': 'bool'},
\ 'setTimer': { 'signature': 'EventBase $base, callable $cb [, mixed $arg] | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'getSupportedMethods': { 'signature': 'void | void', 'return_type': 'void'},
\ 'signal': { 'signature': 'EventBase $base, int $signum, callable $cb [, mixed $arg] | Event', 'return_type': 'Event'},
\ 'timer': { 'signature': 'EventBase $base, callable $cb [, mixed $arg] | Event', 'return_type': 'Event'},
\ },
\},
\'eventbase': {
\ 'name': 'EventBase',
\ 'constants': {
\ 'LOOP_ONCE': '1',
\ 'LOOP_NONBLOCK': '2',
\ 'NOLOCK': '1',
\ 'STARTUP_IOCP': '4',
\ 'NO_CACHE_TIME': '8',
\ 'EPOLL_USE_CHANGELIST': '16',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ EventConfig $cfg]', 'return_type': ''},
\ 'dispatch': { 'signature': 'void | void', 'return_type': 'void'},
\ 'exit': { 'signature': '[ double $timeout] | void', 'return_type': 'void'},
\ 'getFeatures': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMethod': { 'signature': '[ EventConfig $cfg] | string', 'return_type': 'string'},
\ 'getTimeOfDayCached': { 'signature': 'void | double', 'return_type': 'double'},
\ 'gotExit': { 'signature': 'void | void', 'return_type': 'void'},
\ 'gotStop': { 'signature': 'void | void', 'return_type': 'void'},
\ 'loop': { 'signature': '[ int $flags] | bool', 'return_type': 'bool'},
\ 'priorityInit': { 'signature': 'string $n_priorities | bool', 'return_type': 'bool'},
\ 'reInit': { 'signature': 'string $base | void', 'return_type': 'void'},
\ 'stop': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'eventbuffer': {
\ 'name': 'EventBuffer',
\ 'constants': {
\ 'EOL_ANY': '0',
\ 'EOL_CRLF': '1',
\ 'EOL_CRLF_STRICT': '2',
\ 'EOL_LF': '3',
\ 'PTR_SET': '0',
\ 'PTR_ADD': '1',
\ },
\ 'properties': {
\ 'length': { 'initializer': '', 'type': 'int'},
\ 'contiguous_space': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': 'string $data | bool', 'return_type': 'bool'},
\ 'addBuffer': { 'signature': 'EventBuffer $buf | bool', 'return_type': 'bool'},
\ 'appendFrom': { 'signature': 'EventBuffer $buf, int $len | int', 'return_type': 'int'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'copyout': { 'signature': 'string &$data, int $max_bytes | int', 'return_type': 'int'},
\ 'drain': { 'signature': 'int $len | void', 'return_type': 'void'},
\ 'enableLocking': { 'signature': 'void | void', 'return_type': 'void'},
\ 'expand': { 'signature': 'int $len | bool', 'return_type': 'bool'},
\ 'freeze': { 'signature': 'bool $at_front | bool', 'return_type': 'bool'},
\ 'lock': { 'signature': 'void | void', 'return_type': 'void'},
\ 'prepend': { 'signature': 'string $data | bool', 'return_type': 'bool'},
\ 'prependBuffer': { 'signature': 'EventBuffer $buf | bool', 'return_type': 'bool'},
\ 'pullup': { 'signature': 'string $size | void', 'return_type': 'void'},
\ 'read': { 'signature': 'mixed $fd, int $howmuch | string', 'return_type': 'string'},
\ 'readLine': { 'signature': 'string $eol_style | void', 'return_type': 'void'},
\ 'search': { 'signature': 'string $what [, int $start = -1 [, int $end = -1]] | mixed', 'return_type': 'mixed'},
\ 'searchEol': { 'signature': '[ int $start = -1 [, int $eol_style = EventBuffer::EOL_ANY]] | mixed', 'return_type': 'mixed'},
\ 'substr': { 'signature': 'int $start [, int $length] | string', 'return_type': 'string'},
\ 'unfreeze': { 'signature': 'bool $at_front | bool', 'return_type': 'bool'},
\ 'unlock': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'write': { 'signature': 'mixed $fd [, int $howmuch] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'eventbufferevent': {
\ 'name': 'EventBufferEvent',
\ 'constants': {
\ 'READING': '1',
\ 'WRITING': '2',
\ 'EOF': '16',
\ 'ERROR': '32',
\ 'TIMEOUT': '64',
\ 'CONNECTED': '128',
\ 'OPT_CLOSE_ON_FREE': '1',
\ 'OPT_THREADSAFE': '2',
\ 'OPT_DEFER_CALLBACKS': '4',
\ 'OPT_UNLOCK_CALLBACKS': '8',
\ 'SSL_OPEN': '0',
\ 'SSL_CONNECTING': '1',
\ 'SSL_ACCEPTING': '2',
\ },
\ 'properties': {
\ 'fd': { 'initializer': '', 'type': 'integer'},
\ 'priority': { 'initializer': '', 'type': 'integer'},
\ 'input': { 'initializer': '', 'type': 'EventBuffer'},
\ 'output': { 'initializer': '', 'type': 'EventBuffer'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'connect': { 'signature': 'string $addr | bool', 'return_type': 'bool'},
\ 'connectHost': { 'signature': 'EventDnsBase $dns_base, string $hostname, int $port [, int $family = EventUtil::AF_UNSPEC] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'EventBase $base [, mixed $socket = NULL [, int $options = 0 [, callable $readcb = NULL [, callable $writecb = NULL [, callable $eventcb = NULL]]]]]', 'return_type': ''},
\ 'createPair': { 'signature': 'EventBase $base [, int $options = 0] | array', 'return_type': 'array'},
\ 'disable': { 'signature': 'int $events | bool', 'return_type': 'bool'},
\ 'enable': { 'signature': 'string $events | bool', 'return_type': 'bool'},
\ 'free': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getDnsErrorString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getEnabled': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInput': { 'signature': 'void | EventBuffer', 'return_type': 'EventBuffer'},
\ 'getOutput': { 'signature': 'void | EventBuffer', 'return_type': 'EventBuffer'},
\ 'read': { 'signature': 'string &$data, int $size | int', 'return_type': 'int'},
\ 'readBuffer': { 'signature': 'EventBuffer $buf | bool', 'return_type': 'bool'},
\ 'setCallbacks': { 'signature': 'callable $readcb, callable $writecb, callable $eventcb [, string $arg] | void', 'return_type': 'void'},
\ 'setPriority': { 'signature': 'int $priority | bool', 'return_type': 'bool'},
\ 'setTimeouts': { 'signature': 'int $timeout_read, int $timeout_write | bool', 'return_type': 'bool'},
\ 'setWatermark': { 'signature': 'int $events, int $lowmark, int $highmark | void', 'return_type': 'void'},
\ 'sslError': { 'signature': 'void | void', 'return_type': 'void'},
\ 'sslRenegotiate': { 'signature': 'void | void', 'return_type': 'void'},
\ 'write': { 'signature': 'string $data | bool', 'return_type': 'bool'},
\ 'writeBuffer': { 'signature': 'EventBuffer $buf | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'sslFilter': { 'signature': 'EventBase $base, EventBufferEvent $underlying, EventSslContext $ctx, int $state [, int $options = 0] | EventBufferEvent', 'return_type': 'EventBufferEvent'},
\ 'sslSocket': { 'signature': 'EventBase $base, mixed $socket, EventSslContext $ctx, int $state [, int $options] | EventBufferEvent', 'return_type': 'EventBufferEvent'},
\ },
\},
\'eventconfig': {
\ 'name': 'EventConfig',
\ 'constants': {
\ 'FEATURE_ET': '1',
\ 'FEATURE_O1': '2',
\ 'FEATURE_FDS': '4',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'avoidMethod': { 'signature': 'int $method | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'requireFeatures': { 'signature': 'int $feature | bool', 'return_type': 'bool'},
\ 'setMaxDispatchInterval': { 'signature': 'int $max_interval, int $max_callbacks, int $min_priority | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'eventdnsbase': {
\ 'name': 'EventDnsBase',
\ 'constants': {
\ 'OPTION_SEARCH': '1',
\ 'OPTION_NAMESERVERS': '2',
\ 'OPTION_MISC': '4',
\ 'OPTION_HOSTSFILE': '8',
\ 'OPTIONS_ALL': '15',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addNameserverIp': { 'signature': 'string $ip | bool', 'return_type': 'bool'},
\ 'addSearch': { 'signature': 'string $domain | void', 'return_type': 'void'},
\ 'clearSearch': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'EventBase $base, bool $initialize', 'return_type': ''},
\ 'countNameservers': { 'signature': 'void | void', 'return_type': 'void'},
\ 'loadHosts': { 'signature': 'string $hosts | bool', 'return_type': 'bool'},
\ 'parseResolvConf': { 'signature': 'int $flags, string $filename | bool', 'return_type': 'bool'},
\ 'setOption': { 'signature': 'string $option, string $value | bool', 'return_type': 'bool'},
\ 'setSearchNdots': { 'signature': 'int $ndots | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'eventhttp': {
\ 'name': 'EventHttp',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'accept': { 'signature': 'mixed $socket | bool', 'return_type': 'bool'},
\ 'addServerAlias': { 'signature': 'string $alias | bool', 'return_type': 'bool'},
\ 'bind': { 'signature': 'string $address, int $port | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'EventBase $base', 'return_type': ''},
\ 'removeServerAlias': { 'signature': 'string $alias | bool', 'return_type': 'bool'},
\ 'setAllowedMethods': { 'signature': 'int $methods | void', 'return_type': 'void'},
\ 'setCallback': { 'signature': 'string $path, string $cb [, string $arg] | void', 'return_type': 'void'},
\ 'setDefaultCallback': { 'signature': 'string $cb [, string $arg] | void', 'return_type': 'void'},
\ 'setMaxBodySize': { 'signature': 'int $value | void', 'return_type': 'void'},
\ 'setMaxHeadersSize': { 'signature': 'int $value | void', 'return_type': 'void'},
\ 'setTimeout': { 'signature': 'int $value | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'eventhttpconnection': {
\ 'name': 'EventHttpConnection',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'EventBase $base, EventDnsBase $dns_base, string $address, int $port', 'return_type': ''},
\ 'getBase': { 'signature': 'void | EventBase', 'return_type': 'EventBase'},
\ 'getPeer': { 'signature': 'string &$address, int &$port | void', 'return_type': 'void'},
\ 'makeRequest': { 'signature': 'EventHttpRequest $req, int $type, string $uri | bool', 'return_type': 'bool'},
\ 'setCloseCallback': { 'signature': 'callable $callback [, mixed $data] | void', 'return_type': 'void'},
\ 'setLocalAddress': { 'signature': 'string $address | void', 'return_type': 'void'},
\ 'setLocalPort': { 'signature': 'int $port | void', 'return_type': 'void'},
\ 'setMaxBodySize': { 'signature': 'string $max_size | void', 'return_type': 'void'},
\ 'setMaxHeadersSize': { 'signature': 'string $max_size | void', 'return_type': 'void'},
\ 'setRetries': { 'signature': 'int $retries | void', 'return_type': 'void'},
\ 'setTimeout': { 'signature': 'int $timeout | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'eventhttprequest': {
\ 'name': 'EventHttpRequest',
\ 'constants': {
\ 'CMD_GET': '1',
\ 'CMD_POST': '2',
\ 'CMD_HEAD': '4',
\ 'CMD_PUT': '8',
\ 'CMD_DELETE': '16',
\ 'CMD_OPTIONS': '32',
\ 'CMD_TRACE': '64',
\ 'CMD_CONNECT': '128',
\ 'CMD_PATCH': '256',
\ 'INPUT_HEADER': '1',
\ 'OUTPUT_HEADER': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addHeader': { 'signature': 'string $key, string $value, int $type | bool', 'return_type': 'bool'},
\ 'cancel': { 'signature': 'void | void', 'return_type': 'void'},
\ 'clearHeaders': { 'signature': 'void | void', 'return_type': 'void'},
\ 'closeConnection': { 'signature': 'void | EventHttpConnection', 'return_type': 'EventHttpConnection'},
\ '__construct': { 'signature': 'callable $callback [, mixed $data = NULL]', 'return_type': ''},
\ 'findHeader': { 'signature': 'string $key, string $type | void', 'return_type': 'void'},
\ 'free': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getCommand': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getHost': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getInputBuffer': { 'signature': 'void | EventBuffer', 'return_type': 'EventBuffer'},
\ 'getInputHeaders': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getOutputBuffer': { 'signature': 'void | EventBuffer', 'return_type': 'EventBuffer'},
\ 'getOutputHeaders': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getResponseCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getUri': { 'signature': 'void | string', 'return_type': 'string'},
\ 'removeHeader': { 'signature': 'string $key, string $type | void', 'return_type': 'void'},
\ 'sendError': { 'signature': 'int $error [, string $reason = NULL] | void', 'return_type': 'void'},
\ 'sendReply': { 'signature': 'int $code, string $reason [, EventBuffer $buf] | void', 'return_type': 'void'},
\ 'sendReplyChunk': { 'signature': 'EventBuffer $buf | void', 'return_type': 'void'},
\ 'sendReplyEnd': { 'signature': 'void | void', 'return_type': 'void'},
\ 'sendReplyStart': { 'signature': 'int $code, string $reason | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'eventlistener': {
\ 'name': 'EventListener',
\ 'constants': {
\ 'OPT_LEAVE_SOCKETS_BLOCKING': '1',
\ 'OPT_CLOSE_ON_FREE': '2',
\ 'OPT_CLOSE_ON_EXEC': '4',
\ 'OPT_REUSEABLE': '8',
\ 'OPT_THREADSAFE': '16',
\ },
\ 'properties': {
\ 'fd': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'EventBase $base, callable $cb, mixed $data, int $flags, int $backlog, mixed $target', 'return_type': ''},
\ 'disable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'enable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getBase': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setCallback': { 'signature': 'callable $cb [, mixed $arg = NULL] | void', 'return_type': 'void'},
\ 'setErrorCallback': { 'signature': 'string $cb | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'getSocketName': { 'signature': 'string &$address [, mixed &$port] | bool', 'return_type': 'bool'},
\ },
\},
\'eventsslcontext': {
\ 'name': 'EventSslContext',
\ 'constants': {
\ 'SSLv2_CLIENT_METHOD': '1',
\ 'SSLv3_CLIENT_METHOD': '2',
\ 'SSLv23_CLIENT_METHOD': '3',
\ 'TLS_CLIENT_METHOD': '4',
\ 'SSLv2_SERVER_METHOD': '5',
\ 'SSLv3_SERVER_METHOD': '6',
\ 'SSLv23_SERVER_METHOD': '7',
\ 'TLS_SERVER_METHOD': '8',
\ 'OPT_LOCAL_CERT': '1',
\ 'OPT_LOCAL_PK': '2',
\ 'OPT_PASSPHRASE': '3',
\ 'OPT_CA_FILE': '4',
\ 'OPT_CA_PATH': '5',
\ 'OPT_ALLOW_SELF_SIGNED': '6',
\ 'OPT_VERIFY_PEER': '7',
\ 'OPT_VERIFY_DEPTH': '8',
\ 'OPT_CIPHERS': '9',
\ },
\ 'properties': {
\ 'local_cert': { 'initializer': '', 'type': 'string'},
\ 'local_pk': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $method, string $options', 'return_type': ''},
\ },
\ 'static_methods': {
\ },
\},
\'eventutil': {
\ 'name': 'EventUtil',
\ 'constants': {
\ 'AF_INET': '2',
\ 'AF_INET6': '10',
\ 'AF_UNSPEC': '0',
\ 'LIBEVENT_VERSION_NUMBER': '33559808',
\ 'SO_DEBUG': '1',
\ 'SO_REUSEADDR': '2',
\ 'SO_KEEPALIVE': '9',
\ 'SO_DONTROUTE': '5',
\ 'SO_LINGER': '13',
\ 'SO_BROADCAST': '6',
\ 'SO_OOBINLINE': '10',
\ 'SO_SNDBUF': '7',
\ 'SO_RCVBUF': '8',
\ 'SO_SNDLOWAT': '19',
\ 'SO_RCVLOWAT': '18',
\ 'SO_SNDTIMEO': '21',
\ 'SO_RCVTIMEO': '20',
\ 'SO_TYPE': '3',
\ 'SO_ERROR': '4',
\ 'SOL_SOCKET': '1',
\ 'SOL_TCP': '6',
\ 'SOL_UDP': '17',
\ 'IPPROTO_IP': '0',
\ 'IPPROTO_IPV6': '41',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ },
\ 'static_methods': {
\ 'getLastSocketErrno': { 'signature': '[ mixed $socket = NULL] | int', 'return_type': 'int'},
\ 'getLastSocketError': { 'signature': '[ mixed $socket] | string', 'return_type': 'string'},
\ 'getSocketFd': { 'signature': 'mixed $socket | int', 'return_type': 'int'},
\ 'getSocketName': { 'signature': 'mixed $socket, string &$address [, mixed &$port] | bool', 'return_type': 'bool'},
\ 'setSocketOption': { 'signature': 'mixed $socket, int $level, int $optname, mixed $optval | bool', 'return_type': 'bool'},
\ 'sslRandPoll': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['fann'] = {
\'fannconnection': {
\ 'name': 'FANNConnection',
\ 'constants': {
\ },
\ 'properties': {
\ 'from_neuron': { 'initializer': '', 'type': ''},
\ 'to_neuron': { 'initializer': '', 'type': ''},
\ 'weight': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'int $from_neuron, int $to_neuron, float $weight', 'return_type': ''},
\ 'getFromNeuron': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getToNeuron': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getWeight': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setWeight': { 'signature': 'float $weight | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['gearman'] = {
\'gearmanclient': {
\ 'name': 'GearmanClient',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addOptions': { 'signature': 'int $options | bool', 'return_type': 'bool'},
\ 'addServer': { 'signature': '[ string $host = 127.0.0.1 [, int $port = 4730]] | bool', 'return_type': 'bool'},
\ 'addServers': { 'signature': '[ string $servers = 127.0.0.1:4730] | bool', 'return_type': 'bool'},
\ 'addTask': { 'signature': 'string $function_name, string $workload [, mixed &$context [, string $unique]] | GearmanTask', 'return_type': 'GearmanTask'},
\ 'addTaskBackground': { 'signature': 'string $function_name, string $workload [, mixed &$context [, string $unique]] | GearmanTask', 'return_type': 'GearmanTask'},
\ 'addTaskHigh': { 'signature': 'string $function_name, string $workload [, mixed &$context [, string $unique]] | GearmanTask', 'return_type': 'GearmanTask'},
\ 'addTaskHighBackground': { 'signature': 'string $function_name, string $workload [, mixed &$context [, string $unique]] | GearmanTask', 'return_type': 'GearmanTask'},
\ 'addTaskLow': { 'signature': 'string $function_name, string $workload [, mixed &$context [, string $unique]] | GearmanTask', 'return_type': 'GearmanTask'},
\ 'addTaskLowBackground': { 'signature': 'string $function_name, string $workload [, mixed &$context [, string $unique]] | GearmanTask', 'return_type': 'GearmanTask'},
\ 'addTaskStatus': { 'signature': 'string $job_handle [, string &$context] | GearmanTask', 'return_type': 'GearmanTask'},
\ 'clearCallbacks': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'clone': { 'signature': 'void | GearmanClient', 'return_type': 'GearmanClient'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'context': { 'signature': 'void | string', 'return_type': 'string'},
\ 'data': { 'signature': 'void | string', 'return_type': 'string'},
\ 'do': { 'signature': 'string $function_name, string $workload [, string $unique] | string', 'return_type': 'string'},
\ 'doBackground': { 'signature': 'string $function_name, string $workload [, string $unique] | string', 'return_type': 'string'},
\ 'doHigh': { 'signature': 'string $function_name, string $workload [, string $unique] | string', 'return_type': 'string'},
\ 'doHighBackground': { 'signature': 'string $function_name, string $workload [, string $unique] | string', 'return_type': 'string'},
\ 'doJobHandle': { 'signature': 'void | string', 'return_type': 'string'},
\ 'doLow': { 'signature': 'string $function_name, string $workload [, string $unique] | string', 'return_type': 'string'},
\ 'doLowBackground': { 'signature': 'string $function_name, string $workload [, string $unique] | string', 'return_type': 'string'},
\ 'doNormal': { 'signature': 'string $function_name, string $workload [, string $unique] | string', 'return_type': 'string'},
\ 'doStatus': { 'signature': 'void | array', 'return_type': 'array'},
\ 'echo': { 'signature': 'string $workload | bool', 'return_type': 'bool'},
\ 'error': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getErrno': { 'signature': 'void | int', 'return_type': 'int'},
\ 'jobStatus': { 'signature': 'string $job_handle | array', 'return_type': 'array'},
\ 'ping': { 'signature': 'string $workload | bool', 'return_type': 'bool'},
\ 'removeOptions': { 'signature': 'int $options | bool', 'return_type': 'bool'},
\ 'returnCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'runTasks': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setClientCallback': { 'signature': 'callable $callback | void', 'return_type': 'void'},
\ 'setCompleteCallback': { 'signature': 'callable $callback | bool', 'return_type': 'bool'},
\ 'setContext': { 'signature': 'string $context | bool', 'return_type': 'bool'},
\ 'setCreatedCallback': { 'signature': 'string $callback | bool', 'return_type': 'bool'},
\ 'setData': { 'signature': 'string $data | bool', 'return_type': 'bool'},
\ 'setDataCallback': { 'signature': 'callable $callback | bool', 'return_type': 'bool'},
\ 'setExceptionCallback': { 'signature': 'callable $callback | bool', 'return_type': 'bool'},
\ 'setFailCallback': { 'signature': 'callable $callback | bool', 'return_type': 'bool'},
\ 'setOptions': { 'signature': 'int $options | bool', 'return_type': 'bool'},
\ 'setStatusCallback': { 'signature': 'callable $callback | bool', 'return_type': 'bool'},
\ 'setTimeout': { 'signature': 'int $timeout | bool', 'return_type': 'bool'},
\ 'setWarningCallback': { 'signature': 'callable $callback | bool', 'return_type': 'bool'},
\ 'setWorkloadCallback': { 'signature': 'callable $callback | bool', 'return_type': 'bool'},
\ 'timeout': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'gearmanexception': {
\ 'name': 'GearmanException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'gearmanjob': {
\ 'name': 'GearmanJob',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'complete': { 'signature': 'string $result | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'data': { 'signature': 'string $data | bool', 'return_type': 'bool'},
\ 'exception': { 'signature': 'string $exception | bool', 'return_type': 'bool'},
\ 'fail': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'functionName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'handle': { 'signature': 'void | string', 'return_type': 'string'},
\ 'returnCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'sendComplete': { 'signature': 'string $result | bool', 'return_type': 'bool'},
\ 'sendData': { 'signature': 'string $data | bool', 'return_type': 'bool'},
\ 'sendException': { 'signature': 'string $exception | bool', 'return_type': 'bool'},
\ 'sendFail': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'sendStatus': { 'signature': 'int $numerator, int $denominator | bool', 'return_type': 'bool'},
\ 'sendWarning': { 'signature': 'string $warning | bool', 'return_type': 'bool'},
\ 'setReturn': { 'signature': 'int $gearman_return_t | bool', 'return_type': 'bool'},
\ 'status': { 'signature': 'int $numerator, int $denominator | bool', 'return_type': 'bool'},
\ 'unique': { 'signature': 'void | string', 'return_type': 'string'},
\ 'warning': { 'signature': 'string $warning | bool', 'return_type': 'bool'},
\ 'workload': { 'signature': 'void | string', 'return_type': 'string'},
\ 'workloadSize': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'gearmantask': {
\ 'name': 'GearmanTask',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'create': { 'signature': 'void | GearmanTask', 'return_type': 'GearmanTask'},
\ 'data': { 'signature': 'void | string', 'return_type': 'string'},
\ 'dataSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'function': { 'signature': 'void | string', 'return_type': 'string'},
\ 'functionName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'isKnown': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isRunning': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'jobHandle': { 'signature': 'void | string', 'return_type': 'string'},
\ 'recvData': { 'signature': 'int $data_len | array', 'return_type': 'array'},
\ 'returnCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'sendData': { 'signature': 'string $data | int', 'return_type': 'int'},
\ 'sendWorkload': { 'signature': 'string $data | int', 'return_type': 'int'},
\ 'taskDenominator': { 'signature': 'void | int', 'return_type': 'int'},
\ 'taskNumerator': { 'signature': 'void | int', 'return_type': 'int'},
\ 'unique': { 'signature': 'void | string', 'return_type': 'string'},
\ 'uuid': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'gearmanworker': {
\ 'name': 'GearmanWorker',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addFunction': { 'signature': 'string $function_name, callable $function [, mixed &$context [, int $timeout]] | bool', 'return_type': 'bool'},
\ 'addOptions': { 'signature': 'int $option | bool', 'return_type': 'bool'},
\ 'addServer': { 'signature': '[ string $host = 127.0.0.1 [, int $port = 4730]] | bool', 'return_type': 'bool'},
\ 'addServers': { 'signature': '[ string $servers = 127.0.0.1:4730] | bool', 'return_type': 'bool'},
\ 'clone': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'echo': { 'signature': 'string $workload | bool', 'return_type': 'bool'},
\ 'error': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getErrno': { 'signature': 'void | int', 'return_type': 'int'},
\ 'options': { 'signature': 'void | int', 'return_type': 'int'},
\ 'register': { 'signature': 'string $function_name [, int $timeout] | bool', 'return_type': 'bool'},
\ 'removeOptions': { 'signature': 'int $option | bool', 'return_type': 'bool'},
\ 'returnCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setId': { 'signature': 'string $id | bool', 'return_type': 'bool'},
\ 'setOptions': { 'signature': 'int $option | bool', 'return_type': 'bool'},
\ 'setTimeout': { 'signature': 'int $timeout | bool', 'return_type': 'bool'},
\ 'timeout': { 'signature': 'void | int', 'return_type': 'int'},
\ 'unregister': { 'signature': 'string $function_name | bool', 'return_type': 'bool'},
\ 'unregisterAll': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'wait': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'work': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['gender'] = {
\'gender\gender': {
\ 'name': 'Gender\Gender',
\ 'constants': {
\ 'IS_FEMALE': '70',
\ 'IS_MOSTLY_FEMALE': '102',
\ 'IS_MALE': '77',
\ 'IS_MOSTLY_MALE': '109',
\ 'IS_UNISEX_NAME': '63',
\ 'IS_A_COUPLE': '67',
\ 'NAME_NOT_FOUND': '32',
\ 'ERROR_IN_NAME': '69',
\ 'ANY_COUNTRY': '0',
\ 'BRITAIN': '1',
\ 'IRELAND': '2',
\ 'USA': '3',
\ 'SPAIN': '4',
\ 'PORTUGAL': '5',
\ 'ITALY': '6',
\ 'MALTA': '7',
\ 'FRANCE': '8',
\ 'BELGIUM': '9',
\ 'LUXEMBOURG': '10',
\ 'NETHERLANDS': '11',
\ 'GERMANY': '12',
\ 'EAST_FRISIA': '13',
\ 'AUSTRIA': '14',
\ 'SWISS': '15',
\ 'ICELAND': '16',
\ 'DENMARK': '17',
\ 'NORWAY': '18',
\ 'SWEDEN': '19',
\ 'FINLAND': '20',
\ 'ESTONIA': '21',
\ 'LATVIA': '22',
\ 'LITHUANIA': '23',
\ 'POLAND': '24',
\ 'CZECH_REP': '25',
\ 'SLOVAKIA': '26',
\ 'HUNGARY': '27',
\ 'ROMANIA': '28',
\ 'BULGARIA': '29',
\ 'BOSNIA': '30',
\ 'CROATIA': '31',
\ 'KOSOVO': '32',
\ 'MACEDONIA': '33',
\ 'MONTENEGRO': '34',
\ 'SERBIA': '35',
\ 'SLOVENIA': '36',
\ 'ALBANIA': '37',
\ 'GREECE': '38',
\ 'RUSSIA': '39',
\ 'BELARUS': '40',
\ 'MOLDOVA': '41',
\ 'UKRAINE': '42',
\ 'ARMENIA': '43',
\ 'AZERBAIJAN': '44',
\ 'GEORGIA': '45',
\ 'KAZAKH_UZBEK': '46',
\ 'TURKEY': '47',
\ 'ARABIA': '48',
\ 'ISRAEL': '49',
\ 'CHINA': '50',
\ 'INDIA': '51',
\ 'JAPAN': '52',
\ 'KOREA': '53',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'connect': { 'signature': 'string $dsn | boolean', 'return_type': 'boolean'},
\ '__construct': { 'signature': '[ string $dsn]', 'return_type': ''},
\ 'country': { 'signature': 'integer $country | array', 'return_type': 'array'},
\ 'get': { 'signature': 'string $name [, integer $country] | integer', 'return_type': 'integer'},
\ 'isNick': { 'signature': 'string $name0, string $name1 [, integer $country] | array', 'return_type': 'array'},
\ 'similarNames': { 'signature': 'string $name [, integer $country] | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['gmagick'] = {
\'gmagick': {
\ 'name': 'Gmagick',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addimage': { 'signature': 'Gmagick $Gmagick | Gmagick', 'return_type': 'Gmagick'},
\ 'addnoiseimage': { 'signature': 'int $NOISE | Gmagick', 'return_type': 'Gmagick'},
\ 'annotateimage': { 'signature': 'GmagickDraw $GmagickDraw, float $x, float $y, float $angle, string $text | Gmagick', 'return_type': 'Gmagick'},
\ 'blurimage': { 'signature': 'float $radius, float $sigma [, int $channel] | Gmagick', 'return_type': 'Gmagick'},
\ 'borderimage': { 'signature': 'GmagickPixel $color, int $width, int $height | Gmagick', 'return_type': 'Gmagick'},
\ 'charcoalimage': { 'signature': 'float $radius, float $sigma | Gmagick', 'return_type': 'Gmagick'},
\ 'chopimage': { 'signature': 'int $width, int $height, int $x, int $y | Gmagick', 'return_type': 'Gmagick'},
\ 'clear': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'commentimage': { 'signature': 'string $comment | Gmagick', 'return_type': 'Gmagick'},
\ 'compositeimage': { 'signature': 'Gmagick $source, int $COMPOSE, int $x, int $y | Gmagick', 'return_type': 'Gmagick'},
\ '__construct': { 'signature': '[ string $filename]', 'return_type': ''},
\ 'cropimage': { 'signature': 'int $width, int $height, int $x, int $y | Gmagick', 'return_type': 'Gmagick'},
\ 'cropthumbnailimage': { 'signature': 'int $width, int $height | Gmagick', 'return_type': 'Gmagick'},
\ 'current': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'cyclecolormapimage': { 'signature': 'int $displace | Gmagick', 'return_type': 'Gmagick'},
\ 'deconstructimages': { 'signature': 'void | void', 'return_type': 'void'},
\ 'despeckleimage': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'destroy': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'drawimage': { 'signature': 'GmagickDraw $GmagickDraw | Gmagick', 'return_type': 'Gmagick'},
\ 'edgeimage': { 'signature': 'float $radius | Gmagick', 'return_type': 'Gmagick'},
\ 'embossimage': { 'signature': 'float $radius, float $sigma | Gmagick', 'return_type': 'Gmagick'},
\ 'enhanceimage': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'equalizeimage': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'flipimage': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'flopimage': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'frameimage': { 'signature': 'GmagickPixel $color, int $width, int $height, int $inner_bevel, int $outer_bevel | Gmagick', 'return_type': 'Gmagick'},
\ 'gammaimage': { 'signature': 'float $gamma | Gmagick', 'return_type': 'Gmagick'},
\ 'getcopyright': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getfilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getimagebackgroundcolor': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getimageblueprimary': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getimagebordercolor': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getimagechanneldepth': { 'signature': 'int $channel_type | int', 'return_type': 'int'},
\ 'getimagecolors': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagecolorspace': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagecompose': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagedelay': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagedepth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagedispose': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimageextrema': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getimagefilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getimageformat': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getimagegamma': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getimagegreenprimary': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getimageheight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagehistogram': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getimageindex': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimageinterlacescheme': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimageiterations': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagematte': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagemattecolor': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getimageprofile': { 'signature': 'string $name | string', 'return_type': 'string'},
\ 'getimageredprimary': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getimagerenderingintent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimageresolution': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getimagescene': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagesignature': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getimagetype': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimageunits': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getimagewhitepoint': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getimagewidth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getpackagename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getquantumdepth': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getreleasedate': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getsamplingfactors': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getsize': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getversion': { 'signature': 'void | array', 'return_type': 'array'},
\ 'hasnextimage': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'haspreviousimage': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'implodeimage': { 'signature': 'float $radius | mixed', 'return_type': 'mixed'},
\ 'labelimage': { 'signature': 'string $label | mixed', 'return_type': 'mixed'},
\ 'levelimage': { 'signature': 'float $blackPoint, float $gamma, float $whitePoint [, int $channel = Gmagick::CHANNEL_DEFAULT] | mixed', 'return_type': 'mixed'},
\ 'magnifyimage': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'mapimage': { 'signature': 'gmagick $gmagick, bool $dither | Gmagick', 'return_type': 'Gmagick'},
\ 'medianfilterimage': { 'signature': 'float $radius | void', 'return_type': 'void'},
\ 'minifyimage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'modulateimage': { 'signature': 'float $brightness, float $saturation, float $hue | void', 'return_type': 'void'},
\ 'motionblurimage': { 'signature': 'float $radius, float $sigma, float $angle | void', 'return_type': 'void'},
\ 'newimage': { 'signature': 'int $width, int $height, string $background [, string $format] | void', 'return_type': 'void'},
\ 'nextimage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'normalizeimage': { 'signature': '[ int $channel] | void', 'return_type': 'void'},
\ 'oilpaintimage': { 'signature': 'float $radius | void', 'return_type': 'void'},
\ 'previousimage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'profileimage': { 'signature': 'string $name, string $profile | void', 'return_type': 'void'},
\ 'quantizeimage': { 'signature': 'int $numColors, int $colorspace, int $treeDepth, bool $dither, bool $measureError | void', 'return_type': 'void'},
\ 'quantizeimages': { 'signature': 'int $numColors, int $colorspace, int $treeDepth, bool $dither, bool $measureError | void', 'return_type': 'void'},
\ 'queryfontmetrics': { 'signature': 'GmagickDraw $draw, string $text | array', 'return_type': 'array'},
\ 'queryfonts': { 'signature': '[ string $pattern = "*"] | array', 'return_type': 'array'},
\ 'queryformats': { 'signature': '[ string $pattern = "*"] | array', 'return_type': 'array'},
\ 'radialblurimage': { 'signature': 'float $angle [, int $channel = Gmagick::CHANNEL_DEFAULT] | void', 'return_type': 'void'},
\ 'raiseimage': { 'signature': 'int $width, int $height, int $x, int $y, bool $raise | void', 'return_type': 'void'},
\ 'read': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'readimage': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'readimageblob': { 'signature': 'string $imageContents [, string $filename] | void', 'return_type': 'void'},
\ 'readimagefile': { 'signature': 'resource $fp [, string $filename] | void', 'return_type': 'void'},
\ 'reducenoiseimage': { 'signature': 'float $radius | void', 'return_type': 'void'},
\ 'removeimage': { 'signature': 'void | void', 'return_type': 'void'},
\ 'removeimageprofile': { 'signature': 'string $name | string', 'return_type': 'string'},
\ 'resampleimage': { 'signature': 'float $xResolution, float $yResolution, int $filter, float $blur | void', 'return_type': 'void'},
\ 'resizeimage': { 'signature': 'int $width, int $height, int $filter, float $blur [, bool $fit = false] | void', 'return_type': 'void'},
\ 'rollimage': { 'signature': 'int $x, int $y | void', 'return_type': 'void'},
\ 'rotateimage': { 'signature': 'mixed $color, float $degrees | Gmagick', 'return_type': 'Gmagick'},
\ 'scaleimage': { 'signature': 'int $width, int $height [, bool $fit = false] | Gmagick', 'return_type': 'Gmagick'},
\ 'separateimagechannel': { 'signature': 'int $channel | Gmagick', 'return_type': 'Gmagick'},
\ 'setfilename': { 'signature': 'string $filename | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagebackgroundcolor': { 'signature': 'GmagickPixel $color | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageblueprimary': { 'signature': 'float $x, float $y | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagebordercolor': { 'signature': 'GmagickPixel $color | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagechanneldepth': { 'signature': 'int $channel, int $depth | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagecolorspace': { 'signature': 'int $colorspace | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagecompose': { 'signature': 'int $composite | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagedelay': { 'signature': 'int $delay | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagedepth': { 'signature': 'int $depth | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagedispose': { 'signature': 'int $disposeType | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagefilename': { 'signature': 'string $filename | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageformat': { 'signature': 'string $imageFormat | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagegamma': { 'signature': 'float $gamma | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagegreenprimary': { 'signature': 'float $x, float $y | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageindex': { 'signature': 'int $index | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageinterlacescheme': { 'signature': 'int $interlace | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageiterations': { 'signature': 'int $iterations | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageprofile': { 'signature': 'string $name, string $profile | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageredprimary': { 'signature': 'float $x, float $y | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagerenderingintent': { 'signature': 'int $rendering_intent | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageresolution': { 'signature': 'float $xResolution, float $yResolution | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagescene': { 'signature': 'int $scene | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagetype': { 'signature': 'int $imgType | Gmagick', 'return_type': 'Gmagick'},
\ 'setimageunits': { 'signature': 'int $resolution | Gmagick', 'return_type': 'Gmagick'},
\ 'setimagewhitepoint': { 'signature': 'float $x, float $y | Gmagick', 'return_type': 'Gmagick'},
\ 'setsamplingfactors': { 'signature': 'array $factors | Gmagick', 'return_type': 'Gmagick'},
\ 'setsize': { 'signature': 'int $columns, int $rows | Gmagick', 'return_type': 'Gmagick'},
\ 'shearimage': { 'signature': 'mixed $color, float $xShear, float $yShear | Gmagick', 'return_type': 'Gmagick'},
\ 'solarizeimage': { 'signature': 'int $threshold | Gmagick', 'return_type': 'Gmagick'},
\ 'spreadimage': { 'signature': 'float $radius | Gmagick', 'return_type': 'Gmagick'},
\ 'stripimage': { 'signature': 'void | Gmagick', 'return_type': 'Gmagick'},
\ 'swirlimage': { 'signature': 'float $degrees | Gmagick', 'return_type': 'Gmagick'},
\ 'thumbnailimage': { 'signature': 'int $width, int $height [, bool $fit = false] | Gmagick', 'return_type': 'Gmagick'},
\ 'trimimage': { 'signature': 'float $fuzz | Gmagick', 'return_type': 'Gmagick'},
\ 'write': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'writeimage': { 'signature': 'string $filename [, bool $all_frames = false] | Gmagick', 'return_type': 'Gmagick'},
\ },
\ 'static_methods': {
\ },
\},
\'gmagickdraw': {
\ 'name': 'GmagickDraw',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'annotate': { 'signature': 'float $x, float $y, string $text | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'arc': { 'signature': 'float $sx, float $sy, float $ex, float $ey, float $sd, float $ed | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'bezier': { 'signature': 'array $coordinate_array | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'ellipse': { 'signature': 'float $ox, float $oy, float $rx, float $ry, float $start, float $end | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'getfillcolor': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getfillopacity': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getfont': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getfontsize': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getfontstyle': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getfontweight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getstrokecolor': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getstrokeopacity': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getstrokewidth': { 'signature': 'void | float', 'return_type': 'float'},
\ 'gettextdecoration': { 'signature': 'void | int', 'return_type': 'int'},
\ 'gettextencoding': { 'signature': 'void | string', 'return_type': 'string'},
\ 'line': { 'signature': 'float $sx, float $sy, float $ex, float $ey | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'point': { 'signature': 'float $x, float $y | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'polygon': { 'signature': 'array $coordinates | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'polyline': { 'signature': 'array $coordinate_array | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'rectangle': { 'signature': 'float $x1, float $y1, float $x2, float $y2 | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'rotate': { 'signature': 'float $degrees | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'roundrectangle': { 'signature': 'float $x1, float $y1, float $x2, float $y2, float $rx, float $ry | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'scale': { 'signature': 'float $x, float $y | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setfillcolor': { 'signature': 'string $color | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setfillopacity': { 'signature': 'float $fill_opacity | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setfont': { 'signature': 'string $font | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setfontsize': { 'signature': 'float $pointsize | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setfontstyle': { 'signature': 'int $style | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setfontweight': { 'signature': 'int $weight | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setstrokecolor': { 'signature': 'GmagickPixel $color | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setstrokeopacity': { 'signature': 'float $stroke_opacity | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'setstrokewidth': { 'signature': 'float $width | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'settextdecoration': { 'signature': 'int $decoration | GmagickDraw', 'return_type': 'GmagickDraw'},
\ 'settextencoding': { 'signature': 'string $encoding | GmagickDraw', 'return_type': 'GmagickDraw'},
\ },
\ 'static_methods': {
\ },
\},
\'gmagickpixel': {
\ 'name': 'GmagickPixel',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $color]', 'return_type': ''},
\ 'getcolor': { 'signature': '[ bool $as_array [, bool $normalize_array]] | mixed', 'return_type': 'mixed'},
\ 'getcolorcount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getcolorvalue': { 'signature': 'int $color | float', 'return_type': 'float'},
\ 'setcolor': { 'signature': 'string $color | GmagickPixel', 'return_type': 'GmagickPixel'},
\ 'setcolorvalue': { 'signature': 'int $color, float $value | GmagickPixel', 'return_type': 'GmagickPixel'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['haru'] = {
\'haruannotation': {
\ 'name': 'HaruAnnotation',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'setBorderStyle': { 'signature': 'float $width, int $dash_on, int $dash_off | bool', 'return_type': 'bool'},
\ 'setHighlightMode': { 'signature': 'int $mode | bool', 'return_type': 'bool'},
\ 'setIcon': { 'signature': 'int $icon | bool', 'return_type': 'bool'},
\ 'setOpened': { 'signature': 'bool $opened | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'harudestination': {
\ 'name': 'HaruDestination',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'setFit': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setFitB': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setFitBH': { 'signature': 'float $top | bool', 'return_type': 'bool'},
\ 'setFitBV': { 'signature': 'float $left | bool', 'return_type': 'bool'},
\ 'setFitH': { 'signature': 'float $top | bool', 'return_type': 'bool'},
\ 'setFitR': { 'signature': 'float $left, float $bottom, float $right, float $top | bool', 'return_type': 'bool'},
\ 'setFitV': { 'signature': 'float $left | bool', 'return_type': 'bool'},
\ 'setXYZ': { 'signature': 'float $left, float $top, float $zoom | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'harudoc': {
\ 'name': 'HaruDoc',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addPage': { 'signature': 'void | object', 'return_type': 'object'},
\ 'addPageLabel': { 'signature': 'int $first_page, int $style, int $first_num [, string $prefix = ""] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'createOutline': { 'signature': 'string $title [, object $parent_outline [, object $encoder]] | object', 'return_type': 'object'},
\ 'getCurrentEncoder': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getCurrentPage': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getEncoder': { 'signature': 'string $encoding | object', 'return_type': 'object'},
\ 'getFont': { 'signature': 'string $fontname [, string $encoding] | object', 'return_type': 'object'},
\ 'getInfoAttr': { 'signature': 'int $type | string', 'return_type': 'string'},
\ 'getPageLayout': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPageMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStreamSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'insertPage': { 'signature': 'object $page | object', 'return_type': 'object'},
\ 'loadJPEG': { 'signature': 'string $filename | object', 'return_type': 'object'},
\ 'loadPNG': { 'signature': 'string $filename [, bool $deferred = false] | object', 'return_type': 'object'},
\ 'loadRaw': { 'signature': 'string $filename, int $width, int $height, int $color_space | object', 'return_type': 'object'},
\ 'loadTTC': { 'signature': 'string $fontfile, int $index [, bool $embed = false] | string', 'return_type': 'string'},
\ 'loadTTF': { 'signature': 'string $fontfile [, bool $embed = false] | string', 'return_type': 'string'},
\ 'loadType1': { 'signature': 'string $afmfile [, string $pfmfile] | string', 'return_type': 'string'},
\ 'output': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'readFromStream': { 'signature': 'int $bytes | string', 'return_type': 'string'},
\ 'resetError': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'resetStream': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'save': { 'signature': 'string $file | bool', 'return_type': 'bool'},
\ 'saveToStream': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setCompressionMode': { 'signature': 'int $mode | bool', 'return_type': 'bool'},
\ 'setCurrentEncoder': { 'signature': 'string $encoding | bool', 'return_type': 'bool'},
\ 'setEncryptionMode': { 'signature': 'int $mode [, int $key_len = 5] | bool', 'return_type': 'bool'},
\ 'setInfoAttr': { 'signature': 'int $type, string $info | bool', 'return_type': 'bool'},
\ 'setInfoDateAttr': { 'signature': 'int $type, int $year, int $month, int $day, int $hour, int $min, int $sec, string $ind, int $off_hour, int $off_min | bool', 'return_type': 'bool'},
\ 'setOpenAction': { 'signature': 'object $destination | bool', 'return_type': 'bool'},
\ 'setPageLayout': { 'signature': 'int $layout | bool', 'return_type': 'bool'},
\ 'setPageMode': { 'signature': 'int $mode | bool', 'return_type': 'bool'},
\ 'setPagesConfiguration': { 'signature': 'int $page_per_pages | bool', 'return_type': 'bool'},
\ 'setPassword': { 'signature': 'string $owner_password, string $user_password | bool', 'return_type': 'bool'},
\ 'setPermission': { 'signature': 'int $permission | bool', 'return_type': 'bool'},
\ 'useCNSEncodings': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'useCNSFonts': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'useCNTEncodings': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'useCNTFonts': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'useJPEncodings': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'useJPFonts': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'useKREncodings': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'useKRFonts': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'haruencoder': {
\ 'name': 'HaruEncoder',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getByteType': { 'signature': 'string $text, int $index | int', 'return_type': 'int'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getUnicode': { 'signature': 'int $character | int', 'return_type': 'int'},
\ 'getWritingMode': { 'signature': 'void | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'haruexception': {
\ 'name': 'HaruException',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'harufont': {
\ 'name': 'HaruFont',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getAscent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCapHeight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDescent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getEncodingName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFontName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTextWidth': { 'signature': 'string $text | array', 'return_type': 'array'},
\ 'getUnicodeWidth': { 'signature': 'int $character | int', 'return_type': 'int'},
\ 'getXHeight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'measureText': { 'signature': 'string $text, float $width, float $font_size, float $char_space, float $word_space [, bool $word_wrap = false] | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'haruimage': {
\ 'name': 'HaruImage',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getBitsPerComponent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getColorSpace': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getHeight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getSize': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getWidth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setColorMask': { 'signature': 'int $rmin, int $rmax, int $gmin, int $gmax, int $bmin, int $bmax | bool', 'return_type': 'bool'},
\ 'setMaskImage': { 'signature': 'object $mask_image | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'haruoutline': {
\ 'name': 'HaruOutline',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'setDestination': { 'signature': 'object $destination | bool', 'return_type': 'bool'},
\ 'setOpened': { 'signature': 'bool $opened | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'harupage': {
\ 'name': 'HaruPage',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'arc': { 'signature': 'float $x, float $y, float $ray, float $ang1, float $ang2 | bool', 'return_type': 'bool'},
\ 'beginText': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'circle': { 'signature': 'float $x, float $y, float $ray | bool', 'return_type': 'bool'},
\ 'closePath': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'concat': { 'signature': 'float $a, float $b, float $c, float $d, float $x, float $y | bool', 'return_type': 'bool'},
\ 'createDestination': { 'signature': 'void | object', 'return_type': 'object'},
\ 'createLinkAnnotation': { 'signature': 'array $rectangle, object $destination | object', 'return_type': 'object'},
\ 'createTextAnnotation': { 'signature': 'array $rectangle, string $text [, object $encoder] | object', 'return_type': 'object'},
\ 'createURLAnnotation': { 'signature': 'array $rectangle, string $url | object', 'return_type': 'object'},
\ 'curveTo2': { 'signature': 'float $x2, float $y2, float $x3, float $y3 | bool', 'return_type': 'bool'},
\ 'curveTo3': { 'signature': 'float $x1, float $y1, float $x3, float $y3 | bool', 'return_type': 'bool'},
\ 'curveTo': { 'signature': 'float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 | bool', 'return_type': 'bool'},
\ 'drawImage': { 'signature': 'object $image, float $x, float $y, float $width, float $height | bool', 'return_type': 'bool'},
\ 'ellipse': { 'signature': 'float $x, float $y, float $xray, float $yray | bool', 'return_type': 'bool'},
\ 'endPath': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'endText': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'eofill': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'eoFillStroke': { 'signature': '[ bool $close_path = false] | bool', 'return_type': 'bool'},
\ 'fill': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'fillStroke': { 'signature': '[ bool $close_path = false] | bool', 'return_type': 'bool'},
\ 'getCharSpace': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getCMYKFill': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getCMYKStroke': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getCurrentFont': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getCurrentFontSize': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getCurrentPos': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getCurrentTextPos': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getDash': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFillingColorSpace': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getFlatness': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getGMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getGrayFill': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getGrayStroke': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getHeight': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getHorizontalScaling': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getLineCap': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLineJoin': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLineWidth': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getMiterLimit': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getRGBFill': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getRGBStroke': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStrokingColorSpace': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTextLeading': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getTextMatrix': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTextRenderingMode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTextRise': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getTextWidth': { 'signature': 'string $text | float', 'return_type': 'float'},
\ 'getTransMatrix': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getWidth': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getWordSpace': { 'signature': 'void | float', 'return_type': 'float'},
\ 'lineTo': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'measureText': { 'signature': 'string $text, float $width [, bool $wordwrap = false] | int', 'return_type': 'int'},
\ 'moveTextPos': { 'signature': 'float $x, float $y [, bool $set_leading = false] | bool', 'return_type': 'bool'},
\ 'moveTo': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'moveToNextLine': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'rectangle': { 'signature': 'float $x, float $y, float $width, float $height | bool', 'return_type': 'bool'},
\ 'setCharSpace': { 'signature': 'float $char_space | bool', 'return_type': 'bool'},
\ 'setCMYKFill': { 'signature': 'float $c, float $m, float $y, float $k | bool', 'return_type': 'bool'},
\ 'setCMYKStroke': { 'signature': 'float $c, float $m, float $y, float $k | bool', 'return_type': 'bool'},
\ 'setDash': { 'signature': 'array $pattern, int $phase | bool', 'return_type': 'bool'},
\ 'setFlatness': { 'signature': 'float $flatness | bool', 'return_type': 'bool'},
\ 'setFontAndSize': { 'signature': 'object $font, float $size | bool', 'return_type': 'bool'},
\ 'setGrayFill': { 'signature': 'float $value | bool', 'return_type': 'bool'},
\ 'setGrayStroke': { 'signature': 'float $value | bool', 'return_type': 'bool'},
\ 'setHeight': { 'signature': 'float $height | bool', 'return_type': 'bool'},
\ 'setHorizontalScaling': { 'signature': 'float $scaling | bool', 'return_type': 'bool'},
\ 'setLineCap': { 'signature': 'int $cap | bool', 'return_type': 'bool'},
\ 'setLineJoin': { 'signature': 'int $join | bool', 'return_type': 'bool'},
\ 'setLineWidth': { 'signature': 'float $width | bool', 'return_type': 'bool'},
\ 'setMiterLimit': { 'signature': 'float $limit | bool', 'return_type': 'bool'},
\ 'setRGBFill': { 'signature': 'float $r, float $g, float $b | bool', 'return_type': 'bool'},
\ 'setRGBStroke': { 'signature': 'float $r, float $g, float $b | bool', 'return_type': 'bool'},
\ 'setRotate': { 'signature': 'int $angle | bool', 'return_type': 'bool'},
\ 'setSize': { 'signature': 'int $size, int $direction | bool', 'return_type': 'bool'},
\ 'setSlideShow': { 'signature': 'int $type, float $disp_time, float $trans_time | bool', 'return_type': 'bool'},
\ 'setTextLeading': { 'signature': 'float $text_leading | bool', 'return_type': 'bool'},
\ 'setTextMatrix': { 'signature': 'float $a, float $b, float $c, float $d, float $x, float $y | bool', 'return_type': 'bool'},
\ 'setTextRenderingMode': { 'signature': 'int $mode | bool', 'return_type': 'bool'},
\ 'setTextRise': { 'signature': 'float $rise | bool', 'return_type': 'bool'},
\ 'setWidth': { 'signature': 'float $width | bool', 'return_type': 'bool'},
\ 'setWordSpace': { 'signature': 'float $word_space | bool', 'return_type': 'bool'},
\ 'showText': { 'signature': 'string $text | bool', 'return_type': 'bool'},
\ 'showTextNextLine': { 'signature': 'string $text [, float $word_space = 0 [, float $char_space = 0]] | bool', 'return_type': 'bool'},
\ 'stroke': { 'signature': '[ bool $close_path = false] | bool', 'return_type': 'bool'},
\ 'textOut': { 'signature': 'float $x, float $y, string $text | bool', 'return_type': 'bool'},
\ 'textRect': { 'signature': 'float $left, float $top, float $right, float $bottom, string $text [, int $align = HaruPage::TALIGN_LEFT] | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['http'] = {
\'httpdeflatestream': {
\ 'name': 'HttpDeflateStream',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ int $flags = 0]', 'return_type': ''},
\ 'factory': { 'signature': '[ int $flags = 0 [, string $class_name = "HttpDeflateStream"]] | HttpDeflateStream', 'return_type': 'HttpDeflateStream'},
\ 'finish': { 'signature': '[ string $data] | string', 'return_type': 'string'},
\ 'flush': { 'signature': '[ string $data] | string', 'return_type': 'string'},
\ 'update': { 'signature': 'string $data | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'httpinflatestream': {
\ 'name': 'HttpInflateStream',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ int $flags = 0]', 'return_type': ''},
\ 'factory': { 'signature': '[ int $flags = 0 [, string $class_name = "HttpInflateStream"]] | HttpInflateStream', 'return_type': 'HttpInflateStream'},
\ 'finish': { 'signature': '[ string $data] | string', 'return_type': 'string'},
\ 'flush': { 'signature': '[ string $data] | string', 'return_type': 'string'},
\ 'update': { 'signature': 'string $data | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'httpmessage': {
\ 'name': 'HttpMessage',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addHeaders': { 'signature': 'array $headers [, bool $append = false] | void', 'return_type': 'void'},
\ '__construct': { 'signature': '[ string $message]', 'return_type': ''},
\ 'detach': { 'signature': 'void | HttpMessage', 'return_type': 'HttpMessage'},
\ 'factory': { 'signature': '[ string $raw_message [, string $class_name = "HttpMessage"]] | HttpMessage', 'return_type': 'HttpMessage'},
\ 'fromEnv': { 'signature': 'int $message_type [, string $class_name = "HttpMessage"] | HttpMessage', 'return_type': 'HttpMessage'},
\ 'fromString': { 'signature': '[ string $raw_message [, string $class_name = "HttpMessage"]] | HttpMessage', 'return_type': 'HttpMessage'},
\ 'getBody': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getHeader': { 'signature': 'string $header | string', 'return_type': 'string'},
\ 'getHeaders': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getHttpVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getParentMessage': { 'signature': 'void | HttpMessage', 'return_type': 'HttpMessage'},
\ 'getRequestMethod': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getRequestUrl': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getResponseCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getResponseStatus': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'guessContentType': { 'signature': 'string $magic_file [, int $magic_mode = MAGIC_MIME] | string', 'return_type': 'string'},
\ 'prepend': { 'signature': 'HttpMessage $message [, bool $top = true] | void', 'return_type': 'void'},
\ 'reverse': { 'signature': 'void | HttpMessage', 'return_type': 'HttpMessage'},
\ 'send': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setBody': { 'signature': 'string $body | void', 'return_type': 'void'},
\ 'setHeaders': { 'signature': 'array $headers | void', 'return_type': 'void'},
\ 'setHttpVersion': { 'signature': 'string $version | bool', 'return_type': 'bool'},
\ 'setRequestMethod': { 'signature': 'string $method | bool', 'return_type': 'bool'},
\ 'setRequestUrl': { 'signature': 'string $url | bool', 'return_type': 'bool'},
\ 'setResponseCode': { 'signature': 'int $code | bool', 'return_type': 'bool'},
\ 'setResponseStatus': { 'signature': 'string $status | bool', 'return_type': 'bool'},
\ 'setType': { 'signature': 'int $type | void', 'return_type': 'void'},
\ 'toMessageTypeObject': { 'signature': 'void | HttpRequest|HttpResponse', 'return_type': 'HttpRequest|HttpResponse'},
\ 'toString': { 'signature': '[ bool $include_parent = false] | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'httpquerystring': {
\ 'name': 'HttpQueryString',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ bool $global = true [, mixed $add]]', 'return_type': ''},
\ 'get': { 'signature': '[ string $key [, mixed $type = 0 [, mixed $defval = NULL [, bool $delete = false]]]] | mixed', 'return_type': 'mixed'},
\ 'mod': { 'signature': 'mixed $params | HttpQueryString', 'return_type': 'HttpQueryString'},
\ 'set': { 'signature': 'mixed $params | string', 'return_type': 'string'},
\ 'singleton': { 'signature': '[ bool $global = true] | HttpQueryString', 'return_type': 'HttpQueryString'},
\ 'toArray': { 'signature': 'void | array', 'return_type': 'array'},
\ 'toString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'xlate': { 'signature': 'string $ie, string $oe | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'httprequest': {
\ 'name': 'HttpRequest',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addCookies': { 'signature': 'array $cookies | bool', 'return_type': 'bool'},
\ 'addHeaders': { 'signature': 'array $headers | bool', 'return_type': 'bool'},
\ 'addPostFields': { 'signature': 'array $post_data | bool', 'return_type': 'bool'},
\ 'addPostFile': { 'signature': 'string $name, string $file [, string $content_type = "application/x-octetstream"] | bool', 'return_type': 'bool'},
\ 'addPutData': { 'signature': 'string $put_data | bool', 'return_type': 'bool'},
\ 'addQueryData': { 'signature': 'array $query_params | bool', 'return_type': 'bool'},
\ 'addRawPostData': { 'signature': 'string $raw_post_data | bool', 'return_type': 'bool'},
\ 'addSslOptions': { 'signature': 'array $options | bool', 'return_type': 'bool'},
\ 'clearHistory': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': '[ string $url [, int $request_method = HTTP_METH_GET [, array $options]]]', 'return_type': ''},
\ 'enableCookies': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getContentType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getCookies': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getHeaders': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getHistory': { 'signature': 'void | HttpMessage', 'return_type': 'HttpMessage'},
\ 'getMethod': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getOptions': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getPostFields': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getPostFiles': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getPutData': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPutFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getQueryData': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getRawPostData': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getRawRequestMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getRawResponseMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getRequestMessage': { 'signature': 'void | HttpMessage', 'return_type': 'HttpMessage'},
\ 'getResponseBody': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getResponseCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getResponseCookies': { 'signature': '[ int $flags = 0 [, array $allowed_extras]] | array', 'return_type': 'array'},
\ 'getResponseData': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getResponseHeader': { 'signature': '[ string $name] | mixed', 'return_type': 'mixed'},
\ 'getResponseInfo': { 'signature': '[ string $name] | mixed', 'return_type': 'mixed'},
\ 'getResponseMessage': { 'signature': 'void | HttpMessage', 'return_type': 'HttpMessage'},
\ 'getResponseStatus': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSslOptions': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getUrl': { 'signature': 'void | string', 'return_type': 'string'},
\ 'resetCookies': { 'signature': '[ bool $session_only = false] | bool', 'return_type': 'bool'},
\ 'send': { 'signature': 'void | HttpMessage', 'return_type': 'HttpMessage'},
\ 'setBody': { 'signature': '[ string $request_body_data] | bool', 'return_type': 'bool'},
\ 'setContentType': { 'signature': 'string $content_type | bool', 'return_type': 'bool'},
\ 'setCookies': { 'signature': '[ array $cookies] | bool', 'return_type': 'bool'},
\ 'setHeaders': { 'signature': '[ array $headers] | bool', 'return_type': 'bool'},
\ 'setMethod': { 'signature': 'int $request_method | bool', 'return_type': 'bool'},
\ 'setOptions': { 'signature': '[ array $options] | bool', 'return_type': 'bool'},
\ 'setPostFields': { 'signature': 'array $post_data | bool', 'return_type': 'bool'},
\ 'setPostFiles': { 'signature': 'array $post_files | bool', 'return_type': 'bool'},
\ 'setPutData': { 'signature': '[ string $put_data] | bool', 'return_type': 'bool'},
\ 'setPutFile': { 'signature': '[ string $file = ""] | bool', 'return_type': 'bool'},
\ 'setQueryData': { 'signature': 'mixed $query_data | bool', 'return_type': 'bool'},
\ 'setRawPostData': { 'signature': '[ string $raw_post_data] | bool', 'return_type': 'bool'},
\ 'setSslOptions': { 'signature': '[ array $options] | bool', 'return_type': 'bool'},
\ 'setUrl': { 'signature': 'string $url | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'httprequestpool': {
\ 'name': 'HttpRequestPool',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'attach': { 'signature': 'HttpRequest $request | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': '[ HttpRequest $request [, HttpRequest $...]]', 'return_type': ''},
\ '__destruct': { 'signature': 'void | void', 'return_type': 'void'},
\ 'detach': { 'signature': 'HttpRequest $request | bool', 'return_type': 'bool'},
\ 'getAttachedRequests': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFinishedRequests': { 'signature': 'void | array', 'return_type': 'array'},
\ 'reset': { 'signature': 'void | void', 'return_type': 'void'},
\ 'send': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'socketPerform': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'socketSelect': { 'signature': '[ float $timeout = 0] | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'httpresponse': {
\ 'name': 'HttpResponse',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'capture': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getBufferSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCache': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getCacheControl': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getContentDisposition': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getContentType': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getData': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getETag': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGzip': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getHeader': { 'signature': '[ string $name] | mixed', 'return_type': 'mixed'},
\ 'getLastModified': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getRequestBody': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getRequestBodyStream': { 'signature': 'void | resource', 'return_type': 'resource'},
\ 'getRequestHeaders': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStream': { 'signature': 'void | resource', 'return_type': 'resource'},
\ 'getThrottleDelay': { 'signature': 'void | float', 'return_type': 'float'},
\ 'guessContentType': { 'signature': 'string $magic_file [, int $magic_mode = MAGIC_MIME] | string', 'return_type': 'string'},
\ 'redirect': { 'signature': '[ string $url [, array $params [, bool $session = false [, int $status]]]] | void', 'return_type': 'void'},
\ 'send': { 'signature': '[ bool $clean_ob = true] | bool', 'return_type': 'bool'},
\ 'setBufferSize': { 'signature': 'int $bytes | bool', 'return_type': 'bool'},
\ 'setCache': { 'signature': 'bool $cache | bool', 'return_type': 'bool'},
\ 'setCacheControl': { 'signature': 'string $control [, int $max_age = 0 [, bool $must_revalidate = true]] | bool', 'return_type': 'bool'},
\ 'setContentDisposition': { 'signature': 'string $filename [, bool $inline = false] | bool', 'return_type': 'bool'},
\ 'setContentType': { 'signature': 'string $content_type | bool', 'return_type': 'bool'},
\ 'setData': { 'signature': 'mixed $data | bool', 'return_type': 'bool'},
\ 'setETag': { 'signature': 'string $etag | bool', 'return_type': 'bool'},
\ 'setFile': { 'signature': 'string $file | bool', 'return_type': 'bool'},
\ 'setGzip': { 'signature': 'bool $gzip | bool', 'return_type': 'bool'},
\ 'setHeader': { 'signature': 'string $name [, mixed $value [, bool $replace = true]] | bool', 'return_type': 'bool'},
\ 'setLastModified': { 'signature': 'int $timestamp | bool', 'return_type': 'bool'},
\ 'setStream': { 'signature': 'resource $stream | bool', 'return_type': 'bool'},
\ 'setThrottleDelay': { 'signature': 'float $seconds | bool', 'return_type': 'bool'},
\ 'status': { 'signature': 'int $status | bool', 'return_type': 'bool'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['imagemagick'] = {
\'imagick': {
\ 'name': 'Imagick',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'adaptiveBlurImage': { 'signature': 'float $radius, float $sigma [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'adaptiveResizeImage': { 'signature': 'int $columns, int $rows [, bool $bestfit = false] | bool', 'return_type': 'bool'},
\ 'adaptiveSharpenImage': { 'signature': 'float $radius, float $sigma [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'adaptiveThresholdImage': { 'signature': 'int $width, int $height, int $offset | bool', 'return_type': 'bool'},
\ 'addImage': { 'signature': 'Imagick $source | bool', 'return_type': 'bool'},
\ 'addNoiseImage': { 'signature': 'int $noise_type [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'affineTransformImage': { 'signature': 'ImagickDraw $matrix | bool', 'return_type': 'bool'},
\ 'animateImages': { 'signature': 'string $x_server | bool', 'return_type': 'bool'},
\ 'annotateImage': { 'signature': 'ImagickDraw $draw_settings, float $x, float $y, float $angle, string $text | bool', 'return_type': 'bool'},
\ 'appendImages': { 'signature': '[ bool $stack = false] | Imagick', 'return_type': 'Imagick'},
\ 'averageImages': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'blackThresholdImage': { 'signature': 'mixed $threshold | bool', 'return_type': 'bool'},
\ 'blurImage': { 'signature': 'float $radius, float $sigma [, int $channel] | bool', 'return_type': 'bool'},
\ 'borderImage': { 'signature': 'mixed $bordercolor, int $width, int $height | bool', 'return_type': 'bool'},
\ 'charcoalImage': { 'signature': 'float $radius, float $sigma | bool', 'return_type': 'bool'},
\ 'chopImage': { 'signature': 'int $width, int $height, int $x, int $y | bool', 'return_type': 'bool'},
\ 'clear': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'clipImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'clipPathImage': { 'signature': 'string $pathname, bool $inside | bool', 'return_type': 'bool'},
\ 'clone': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'clutImage': { 'signature': 'Imagick $lookup_table [, float $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'coalesceImages': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'colorFloodfillImage': { 'signature': 'mixed $fill, float $fuzz, mixed $bordercolor, int $x, int $y | bool', 'return_type': 'bool'},
\ 'colorizeImage': { 'signature': 'mixed $colorize, mixed $opacity | bool', 'return_type': 'bool'},
\ 'combineImages': { 'signature': 'int $channelType | Imagick', 'return_type': 'Imagick'},
\ 'commentImage': { 'signature': 'string $comment | bool', 'return_type': 'bool'},
\ 'compareImageChannels': { 'signature': 'Imagick $image, int $channelType, int $metricType | array', 'return_type': 'array'},
\ 'compareImageLayers': { 'signature': 'int $method | Imagick', 'return_type': 'Imagick'},
\ 'compareImages': { 'signature': 'Imagick $compare, int $metric | array', 'return_type': 'array'},
\ 'compositeImage': { 'signature': 'Imagick $composite_object, int $composite, int $x, int $y [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'mixed $files', 'return_type': ''},
\ 'contrastImage': { 'signature': 'bool $sharpen | bool', 'return_type': 'bool'},
\ 'contrastStretchImage': { 'signature': 'float $black_point, float $white_point [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'convolveImage': { 'signature': 'array $kernel [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'cropImage': { 'signature': 'int $width, int $height, int $x, int $y | bool', 'return_type': 'bool'},
\ 'cropThumbnailImage': { 'signature': 'int $width, int $height | bool', 'return_type': 'bool'},
\ 'current': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'cycleColormapImage': { 'signature': 'int $displace | bool', 'return_type': 'bool'},
\ 'decipherImage': { 'signature': 'string $passphrase | bool', 'return_type': 'bool'},
\ 'deconstructImages': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'deleteImageArtifact': { 'signature': 'string $artifact | bool', 'return_type': 'bool'},
\ 'deskewImage': { 'signature': 'float $threshold | bool', 'return_type': 'bool'},
\ 'despeckleImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'destroy': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'displayImage': { 'signature': 'string $servername | bool', 'return_type': 'bool'},
\ 'displayImages': { 'signature': 'string $servername | bool', 'return_type': 'bool'},
\ 'distortImage': { 'signature': 'int $method, array $arguments, bool $bestfit | bool', 'return_type': 'bool'},
\ 'drawImage': { 'signature': 'ImagickDraw $draw | bool', 'return_type': 'bool'},
\ 'edgeImage': { 'signature': 'float $radius | bool', 'return_type': 'bool'},
\ 'embossImage': { 'signature': 'float $radius, float $sigma | bool', 'return_type': 'bool'},
\ 'encipherImage': { 'signature': 'string $passphrase | bool', 'return_type': 'bool'},
\ 'enhanceImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'equalizeImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'evaluateImage': { 'signature': 'int $op, float $constant [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'exportImagePixels': { 'signature': 'int $x, int $y, int $width, int $height, string $map, int $STORAGE | array', 'return_type': 'array'},
\ 'extentImage': { 'signature': 'int $width, int $height, int $x, int $y | bool', 'return_type': 'bool'},
\ 'flattenImages': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'flipImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'floodFillPaintImage': { 'signature': 'mixed $fill, float $fuzz, mixed $target, int $x, int $y, bool $invert [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'flopImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'frameImage': { 'signature': 'mixed $matte_color, int $width, int $height, int $inner_bevel, int $outer_bevel | bool', 'return_type': 'bool'},
\ 'functionImage': { 'signature': 'int $function, array $arguments [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'fxImage': { 'signature': 'string $expression [, int $channel = Imagick::CHANNEL_ALL] | Imagick', 'return_type': 'Imagick'},
\ 'gammaImage': { 'signature': 'float $gamma [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'gaussianBlurImage': { 'signature': 'float $radius, float $sigma [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'getColorspace': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCompression': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCompressionQuality': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCopyright': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFont': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFormat': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGravity': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getHomeURL': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getImage': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'getImageAlphaChannel': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageArtifact': { 'signature': 'string $artifact | string', 'return_type': 'string'},
\ 'getImageBackgroundColor': { 'signature': 'void | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getImageBlob': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getImageBluePrimary': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageBorderColor': { 'signature': 'void | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getImageChannelDepth': { 'signature': 'int $channel | int', 'return_type': 'int'},
\ 'getImageChannelDistortion': { 'signature': 'Imagick $reference, int $channel, int $metric | float', 'return_type': 'float'},
\ 'getImageChannelDistortions': { 'signature': 'Imagick $reference, int $metric [, int $channel = Imagick::CHANNEL_DEFAULT] | float', 'return_type': 'float'},
\ 'getImageChannelExtrema': { 'signature': 'int $channel | array', 'return_type': 'array'},
\ 'getImageChannelKurtosis': { 'signature': '[ int $channel = Imagick::CHANNEL_DEFAULT] | array', 'return_type': 'array'},
\ 'getImageChannelMean': { 'signature': 'int $channel | array', 'return_type': 'array'},
\ 'getImageChannelRange': { 'signature': 'int $channel | array', 'return_type': 'array'},
\ 'getImageChannelStatistics': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageClipMask': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'getImageColormapColor': { 'signature': 'int $index | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getImageColors': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageColorspace': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageCompose': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageCompression': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageDelay': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageDepth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageDispose': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageDistortion': { 'signature': 'MagickWand $reference, int $metric | float', 'return_type': 'float'},
\ 'getImageExtrema': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getImageFormat': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getImageGamma': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getImageGeometry': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageGravity': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageGreenPrimary': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageHeight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageHistogram': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageIndex': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageInterlaceScheme': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageInterpolateMethod': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageIterations': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageLength': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageMagickLicense': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getImageMatte': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getImageMatteColor': { 'signature': 'void | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getImageOrientation': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImagePage': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImagePixelColor': { 'signature': 'int $x, int $y | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getImageProfile': { 'signature': 'string $name | string', 'return_type': 'string'},
\ 'getImageProfiles': { 'signature': '[ string $pattern = "*" [, bool $only_names = true]] | array', 'return_type': 'array'},
\ 'getImageProperties': { 'signature': '[ string $pattern = "*" [, bool $only_names = true]] | array', 'return_type': 'array'},
\ 'getImageProperty': { 'signature': 'string $name | string', 'return_type': 'string'},
\ 'getImageRedPrimary': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageRegion': { 'signature': 'int $width, int $height, int $x, int $y | Imagick', 'return_type': 'Imagick'},
\ 'getImageRenderingIntent': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageResolution': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImagesBlob': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getImageScene': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageSignature': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getImageSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageTicksPerSecond': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageTotalInkDensity': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getImageType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageUnits': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageVirtualPixelMethod': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getImageWhitePoint': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getImageWidth': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getInterlaceScheme': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getIteratorIndex': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNumberImages': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getOption': { 'signature': 'string $key | string', 'return_type': 'string'},
\ 'getPackageName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPage': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getPixelIterator': { 'signature': 'void | ImagickPixelIterator', 'return_type': 'ImagickPixelIterator'},
\ 'getPixelRegionIterator': { 'signature': 'int $x, int $y, int $columns, int $rows | ImagickPixelIterator', 'return_type': 'ImagickPixelIterator'},
\ 'getPointSize': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getQuantumDepth': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getQuantumRange': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getReleaseDate': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getResource': { 'signature': 'int $type | int', 'return_type': 'int'},
\ 'getResourceLimit': { 'signature': 'int $type | int', 'return_type': 'int'},
\ 'getSamplingFactors': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getSize': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getSizeOffset': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getVersion': { 'signature': 'void | array', 'return_type': 'array'},
\ 'haldClutImage': { 'signature': 'Imagick $clut [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'hasNextImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hasPreviousImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'identifyImage': { 'signature': '[ bool $appendRawOutput = false] | array', 'return_type': 'array'},
\ 'implodeImage': { 'signature': 'float $radius | bool', 'return_type': 'bool'},
\ 'importImagePixels': { 'signature': 'int $x, int $y, int $width, int $height, string $map, int $storage, array $pixels | bool', 'return_type': 'bool'},
\ 'labelImage': { 'signature': 'string $label | bool', 'return_type': 'bool'},
\ 'levelImage': { 'signature': 'float $blackPoint, float $gamma, float $whitePoint [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'linearStretchImage': { 'signature': 'float $blackPoint, float $whitePoint | bool', 'return_type': 'bool'},
\ 'liquidRescaleImage': { 'signature': 'int $width, int $height, float $delta_x, float $rigidity | bool', 'return_type': 'bool'},
\ 'magnifyImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'mapImage': { 'signature': 'Imagick $map, bool $dither | bool', 'return_type': 'bool'},
\ 'matteFloodfillImage': { 'signature': 'float $alpha, float $fuzz, mixed $bordercolor, int $x, int $y | bool', 'return_type': 'bool'},
\ 'medianFilterImage': { 'signature': 'float $radius | bool', 'return_type': 'bool'},
\ 'mergeImageLayers': { 'signature': 'int $layer_method | bool', 'return_type': 'bool'},
\ 'minifyImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'modulateImage': { 'signature': 'float $brightness, float $saturation, float $hue | bool', 'return_type': 'bool'},
\ 'montageImage': { 'signature': 'ImagickDraw $draw, string $tile_geometry, string $thumbnail_geometry, int $mode, string $frame | Imagick', 'return_type': 'Imagick'},
\ 'morphImages': { 'signature': 'int $number_frames | Imagick', 'return_type': 'Imagick'},
\ 'mosaicImages': { 'signature': 'void | Imagick', 'return_type': 'Imagick'},
\ 'motionBlurImage': { 'signature': 'float $radius, float $sigma, float $angle [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'negateImage': { 'signature': 'bool $gray [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'newImage': { 'signature': 'int $cols, int $rows, mixed $background [, string $format] | bool', 'return_type': 'bool'},
\ 'newPseudoImage': { 'signature': 'int $columns, int $rows, string $pseudoString | bool', 'return_type': 'bool'},
\ 'nextImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'normalizeImage': { 'signature': '[ int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'oilPaintImage': { 'signature': 'float $radius | bool', 'return_type': 'bool'},
\ 'opaquePaintImage': { 'signature': 'mixed $target, mixed $fill, float $fuzz, bool $invert [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'optimizeImageLayers': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'orderedPosterizeImage': { 'signature': 'string $threshold_map [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'paintFloodfillImage': { 'signature': 'mixed $fill, float $fuzz, mixed $bordercolor, int $x, int $y [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'paintOpaqueImage': { 'signature': 'mixed $target, mixed $fill, float $fuzz [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'paintTransparentImage': { 'signature': 'mixed $target, float $alpha, float $fuzz | bool', 'return_type': 'bool'},
\ 'pingImage': { 'signature': 'string $filename | bool', 'return_type': 'bool'},
\ 'pingImageBlob': { 'signature': 'string $image | bool', 'return_type': 'bool'},
\ 'pingImageFile': { 'signature': 'resource $filehandle [, string $fileName] | bool', 'return_type': 'bool'},
\ 'polaroidImage': { 'signature': 'ImagickDraw $properties, float $angle | bool', 'return_type': 'bool'},
\ 'posterizeImage': { 'signature': 'int $levels, bool $dither | bool', 'return_type': 'bool'},
\ 'previewImages': { 'signature': 'int $preview | bool', 'return_type': 'bool'},
\ 'previousImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'profileImage': { 'signature': 'string $name, string $profile | bool', 'return_type': 'bool'},
\ 'quantizeImage': { 'signature': 'int $numberColors, int $colorspace, int $treedepth, bool $dither, bool $measureError | bool', 'return_type': 'bool'},
\ 'quantizeImages': { 'signature': 'int $numberColors, int $colorspace, int $treedepth, bool $dither, bool $measureError | bool', 'return_type': 'bool'},
\ 'queryFontMetrics': { 'signature': 'ImagickDraw $properties, string $text [, bool $multiline] | array', 'return_type': 'array'},
\ 'queryFonts': { 'signature': '[ string $pattern = "*"] | array', 'return_type': 'array'},
\ 'queryFormats': { 'signature': '[ string $pattern = "*"] | array', 'return_type': 'array'},
\ 'radialBlurImage': { 'signature': 'float $angle [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'raiseImage': { 'signature': 'int $width, int $height, int $x, int $y, bool $raise | bool', 'return_type': 'bool'},
\ 'randomThresholdImage': { 'signature': 'float $low, float $high [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'readImage': { 'signature': 'string $filename | bool', 'return_type': 'bool'},
\ 'readImageBlob': { 'signature': 'string $image [, string $filename] | bool', 'return_type': 'bool'},
\ 'readImageFile': { 'signature': 'resource $filehandle [, string $fileName = null] | bool', 'return_type': 'bool'},
\ 'recolorImage': { 'signature': 'array $matrix | bool', 'return_type': 'bool'},
\ 'reduceNoiseImage': { 'signature': 'float $radius | bool', 'return_type': 'bool'},
\ 'remapImage': { 'signature': 'Imagick $replacement, int $DITHER | bool', 'return_type': 'bool'},
\ 'removeImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'removeImageProfile': { 'signature': 'string $name | string', 'return_type': 'string'},
\ 'render': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'resampleImage': { 'signature': 'float $x_resolution, float $y_resolution, int $filter, float $blur | bool', 'return_type': 'bool'},
\ 'resetImagePage': { 'signature': 'string $page | bool', 'return_type': 'bool'},
\ 'resizeImage': { 'signature': 'int $columns, int $rows, int $filter, float $blur [, bool $bestfit = false] | bool', 'return_type': 'bool'},
\ 'rollImage': { 'signature': 'int $x, int $y | bool', 'return_type': 'bool'},
\ 'rotateImage': { 'signature': 'mixed $background, float $degrees | bool', 'return_type': 'bool'},
\ 'roundCorners': { 'signature': 'float $x_rounding, float $y_rounding [, float $stroke_width = 10 [, float $displace = 5 [, float $size_correction = -6]]] | bool', 'return_type': 'bool'},
\ 'sampleImage': { 'signature': 'int $columns, int $rows | bool', 'return_type': 'bool'},
\ 'scaleImage': { 'signature': 'int $cols, int $rows [, bool $bestfit = false] | bool', 'return_type': 'bool'},
\ 'segmentImage': { 'signature': 'int $COLORSPACE, float $cluster_threshold, float $smooth_threshold [, bool $verbose = false] | bool', 'return_type': 'bool'},
\ 'separateImageChannel': { 'signature': 'int $channel | bool', 'return_type': 'bool'},
\ 'sepiaToneImage': { 'signature': 'float $threshold | bool', 'return_type': 'bool'},
\ 'setBackgroundColor': { 'signature': 'mixed $background | bool', 'return_type': 'bool'},
\ 'setColorspace': { 'signature': 'int $COLORSPACE | bool', 'return_type': 'bool'},
\ 'setCompression': { 'signature': 'int $compression | bool', 'return_type': 'bool'},
\ 'setCompressionQuality': { 'signature': 'int $quality | bool', 'return_type': 'bool'},
\ 'setFilename': { 'signature': 'string $filename | bool', 'return_type': 'bool'},
\ 'setFirstIterator': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setFont': { 'signature': 'string $font | bool', 'return_type': 'bool'},
\ 'setFormat': { 'signature': 'string $format | bool', 'return_type': 'bool'},
\ 'setGravity': { 'signature': 'int $gravity | bool', 'return_type': 'bool'},
\ 'setImage': { 'signature': 'Imagick $replace | bool', 'return_type': 'bool'},
\ 'setImageAlphaChannel': { 'signature': 'int $mode | bool', 'return_type': 'bool'},
\ 'setImageArtifact': { 'signature': 'string $artifact, string $value | bool', 'return_type': 'bool'},
\ 'setImageBackgroundColor': { 'signature': 'mixed $background | bool', 'return_type': 'bool'},
\ 'setImageBias': { 'signature': 'float $bias | bool', 'return_type': 'bool'},
\ 'setImageBluePrimary': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'setImageBorderColor': { 'signature': 'mixed $border | bool', 'return_type': 'bool'},
\ 'setImageChannelDepth': { 'signature': 'int $channel, int $depth | bool', 'return_type': 'bool'},
\ 'setImageClipMask': { 'signature': 'Imagick $clip_mask | bool', 'return_type': 'bool'},
\ 'setImageColormapColor': { 'signature': 'int $index, ImagickPixel $color | bool', 'return_type': 'bool'},
\ 'setImageColorspace': { 'signature': 'int $colorspace | bool', 'return_type': 'bool'},
\ 'setImageCompose': { 'signature': 'int $compose | bool', 'return_type': 'bool'},
\ 'setImageCompression': { 'signature': 'int $compression | bool', 'return_type': 'bool'},
\ 'setImageCompressionQuality': { 'signature': 'int $quality | bool', 'return_type': 'bool'},
\ 'setImageDelay': { 'signature': 'int $delay | bool', 'return_type': 'bool'},
\ 'setImageDepth': { 'signature': 'int $depth | bool', 'return_type': 'bool'},
\ 'setImageDispose': { 'signature': 'int $dispose | bool', 'return_type': 'bool'},
\ 'setImageExtent': { 'signature': 'int $columns, int $rows | bool', 'return_type': 'bool'},
\ 'setImageFilename': { 'signature': 'string $filename | bool', 'return_type': 'bool'},
\ 'setImageFormat': { 'signature': 'string $format | bool', 'return_type': 'bool'},
\ 'setImageGamma': { 'signature': 'float $gamma | bool', 'return_type': 'bool'},
\ 'setImageGravity': { 'signature': 'int $gravity | bool', 'return_type': 'bool'},
\ 'setImageGreenPrimary': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'setImageIndex': { 'signature': 'int $index | bool', 'return_type': 'bool'},
\ 'setImageInterlaceScheme': { 'signature': 'int $interlace_scheme | bool', 'return_type': 'bool'},
\ 'setImageInterpolateMethod': { 'signature': 'int $method | bool', 'return_type': 'bool'},
\ 'setImageIterations': { 'signature': 'int $iterations | bool', 'return_type': 'bool'},
\ 'setImageMatte': { 'signature': 'bool $matte | bool', 'return_type': 'bool'},
\ 'setImageMatteColor': { 'signature': 'mixed $matte | bool', 'return_type': 'bool'},
\ 'setImageOpacity': { 'signature': 'float $opacity | bool', 'return_type': 'bool'},
\ 'setImageOrientation': { 'signature': 'int $orientation | bool', 'return_type': 'bool'},
\ 'setImagePage': { 'signature': 'int $width, int $height, int $x, int $y | bool', 'return_type': 'bool'},
\ 'setImageProfile': { 'signature': 'string $name, string $profile | bool', 'return_type': 'bool'},
\ 'setImageProperty': { 'signature': 'string $name, string $value | bool', 'return_type': 'bool'},
\ 'setImageRedPrimary': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'setImageRenderingIntent': { 'signature': 'int $rendering_intent | bool', 'return_type': 'bool'},
\ 'setImageResolution': { 'signature': 'float $x_resolution, float $y_resolution | bool', 'return_type': 'bool'},
\ 'setImageScene': { 'signature': 'int $scene | bool', 'return_type': 'bool'},
\ 'setImageTicksPerSecond': { 'signature': 'int $ticks_per_second | bool', 'return_type': 'bool'},
\ 'setImageType': { 'signature': 'int $image_type | bool', 'return_type': 'bool'},
\ 'setImageUnits': { 'signature': 'int $units | bool', 'return_type': 'bool'},
\ 'setImageVirtualPixelMethod': { 'signature': 'int $method | bool', 'return_type': 'bool'},
\ 'setImageWhitePoint': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'setInterlaceScheme': { 'signature': 'int $interlace_scheme | bool', 'return_type': 'bool'},
\ 'setIteratorIndex': { 'signature': 'int $index | bool', 'return_type': 'bool'},
\ 'setLastIterator': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setOption': { 'signature': 'string $key, string $value | bool', 'return_type': 'bool'},
\ 'setPage': { 'signature': 'int $width, int $height, int $x, int $y | bool', 'return_type': 'bool'},
\ 'setPointSize': { 'signature': 'float $point_size | bool', 'return_type': 'bool'},
\ 'setResolution': { 'signature': 'float $x_resolution, float $y_resolution | bool', 'return_type': 'bool'},
\ 'setResourceLimit': { 'signature': 'int $type, int $limit | bool', 'return_type': 'bool'},
\ 'setSamplingFactors': { 'signature': 'array $factors | bool', 'return_type': 'bool'},
\ 'setSize': { 'signature': 'int $columns, int $rows | bool', 'return_type': 'bool'},
\ 'setSizeOffset': { 'signature': 'int $columns, int $rows, int $offset | bool', 'return_type': 'bool'},
\ 'setType': { 'signature': 'int $image_type | bool', 'return_type': 'bool'},
\ 'shadeImage': { 'signature': 'bool $gray, float $azimuth, float $elevation | bool', 'return_type': 'bool'},
\ 'shadowImage': { 'signature': 'float $opacity, float $sigma, int $x, int $y | bool', 'return_type': 'bool'},
\ 'sharpenImage': { 'signature': 'float $radius, float $sigma [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'shaveImage': { 'signature': 'int $columns, int $rows | bool', 'return_type': 'bool'},
\ 'shearImage': { 'signature': 'mixed $background, float $x_shear, float $y_shear | bool', 'return_type': 'bool'},
\ 'sigmoidalContrastImage': { 'signature': 'bool $sharpen, float $alpha, float $beta [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'sketchImage': { 'signature': 'float $radius, float $sigma, float $angle | bool', 'return_type': 'bool'},
\ 'solarizeImage': { 'signature': 'int $threshold | bool', 'return_type': 'bool'},
\ 'sparseColorImage': { 'signature': 'int $SPARSE_METHOD, array $arguments [, int $channel = Imagick::CHANNEL_DEFAULT] | bool', 'return_type': 'bool'},
\ 'spliceImage': { 'signature': 'int $width, int $height, int $x, int $y | bool', 'return_type': 'bool'},
\ 'spreadImage': { 'signature': 'float $radius | bool', 'return_type': 'bool'},
\ 'steganoImage': { 'signature': 'Imagick $watermark_wand, int $offset | Imagick', 'return_type': 'Imagick'},
\ 'stereoImage': { 'signature': 'Imagick $offset_wand | bool', 'return_type': 'bool'},
\ 'stripImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'swirlImage': { 'signature': 'float $degrees | bool', 'return_type': 'bool'},
\ 'textureImage': { 'signature': 'Imagick $texture_wand | bool', 'return_type': 'bool'},
\ 'thresholdImage': { 'signature': 'float $threshold [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'thumbnailImage': { 'signature': 'int $columns, int $rows [, bool $bestfit = false [, bool $fill = false]] | bool', 'return_type': 'bool'},
\ 'tintImage': { 'signature': 'mixed $tint, mixed $opacity | bool', 'return_type': 'bool'},
\ 'transformImage': { 'signature': 'string $crop, string $geometry | Imagick', 'return_type': 'Imagick'},
\ 'transparentPaintImage': { 'signature': 'mixed $target, float $alpha, float $fuzz, bool $invert | bool', 'return_type': 'bool'},
\ 'transposeImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'transverseImage': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'trimImage': { 'signature': 'float $fuzz | bool', 'return_type': 'bool'},
\ 'uniqueImageColors': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'unsharpMaskImage': { 'signature': 'float $radius, float $sigma, float $amount, float $threshold [, int $channel = Imagick::CHANNEL_ALL] | bool', 'return_type': 'bool'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'vignetteImage': { 'signature': 'float $blackPoint, float $whitePoint, int $x, int $y | bool', 'return_type': 'bool'},
\ 'waveImage': { 'signature': 'float $amplitude, float $length | bool', 'return_type': 'bool'},
\ 'whiteThresholdImage': { 'signature': 'mixed $threshold | bool', 'return_type': 'bool'},
\ 'writeImage': { 'signature': '[ string $filename = NULL] | bool', 'return_type': 'bool'},
\ 'writeImageFile': { 'signature': 'resource $filehandle | bool', 'return_type': 'bool'},
\ 'writeImages': { 'signature': 'string $filename, bool $adjoin | bool', 'return_type': 'bool'},
\ 'writeImagesFile': { 'signature': 'resource $filehandle | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'imagickdraw': {
\ 'name': 'ImagickDraw',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'affine': { 'signature': 'array $affine | bool', 'return_type': 'bool'},
\ 'annotation': { 'signature': 'float $x, float $y, string $text | bool', 'return_type': 'bool'},
\ 'arc': { 'signature': 'float $sx, float $sy, float $ex, float $ey, float $sd, float $ed | bool', 'return_type': 'bool'},
\ 'bezier': { 'signature': 'array $coordinates | bool', 'return_type': 'bool'},
\ 'circle': { 'signature': 'float $ox, float $oy, float $px, float $py | bool', 'return_type': 'bool'},
\ 'clear': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'clone': { 'signature': 'void | ImagickDraw', 'return_type': 'ImagickDraw'},
\ 'color': { 'signature': 'float $x, float $y, int $paintMethod | bool', 'return_type': 'bool'},
\ 'comment': { 'signature': 'string $comment | bool', 'return_type': 'bool'},
\ 'composite': { 'signature': 'int $compose, float $x, float $y, float $width, float $height, Imagick $compositeWand | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'destroy': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'ellipse': { 'signature': 'float $ox, float $oy, float $rx, float $ry, float $start, float $end | bool', 'return_type': 'bool'},
\ 'getClipPath': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getClipRule': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getClipUnits': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getFillColor': { 'signature': 'void | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getFillOpacity': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getFillRule': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getFont': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFontFamily': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFontSize': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getFontStyle': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getFontWeight': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getGravity': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStrokeAntialias': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getStrokeColor': { 'signature': 'void | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getStrokeDashArray': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStrokeDashOffset': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getStrokeLineCap': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStrokeLineJoin': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStrokeMiterLimit': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStrokeOpacity': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getStrokeWidth': { 'signature': 'void | float', 'return_type': 'float'},
\ 'getTextAlignment': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTextAntialias': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getTextDecoration': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTextEncoding': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTextUnderColor': { 'signature': 'void | ImagickPixel', 'return_type': 'ImagickPixel'},
\ 'getVectorGraphics': { 'signature': 'void | string', 'return_type': 'string'},
\ 'line': { 'signature': 'float $sx, float $sy, float $ex, float $ey | bool', 'return_type': 'bool'},
\ 'matte': { 'signature': 'float $x, float $y, int $paintMethod | bool', 'return_type': 'bool'},
\ 'pathClose': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'pathCurveToAbsolute': { 'signature': 'float $x1, float $y1, float $x2, float $y2, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathCurveToQuadraticBezierAbsolute': { 'signature': 'float $x1, float $y1, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathCurveToQuadraticBezierRelative': { 'signature': 'float $x1, float $y1, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathCurveToQuadraticBezierSmoothAbsolute': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathCurveToQuadraticBezierSmoothRelative': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathCurveToRelative': { 'signature': 'float $x1, float $y1, float $x2, float $y2, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathCurveToSmoothAbsolute': { 'signature': 'float $x2, float $y2, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathCurveToSmoothRelative': { 'signature': 'float $x2, float $y2, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathEllipticArcAbsolute': { 'signature': 'float $rx, float $ry, float $x_axis_rotation, bool $large_arc_flag, bool $sweep_flag, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathEllipticArcRelative': { 'signature': 'float $rx, float $ry, float $x_axis_rotation, bool $large_arc_flag, bool $sweep_flag, float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathFinish': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'pathLineToAbsolute': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathLineToHorizontalAbsolute': { 'signature': 'float $x | bool', 'return_type': 'bool'},
\ 'pathLineToHorizontalRelative': { 'signature': 'float $x | bool', 'return_type': 'bool'},
\ 'pathLineToRelative': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathLineToVerticalAbsolute': { 'signature': 'float $y | bool', 'return_type': 'bool'},
\ 'pathLineToVerticalRelative': { 'signature': 'float $y | bool', 'return_type': 'bool'},
\ 'pathMoveToAbsolute': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathMoveToRelative': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'pathStart': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'point': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'polygon': { 'signature': 'array $coordinates | bool', 'return_type': 'bool'},
\ 'polyline': { 'signature': 'array $coordinates | bool', 'return_type': 'bool'},
\ 'pop': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'popClipPath': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'popDefs': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'popPattern': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'push': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'pushClipPath': { 'signature': 'string $clip_mask_id | bool', 'return_type': 'bool'},
\ 'pushDefs': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'pushPattern': { 'signature': 'string $pattern_id, float $x, float $y, float $width, float $height | bool', 'return_type': 'bool'},
\ 'rectangle': { 'signature': 'float $x1, float $y1, float $x2, float $y2 | bool', 'return_type': 'bool'},
\ 'render': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'rotate': { 'signature': 'float $degrees | bool', 'return_type': 'bool'},
\ 'roundRectangle': { 'signature': 'float $x1, float $y1, float $x2, float $y2, float $rx, float $ry | bool', 'return_type': 'bool'},
\ 'scale': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ 'setClipPath': { 'signature': 'string $clip_mask | bool', 'return_type': 'bool'},
\ 'setClipRule': { 'signature': 'int $fill_rule | bool', 'return_type': 'bool'},
\ 'setClipUnits': { 'signature': 'int $clip_units | bool', 'return_type': 'bool'},
\ 'setFillAlpha': { 'signature': 'float $opacity | bool', 'return_type': 'bool'},
\ 'setFillColor': { 'signature': 'ImagickPixel $fill_pixel | bool', 'return_type': 'bool'},
\ 'setFillOpacity': { 'signature': 'float $fillOpacity | bool', 'return_type': 'bool'},
\ 'setFillPatternURL': { 'signature': 'string $fill_url | bool', 'return_type': 'bool'},
\ 'setFillRule': { 'signature': 'int $fill_rule | bool', 'return_type': 'bool'},
\ 'setFont': { 'signature': 'string $font_name | bool', 'return_type': 'bool'},
\ 'setFontFamily': { 'signature': 'string $font_family | bool', 'return_type': 'bool'},
\ 'setFontSize': { 'signature': 'float $pointsize | bool', 'return_type': 'bool'},
\ 'setFontStretch': { 'signature': 'int $fontStretch | bool', 'return_type': 'bool'},
\ 'setFontStyle': { 'signature': 'int $style | bool', 'return_type': 'bool'},
\ 'setFontWeight': { 'signature': 'int $font_weight | bool', 'return_type': 'bool'},
\ 'setGravity': { 'signature': 'int $gravity | bool', 'return_type': 'bool'},
\ 'setStrokeAlpha': { 'signature': 'float $opacity | bool', 'return_type': 'bool'},
\ 'setStrokeAntialias': { 'signature': 'bool $stroke_antialias | bool', 'return_type': 'bool'},
\ 'setStrokeColor': { 'signature': 'ImagickPixel $stroke_pixel | bool', 'return_type': 'bool'},
\ 'setStrokeDashArray': { 'signature': 'array $dashArray | bool', 'return_type': 'bool'},
\ 'setStrokeDashOffset': { 'signature': 'float $dash_offset | bool', 'return_type': 'bool'},
\ 'setStrokeLineCap': { 'signature': 'int $linecap | bool', 'return_type': 'bool'},
\ 'setStrokeLineJoin': { 'signature': 'int $linejoin | bool', 'return_type': 'bool'},
\ 'setStrokeMiterLimit': { 'signature': 'int $miterlimit | bool', 'return_type': 'bool'},
\ 'setStrokeOpacity': { 'signature': 'float $stroke_opacity | bool', 'return_type': 'bool'},
\ 'setStrokePatternURL': { 'signature': 'string $stroke_url | bool', 'return_type': 'bool'},
\ 'setStrokeWidth': { 'signature': 'float $stroke_width | bool', 'return_type': 'bool'},
\ 'setTextAlignment': { 'signature': 'int $alignment | bool', 'return_type': 'bool'},
\ 'setTextAntialias': { 'signature': 'bool $antiAlias | bool', 'return_type': 'bool'},
\ 'setTextDecoration': { 'signature': 'int $decoration | bool', 'return_type': 'bool'},
\ 'setTextEncoding': { 'signature': 'string $encoding | bool', 'return_type': 'bool'},
\ 'setTextUnderColor': { 'signature': 'ImagickPixel $under_color | bool', 'return_type': 'bool'},
\ 'setVectorGraphics': { 'signature': 'string $xml | bool', 'return_type': 'bool'},
\ 'setViewbox': { 'signature': 'int $x1, int $y1, int $x2, int $y2 | bool', 'return_type': 'bool'},
\ 'skewX': { 'signature': 'float $degrees | bool', 'return_type': 'bool'},
\ 'skewY': { 'signature': 'float $degrees | bool', 'return_type': 'bool'},
\ 'translate': { 'signature': 'float $x, float $y | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'imagickpixel': {
\ 'name': 'ImagickPixel',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'clear': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': '[ string $color]', 'return_type': ''},
\ 'destroy': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getColor': { 'signature': '[ bool $normalized = false] | array', 'return_type': 'array'},
\ 'getColorAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getColorCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getColorValue': { 'signature': 'int $color | float', 'return_type': 'float'},
\ 'getHSL': { 'signature': 'void | array', 'return_type': 'array'},
\ 'isPixelSimilar': { 'signature': 'ImagickPixel $color, float $fuzz | bool', 'return_type': 'bool'},
\ 'isSimilar': { 'signature': 'ImagickPixel $color, float $fuzz | bool', 'return_type': 'bool'},
\ 'setColor': { 'signature': 'string $color | bool', 'return_type': 'bool'},
\ 'setColorValue': { 'signature': 'int $color, float $value | bool', 'return_type': 'bool'},
\ 'setHSL': { 'signature': 'float $hue, float $saturation, float $luminosity | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'imagickpixeliterator': {
\ 'name': 'ImagickPixelIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'clear': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'Imagick $wand', 'return_type': ''},
\ 'destroy': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getCurrentIteratorRow': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getIteratorRow': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNextIteratorRow': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getPreviousIteratorRow': { 'signature': 'void | array', 'return_type': 'array'},
\ 'newPixelIterator': { 'signature': 'Imagick $wand | bool', 'return_type': 'bool'},
\ 'newPixelRegionIterator': { 'signature': 'Imagick $wand, int $x, int $y, int $columns, int $rows | bool', 'return_type': 'bool'},
\ 'resetIterator': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setIteratorFirstRow': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setIteratorLastRow': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setIteratorRow': { 'signature': 'int $row | bool', 'return_type': 'bool'},
\ 'syncIterator': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['judy'] = {
\'judy': {
\ 'name': 'Judy',
\ 'constants': {
\ 'BITSET': '1',
\ 'INT_TO_INT': '2',
\ 'INT_TO_MIXED': '3',
\ 'STRING_TO_INT': '4',
\ 'STRING_TO_MIXED': '5',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'byCount': { 'signature': 'int $nth_index | int', 'return_type': 'int'},
\ '__construct': { 'signature': 'int $judy_type', 'return_type': ''},
\ 'count': { 'signature': '[ int $index_start = 0 [, int $index_end = -1]] | int', 'return_type': 'int'},
\ '__destruct': { 'signature': 'void | void', 'return_type': 'void'},
\ 'first': { 'signature': '[ mixed $index] | mixed', 'return_type': 'mixed'},
\ 'firstEmpty': { 'signature': '[ mixed $index = 0] | int', 'return_type': 'int'},
\ 'free': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'last': { 'signature': '[ string $index] | void', 'return_type': 'void'},
\ 'lastEmpty': { 'signature': '[ int $index = -1] | int', 'return_type': 'int'},
\ 'memoryUsage': { 'signature': 'void | int', 'return_type': 'int'},
\ 'next': { 'signature': 'mixed $index | mixed', 'return_type': 'mixed'},
\ 'nextEmpty': { 'signature': 'int $index | int', 'return_type': 'int'},
\ 'offsetExists': { 'signature': 'mixed $offset | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'mixed $offset | mixed', 'return_type': 'mixed'},
\ 'offsetSet': { 'signature': 'mixed $offset, mixed $value | bool', 'return_type': 'bool'},
\ 'offsetUnset': { 'signature': 'mixed $offset | bool', 'return_type': 'bool'},
\ 'prev': { 'signature': 'mixed $index | mixed', 'return_type': 'mixed'},
\ 'prevEmpty': { 'signature': 'mixed $index | int', 'return_type': 'int'},
\ 'size': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['ktaglib'] = {
\'ktaglib_id3v2_frame': {
\ 'name': 'KTaglib_ID3v2_Frame',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getDescription': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getMimeType': { 'signature': 'string $type | string', 'return_type': 'string'},
\ 'getType': { 'signature': 'void | int', 'return_type': 'int'},
\ 'savePicture': { 'signature': 'string $filename | bool', 'return_type': 'bool'},
\ 'setPicture': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'setType': { 'signature': 'int $type | void', 'return_type': 'void'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getAlbum': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getArtist': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGenre': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTitle': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTrack': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getYear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'ktaglib_tag': {
\ 'name': 'KTaglib_Tag',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getAlbum': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getArtist': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getGenre': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTitle': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getTrack': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getYear': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isEmpty': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'ktaglib_mpeg_audioproperties': {
\ 'name': 'KTaglib_MPEG_AudioProperties',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getBitrate': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getChannels': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLayer': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getLength': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getSampleBitrate': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getVersion': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isCopyrighted': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isOriginal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isProtectionEnabled': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'ktaglib_mpeg_file': {
\ 'name': 'KTaglib_MPEG_File',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getAudioProperties': { 'signature': 'void | KTaglib_MPEG_File', 'return_type': 'KTaglib_MPEG_File'},
\ 'getID3v1Tag': { 'signature': '[ bool $create = false] | KTaglib_ID3v1_Tag', 'return_type': 'KTaglib_ID3v1_Tag'},
\ 'getID3v2Tag': { 'signature': '[ bool $create = false] | KTaglib_ID3v2_Tag', 'return_type': 'KTaglib_ID3v2_Tag'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['lapack'] = {
\'lapack': {
\ 'name': 'Lapack',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'eigenValues': { 'signature': 'array $a [, array $left [, array $right]] | array', 'return_type': 'array'},
\ 'identity': { 'signature': 'int $n | array', 'return_type': 'array'},
\ 'leastSquaresByFactorisation': { 'signature': 'array $a, array $b | array', 'return_type': 'array'},
\ 'leastSquaresBySVD': { 'signature': 'array $a, array $b | array', 'return_type': 'array'},
\ 'pseudoInverse': { 'signature': 'array $a | array', 'return_type': 'array'},
\ 'singularValues': { 'signature': 'array $a | array', 'return_type': 'array'},
\ 'solveLinearEquation': { 'signature': 'array $a, array $b | array', 'return_type': 'array'},
\ },
\},
\'lapackexception': {
\ 'name': 'lapackexception',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['libxml'] = {
\'libxmlerror': {
\ 'name': 'libXMLError',
\ 'constants': {
\ },
\ 'properties': {
\ 'level': { 'initializer': '', 'type': 'int'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'column': { 'initializer': '', 'type': 'int'},
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['lua'] = {
\'lua': {
\ 'name': 'Lua',
\ 'constants': {
\ 'LUA_VERSION': 'Lua 5.1.4',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'assign': { 'signature': 'string $name, string $value | mixed', 'return_type': 'mixed'},
\ 'call': { 'signature': 'callable $lua_func [, array $args [, int $use_self = 0]] | mixed', 'return_type': 'mixed'},
\ '__call': { 'signature': 'callable $lua_func [, array $args [, int $use_self = 0]] | mixed', 'return_type': 'mixed'},
\ '__construct': { 'signature': '[ string $lua_script_file = NULL]', 'return_type': ''},
\ 'eval': { 'signature': 'string $statements | mixed', 'return_type': 'mixed'},
\ 'getVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'include': { 'signature': 'string $file | mixed', 'return_type': 'mixed'},
\ 'registerCallback': { 'signature': 'string $name, callable $function | mixed', 'return_type': 'mixed'},
\ },
\ 'static_methods': {
\ },
\},
\'luaclosure': {
\ 'name': 'LuaClosure',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__invoke': { 'signature': 'mixed $arg [, mixed $...] | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['memcache'] = {
\'memcache': {
\ 'name': 'Memcache',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': 'string $key, mixed $var [, int $flag [, int $expire]] | bool', 'return_type': 'bool'},
\ 'addServer': { 'signature': 'string $host [, int $port = 11211 [, bool $persistent [, int $weight [, int $timeout [, int $retry_interval [, bool $status [, callable $failure_callback [, int $timeoutms]]]]]]]] | bool', 'return_type': 'bool'},
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'connect': { 'signature': 'string $host [, int $port [, int $timeout]] | bool', 'return_type': 'bool'},
\ 'decrement': { 'signature': 'string $key [, int $value = 1] | int', 'return_type': 'int'},
\ 'delete': { 'signature': 'string $key [, int $timeout = 0] | bool', 'return_type': 'bool'},
\ 'flush': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'get': { 'signature': 'string $key [, int &$flags] | string', 'return_type': 'string'},
\ 'getExtendedStats': { 'signature': '[ string $type [, int $slabid [, int $limit = 100]]] | array', 'return_type': 'array'},
\ 'getServerStatus': { 'signature': 'string $host [, int $port = 11211] | int', 'return_type': 'int'},
\ 'getStats': { 'signature': '[ string $type [, int $slabid [, int $limit = 100]]] | array', 'return_type': 'array'},
\ 'getVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'increment': { 'signature': 'string $key [, int $value = 1] | int', 'return_type': 'int'},
\ 'pconnect': { 'signature': 'string $host [, int $port [, int $timeout]] | mixed', 'return_type': 'mixed'},
\ 'replace': { 'signature': 'string $key, mixed $var [, int $flag [, int $expire]] | bool', 'return_type': 'bool'},
\ 'set': { 'signature': 'string $key, mixed $var [, int $flag [, int $expire]] | bool', 'return_type': 'bool'},
\ 'setCompressThreshold': { 'signature': 'int $threshold [, float $min_savings] | bool', 'return_type': 'bool'},
\ 'setServerParams': { 'signature': 'string $host [, int $port = 11211 [, int $timeout [, int $retry_interval = false [, bool $status [, callable $failure_callback]]]]] | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['memcached'] = {
\'memcached': {
\ 'name': 'Memcached',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $persistent_id]', 'return_type': ''},
\ 'add': { 'signature': 'string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'addByKey': { 'signature': 'string $server_key, string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'addServer': { 'signature': 'string $host, int $port [, int $weight = 0] | bool', 'return_type': 'bool'},
\ 'addServers': { 'signature': 'array $servers | bool', 'return_type': 'bool'},
\ 'append': { 'signature': 'string $key, string $value | bool', 'return_type': 'bool'},
\ 'appendByKey': { 'signature': 'string $server_key, string $key, string $value | bool', 'return_type': 'bool'},
\ 'cas': { 'signature': 'float $cas_token, string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'casByKey': { 'signature': 'float $cas_token, string $server_key, string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'decrement': { 'signature': 'string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0]]] | int', 'return_type': 'int'},
\ 'decrementByKey': { 'signature': 'string $server_key, string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0]]] | int', 'return_type': 'int'},
\ 'delete': { 'signature': 'string $key [, int $time = 0] | bool', 'return_type': 'bool'},
\ 'deleteByKey': { 'signature': 'string $server_key, string $key [, int $time = 0] | bool', 'return_type': 'bool'},
\ 'deleteMulti': { 'signature': 'array $keys [, int $time = 0] | bool', 'return_type': 'bool'},
\ 'deleteMultiByKey': { 'signature': 'string $server_key, array $keys [, int $time = 0] | bool', 'return_type': 'bool'},
\ 'fetch': { 'signature': 'void | array', 'return_type': 'array'},
\ 'fetchAll': { 'signature': 'void | array', 'return_type': 'array'},
\ 'flush': { 'signature': '[ int $delay = 0] | bool', 'return_type': 'bool'},
\ 'get': { 'signature': 'string $key [, callable $cache_cb [, float &$cas_token]] | mixed', 'return_type': 'mixed'},
\ 'getAllKeys': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getByKey': { 'signature': 'string $server_key, string $key [, callable $cache_cb [, float &$cas_token]] | mixed', 'return_type': 'mixed'},
\ 'getDelayed': { 'signature': 'array $keys [, bool $with_cas [, callable $value_cb]] | bool', 'return_type': 'bool'},
\ 'getDelayedByKey': { 'signature': 'string $server_key, array $keys [, bool $with_cas [, callable $value_cb]] | bool', 'return_type': 'bool'},
\ 'getMulti': { 'signature': 'array $keys [, array &$cas_tokens [, int $flags]] | mixed', 'return_type': 'mixed'},
\ 'getMultiByKey': { 'signature': 'string $server_key, array $keys [, string &$cas_tokens [, int $flags]] | array', 'return_type': 'array'},
\ 'getOption': { 'signature': 'int $option | mixed', 'return_type': 'mixed'},
\ 'getResultCode': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getResultMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getServerByKey': { 'signature': 'string $server_key | array', 'return_type': 'array'},
\ 'getServerList': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStats': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getVersion': { 'signature': 'void | array', 'return_type': 'array'},
\ 'increment': { 'signature': 'string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0]]] | int', 'return_type': 'int'},
\ 'incrementByKey': { 'signature': 'string $server_key, string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0]]] | int', 'return_type': 'int'},
\ 'isPersistent': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isPristine': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'prepend': { 'signature': 'string $key, string $value | bool', 'return_type': 'bool'},
\ 'prependByKey': { 'signature': 'string $server_key, string $key, string $value | bool', 'return_type': 'bool'},
\ 'quit': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'replace': { 'signature': 'string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'replaceByKey': { 'signature': 'string $server_key, string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'resetServerList': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'set': { 'signature': 'string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'setByKey': { 'signature': 'string $server_key, string $key, mixed $value [, int $expiration] | bool', 'return_type': 'bool'},
\ 'setMulti': { 'signature': 'array $items [, int $expiration] | bool', 'return_type': 'bool'},
\ 'setMultiByKey': { 'signature': 'string $server_key, array $items [, int $expiration] | bool', 'return_type': 'bool'},
\ 'setOption': { 'signature': 'int $option, mixed $value | bool', 'return_type': 'bool'},
\ 'setOptions': { 'signature': 'array $options | bool', 'return_type': 'bool'},
\ 'setSaslAuthData': { 'signature': 'string $username, string $password | void', 'return_type': 'void'},
\ 'touch': { 'signature': 'string $key, int $expiration | bool', 'return_type': 'bool'},
\ 'touchByKey': { 'signature': 'string $server_key, string $key, int $expiration | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'memcachedexception': {
\ 'name': 'MemcachedException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['mongo'] = {
\'mongo': {
\ 'name': 'Mongo',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'connectUtil': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getSlave': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getSlaveOkay': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'poolDebug': { 'signature': 'void | array', 'return_type': 'array'},
\ 'setSlaveOkay': { 'signature': '[ bool $ok = true] | bool', 'return_type': 'bool'},
\ 'switchSlave': { 'signature': 'void | string', 'return_type': 'string'},
\ 'close': { 'signature': '[ boolean|string $connection] | bool', 'return_type': 'bool'},
\ 'connect': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'dropDB': { 'signature': 'mixed $db | array', 'return_type': 'array'},
\ '__get': { 'signature': 'string $dbname | MongoDB', 'return_type': 'MongoDB'},
\ 'getHosts': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getReadPreference': { 'signature': 'void | array', 'return_type': 'array'},
\ 'killCursor': { 'signature': 'string $server_hash, int|MongoInt64 $id | bool', 'return_type': 'bool'},
\ 'listDBs': { 'signature': 'void | array', 'return_type': 'array'},
\ 'selectCollection': { 'signature': 'string $db, string $collection | MongoCollection', 'return_type': 'MongoCollection'},
\ 'selectDB': { 'signature': 'string $name | MongoDB', 'return_type': 'MongoDB'},
\ 'setReadPreference': { 'signature': 'string $read_preference [, array $tags] | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'getPoolSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setPoolSize': { 'signature': 'int $size | bool', 'return_type': 'bool'},
\ 'getConnections': { 'signature': 'void | array', 'return_type': 'array'},
\ },
\},
\'mongobindata': {
\ 'name': 'MongoBinData',
\ 'constants': {
\ 'FUNC': '1',
\ 'BYTE_ARRAY': '2',
\ 'UUID': '3',
\ 'MD5': '5',
\ 'CUSTOM': '128',
\ },
\ 'properties': {
\ 'bin': { 'initializer': '', 'type': 'string'},
\ 'type': { 'initializer': '2', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $data [, int $type = 2]', 'return_type': ''},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'mongoclient': {
\ 'name': 'MongoClient',
\ 'constants': {
\ 'VERSION': '',
\ 'DEFAULT_HOST': '"localhost"',
\ 'DEFAULT_PORT': '27017',
\ 'RP_PRIMARY': '"primary"',
\ 'RP_PRIMARY_PREFERRED': '"primaryPreferred"',
\ 'RP_SECONDARY': '"secondary"',
\ 'RP_SECONDARY_PREFERRED': '"secondaryPreferred"',
\ 'RP_NEAREST': '"nearest"',
\ },
\ 'properties': {
\ 'connected': { 'initializer': 'FALSE', 'type': 'boolean'},
\ 'status': { 'initializer': 'NULL', 'type': 'string'},
\ 'server': { 'initializer': 'NULL', 'type': 'string'},
\ 'persistent': { 'initializer': 'NULL', 'type': 'boolean'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $server = "mongodb://localhost:27017" [, array $options = array("connect" => TRUE)]]', 'return_type': ''},
\ 'close': { 'signature': '[ boolean|string $connection] | bool', 'return_type': 'bool'},
\ 'connect': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'dropDB': { 'signature': 'mixed $db | array', 'return_type': 'array'},
\ '__get': { 'signature': 'string $dbname | MongoDB', 'return_type': 'MongoDB'},
\ 'getHosts': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getReadPreference': { 'signature': 'void | array', 'return_type': 'array'},
\ 'killCursor': { 'signature': 'string $server_hash, int|MongoInt64 $id | bool', 'return_type': 'bool'},
\ 'listDBs': { 'signature': 'void | array', 'return_type': 'array'},
\ 'selectCollection': { 'signature': 'string $db, string $collection | MongoCollection', 'return_type': 'MongoCollection'},
\ 'selectDB': { 'signature': 'string $name | MongoDB', 'return_type': 'MongoDB'},
\ 'setReadPreference': { 'signature': 'string $read_preference [, array $tags] | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'getConnections': { 'signature': 'void | array', 'return_type': 'array'},
\ },
\},
\'mongocode': {
\ 'name': 'MongoCode',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $code [, array $scope = array()]', 'return_type': ''},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'mongocollection': {
\ 'name': 'MongoCollection',
\ 'constants': {
\ 'ASCENDING': '1',
\ 'DESCENDING': '-1',
\ },
\ 'properties': {
\ 'db': { 'initializer': 'NULL', 'type': 'MongoDB'},
\ 'w': { 'initializer': '', 'type': 'integer'},
\ 'wtimeout': { 'initializer': '', 'type': 'integer'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'aggregate': { 'signature': 'array $pipeline [, array $op [, array $...]] | array', 'return_type': 'array'},
\ 'batchInsert': { 'signature': 'array $a [, array $options = array()] | mixed', 'return_type': 'mixed'},
\ '__construct': { 'signature': 'MongoDB $db, string $name', 'return_type': ''},
\ 'count': { 'signature': '[ array $query = array() [, int $limit = 0 [, int $skip = 0]]] | int', 'return_type': 'int'},
\ 'createDBRef': { 'signature': 'mixed $document_or_id | array', 'return_type': 'array'},
\ 'deleteIndex': { 'signature': 'string|array $keys | array', 'return_type': 'array'},
\ 'deleteIndexes': { 'signature': 'void | array', 'return_type': 'array'},
\ 'distinct': { 'signature': 'string $key [, array $query] | array', 'return_type': 'array'},
\ 'drop': { 'signature': 'void | array', 'return_type': 'array'},
\ 'ensureIndex': { 'signature': 'string|array $key|keys [, array $options = array()] | bool', 'return_type': 'bool'},
\ 'find': { 'signature': '[ array $query = array() [, array $fields = array()]] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'findAndModify': { 'signature': 'array $query [, array $update [, array $fields [, array $options]]] | array', 'return_type': 'array'},
\ 'findOne': { 'signature': '[ array $query = array() [, array $fields = array()]] | array', 'return_type': 'array'},
\ '__get': { 'signature': 'string $name | MongoCollection', 'return_type': 'MongoCollection'},
\ 'getDBRef': { 'signature': 'array $ref | array', 'return_type': 'array'},
\ 'getIndexInfo': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getReadPreference': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getSlaveOkay': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'group': { 'signature': 'mixed $keys, array $initial, MongoCode $reduce [, array $options = array()] | array', 'return_type': 'array'},
\ 'insert': { 'signature': 'array|object $a [, array $options = array()] | bool|array', 'return_type': 'bool|array'},
\ 'remove': { 'signature': '[ array $criteria = array() [, array $options = array()]] | bool|array', 'return_type': 'bool|array'},
\ 'save': { 'signature': 'array|object $a [, array $options = array()] | mixed', 'return_type': 'mixed'},
\ 'setReadPreference': { 'signature': 'string $read_preference [, array $tags] | bool', 'return_type': 'bool'},
\ 'setSlaveOkay': { 'signature': '[ bool $ok = true] | bool', 'return_type': 'bool'},
\ 'toIndexString': { 'signature': 'mixed $keys | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'update': { 'signature': 'array $criteria, array $new_object [, array $options = array()] | bool|array', 'return_type': 'bool|array'},
\ 'validate': { 'signature': '[ bool $scan_data = FALSE] | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\'mongoconnectionexception': {
\ 'name': 'MongoConnectionException',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mongocursor': {
\ 'name': 'MongoCursor',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ '$slaveOkay': { 'initializer': 'FALSE', 'type': 'boolean'},
\ '$timeout': { 'initializer': '30000', 'type': 'integer'},
\ },
\ 'methods': {
\ 'addOption': { 'signature': 'string $key, mixed $value | MongoCursor', 'return_type': 'MongoCursor'},
\ 'awaitData': { 'signature': '[ bool $wait = true] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'batchSize': { 'signature': 'int $batchSize | MongoCursor', 'return_type': 'MongoCursor'},
\ '__construct': { 'signature': 'MongoClient $connection, string $ns [, array $query = array() [, array $fields = array()]]', 'return_type': ''},
\ 'count': { 'signature': '[ bool $foundOnly = FALSE] | int', 'return_type': 'int'},
\ 'current': { 'signature': 'void | array', 'return_type': 'array'},
\ 'dead': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'doQuery': { 'signature': 'void | void', 'return_type': 'void'},
\ 'explain': { 'signature': 'void | array', 'return_type': 'array'},
\ 'fields': { 'signature': 'array $f | MongoCursor', 'return_type': 'MongoCursor'},
\ 'getNext': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getReadPreference': { 'signature': 'void | array', 'return_type': 'array'},
\ 'hasNext': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'hint': { 'signature': 'mixed $index | MongoCursor', 'return_type': 'MongoCursor'},
\ 'immortal': { 'signature': '[ bool $liveForever = true] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'info': { 'signature': 'void | array', 'return_type': 'array'},
\ 'key': { 'signature': 'void | string', 'return_type': 'string'},
\ 'limit': { 'signature': 'int $num | MongoCursor', 'return_type': 'MongoCursor'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'partial': { 'signature': '[ bool $okay = true] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'reset': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'setFlag': { 'signature': 'int $flag [, bool $set = true] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'setReadPreference': { 'signature': 'string $read_preference [, array $tags] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'skip': { 'signature': 'int $num | MongoCursor', 'return_type': 'MongoCursor'},
\ 'slaveOkay': { 'signature': '[ bool $okay = true] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'snapshot': { 'signature': 'void | MongoCursor', 'return_type': 'MongoCursor'},
\ 'sort': { 'signature': 'array $fields | MongoCursor', 'return_type': 'MongoCursor'},
\ 'tailable': { 'signature': '[ bool $tail = true] | MongoCursor', 'return_type': 'MongoCursor'},
\ 'timeout': { 'signature': 'int $ms | MongoCursor', 'return_type': 'MongoCursor'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'mongocursorexception': {
\ 'name': 'MongoCursorException',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mongocursortimeoutexception': {
\ 'name': 'MongoCursorTimeoutException',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mongodate': {
\ 'name': 'MongoDate',
\ 'constants': {
\ },
\ 'properties': {
\ 'sec': { 'initializer': '', 'type': 'int'},
\ 'usec': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ int $sec = time() [, int $usec = 0]]', 'return_type': ''},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'mongodb': {
\ 'name': 'MongoDB',
\ 'constants': {
\ 'PROFILING_OFF': '0',
\ 'PROFILING_SLOW': '1',
\ 'PROFILING_ON': '2',
\ },
\ 'properties': {
\ 'w': { 'initializer': '1', 'type': 'integer'},
\ 'wtimeout': { 'initializer': '10000', 'type': 'integer'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'authenticate': { 'signature': 'string $username, string $password | array', 'return_type': 'array'},
\ 'command': { 'signature': 'array $command [, array $options = array()] | array', 'return_type': 'array'},
\ '__construct': { 'signature': 'MongoClient $conn, string $name', 'return_type': ''},
\ 'createCollection': { 'signature': 'string $name [, array $options] | MongoCollection', 'return_type': 'MongoCollection'},
\ 'createDBRef': { 'signature': 'string $collection, mixed $document_or_id | array', 'return_type': 'array'},
\ 'drop': { 'signature': 'void | array', 'return_type': 'array'},
\ 'dropCollection': { 'signature': 'mixed $coll | array', 'return_type': 'array'},
\ 'execute': { 'signature': 'mixed $code [, array $args = array()] | array', 'return_type': 'array'},
\ 'forceError': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__get': { 'signature': 'string $name | MongoCollection', 'return_type': 'MongoCollection'},
\ 'getCollectionNames': { 'signature': '[ bool $includeSystemCollections = false] | array', 'return_type': 'array'},
\ 'getDBRef': { 'signature': 'array $ref | array', 'return_type': 'array'},
\ 'getGridFS': { 'signature': '[ string $prefix = "fs"] | MongoGridFS', 'return_type': 'MongoGridFS'},
\ 'getProfilingLevel': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getReadPreference': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getSlaveOkay': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'lastError': { 'signature': 'void | array', 'return_type': 'array'},
\ 'listCollections': { 'signature': '[ bool $includeSystemCollections = false] | array', 'return_type': 'array'},
\ 'prevError': { 'signature': 'void | array', 'return_type': 'array'},
\ 'repair': { 'signature': '[ bool $preserve_cloned_files = FALSE [, bool $backup_original_files = FALSE]] | array', 'return_type': 'array'},
\ 'resetError': { 'signature': 'void | array', 'return_type': 'array'},
\ 'selectCollection': { 'signature': 'string $name | MongoCollection', 'return_type': 'MongoCollection'},
\ 'setProfilingLevel': { 'signature': 'int $level | int', 'return_type': 'int'},
\ 'setReadPreference': { 'signature': 'string $read_preference [, array $tags] | bool', 'return_type': 'bool'},
\ 'setSlaveOkay': { 'signature': '[ bool $ok = true] | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'mongodbref': {
\ 'name': 'MongoDBRef',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'create': { 'signature': 'string $collection, mixed $id [, string $database] | array', 'return_type': 'array'},
\ 'get': { 'signature': 'MongoDB $db, array $ref | array', 'return_type': 'array'},
\ 'isRef': { 'signature': 'mixed $ref | bool', 'return_type': 'bool'},
\ },
\},
\'mongoexception': {
\ 'name': 'MongoException',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mongogridfsexception': {
\ 'name': 'MongoGridFSException',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mongogridfsfile': {
\ 'name': 'MongoGridFSFile',
\ 'constants': {
\ },
\ 'properties': {
\ 'file': { 'initializer': 'NULL', 'type': 'array'},
\ 'gridfs': { 'initializer': 'NULL', 'type': 'MongoGridFS'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'MongoGridFS $gridfs, array $file', 'return_type': ''},
\ 'getBytes': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFilename': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getResource': { 'signature': 'void | stream', 'return_type': 'stream'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'write': { 'signature': '[ string $filename = NULL] | int', 'return_type': 'int'},
\ },
\ 'static_methods': {
\ },
\},
\'mongoid': {
\ 'name': 'MongoId',
\ 'constants': {
\ },
\ 'properties': {
\ 'id': { 'initializer': 'NULL', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $id = NULL]', 'return_type': ''},
\ 'getInc': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPID': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTimestamp': { 'signature': 'void | int', 'return_type': 'int'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'getHostname': { 'signature': 'void | string', 'return_type': 'string'},
\ '__set_state': { 'signature': 'array $props | MongoId', 'return_type': 'MongoId'},
\ },
\},
\'mongoint32': {
\ 'name': 'MongoInt32',
\ 'constants': {
\ },
\ 'properties': {
\ 'value': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $value', 'return_type': ''},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'mongoint64': {
\ 'name': 'MongoInt64',
\ 'constants': {
\ },
\ 'properties': {
\ 'value': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $value', 'return_type': ''},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'mongolog': {
\ 'name': 'MongoLog',
\ 'constants': {
\ 'NONE': '0',
\ 'ALL': '31',
\ 'WARNING': '1',
\ 'INFO': '2',
\ 'FINE': '4',
\ 'RS': '1',
\ 'POOL': '2',
\ 'IO': '4',
\ 'SERVER': '8',
\ 'PARSE': '16',
\ },
\ 'properties': {
\ 'level': { 'initializer': '', 'type': 'int'},
\ 'module': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'getCallback': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getLevel': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getModule': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setCallback': { 'signature': 'callable $log_function | void', 'return_type': 'void'},
\ 'setLevel': { 'signature': 'int $level | void', 'return_type': 'void'},
\ 'setModule': { 'signature': 'int $module | void', 'return_type': 'void'},
\ },
\},
\'mongomaxkey': {
\ 'name': 'MongoMaxKey',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mongominkey': {
\ 'name': 'MongoMinKey',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mongopool': {
\ 'name': 'MongoPool',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'info': { 'signature': 'void | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setSize': { 'signature': 'int $size | bool', 'return_type': 'bool'},
\ },
\},
\'mongoregex': {
\ 'name': 'MongoRegex',
\ 'constants': {
\ },
\ 'properties': {
\ 'regex': { 'initializer': '', 'type': 'string'},
\ 'flags': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $regex', 'return_type': ''},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'mongoresultexception': {
\ 'name': 'MongoResultException',
\ 'constants': {
\ },
\ 'properties': {
\ 'document': { 'initializer': '', 'type': ''},
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getDocument': { 'signature': 'void | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\'mongotimestamp': {
\ 'name': 'MongoTimestamp',
\ 'constants': {
\ },
\ 'properties': {
\ 'sec': { 'initializer': '0', 'type': 'int'},
\ 'inc': { 'initializer': '0', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ int $sec = time() [, int $inc]]', 'return_type': ''},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['mysqli'] = {
\'mysqli_driver': {
\ 'name': 'mysqli_driver',
\ 'constants': {
\ },
\ 'properties': {
\ 'client_info': { 'initializer': '', 'type': 'string'},
\ 'client_version': { 'initializer': '', 'type': 'string'},
\ 'driver_version': { 'initializer': '', 'type': 'string'},
\ 'embedded': { 'initializer': '', 'type': 'string'},
\ 'reconnect': { 'initializer': '', 'type': 'bool'},
\ 'report_mode': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'embedded_server_end': { 'signature': 'void | void', 'return_type': 'void'},
\ 'embedded_server_start': { 'signature': 'bool $start, array $arguments, array $groups | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'mysqli_result': {
\ 'name': 'mysqli_result',
\ 'constants': {
\ },
\ 'properties': {
\ 'current_field': { 'initializer': '', 'type': 'int'},
\ 'field_count': { 'initializer': '', 'type': 'int'},
\ 'lengths': { 'initializer': '', 'type': 'array'},
\ 'num_rows': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'data_seek': { 'signature': 'int $offset | bool', 'return_type': 'bool'},
\ 'fetch_all': { 'signature': '[ int $resulttype = MYSQLI_NUM] | mixed', 'return_type': 'mixed'},
\ 'fetch_array': { 'signature': '[ int $resulttype = MYSQLI_BOTH] | mixed', 'return_type': 'mixed'},
\ 'fetch_assoc': { 'signature': 'void | array', 'return_type': 'array'},
\ 'fetch_field_direct': { 'signature': 'int $fieldnr | object', 'return_type': 'object'},
\ 'fetch_field': { 'signature': 'void | object', 'return_type': 'object'},
\ 'fetch_fields': { 'signature': 'void | array', 'return_type': 'array'},
\ 'fetch_object': { 'signature': '[ string $class_name [, array $params]] | object', 'return_type': 'object'},
\ 'fetch_row': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'field_seek': { 'signature': 'int $fieldnr | bool', 'return_type': 'bool'},
\ 'free': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'mysqli_sql_exception': {
\ 'name': 'mysqli_sql_exception',
\ 'constants': {
\ },
\ 'properties': {
\ 'sqlstate': { 'initializer': '', 'type': 'string'},
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ },
\},
\'mysqli_stmt': {
\ 'name': 'mysqli_stmt',
\ 'constants': {
\ },
\ 'properties': {
\ 'affected_rows': { 'initializer': '', 'type': 'int'},
\ 'errno': { 'initializer': '', 'type': 'int'},
\ 'error_list': { 'initializer': '', 'type': 'array'},
\ 'error': { 'initializer': '', 'type': 'string'},
\ 'field_count': { 'initializer': '', 'type': 'int'},
\ 'insert_id': { 'initializer': '', 'type': 'int'},
\ 'num_rows': { 'initializer': '', 'type': 'int'},
\ 'param_count': { 'initializer': '', 'type': 'int'},
\ 'sqlstate': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'attr_get': { 'signature': 'int $attr | int', 'return_type': 'int'},
\ 'attr_set': { 'signature': 'int $attr, int $mode | bool', 'return_type': 'bool'},
\ 'bind_param': { 'signature': 'string $types, mixed &$var1 [, mixed &$...] | bool', 'return_type': 'bool'},
\ 'bind_result': { 'signature': 'mixed &$var1 [, mixed &$...] | bool', 'return_type': 'bool'},
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'data_seek': { 'signature': 'int $offset | void', 'return_type': 'void'},
\ 'execute': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'fetch': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'free_result': { 'signature': 'void | void', 'return_type': 'void'},
\ 'get_result': { 'signature': 'void | mysqli_result', 'return_type': 'mysqli_result'},
\ 'get_warnings': { 'signature': 'mysqli_stmt $stmt | object', 'return_type': 'object'},
\ 'prepare': { 'signature': 'string $query | mixed', 'return_type': 'mixed'},
\ 'reset': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'result_metadata': { 'signature': 'void | mysqli_result', 'return_type': 'mysqli_result'},
\ 'send_long_data': { 'signature': 'int $param_nr, string $data | bool', 'return_type': 'bool'},
\ 'store_result': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'mysqli_warning': {
\ 'name': 'mysqli_warning',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': ''},
\ 'sqlstate': { 'initializer': '', 'type': ''},
\ 'errno': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'mysqli': {
\ 'name': 'mysqli',
\ 'constants': {
\ },
\ 'properties': {
\ 'affected_rows': { 'initializer': '', 'type': 'int'},
\ 'client_info': { 'initializer': '', 'type': 'string'},
\ 'client_version': { 'initializer': '', 'type': 'int'},
\ 'connect_errno': { 'initializer': '', 'type': 'string'},
\ 'connect_error': { 'initializer': '', 'type': 'string'},
\ 'errno': { 'initializer': '', 'type': 'int'},
\ 'error_list': { 'initializer': '', 'type': 'array'},
\ 'error': { 'initializer': '', 'type': 'string'},
\ 'field_count': { 'initializer': '', 'type': 'int'},
\ 'host_info': { 'initializer': '', 'type': 'string'},
\ 'protocol_version': { 'initializer': '', 'type': 'string'},
\ 'server_info': { 'initializer': '', 'type': 'string'},
\ 'server_version': { 'initializer': '', 'type': 'int'},
\ 'info': { 'initializer': '', 'type': 'string'},
\ 'insert_id': { 'initializer': '', 'type': 'mixed'},
\ 'sqlstate': { 'initializer': '', 'type': 'string'},
\ 'thread_id': { 'initializer': '', 'type': 'int'},
\ 'warning_count': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': '[ string $host = ini_get("mysqli.default_host") [, string $username = ini_get("mysqli.default_user") [, string $passwd = ini_get("mysqli.default_pw") [, string $dbname = "" [, int $port = ini_get("mysqli.default_port") [, string $socket = ini_get("mysqli.default_socket")]]]]]]', 'return_type': ''},
\ 'autocommit': { 'signature': 'bool $mode | bool', 'return_type': 'bool'},
\ 'change_user': { 'signature': 'string $user, string $password, string $database | bool', 'return_type': 'bool'},
\ 'character_set_name': { 'signature': 'void | string', 'return_type': 'string'},
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'commit': { 'signature': '[ int $flags [, string $name]] | bool', 'return_type': 'bool'},
\ 'debug': { 'signature': 'string $message | bool', 'return_type': 'bool'},
\ 'dump_debug_info': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'get_charset': { 'signature': 'void | object', 'return_type': 'object'},
\ 'get_client_info': { 'signature': 'void | string', 'return_type': 'string'},
\ 'get_connection_stats': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'get_warnings': { 'signature': 'void | mysqli_warning', 'return_type': 'mysqli_warning'},
\ 'init': { 'signature': 'void | mysqli', 'return_type': 'mysqli'},
\ 'kill': { 'signature': 'int $processid | bool', 'return_type': 'bool'},
\ 'more_results': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'multi_query': { 'signature': 'string $query | bool', 'return_type': 'bool'},
\ 'next_result': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'options': { 'signature': 'int $option, mixed $value | bool', 'return_type': 'bool'},
\ 'ping': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'prepare': { 'signature': 'string $query | mysqli_stmt', 'return_type': 'mysqli_stmt'},
\ 'query': { 'signature': 'string $query [, int $resultmode = MYSQLI_STORE_RESULT] | mixed', 'return_type': 'mixed'},
\ 'real_connect': { 'signature': '[ string $host [, string $username [, string $passwd [, string $dbname [, int $port [, string $socket [, int $flags]]]]]]] | bool', 'return_type': 'bool'},
\ 'escape_string': { 'signature': 'string $escapestr | string', 'return_type': 'string'},
\ 'real_query': { 'signature': 'string $query | bool', 'return_type': 'bool'},
\ 'reap_async_query': { 'signature': 'void | mysqli_result', 'return_type': 'mysqli_result'},
\ 'refresh': { 'signature': 'int $options | bool', 'return_type': 'bool'},
\ 'rollback': { 'signature': '[ int $flags [, string $name]] | bool', 'return_type': 'bool'},
\ 'rpl_query_type': { 'signature': 'string $query | int', 'return_type': 'int'},
\ 'select_db': { 'signature': 'string $dbname | bool', 'return_type': 'bool'},
\ 'send_query': { 'signature': 'string $query | bool', 'return_type': 'bool'},
\ 'set_charset': { 'signature': 'string $charset | bool', 'return_type': 'bool'},
\ 'set_local_infile_handler': { 'signature': 'mysqli $link, callable $read_func | bool', 'return_type': 'bool'},
\ 'ssl_set': { 'signature': 'string $key, string $cert, string $ca, string $capath, string $cipher | bool', 'return_type': 'bool'},
\ 'stat': { 'signature': 'void | string', 'return_type': 'string'},
\ 'stmt_init': { 'signature': 'void | mysqli_stmt', 'return_type': 'mysqli_stmt'},
\ 'store_result': { 'signature': 'void | mysqli_result', 'return_type': 'mysqli_result'},
\ 'use_result': { 'signature': 'void | mysqli_result', 'return_type': 'mysqli_result'},
\ },
\ 'static_methods': {
\ 'poll': { 'signature': 'array &$read, array &$error, array &$reject, int $sec [, int $usec] | int', 'return_type': 'int'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['mysqlnd_uh'] = {
\'mysqlnduhconnection': {
\ 'name': 'MysqlndUhConnection',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'changeUser': { 'signature': 'mysqlnd_connection $connection, string $user, string $password, string $database, bool $silent, int $passwd_len | bool', 'return_type': 'bool'},
\ 'charsetName': { 'signature': 'mysqlnd_connection $connection | string', 'return_type': 'string'},
\ 'close': { 'signature': 'mysqlnd_connection $connection, int $close_type | bool', 'return_type': 'bool'},
\ 'connect': { 'signature': 'mysqlnd_connection $connection, string $host, string $use", string $password, string $database, int $port, string $socket, int $mysql_flags | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'endPSession': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'escapeString': { 'signature': 'mysqlnd_connection $connection, string $escape_string | string', 'return_type': 'string'},
\ 'getAffectedRows': { 'signature': 'mysqlnd_connection $connection | int', 'return_type': 'int'},
\ 'getErrorNumber': { 'signature': 'mysqlnd_connection $connection | int', 'return_type': 'int'},
\ 'getErrorString': { 'signature': 'mysqlnd_connection $connection | string', 'return_type': 'string'},
\ 'getFieldCount': { 'signature': 'mysqlnd_connection $connection | int', 'return_type': 'int'},
\ 'getHostInformation': { 'signature': 'mysqlnd_connection $connection | string', 'return_type': 'string'},
\ 'getLastInsertId': { 'signature': 'mysqlnd_connection $connection | int', 'return_type': 'int'},
\ 'getLastMessage': { 'signature': 'mysqlnd_connection $connection | void', 'return_type': 'void'},
\ 'getProtocolInformation': { 'signature': 'mysqlnd_connection $connection | string', 'return_type': 'string'},
\ 'getServerInformation': { 'signature': 'mysqlnd_connection $connection | string', 'return_type': 'string'},
\ 'getServerStatistics': { 'signature': 'mysqlnd_connection $connection | string', 'return_type': 'string'},
\ 'getServerVersion': { 'signature': 'mysqlnd_connection $connection | int', 'return_type': 'int'},
\ 'getSqlstate': { 'signature': 'mysqlnd_connection $connection | string', 'return_type': 'string'},
\ 'getStatistics': { 'signature': 'mysqlnd_connection $connection | array', 'return_type': 'array'},
\ 'getThreadId': { 'signature': 'mysqlnd_connection $connection | int', 'return_type': 'int'},
\ 'getWarningCount': { 'signature': 'mysqlnd_connection $connection | int', 'return_type': 'int'},
\ 'init': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'killConnection': { 'signature': 'mysqlnd_connection $connection, int $pid | bool', 'return_type': 'bool'},
\ 'listFields': { 'signature': 'mysqlnd_connection $connection, string $table, string $achtung_wild | array', 'return_type': 'array'},
\ 'listMethod': { 'signature': 'mysqlnd_connection $connection, string $query, string $achtung_wild, string $par1 | void', 'return_type': 'void'},
\ 'moreResults': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'nextResult': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'ping': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'query': { 'signature': 'mysqlnd_connection $connection, string $query | bool', 'return_type': 'bool'},
\ 'queryReadResultsetHeader': { 'signature': 'mysqlnd_connection $connection, mysqlnd_statement $mysqlnd_stmt | bool', 'return_type': 'bool'},
\ 'reapQuery': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'refreshServer': { 'signature': 'mysqlnd_connection $connection, int $options | bool', 'return_type': 'bool'},
\ 'restartPSession': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'selectDb': { 'signature': 'mysqlnd_connection $connection, string $database | bool', 'return_type': 'bool'},
\ 'sendClose': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'sendQuery': { 'signature': 'mysqlnd_connection $connection, string $query | bool', 'return_type': 'bool'},
\ 'serverDumpDebugInformation': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'setAutocommit': { 'signature': 'mysqlnd_connection $connection, int $mode | bool', 'return_type': 'bool'},
\ 'setCharset': { 'signature': 'mysqlnd_connection $connection, string $charset | bool', 'return_type': 'bool'},
\ 'setClientOption': { 'signature': 'mysqlnd_connection $connection, int $option, int $value | bool', 'return_type': 'bool'},
\ 'setServerOption': { 'signature': 'mysqlnd_connection $connection, int $option | void', 'return_type': 'void'},
\ 'shutdownServer': { 'signature': 'string $MYSQLND_UH_RES_MYSQLND_NAME, string $"level" | void', 'return_type': 'void'},
\ 'simpleCommand': { 'signature': 'mysqlnd_connection $connection, int $command, string $arg, int $ok_packet, bool $silent, bool $ignore_upsert_status | bool', 'return_type': 'bool'},
\ 'simpleCommandHandleResponse': { 'signature': 'mysqlnd_connection $connection, int $ok_packet, bool $silent, int $command, bool $ignore_upsert_status | bool', 'return_type': 'bool'},
\ 'sslSet': { 'signature': 'mysqlnd_connection $connection, string $key, string $cert, string $ca, string $capath, string $cipher | bool', 'return_type': 'bool'},
\ 'stmtInit': { 'signature': 'mysqlnd_connection $connection | resource', 'return_type': 'resource'},
\ 'storeResult': { 'signature': 'mysqlnd_connection $connection | resource', 'return_type': 'resource'},
\ 'txCommit': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'txRollback': { 'signature': 'mysqlnd_connection $connection | bool', 'return_type': 'bool'},
\ 'useResult': { 'signature': 'mysqlnd_connection $connection | resource', 'return_type': 'resource'},
\ },
\ 'static_methods': {
\ },
\},
\'mysqlnduhpreparedstatement': {
\ 'name': 'MysqlndUhPreparedStatement',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'void', 'return_type': ''},
\ 'execute': { 'signature': 'mysqlnd_prepared_statement $statement | bool', 'return_type': 'bool'},
\ 'prepare': { 'signature': 'mysqlnd_prepared_statement $statement, string $query | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['oauth'] = {
\'oauth': {
\ 'name': 'OAuth',
\ 'constants': {
\ },
\ 'properties': {
\ 'debug': { 'initializer': '', 'type': ''},
\ 'sslChecks': { 'initializer': '', 'type': ''},
\ 'debugInfo': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $consumer_key, string $consumer_secret [, string $signature_method = OAUTH_SIG_METHOD_HMACSHA1 [, int $auth_type = 0]]', 'return_type': ''},
\ '__destruct': { 'signature': 'void | void', 'return_type': 'void'},
\ 'disableDebug': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'disableRedirects': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'disableSSLChecks': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'enableDebug': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'enableRedirects': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'enableSSLChecks': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'fetch': { 'signature': 'string $protected_resource_url [, array $extra_parameters [, string $http_method [, array $http_headers]]] | mixed', 'return_type': 'mixed'},
\ 'generateSignature': { 'signature': 'string $http_method, string $url [, mixed $extra_parameters] | string', 'return_type': 'string'},
\ 'getAccessToken': { 'signature': 'string $access_token_url [, string $auth_session_handle [, string $verifier_token]] | array', 'return_type': 'array'},
\ 'getCAPath': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getLastResponse': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLastResponseHeaders': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLastResponseInfo': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getRequestHeader': { 'signature': 'string $http_method, string $url [, mixed $extra_parameters] | string', 'return_type': 'string'},
\ 'getRequestToken': { 'signature': 'string $request_token_url [, string $callback_url] | array', 'return_type': 'array'},
\ 'setAuthType': { 'signature': 'int $auth_type | mixed', 'return_type': 'mixed'},
\ 'setCAPath': { 'signature': '[ string $ca_path [, string $ca_info]] | mixed', 'return_type': 'mixed'},
\ 'setNonce': { 'signature': 'string $nonce | mixed', 'return_type': 'mixed'},
\ 'setRequestEngine': { 'signature': 'int $reqengine | void', 'return_type': 'void'},
\ 'setRSACertificate': { 'signature': 'string $cert | mixed', 'return_type': 'mixed'},
\ 'setSSLChecks': { 'signature': 'int $sslcheck | bool', 'return_type': 'bool'},
\ 'setTimestamp': { 'signature': 'string $timestamp | mixed', 'return_type': 'mixed'},
\ 'setToken': { 'signature': 'string $token, string $token_secret | bool', 'return_type': 'bool'},
\ 'setVersion': { 'signature': 'string $version | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'oauthexception': {
\ 'name': 'OAuthException',
\ 'constants': {
\ },
\ 'properties': {
\ 'lastResponse': { 'initializer': '', 'type': ''},
\ 'debugInfo': { 'initializer': '', 'type': ''},
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'oauthprovider': {
\ 'name': 'OAuthProvider',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addRequiredParameter': { 'signature': 'string $req_params | bool', 'return_type': 'bool'},
\ 'callconsumerHandler': { 'signature': 'void | void', 'return_type': 'void'},
\ 'callTimestampNonceHandler': { 'signature': 'void | void', 'return_type': 'void'},
\ 'calltokenHandler': { 'signature': 'void | void', 'return_type': 'void'},
\ 'checkOAuthRequest': { 'signature': '[ string $uri [, string $method]] | void', 'return_type': 'void'},
\ '__construct': { 'signature': '[ array $params_array]', 'return_type': ''},
\ 'consumerHandler': { 'signature': 'callable $callback_function | void', 'return_type': 'void'},
\ 'is2LeggedEndpoint': { 'signature': 'mixed $params_array | void', 'return_type': 'void'},
\ 'isRequestTokenEndpoint': { 'signature': 'bool $will_issue_request_token | void', 'return_type': 'void'},
\ 'removeRequiredParameter': { 'signature': 'string $req_params | bool', 'return_type': 'bool'},
\ 'setParam': { 'signature': 'string $param_key [, mixed $param_val] | bool', 'return_type': 'bool'},
\ 'setRequestTokenPath': { 'signature': 'string $path | bool', 'return_type': 'bool'},
\ 'timestampNonceHandler': { 'signature': 'callable $callback_function | void', 'return_type': 'void'},
\ 'tokenHandler': { 'signature': 'callable $callback_function | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'generateToken': { 'signature': 'int $size [, bool $strong = false] | string', 'return_type': 'string'},
\ 'reportProblem': { 'signature': 'string $oauthexception [, bool $send_headers = true] | string', 'return_type': 'string'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['pdo'] = {
\'pdo': {
\ 'name': 'PDO',
\ 'constants': {
\ 'FETCH_ORI_ABS': '',
\ 'ATTR_PERSISTENT': '',
\ 'CLASS_CONSTANT': '',
\ 'ATTR_DEFAULT_FETCH_MODE': '',
\ 'FETCH_PROPS_LATE': '',
\ 'FETCH_KEY_PAIR': '',
\ 'FB_ATTR_DATE_FORMAT': '',
\ 'FB_ATTR_TIME_FORMAT': '',
\ 'FB_ATTR_TIMESTAMP_FORMAT': '',
\ 'MYSQL_ATTR_READ_DEFAULT_FILE': '',
\ 'MYSQL_ATTR_READ_DEFAULT_GROUP': '',
\ 'ATTR_AUTOCOMMIT': '',
\ 'FOURD_ATTR_CHARSET': '',
\ 'FOURD_ATTR_PREFERRED_IMAGE_TYPES': '',
\ 'PARAM_LOB': '',
\ 'PARAM_BOOL': '',
\ 'PARAM_NULL': '',
\ 'PARAM_INT': '',
\ 'PARAM_STR': '',
\ 'PARAM_STMT': '',
\ 'PARAM_INPUT_OUTPUT': '',
\ 'FETCH_LAZY': '',
\ 'FETCH_ASSOC': '',
\ 'FETCH_NAMED': '',
\ 'FETCH_NUM': '',
\ 'FETCH_BOTH': '',
\ 'FETCH_OBJ': '',
\ 'FETCH_BOUND': '',
\ 'FETCH_COLUMN': '',
\ 'FETCH_CLASS': '',
\ 'FETCH_INTO': '',
\ 'FETCH_FUNC': '',
\ 'FETCH_GROUP': '',
\ 'FETCH_UNIQUE': '',
\ 'FETCH_CLASSTYPE': '',
\ 'FETCH_SERIALIZE': '',
\ 'ATTR_PREFETCH': '',
\ 'ATTR_TIMEOUT': '',
\ 'ATTR_ERRMODE': '',
\ 'ATTR_SERVER_VERSION': '',
\ 'ATTR_CLIENT_VERSION': '',
\ 'ATTR_SERVER_INFO': '',
\ 'ATTR_CONNECTION_STATUS': '',
\ 'ATTR_CASE': '',
\ 'ATTR_CURSOR_NAME': '',
\ 'ATTR_CURSOR': '',
\ 'CURSOR_FWDONLY': '',
\ 'CURSOR_SCROLL': '',
\ 'ATTR_DRIVER_NAME': '',
\ 'ATTR_ORACLE_NULLS': '',
\ 'ATTR_STATEMENT_CLASS': '',
\ 'ATTR_FETCH_CATALOG_NAMES': '',
\ 'ATTR_FETCH_TABLE_NAMES': '',
\ 'ATTR_STRINGIFY_FETCHES': '',
\ 'ATTR_MAX_COLUMN_LEN': '',
\ 'ATTR_EMULATE_PREPARES': '',
\ 'ERRMODE_SILENT': '',
\ 'ERRMODE_WARNING': '',
\ 'ERRMODE_EXCEPTION': '',
\ 'CASE_NATURAL': '',
\ 'CASE_LOWER': '',
\ 'CASE_UPPER': '',
\ 'NULL_NATURAL': '',
\ 'NULL_EMPTY_STRING': '',
\ 'NULL_TO_STRING': '',
\ 'FETCH_ORI_NEXT': '',
\ 'FETCH_ORI_PRIOR': '',
\ 'FETCH_ORI_FIRST': '',
\ 'FETCH_ORI_LAST': '',
\ 'FETCH_ORI_REL': '',
\ 'ERR_NONE': '',
\ 'PARAM_EVT_ALLOC': '',
\ 'PARAM_EVT_FREE': '',
\ 'PARAM_EVT_EXEC_PRE': '',
\ 'PARAM_EVT_EXEC_POST': '',
\ 'PARAM_EVT_FETCH_PRE': '',
\ 'PARAM_EVT_FETCH_POST': '',
\ 'PARAM_EVT_NORMALIZE': '',
\ 'MYSQL_ATTR_INIT_COMMAND': '',
\ 'MYSQL_ATTR_USE_BUFFERED_QUERY': '',
\ 'MYSQL_ATTR_LOCAL_INFILE': '',
\ 'MYSQL_ATTR_MAX_BUFFER_SIZE': '',
\ 'MYSQL_ATTR_DIRECT_QUERY': '',
\ 'MYSQL_ATTR_FOUND_ROWS': '',
\ 'MYSQL_ATTR_IGNORE_SPACE': '',
\ 'MYSQL_ATTR_COMPRESS': '',
\ 'MYSQL_ATTR_SSL_CA': '',
\ 'MYSQL_ATTR_SSL_CAPATH': '',
\ 'MYSQL_ATTR_SSL_CERT': '',
\ 'MYSQL_ATTR_SSL_CIPHER': '',
\ 'MYSQL_ATTR_SSL_KEY': '',
\ 'SQLSRV_TXN_READ_UNCOMMITTED': '',
\ 'SQLSRV_TXN_READ_COMMITTED': '',
\ 'SQLSRV_TXN_REPEATABLE_READ': '',
\ 'SQLSRV_TXN_SNAPSHOT': '',
\ 'SQLSRV_TXN_SERIALIZABLE': '',
\ 'SQLSRV_ENCODING_BINARY': '',
\ 'SQLSRV_ENCODING_SYSTEM': '',
\ 'SQLSRV_ENCODING_UTF8': '',
\ 'SQLSRV_ENCODING_DEFAULT': '',
\ 'SQLSRV_ATTR_QUERY_TIMEOUT': '',
\ 'SQLSRV_ATTR_DIRECT_QUERY': '',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $dsn [, string $username [, string $password [, array $driver_options]]]', 'return_type': ''},
\ 'beginTransaction': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'commit': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'errorCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'errorInfo': { 'signature': 'void | array', 'return_type': 'array'},
\ 'exec': { 'signature': 'string $statement | int', 'return_type': 'int'},
\ 'getAttribute': { 'signature': 'int $attribute | mixed', 'return_type': 'mixed'},
\ 'inTransaction': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'lastInsertId': { 'signature': '[ string $name = NULL] | string', 'return_type': 'string'},
\ 'prepare': { 'signature': 'string $statement [, array $driver_options = array()] | PDOStatement', 'return_type': 'PDOStatement'},
\ 'query': { 'signature': 'string $statement | PDOStatement', 'return_type': 'PDOStatement'},
\ 'quote': { 'signature': 'string $string [, int $parameter_type = PDO::PARAM_STR] | string', 'return_type': 'string'},
\ 'rollBack': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setAttribute': { 'signature': 'int $attribute, mixed $value | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'getAvailableDrivers': { 'signature': 'void | array', 'return_type': 'array'},
\ },
\},
\'pdoexception': {
\ 'name': 'PDOException',
\ 'constants': {
\ },
\ 'properties': {
\ 'errorInfo': { 'initializer': '', 'type': 'array'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'pdostatement': {
\ 'name': 'PDOStatement',
\ 'constants': {
\ },
\ 'properties': {
\ 'queryString': { 'initializer': '', 'type': 'string'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'bindColumn': { 'signature': 'mixed $column, mixed &$param [, int $type [, int $maxlen [, mixed $driverdata]]] | bool', 'return_type': 'bool'},
\ 'bindParam': { 'signature': 'mixed $parameter, mixed &$variable [, int $data_type = PDO::PARAM_STR [, int $length [, mixed $driver_options]]] | bool', 'return_type': 'bool'},
\ 'bindValue': { 'signature': 'mixed $parameter, mixed $value [, int $data_type = PDO::PARAM_STR] | bool', 'return_type': 'bool'},
\ 'closeCursor': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'columnCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'debugDumpParams': { 'signature': 'void | void', 'return_type': 'void'},
\ 'errorCode': { 'signature': 'void | string', 'return_type': 'string'},
\ 'errorInfo': { 'signature': 'void | array', 'return_type': 'array'},
\ 'execute': { 'signature': '[ array $input_parameters] | bool', 'return_type': 'bool'},
\ 'fetch': { 'signature': '[ int $fetch_style [, int $cursor_orientation = PDO::FETCH_ORI_NEXT [, int $cursor_offset = 0]]] | mixed', 'return_type': 'mixed'},
\ 'fetchAll': { 'signature': '[ int $fetch_style [, mixed $fetch_argument [, array $ctor_args = array()]]] | array', 'return_type': 'array'},
\ 'fetchColumn': { 'signature': '[ int $column_number = 0] | string', 'return_type': 'string'},
\ 'fetchObject': { 'signature': '[ string $class_name = "stdClass" [, array $ctor_args]] | mixed', 'return_type': 'mixed'},
\ 'getAttribute': { 'signature': 'int $attribute | mixed', 'return_type': 'mixed'},
\ 'getColumnMeta': { 'signature': 'int $column | array', 'return_type': 'array'},
\ 'nextRowset': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'rowCount': { 'signature': 'void | int', 'return_type': 'int'},
\ 'setAttribute': { 'signature': 'int $attribute, mixed $value | bool', 'return_type': 'bool'},
\ 'setFetchMode': { 'signature': 'int $mode | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['phar'] = {
\'phar': {
\ 'name': 'Phar',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addEmptyDir': { 'signature': 'string $dirname | void', 'return_type': 'void'},
\ 'addFile': { 'signature': 'string $file [, string $localname] | void', 'return_type': 'void'},
\ 'addFromString': { 'signature': 'string $localname, string $contents | void', 'return_type': 'void'},
\ 'buildFromDirectory': { 'signature': 'string $base_dir [, string $regex] | array', 'return_type': 'array'},
\ 'buildFromIterator': { 'signature': 'Iterator $iter [, string $base_directory] | array', 'return_type': 'array'},
\ 'compress': { 'signature': 'int $compression [, string $extension] | object', 'return_type': 'object'},
\ 'compressAllFilesBZIP2': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'compressAllFilesGZ': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'compressFiles': { 'signature': 'int $compression | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'string $fname [, int $flags [, string $alias]]', 'return_type': ''},
\ 'convertToData': { 'signature': '[ int $format = 9021976 [, int $compression = 9021976 [, string $extension]]] | PharData', 'return_type': 'PharData'},
\ 'convertToExecutable': { 'signature': '[ int $format = 9021976 [, int $compression = 9021976 [, string $extension]]] | Phar', 'return_type': 'Phar'},
\ 'copy': { 'signature': 'string $oldfile, string $newfile | bool', 'return_type': 'bool'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'decompress': { 'signature': '[ string $extension] | object', 'return_type': 'object'},
\ 'decompressFiles': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'delMetadata': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'delete': { 'signature': 'string $entry | bool', 'return_type': 'bool'},
\ 'extractTo': { 'signature': 'string $pathto [, string|array $files [, bool $overwrite = false]] | bool', 'return_type': 'bool'},
\ 'getMetadata': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getModified': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getSignature': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStub': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasMetadata': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isBuffering': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCompressed': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'isFileFormat': { 'signature': 'int $format | bool', 'return_type': 'bool'},
\ 'isWritable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'offsetExists': { 'signature': 'string $offset | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'string $offset | int', 'return_type': 'int'},
\ 'offsetSet': { 'signature': 'string $offset, string $value | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'string $offset | bool', 'return_type': 'bool'},
\ 'setAlias': { 'signature': 'string $alias | bool', 'return_type': 'bool'},
\ 'setDefaultStub': { 'signature': '[ string $index [, string $webindex]] | bool', 'return_type': 'bool'},
\ 'setMetadata': { 'signature': 'mixed $metadata | void', 'return_type': 'void'},
\ 'setSignatureAlgorithm': { 'signature': 'int $sigtype [, string $privatekey] | void', 'return_type': 'void'},
\ 'setStub': { 'signature': 'string $stub [, int $len = -1] | bool', 'return_type': 'bool'},
\ 'startBuffering': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stopBuffering': { 'signature': 'void | void', 'return_type': 'void'},
\ 'uncompressAllFiles': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'apiVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'canCompress': { 'signature': '[ int $type = 0] | bool', 'return_type': 'bool'},
\ 'canWrite': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'createDefaultStub': { 'signature': '[ string $indexfile [, string $webindexfile]] | string', 'return_type': 'string'},
\ 'getSupportedCompression': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getSupportedSignatures': { 'signature': 'void | array', 'return_type': 'array'},
\ 'interceptFileFuncs': { 'signature': 'void | void', 'return_type': 'void'},
\ 'isValidPharFilename': { 'signature': 'string $filename [, bool $executable = true] | bool', 'return_type': 'bool'},
\ 'loadPhar': { 'signature': 'string $filename [, string $alias] | bool', 'return_type': 'bool'},
\ 'mapPhar': { 'signature': '[ string $alias [, int $dataoffset = 0]] | bool', 'return_type': 'bool'},
\ 'mount': { 'signature': 'string $pharpath, string $externalpath | void', 'return_type': 'void'},
\ 'mungServer': { 'signature': 'array $munglist | void', 'return_type': 'void'},
\ 'running': { 'signature': '[ bool $retphar = true] | string', 'return_type': 'string'},
\ 'unlinkArchive': { 'signature': 'string $archive | bool', 'return_type': 'bool'},
\ 'webPhar': { 'signature': '[ string $alias [, string $index = "index.php" [, string $f404 [, array $mimetypes [, callable $rewrites]]]]] | void', 'return_type': 'void'},
\ },
\},
\'phardata': {
\ 'name': 'PharData',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addEmptyDir': { 'signature': 'string $dirname | void', 'return_type': 'void'},
\ 'addFile': { 'signature': 'string $file [, string $localname] | void', 'return_type': 'void'},
\ 'addFromString': { 'signature': 'string $localname, string $contents | void', 'return_type': 'void'},
\ 'buildFromDirectory': { 'signature': 'string $base_dir [, string $regex] | array', 'return_type': 'array'},
\ 'buildFromIterator': { 'signature': 'Iterator $iter [, string $base_directory] | array', 'return_type': 'array'},
\ 'compress': { 'signature': 'int $compression [, string $extension] | object', 'return_type': 'object'},
\ 'compressFiles': { 'signature': 'int $compression | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'string $fname [, int $flags [, string $alias]]', 'return_type': ''},
\ 'convertToData': { 'signature': '[ int $format = 9021976 [, int $compression = 9021976 [, string $extension]]] | PharData', 'return_type': 'PharData'},
\ 'convertToExecutable': { 'signature': '[ int $format = 9021976 [, int $compression = 9021976 [, string $extension]]] | Phar', 'return_type': 'Phar'},
\ 'copy': { 'signature': 'string $oldfile, string $newfile | bool', 'return_type': 'bool'},
\ 'decompress': { 'signature': '[ string $extension] | object', 'return_type': 'object'},
\ 'decompressFiles': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'delMetadata': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'delete': { 'signature': 'string $entry | bool', 'return_type': 'bool'},
\ 'extractTo': { 'signature': 'string $pathto [, string|array $files [, bool $overwrite = false]] | bool', 'return_type': 'bool'},
\ 'isWritable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'offsetSet': { 'signature': 'string $offset, string $value | void', 'return_type': 'void'},
\ 'offsetUnset': { 'signature': 'string $offset | bool', 'return_type': 'bool'},
\ 'setAlias': { 'signature': 'string $alias | bool', 'return_type': 'bool'},
\ 'setDefaultStub': { 'signature': '[ string $index [, string $webindex]] | bool', 'return_type': 'bool'},
\ 'setMetadata': { 'signature': 'mixed $metadata | void', 'return_type': 'void'},
\ 'setSignatureAlgorithm': { 'signature': 'int $sigtype [, string $privatekey] | void', 'return_type': 'void'},
\ 'setStub': { 'signature': 'string $stub [, int $len = -1] | bool', 'return_type': 'bool'},
\ 'compressAllFilesBZIP2': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'compressAllFilesGZ': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMetadata': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getModified': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getSignature': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStub': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'hasMetadata': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isBuffering': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCompressed': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'isFileFormat': { 'signature': 'int $format | bool', 'return_type': 'bool'},
\ 'offsetExists': { 'signature': 'string $offset | bool', 'return_type': 'bool'},
\ 'offsetGet': { 'signature': 'string $offset | int', 'return_type': 'int'},
\ 'startBuffering': { 'signature': 'void | void', 'return_type': 'void'},
\ 'stopBuffering': { 'signature': 'void | void', 'return_type': 'void'},
\ 'uncompressAllFiles': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'apiVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'canCompress': { 'signature': '[ int $type = 0] | bool', 'return_type': 'bool'},
\ 'canWrite': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'createDefaultStub': { 'signature': '[ string $indexfile [, string $webindexfile]] | string', 'return_type': 'string'},
\ 'getSupportedCompression': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getSupportedSignatures': { 'signature': 'void | array', 'return_type': 'array'},
\ 'interceptFileFuncs': { 'signature': 'void | void', 'return_type': 'void'},
\ 'isValidPharFilename': { 'signature': 'string $filename [, bool $executable = true] | bool', 'return_type': 'bool'},
\ 'loadPhar': { 'signature': 'string $filename [, string $alias] | bool', 'return_type': 'bool'},
\ 'mapPhar': { 'signature': '[ string $alias [, int $dataoffset = 0]] | bool', 'return_type': 'bool'},
\ 'mount': { 'signature': 'string $pharpath, string $externalpath | void', 'return_type': 'void'},
\ 'mungServer': { 'signature': 'array $munglist | void', 'return_type': 'void'},
\ 'running': { 'signature': '[ bool $retphar = true] | string', 'return_type': 'string'},
\ 'unlinkArchive': { 'signature': 'string $archive | bool', 'return_type': 'bool'},
\ 'webPhar': { 'signature': '[ string $alias [, string $index = "index.php" [, string $f404 [, array $mimetypes [, callable $rewrites]]]]] | void', 'return_type': 'void'},
\ },
\},
\'pharexception': {
\ 'name': 'PharException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'pharfileinfo': {
\ 'name': 'PharFileInfo',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'chmod': { 'signature': 'int $permissions | void', 'return_type': 'void'},
\ 'compress': { 'signature': 'int $compression | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'string $entry', 'return_type': ''},
\ 'decompress': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'delMetadata': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getCRC32': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCompressedSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMetadata': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getPharFlags': { 'signature': 'void | int', 'return_type': 'int'},
\ 'hasMetadata': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCRCChecked': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCompressed': { 'signature': '[ int $compression_type = 9021976] | bool', 'return_type': 'bool'},
\ 'isCompressedBZIP2': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCompressedGZ': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setCompressedBZIP2': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setCompressedGZ': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setMetadata': { 'signature': 'mixed $metadata | void', 'return_type': 'void'},
\ 'setUncompressed': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['streams'] = {
\'php_user_filter': {
\ 'name': 'php_user_filter',
\ 'constants': {
\ },
\ 'properties': {
\ 'filtername': { 'initializer': '', 'type': ''},
\ 'params': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'filter': { 'signature': 'resource $in, resource $out, int &$consumed, bool $closing | int', 'return_type': 'int'},
\ 'onClose': { 'signature': 'void | void', 'return_type': 'void'},
\ 'onCreate': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['quickhash'] = {
\'quickhashinthash': {
\ 'name': 'QuickHashIntHash',
\ 'constants': {
\ 'CHECK_FOR_DUPES': '1',
\ 'DO_NOT_USE_ZEND_ALLOC': '2',
\ 'HASHER_NO_HASH': '256',
\ 'HASHER_JENKINS1': '512',
\ 'HASHER_JENKINS2': '1024',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': 'int $key [, int $value] | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'int $size [, int $options]', 'return_type': ''},
\ 'delete': { 'signature': 'int $key | bool', 'return_type': 'bool'},
\ 'exists': { 'signature': 'int $key | bool', 'return_type': 'bool'},
\ 'get': { 'signature': 'int $key | int', 'return_type': 'int'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'saveToFile': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'saveToString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'set': { 'signature': 'int $key, int $value | bool', 'return_type': 'bool'},
\ 'update': { 'signature': 'int $key, int $value | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'loadFromFile': { 'signature': 'string $filename [, int $options] | QuickHashIntHash', 'return_type': 'QuickHashIntHash'},
\ 'loadFromString': { 'signature': 'string $contents [, int $options] | QuickHashIntHash', 'return_type': 'QuickHashIntHash'},
\ },
\},
\'quickhashintset': {
\ 'name': 'QuickHashIntSet',
\ 'constants': {
\ 'CHECK_FOR_DUPES': '1',
\ 'DO_NOT_USE_ZEND_ALLOC': '2',
\ 'HASHER_NO_HASH': '256',
\ 'HASHER_JENKINS1': '512',
\ 'HASHER_JENKINS2': '1024',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': 'int $key | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'int $size [, int $options]', 'return_type': ''},
\ 'delete': { 'signature': 'int $key | bool', 'return_type': 'bool'},
\ 'exists': { 'signature': 'int $key | bool', 'return_type': 'bool'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'saveToFile': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'saveToString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'loadFromFile': { 'signature': 'string $filename [, int $size [, int $options]] | QuickHashIntSet', 'return_type': 'QuickHashIntSet'},
\ 'loadFromString': { 'signature': 'string $contents [, int $size [, int $options]] | QuickHashIntSet', 'return_type': 'QuickHashIntSet'},
\ },
\},
\'quickhashintstringhash': {
\ 'name': 'QuickHashIntStringHash',
\ 'constants': {
\ 'CHECK_FOR_DUPES': '1',
\ 'DO_NOT_USE_ZEND_ALLOC': '2',
\ 'HASHER_NO_HASH': '256',
\ 'HASHER_JENKINS1': '512',
\ 'HASHER_JENKINS2': '1024',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': 'int $key, string $value | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'int $size [, int $options = 0]', 'return_type': ''},
\ 'delete': { 'signature': 'int $key | bool', 'return_type': 'bool'},
\ 'exists': { 'signature': 'int $key | bool', 'return_type': 'bool'},
\ 'get': { 'signature': 'int $key | mixed', 'return_type': 'mixed'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'saveToFile': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'saveToString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'set': { 'signature': 'int $key, string $value | int', 'return_type': 'int'},
\ 'update': { 'signature': 'int $key, string $value | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'loadFromFile': { 'signature': 'string $filename [, int $size = 0 [, int $options = 0]] | QuickHashIntStringHash', 'return_type': 'QuickHashIntStringHash'},
\ 'loadFromString': { 'signature': 'string $contents [, int $size = 0 [, int $options = 0]] | QuickHashIntStringHash', 'return_type': 'QuickHashIntStringHash'},
\ },
\},
\'quickhashstringinthash': {
\ 'name': 'QuickHashStringIntHash',
\ 'constants': {
\ 'CHECK_FOR_DUPES': '1',
\ 'DO_NOT_USE_ZEND_ALLOC': '2',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'add': { 'signature': 'string $key, int $value | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'int $size [, int $options = 0]', 'return_type': ''},
\ 'delete': { 'signature': 'string $key | bool', 'return_type': 'bool'},
\ 'exists': { 'signature': 'string $key | bool', 'return_type': 'bool'},
\ 'get': { 'signature': 'string $key | mixed', 'return_type': 'mixed'},
\ 'getSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'saveToFile': { 'signature': 'string $filename | void', 'return_type': 'void'},
\ 'saveToString': { 'signature': 'void | string', 'return_type': 'string'},
\ 'set': { 'signature': 'string $key, int $value | int', 'return_type': 'int'},
\ 'update': { 'signature': 'string $key, int $value | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'loadFromFile': { 'signature': 'string $filename [, int $size = 0 [, int $options = 0]] | QuickHashStringIntHash', 'return_type': 'QuickHashStringIntHash'},
\ 'loadFromString': { 'signature': 'string $contents [, int $size = 0 [, int $options = 0]] | QuickHashStringIntHash', 'return_type': 'QuickHashStringIntHash'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['rar'] = {
\'rararchive': {
\ 'name': 'RarArchive',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'getComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getEntries': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getEntry': { 'signature': 'string $entryname | RarEntry', 'return_type': 'RarEntry'},
\ 'isBroken': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isSolid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setAllowBroken': { 'signature': 'bool $allow_broken | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'open': { 'signature': 'string $filename [, string $password = NULL [, callable $volume_callback = NULL]] | RarArchive', 'return_type': 'RarArchive'},
\ },
\},
\'rarentry': {
\ 'name': 'RarEntry',
\ 'constants': {
\ 'HOST_MSDOS': '0',
\ 'HOST_OS2': '1',
\ 'HOST_WIN32': '2',
\ 'HOST_UNIX': '3',
\ 'HOST_MACOS': '4',
\ 'HOST_BEOS': '5',
\ 'ATTRIBUTE_WIN_READONLY': '1',
\ 'ATTRIBUTE_WIN_HIDDEN': '2',
\ 'ATTRIBUTE_WIN_SYSTEM': '4',
\ 'ATTRIBUTE_WIN_DIRECTORY': '16',
\ 'ATTRIBUTE_WIN_ARCHIVE': '32',
\ 'ATTRIBUTE_WIN_DEVICE': '64',
\ 'ATTRIBUTE_WIN_NORMAL': '128',
\ 'ATTRIBUTE_WIN_TEMPORARY': '256',
\ 'ATTRIBUTE_WIN_SPARSE_FILE': '512',
\ 'ATTRIBUTE_WIN_REPARSE_POINT': '1024',
\ 'ATTRIBUTE_WIN_COMPRESSED': '2048',
\ 'ATTRIBUTE_WIN_OFFLINE': '4096',
\ 'ATTRIBUTE_WIN_NOT_CONTENT_INDEXED': '8192',
\ 'ATTRIBUTE_WIN_ENCRYPTED': '16384',
\ 'ATTRIBUTE_WIN_VIRTUAL': '65536',
\ 'ATTRIBUTE_UNIX_WORLD_EXECUTE': '1',
\ 'ATTRIBUTE_UNIX_WORLD_WRITE': '2',
\ 'ATTRIBUTE_UNIX_WORLD_READ': '4',
\ 'ATTRIBUTE_UNIX_GROUP_EXECUTE': '8',
\ 'ATTRIBUTE_UNIX_GROUP_WRITE': '16',
\ 'ATTRIBUTE_UNIX_GROUP_READ': '32',
\ 'ATTRIBUTE_UNIX_OWNER_EXECUTE': '64',
\ 'ATTRIBUTE_UNIX_OWNER_WRITE': '128',
\ 'ATTRIBUTE_UNIX_OWNER_READ': '256',
\ 'ATTRIBUTE_UNIX_STICKY': '512',
\ 'ATTRIBUTE_UNIX_SETGID': '1024',
\ 'ATTRIBUTE_UNIX_SETUID': '2048',
\ 'ATTRIBUTE_UNIX_FINAL_QUARTET': '61440',
\ 'ATTRIBUTE_UNIX_FIFO': '4096',
\ 'ATTRIBUTE_UNIX_CHAR_DEV': '8192',
\ 'ATTRIBUTE_UNIX_DIRECTORY': '16384',
\ 'ATTRIBUTE_UNIX_BLOCK_DEV': '24576',
\ 'ATTRIBUTE_UNIX_REGULAR_FILE': '32768',
\ 'ATTRIBUTE_UNIX_SYM_LINK': '40960',
\ 'ATTRIBUTE_UNIX_SOCKET': '49152',
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'extract': { 'signature': 'string $dir [, string $filepath = '''' [, string $password = NULL [, bool $extended_data = false]]] | bool', 'return_type': 'bool'},
\ 'getAttr': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getCrc': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileTime': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getHostOs': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getMethod': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPackedSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStream': { 'signature': '[ string $password] | resource', 'return_type': 'resource'},
\ 'getUnpackedSize': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getVersion': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isDirectory': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isEncrypted': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ },
\},
\'rarexception': {
\ 'name': 'RarException',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ 'isUsingExceptions': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setUsingExceptions': { 'signature': 'bool $using_exceptions | void', 'return_type': 'void'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['reflection'] = {
\'reflection': {
\ 'name': 'Reflection',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'Reflector $reflector [, bool $return = false] | string', 'return_type': 'string'},
\ 'getModifierNames': { 'signature': 'int $modifiers | array', 'return_type': 'array'},
\ },
\},
\'reflectionclass': {
\ 'name': 'ReflectionClass',
\ 'constants': {
\ 'IS_IMPLICIT_ABSTRACT': '16',
\ 'IS_EXPLICIT_ABSTRACT': '32',
\ 'IS_FINAL': '64',
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'mixed $argument', 'return_type': ''},
\ 'getConstant': { 'signature': 'string $name | mixed', 'return_type': 'mixed'},
\ 'getConstants': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getConstructor': { 'signature': 'void | ReflectionMethod', 'return_type': 'ReflectionMethod'},
\ 'getDefaultProperties': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getDocComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getEndLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | ReflectionExtension', 'return_type': 'ReflectionExtension'},
\ 'getExtensionName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getInterfaceNames': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getInterfaces': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getMethod': { 'signature': 'string $name | ReflectionMethod', 'return_type': 'ReflectionMethod'},
\ 'getMethods': { 'signature': '[ int $filter] | array', 'return_type': 'array'},
\ 'getModifiers': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNamespaceName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getParentClass': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getProperties': { 'signature': '[ int $filter] | array', 'return_type': 'array'},
\ 'getProperty': { 'signature': 'string $name | ReflectionProperty', 'return_type': 'ReflectionProperty'},
\ 'getShortName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getStartLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStaticProperties': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStaticPropertyValue': { 'signature': 'string $name [, mixed &$def_value] | mixed', 'return_type': 'mixed'},
\ 'getTraitAliases': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraitNames': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraits': { 'signature': 'void | array', 'return_type': 'array'},
\ 'hasConstant': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'hasMethod': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'hasProperty': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'implementsInterface': { 'signature': 'string $interface | bool', 'return_type': 'bool'},
\ 'inNamespace': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isAbstract': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCloneable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isFinal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInstance': { 'signature': 'object $object | bool', 'return_type': 'bool'},
\ 'isInstantiable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInterface': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInternal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isIterateable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isSubclassOf': { 'signature': 'string $class | bool', 'return_type': 'bool'},
\ 'isTrait': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isUserDefined': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'newInstance': { 'signature': 'mixed $args [, mixed $...] | object', 'return_type': 'object'},
\ 'newInstanceArgs': { 'signature': '[ array $args] | object', 'return_type': 'object'},
\ 'newInstanceWithoutConstructor': { 'signature': 'void | object', 'return_type': 'object'},
\ 'setStaticPropertyValue': { 'signature': 'string $name, string $value | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'mixed $argument [, bool $return = false] | string', 'return_type': 'string'},
\ },
\},
\'reflectionexception': {
\ 'name': 'ReflectionException',
\ 'constants': {
\ },
\ 'properties': {
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getTrace': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraceAsString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'reflectionextension': {
\ 'name': 'ReflectionExtension',
\ 'constants': {
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'string $name', 'return_type': ''},
\ 'getClasses': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getClassNames': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getConstants': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getDependencies': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getFunctions': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getINIEntries': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ 'info': { 'signature': 'void | void', 'return_type': 'void'},
\ 'isPersistent': { 'signature': 'void | void', 'return_type': 'void'},
\ 'isTemporary': { 'signature': 'void | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'string $name [, string $return = false] | string', 'return_type': 'string'},
\ },
\},
\'reflectionfunction': {
\ 'name': 'ReflectionFunction',
\ 'constants': {
\ 'IS_DEPRECATED': '262144',
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'mixed $name', 'return_type': ''},
\ 'getClosure': { 'signature': 'void | Closure', 'return_type': 'Closure'},
\ 'invoke': { 'signature': '[ mixed $parameter [, mixed $...]] | mixed', 'return_type': 'mixed'},
\ 'invokeArgs': { 'signature': 'array $args | mixed', 'return_type': 'mixed'},
\ 'isDisabled': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getClosureScopeClass': { 'signature': 'void | ReflectionClass', 'return_type': 'ReflectionClass'},
\ 'getClosureThis': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getDocComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getEndLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | ReflectionExtension', 'return_type': 'ReflectionExtension'},
\ 'getExtensionName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNamespaceName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNumberOfParameters': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNumberOfRequiredParameters': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getParameters': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getShortName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getStartLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStaticVariables': { 'signature': 'void | array', 'return_type': 'array'},
\ 'inNamespace': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isClosure': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDeprecated': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isGenerator': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInternal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isUserDefined': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'returnsReference': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'string $name [, string $return] | string', 'return_type': 'string'},
\ },
\},
\'reflectionfunctionabstract': {
\ 'name': 'ReflectionFunctionAbstract',
\ 'constants': {
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getClosureScopeClass': { 'signature': 'void | ReflectionClass', 'return_type': 'ReflectionClass'},
\ 'getClosureThis': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getDocComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getEndLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | ReflectionExtension', 'return_type': 'ReflectionExtension'},
\ 'getExtensionName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNamespaceName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNumberOfParameters': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNumberOfRequiredParameters': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getParameters': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getShortName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getStartLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStaticVariables': { 'signature': 'void | array', 'return_type': 'array'},
\ 'inNamespace': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isClosure': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDeprecated': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isGenerator': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInternal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isUserDefined': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'returnsReference': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'reflectionmethod': {
\ 'name': 'ReflectionMethod',
\ 'constants': {
\ 'IS_STATIC': '1',
\ 'IS_PUBLIC': '256',
\ 'IS_PROTECTED': '512',
\ 'IS_PRIVATE': '1024',
\ 'IS_ABSTRACT': '2',
\ 'IS_FINAL': '4',
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ 'class': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'mixed $class, string $name', 'return_type': ''},
\ 'getClosure': { 'signature': 'object $object | Closure', 'return_type': 'Closure'},
\ 'getDeclaringClass': { 'signature': 'void | ReflectionClass', 'return_type': 'ReflectionClass'},
\ 'getModifiers': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getPrototype': { 'signature': 'void | ReflectionMethod', 'return_type': 'ReflectionMethod'},
\ 'invoke': { 'signature': 'object $object [, mixed $parameter [, mixed $...]] | mixed', 'return_type': 'mixed'},
\ 'invokeArgs': { 'signature': 'object $object, array $args | mixed', 'return_type': 'mixed'},
\ 'isAbstract': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isConstructor': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDestructor': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isFinal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isPrivate': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isProtected': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isPublic': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isStatic': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setAccessible': { 'signature': 'bool $accessible | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | void', 'return_type': 'void'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ 'getClosureScopeClass': { 'signature': 'void | ReflectionClass', 'return_type': 'ReflectionClass'},
\ 'getClosureThis': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getDocComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getEndLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | ReflectionExtension', 'return_type': 'ReflectionExtension'},
\ 'getExtensionName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNamespaceName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNumberOfParameters': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getNumberOfRequiredParameters': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getParameters': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getShortName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getStartLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStaticVariables': { 'signature': 'void | array', 'return_type': 'array'},
\ 'inNamespace': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isClosure': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDeprecated': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isGenerator': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInternal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isUserDefined': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'returnsReference': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'string $class, string $name [, bool $return = false] | string', 'return_type': 'string'},
\ },
\},
\'reflectionobject': {
\ 'name': 'ReflectionObject',
\ 'constants': {
\ 'IS_IMPLICIT_ABSTRACT': '16',
\ 'IS_EXPLICIT_ABSTRACT': '32',
\ 'IS_FINAL': '64',
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'mixed $argument', 'return_type': ''},
\ 'getConstant': { 'signature': 'string $name | mixed', 'return_type': 'mixed'},
\ 'getConstants': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getConstructor': { 'signature': 'void | ReflectionMethod', 'return_type': 'ReflectionMethod'},
\ 'getDefaultProperties': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getDocComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getEndLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getExtension': { 'signature': 'void | ReflectionExtension', 'return_type': 'ReflectionExtension'},
\ 'getExtensionName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getFileName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getInterfaceNames': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getInterfaces': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getMethod': { 'signature': 'string $name | ReflectionMethod', 'return_type': 'ReflectionMethod'},
\ 'getMethods': { 'signature': '[ int $filter] | array', 'return_type': 'array'},
\ 'getModifiers': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNamespaceName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getParentClass': { 'signature': 'void | object', 'return_type': 'object'},
\ 'getProperties': { 'signature': '[ int $filter] | array', 'return_type': 'array'},
\ 'getProperty': { 'signature': 'string $name | ReflectionProperty', 'return_type': 'ReflectionProperty'},
\ 'getShortName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getStartLine': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getStaticProperties': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getStaticPropertyValue': { 'signature': 'string $name [, mixed &$def_value] | mixed', 'return_type': 'mixed'},
\ 'getTraitAliases': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraitNames': { 'signature': 'void | array', 'return_type': 'array'},
\ 'getTraits': { 'signature': 'void | array', 'return_type': 'array'},
\ 'hasConstant': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'hasMethod': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'hasProperty': { 'signature': 'string $name | bool', 'return_type': 'bool'},
\ 'implementsInterface': { 'signature': 'string $interface | bool', 'return_type': 'bool'},
\ 'inNamespace': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isAbstract': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCloneable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isFinal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInstance': { 'signature': 'object $object | bool', 'return_type': 'bool'},
\ 'isInstantiable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInterface': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isInternal': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isIterateable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isSubclassOf': { 'signature': 'string $class | bool', 'return_type': 'bool'},
\ 'isTrait': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isUserDefined': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'newInstance': { 'signature': 'mixed $args [, mixed $...] | object', 'return_type': 'object'},
\ 'newInstanceArgs': { 'signature': '[ array $args] | object', 'return_type': 'object'},
\ 'newInstanceWithoutConstructor': { 'signature': 'void | object', 'return_type': 'object'},
\ 'setStaticPropertyValue': { 'signature': 'string $name, string $value | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'mixed $argument [, bool $return = false] | string', 'return_type': 'string'},
\ },
\},
\'reflectionparameter': {
\ 'name': 'ReflectionParameter',
\ 'constants': {
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'allowsNull': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'canBePassedByValue': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'string $function, string $parameter', 'return_type': ''},
\ 'getClass': { 'signature': 'void | ReflectionClass', 'return_type': 'ReflectionClass'},
\ 'getDeclaringClass': { 'signature': 'void | ReflectionClass', 'return_type': 'ReflectionClass'},
\ 'getDeclaringFunction': { 'signature': 'void | ReflectionFunctionAbstract', 'return_type': 'ReflectionFunctionAbstract'},
\ 'getDefaultValue': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getDefaultValueConstantName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPosition': { 'signature': 'void | int', 'return_type': 'int'},
\ 'isArray': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isCallable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDefaultValueAvailable': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isDefaultValueConstant': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isOptional': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isPassedByReference': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'string $function, string $parameter [, bool $return] | string', 'return_type': 'string'},
\ },
\},
\'reflectionproperty': {
\ 'name': 'ReflectionProperty',
\ 'constants': {
\ 'IS_STATIC': '1',
\ 'IS_PUBLIC': '256',
\ 'IS_PROTECTED': '512',
\ 'IS_PRIVATE': '1024',
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ 'class': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'mixed $class, string $name', 'return_type': ''},
\ 'getDeclaringClass': { 'signature': 'void | ReflectionClass', 'return_type': 'ReflectionClass'},
\ 'getDocComment': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getModifiers': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getValue': { 'signature': '[ object $object] | mixed', 'return_type': 'mixed'},
\ 'isDefault': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isPrivate': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isProtected': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isPublic': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'isStatic': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'setAccessible': { 'signature': 'bool $accessible | void', 'return_type': 'void'},
\ 'setValue': { 'signature': 'object $object, mixed $value | void', 'return_type': 'void'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'mixed $class, string $name [, bool $return] | string', 'return_type': 'string'},
\ },
\},
\'reflectionzendextension': {
\ 'name': 'ReflectionZendExtension',
\ 'constants': {
\ },
\ 'properties': {
\ 'name': { 'initializer': '', 'type': ''},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__clone': { 'signature': 'void | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'string $name', 'return_type': ''},
\ 'getAuthor': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getCopyright': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getURL': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getVersion': { 'signature': 'void | string', 'return_type': 'string'},
\ '__toString': { 'signature': 'void | string', 'return_type': 'string'},
\ },
\ 'static_methods': {
\ 'export': { 'signature': 'string $name [, string $return] | string', 'return_type': 'string'},
\ },
\},
\}
let g:phpcomplete_builtin['classes']['rrd'] = {
\'rrdcreator': {
\ 'name': 'RRDCreator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'addArchive': { 'signature': 'string $description | void', 'return_type': 'void'},
\ 'addDataSource': { 'signature': 'string $description | void', 'return_type': 'void'},
\ '__construct': { 'signature': 'string $path [, string $startTime [, int $step = 0]]', 'return_type': ''},
\ 'save': { 'signature': 'void | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'rrdgraph': {
\ 'name': 'RRDGraph',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $path', 'return_type': ''},
\ 'save': { 'signature': 'void | array', 'return_type': 'array'},
\ 'saveVerbose': { 'signature': 'void | array', 'return_type': 'array'},
\ 'setOptions': { 'signature': 'array $options | void', 'return_type': 'void'},
\ },
\ 'static_methods': {
\ },
\},
\'rrdupdater': {
\ 'name': 'RRDUpdater',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $path', 'return_type': ''},
\ 'update': { 'signature': 'array $values [, string $time = time()] | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['sessions'] = {
\'sessionhandler': {
\ 'name': 'SessionHandler',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'destroy': { 'signature': 'string $session_id | bool', 'return_type': 'bool'},
\ 'gc': { 'signature': 'int $maxlifetime | bool', 'return_type': 'bool'},
\ 'open': { 'signature': 'string $save_path, string $session_id | bool', 'return_type': 'bool'},
\ 'read': { 'signature': 'string $session_id | string', 'return_type': 'string'},
\ 'write': { 'signature': 'string $session_id, string $session_data | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\'sessionhandlerinterface': {
\ 'name': 'SessionHandlerInterface',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'destroy': { 'signature': 'string $session_id | bool', 'return_type': 'bool'},
\ 'gc': { 'signature': 'string $maxlifetime | bool', 'return_type': 'bool'},
\ 'open': { 'signature': 'string $save_path, string $name | bool', 'return_type': 'bool'},
\ 'read': { 'signature': 'string $session_id | string', 'return_type': 'string'},
\ 'write': { 'signature': 'string $session_id, string $session_data | bool', 'return_type': 'bool'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['simplexml'] = {
\'simplexmlelement': {
\ 'name': 'SimpleXMLElement',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'string $data [, int $options = 0 [, bool $data_is_url = false [, string $ns = "" [, bool $is_prefix = false]]]]', 'return_type': ''},
\ 'addAttribute': { 'signature': 'string $name [, string $value [, string $namespace]] | void', 'return_type': 'void'},
\ 'addChild': { 'signature': 'string $name [, string $value [, string $namespace]] | SimpleXMLElement', 'return_type': 'SimpleXMLElement'},
\ 'asXML': { 'signature': '[ string $filename] | mixed', 'return_type': 'mixed'},
\ 'attributes': { 'signature': '[ string $ns = NULL [, bool $is_prefix = false]] | SimpleXMLElement', 'return_type': 'SimpleXMLElement'},
\ 'children': { 'signature': '[ string $ns [, bool $is_prefix = false]] | SimpleXMLElement', 'return_type': 'SimpleXMLElement'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDocNamespaces': { 'signature': '[ bool $recursive = false [, bool $from_root = true]] | array', 'return_type': 'array'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNamespaces': { 'signature': '[ bool $recursive = false] | array', 'return_type': 'array'},
\ 'registerXPathNamespace': { 'signature': 'string $prefix, string $ns | bool', 'return_type': 'bool'},
\ 'xpath': { 'signature': 'string $path | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\'simplexmliterator': {
\ 'name': 'SimpleXMLIterator',
\ 'constants': {
\ },
\ 'properties': {
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'current': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getChildren': { 'signature': 'void | SimpleXMLIterator', 'return_type': 'SimpleXMLIterator'},
\ 'hasChildren': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'key': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'next': { 'signature': 'void | void', 'return_type': 'void'},
\ 'rewind': { 'signature': 'void | void', 'return_type': 'void'},
\ 'valid': { 'signature': 'void | bool', 'return_type': 'bool'},
\ '__construct': { 'signature': 'string $data [, int $options = 0 [, bool $data_is_url = false [, string $ns = "" [, bool $is_prefix = false]]]]', 'return_type': ''},
\ 'addAttribute': { 'signature': 'string $name [, string $value [, string $namespace]] | void', 'return_type': 'void'},
\ 'addChild': { 'signature': 'string $name [, string $value [, string $namespace]] | SimpleXMLElement', 'return_type': 'SimpleXMLElement'},
\ 'asXML': { 'signature': '[ string $filename] | mixed', 'return_type': 'mixed'},
\ 'attributes': { 'signature': '[ string $ns = NULL [, bool $is_prefix = false]] | SimpleXMLElement', 'return_type': 'SimpleXMLElement'},
\ 'children': { 'signature': '[ string $ns [, bool $is_prefix = false]] | SimpleXMLElement', 'return_type': 'SimpleXMLElement'},
\ 'count': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getDocNamespaces': { 'signature': '[ bool $recursive = false [, bool $from_root = true]] | array', 'return_type': 'array'},
\ 'getName': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getNamespaces': { 'signature': '[ bool $recursive = false] | array', 'return_type': 'array'},
\ 'registerXPathNamespace': { 'signature': 'string $prefix, string $ns | bool', 'return_type': 'bool'},
\ 'xpath': { 'signature': 'string $path | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\}
let g:phpcomplete_builtin['classes']['snmp'] = {
\'snmp': {
\ 'name': 'SNMP',
\ 'constants': {
\ 'ERRNO_NOERROR': '',
\ 'ERRNO_GENERIC': '',
\ 'ERRNO_TIMEOUT': '',
\ 'ERRNO_ERROR_IN_REPLY': '',
\ 'ERRNO_OID_NOT_INCREASING': '',
\ 'ERRNO_OID_PARSING_ERROR': '',
\ 'ERRNO_MULTIPLE_SET_QUERIES': '',
\ 'ERRNO_ANY': '',
\ 'VERSION_1': '',
\ 'VERSION_2C': '',
\ 'VERSION_2c': '1',
\ 'VERSION_3': '',
\ },
\ 'properties': {
\ 'max_oids': { 'initializer': '', 'type': 'int'},
\ 'valueretrieval': { 'initializer': '', 'type': 'int'},
\ 'quick_print': { 'initializer': '', 'type': 'bool'},
\ 'enum_print': { 'initializer': '', 'type': 'bool'},
\ 'oid_output_format': { 'initializer': '', 'type': 'int'},
\ 'oid_increasing_check': { 'initializer': '', 'type': 'bool'},
\ 'exceptions_enabled': { 'initializer': '', 'type': 'int'},
\ 'info': { 'initializer': '', 'type': 'array'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ '__construct': { 'signature': 'int $version, string $hostname, string $community [, int $timeout = 1000000 [, int $retries = 5]]', 'return_type': ''},
\ 'close': { 'signature': 'void | bool', 'return_type': 'bool'},
\ 'get': { 'signature': 'mixed $object_id [, bool $preserve_keys = false] | mixed', 'return_type': 'mixed'},
\ 'getErrno': { 'signature': 'void | int', 'return_type': 'int'},
\ 'getError': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getnext': { 'signature': 'mixed $object_id | mixed', 'return_type': 'mixed'},
\ 'set': { 'signature': 'mixed $object_id, mixed $type, mixed $value | bool', 'return_type': 'bool'},
\ 'setSecurity': { 'signature': 'string $sec_level [, string $auth_protocol = ] | bool', 'return_type': 'bool'},
\ 'walk': { 'signature': 'string $object_id [, bool $suffix_as_key = FALSE [, int $max_repetitions [, int $non_repeaters]]] | array', 'return_type': 'array'},
\ },
\ 'static_methods': {
\ },
\},
\'snmpexception': {
\ 'name': 'SNMPException',
\ 'constants': {
\ },
\ 'properties': {
\ 'code': { 'initializer': '', 'type': 'int'},
\ 'message': { 'initializer': '', 'type': 'string'},
\ 'file': { 'initializer': '', 'type': 'string'},
\ 'line': { 'initializer': '', 'type': 'int'},
\ },
\ 'static_properties': {
\ },
\ 'methods': {
\ 'getMessage': { 'signature': 'void | string', 'return_type': 'string'},
\ 'getPrevious': { 'signature': 'void | Exception', 'return_type': 'Exception'},
\ 'getCode': { 'signature': 'void | mixed', 'return_type': 'mixed'},
\ 'getFile': {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment