From d96dc724d442bbc9788815ab3da09d9fff0555a9 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 12 Sep 2013 16:33:12 +0200 Subject: [PATCH] Add extended php support --- after/ftplugin/php.vim | 24 + autoload/phpcomplete.vim | 5230 ++++++++++++++++++++++++++++++++++++++ build.sh | 1 + ftplugin/php.vim | 202 ++ ftplugin/php/doc.vim | 547 ++++ indent/php.vim | 1269 +++++++++ syntax/htmljinja.vim | 27 + syntax/jinja.vim | 113 + syntax/php.vim | 666 +++++ 9 files changed, 8079 insertions(+) create mode 100644 after/ftplugin/php.vim create mode 100644 autoload/phpcomplete.vim create mode 100644 ftplugin/php.vim create mode 100644 ftplugin/php/doc.vim create mode 100644 indent/php.vim create mode 100644 syntax/htmljinja.vim create mode 100644 syntax/jinja.vim create mode 100644 syntax/php.vim diff --git a/after/ftplugin/php.vim b/after/ftplugin/php.vim new file mode 100644 index 0000000..dc42280 --- /dev/null +++ b/after/ftplugin/php.vim @@ -0,0 +1,24 @@ + +if !exists("g:DisableAutoPHPFolding") + let g:DisableAutoPHPFolding = 0 +endif + +if !g:DisableAutoPHPFolding + " Don't use the PHP syntax folding + setlocal foldmethod=manual + " Turn on PHP fast folds + EnableFastPHPFolds +endif + +" Fix matchpairs for PHP (for matchit.vim plugin) +if exists("loaded_matchit") + let b:match_skip = 's:comment\|string' + let b:match_words = ',\:\,' . + \ '\:\:\:\,' . + \ '\:\,\:\,' . + \ '\:\,\:\' . + \ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' . + \ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' . + \ '<\@<=\([^/?][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>,' . + \ '<:>,(:),{:},[:]' +endif diff --git a/autoload/phpcomplete.vim b/autoload/phpcomplete.vim new file mode 100644 index 0000000..2560156 --- /dev/null +++ b/autoload/phpcomplete.vim @@ -0,0 +1,5230 @@ +" Vim completion script +" Language: PHP +" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) +" Maintainer: Shawn Biddle ( shawn AT shawnbiddle DOT com ) +" Last Change: 2010 July 28 +" +" TODO: +" - Switching to HTML (XML?) completion (SQL) inside of phpStrings +" - allow also for XML completion <- better do html_flavor for HTML +" completion +" - outside of 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 it is not the +" best situation + +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:compl_context = getline('.')[0:compl_begin] + 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 + " Initialize base return lists + let res = [] + let res2 = [] + " a:base is very short - we need context + if exists("b:compl_context") + let context = b:compl_context + unlet! b:compl_context + endif + + if !exists('g:php_builtin_functions') + call phpcomplete#LoadData() + endif + + let scontext = substitute(context, '\$\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*$', '', '') + + if scontext =~ '\(=\s*new\|extends\)\s\+$' + " Complete class name + " Internal solution for finding classes in current file. + let file = getline(1, '$') + call filter(file, + \ 'v:val =~ "class\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("') + let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + let jfile = join(file, ' ') + let int_values = split(jfile, 'class\s\+') + let int_classes = {} + for i in int_values + let c_name = matchstr(i, '^[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*') + if c_name != '' + let int_classes[c_name] = '' + endif + endfor + + " Prepare list of classes from tags file + let ext_classes = {} + let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + if fnames != '' + exe 'silent! vimgrep /^'.a:base.'.*\tc\(\t\|$\)/j '.fnames + let qflist = getqflist() + if len(qflist) > 0 + for field in qflist + " [:space:] thing: we don't have to be so strict when + " dealing with tags files - entries there were already + " checked by ctags. + let item = matchstr(field['text'], '^[^[:space:]]\+') + let ext_classes[item] = '' + endfor + endif + endif + + " Prepare list of built in classes from g:php_builtin_functions + if !exists("g:php_omni_bi_classes") + let g:php_omni_bi_classes = {} + for i in keys(g:php_builtin_object_functions) + let g:php_omni_bi_classes[substitute(i, '::.*$', '', '')] = '' + endfor + endif + + let classes = sort(keys(int_classes)) + let classes += sort(keys(ext_classes)) + let classes += sort(keys(g:php_omni_bi_classes)) + + for m in classes + if m =~ '^'.a:base + call add(res, m) + endif + endfor + + let final_menu = [] + for i in res + let final_menu += [{'word':i, 'kind':'c'}] + endfor + + return final_menu + + elseif scontext =~ '\(->\|::\)$' + " Complete user functions and variables + " Internal solution for current file. + " That seems as unnecessary repeating of functions but there are + " few not so subtle differences as not appending of $ and addition + " of 'kind' tag (not necessary in regular completion) + + if scontext =~ '->$' || scontext =~ '::' + + " Get name of the class + let classname = phpcomplete#GetClassName(scontext) + + " Get location of class definition, we have to iterate through all + " tags files separately because we need relative path from current + " file to the exact file (tags file can be in different dir) + if classname != '' + let classlocation = phpcomplete#GetClassLocation(classname) + else + let classlocation = '' + endif + + if classlocation == 'VIMPHP_BUILTINOBJECT' + + for object in keys(g:php_builtin_object_functions) + if object =~ '^'.classname + let res += [{'word':substitute(object, '.*::', '', ''), + \ 'info': g:php_builtin_object_functions[object]}] + endif + endfor + + return res + + endif + + if filereadable(classlocation) + let classfile = readfile(classlocation) + let classcontent = '' + let classcontent .= "\n".phpcomplete#GetClassContents(classfile, classname) + let sccontent = split(classcontent, "\n") + + " limit based on context to static or normal public methods + if scontext =~ '::' + let functions = filter(deepcopy(sccontent), + \ 'v:val =~ "^\\s*\\(\\(public\\s\\+static\\|static\\)\\s\\+\\)*function"') + elseif scontext =~ '->$' + let functions = filter(deepcopy(sccontent), + \ 'v:val =~ "^\\s*\\(public\\s\\+\\)*function"') + endif + + let jfuncs = join(functions, ' ') + let sfuncs = split(jfuncs, 'function\s\+') + let c_functions = {} + for i in sfuncs + 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*{') + if f_name != '' + let c_functions[f_name.'('] = f_args + endif + endfor + " Variables declared with var or with public keyword are + " public + let variables = filter(deepcopy(sccontent), + \ 'v:val =~ "^\\s*\\(public\\|var\\)\\s\\+\\$"') + let jvars = join(variables, ' ') + let svars = split(jvars, '\$') + let c_variables = {} + 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 c_variables[c_var] = '' + endif + endfor + + + let constants = filter(deepcopy(sccontent), + \ 'v:val =~ "^\\s*const\\s\\+"') + + let jcons = join(constants, ' ') + let scons = split(jcons, 'const') + + let c_constants = {} + 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] = '' + 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 m =~ '^'.a:base && m !~ '::' + call add(res, m) + elseif m =~ '::'.a:base + call add(res2, m) + endif + endfor + + let start_list = res + res2 + + let final_list = [] + for i in start_list + if has_key(c_variables, 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].')', + \ 'kind':'f'}] + endif + endfor + + return final_list + + endif + + endif + + if a:base =~ '^\$' + let adddollar = '$' + else + let adddollar = '' + endif + let file = getline(1, '$') + let jfile = join(file, ' ') + let sfile = split(jfile, '\$') + let int_vars = {} + for i in sfile + 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[adddollar.val] = '' + endif + endfor + + " ctags has good support for PHP, use tags file for external + " variables + let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + let ext_vars = {} + if fnames != '' + let sbase = substitute(a:base, '^\$', '', '') + exe 'silent! vimgrep /^'.sbase.'.*\tv\(\t\|$\)/j '.fnames + let qflist = getqflist() + if len(qflist) > 0 + for field in qflist + let item = matchstr(field['text'], '^[^[:space:]]\+') + " Add -> if it is possible object declaration + let classname = '' + if field['text'] =~ item.'\s*=\s*new\s\+' + let item = item.'->' + let classname = matchstr(field['text'], + \ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze') + endif + let ext_vars[adddollar.item] = classname + endfor + endif + endif + + " Now we have all variables in int_vars dictionary + call extend(int_vars, ext_vars) + + " Internal solution for finding functions in current file. + 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 fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + 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 + + " Prepare list of functions from tags file + let ext_functions = {} + if fnames != '' + exe 'silent! vimgrep /^'.a:base.'.*\tf\(\t\|$\)/j '.fnames + let qflist = getqflist() + if len(qflist) > 0 + for field in qflist + " File name + let item = matchstr(field['text'], '^[^[:space:]]\+') + let fname = matchstr(field['text'], '\t\zs\f\+\ze') + let prototype = matchstr(field['text'], + \ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?') + let ext_functions[item.'('] = prototype.') - '.fname + endfor + endif + endif + + let all_values = {} + call extend(all_values, int_functions) + call extend(all_values, ext_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], + \ 'kind':'f'}] + endif + endfor + + return final_list + endif + + if a:base =~ '^\$' + " Complete variables + " Built-in variables {{{ + let g:php_builtin_vars = {'$GLOBALS':'', + \ '$_SERVER':'', + \ '$_GET':'', + \ '$_POST':'', + \ '$_COOKIE':'', + \ '$_FILES':'', + \ '$_ENV':'', + \ '$_REQUEST':'', + \ '$_SESSION':'', + \ '$HTTP_SERVER_VARS':'', + \ '$HTTP_ENV_VARS':'', + \ '$HTTP_COOKIE_VARS':'', + \ '$HTTP_GET_VARS':'', + \ '$HTTP_POST_VARS':'', + \ '$HTTP_POST_FILES':'', + \ '$HTTP_SESSION_VARS':'', + \ '$php_errormsg':'', + \ '$this':'' + \ } + " }}} + + " 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 + let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + let ext_vars = {} + if fnames != '' + let sbase = substitute(a:base, '^\$', '', '') + exe 'silent! vimgrep /^'.sbase.'.*\tv\(\t\|$\)/j '.fnames + let qflist = getqflist() + if len(qflist) > 0 + for field in qflist + let item = '$'.matchstr(field['text'], '^[^[:space:]]\+') + let m_menu = '' + " Add -> if it is possible object declaration + if field['text'] =~ item.'\s*=\s*new\s\+' + let item = item.'->' + let m_menu = matchstr(field['text'], + \ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze') + endif + let ext_vars[item] = m_menu + endfor + endif + endif + + call extend(int_vars, ext_vars) + let g:a0 = keys(int_vars) + + 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], 'kind':'v'}] + else + let int_dict += [{'word':i, 'kind':'v'}] + endif + endfor + + return int_dict + + else + " 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. + 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 fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + 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*(\s*\zs.\{-}\ze\s*)\_s*{') + let int_functions[f_name.'('] = f_args.')' + endfor + + " Prepare list of functions from tags file + let ext_functions = {} + if fnames != '' + exe 'silent! vimgrep /^'.a:base.'.*\tf\(\t\|$\)/j '.fnames + let qflist = getqflist() + if len(qflist) > 0 + for field in qflist + " File name + let item = matchstr(field['text'], '^[^[:space:]]\+') + let fname = matchstr(field['text'], '\t\zs\f\+\ze') + let prototype = matchstr(field['text'], + \ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?') + let ext_functions[item.'('] = prototype.') - '.fname + endfor + endif + endif + + " All functions + call extend(int_functions, ext_functions) + call extend(int_functions, g:php_builtin_functions) + + " 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') + " let c_value = matchstr(i, + " \ '\(["'']\)[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\1\s*,\s*\zs.\{-}\ze\s*)') + if c_name != '' + let int_constants[c_name] = '' " c_value + endif + endfor + + " Prepare list of constants from tags file + let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + let ext_constants = {} + if fnames != '' + exe 'silent! vimgrep /^'.a:base.'.*\td\(\t\|$\)/j '.fnames + let qflist = getqflist() + if len(qflist) > 0 + for field in qflist + let item = matchstr(field['text'], '^[^[:space:]]\+') + let ext_constants[item] = '' + endfor + endif + endif + + " All constants + call extend(int_constants, ext_constants) + " Treat keywords as constants + + let all_values = {} + + " One big dictionary of functions + call extend(all_values, int_functions) + + " Add constants + call extend(all_values, int_constants) + " Add keywords + call extend(all_values, g:php_keywords) + + for m in sort(keys(all_values)) + if m =~ '^'.a:base + call add(res, m) + endif + endfor + + let int_list = res + + let final_list = [] + for i in int_list + if has_key(int_functions, i) + let final_list += + \ [{'word':i, + \ 'info':i.int_functions[i], + \ 'kind':'f'}] + elseif has_key(int_constants, i) + let final_list += [{'word':i, 'kind':'d'}] + else + let final_list += [{'word':i}] + endif + endfor + + return final_list + + endif + +endfunction + +function! phpcomplete#GetClassName(scontext) " {{{ + " Get class name + " Class name can be detected in few ways: + " @var $myVar class + " line above + " or line in tags file + + if a:scontext =~ '\$this->' || a:scontext =~ '\(self\|static\)::' + let i = 1 + while i < line('.') + let line = getline(line('.')-i) + + " Don't complete self:: or $this if outside of a class + " (assumes correct indenting) + if line =~ '^}' + return '' + endif + + if line !~ '^class' + let i += 1 + continue + else + let classname = matchstr(line, '^class \zs[a-zA-Z]\w\+\ze\(\s*\|$\)') + return classname + endif + endwhile + else + let object = matchstr(a:scontext, '\zs[a-zA-Z_0-9\x7f-\xff]\+\ze->') + let i = 1 + while i < line('.') + let line = getline(line('.')-i) + if line =~ '^\s*\*\/\?\s*$' + let i += 1 + continue + else + if line =~ '@var\s\+\$'.object.'\s\+[a-zA-Z_0-9\x7f-\xff]\+' + let classname = matchstr(line, '@var\s\+\$'.object.'\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+') + return classname + else + break + endif + endif + endwhile + + " do in-file lookup of $var = new Class + let i = 1 + while i < line('.') + let line = getline(line('.')-i) + if line =~ '^\s*\$'.object.'\s*=\s*new\s\+[a-zA-Z_0-9\x7f-\xff]\+' + + let classname = matchstr(line, '\$'.object.'\s*=\s*new \zs[a-zA-Z_0-9\x7f-\xff]\+') + return classname + else + let i += 1 + continue + endif + endwhile + + " do in-file lookup for Class::getInstance() + let i = 1 + while i < line('.') + let line = getline(line('.')-i) + if line =~ '^\s*\$'.object.'\s*=&\?\s*\s\+[a-zA-Z_0-9\x7f-\xff]\+::getInstance\+' + + let classname = matchstr(line, '\$'.object.'\s*=&\?\s*\zs[a-zA-Z_0-9\x7f-\xff]\+\ze::getInstance\+') + return classname + else + let i += 1 + continue + endif + endwhile + + " check Constant lookup + let constant_object = matchstr(a:scontext, '\zs[a-zA-Z_0-9\x7f-\xff]\+\ze::') + if constant_object != '' + return constant_object + endif + + " OK, first way failed, now check tags file(s) + let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")')) + exe 'silent! vimgrep /^'.object.'.*\$'.object.'.*=\s*new\s\+.*\tv\(\t\|$\)/j '.fnames + let qflist = getqflist() + if len(qflist) == 0 + return '' + else + " In all properly managed projects it should be one item list, even if it + " *is* longer we cannot solve conflicts, assume it is first element + let classname = matchstr(qflist[0]['text'], '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze') + return classname + endif + endif +endfunction +" }}} +function! phpcomplete#GetClassLocation(classname) " {{{ + " Check classname may be name of built in object + if !exists("g:php_omni_bi_classes") + let g:php_omni_bi_classes = {} + for i in keys(g:php_builtin_object_functions) + let g:php_omni_bi_classes[substitute(i, '::.*$', '', '')] = '' + endfor + endif + if has_key(g:php_omni_bi_classes, a:classname) + return 'VIMPHP_BUILTINOBJECT' + endif + + + " do in-file lookup for class definition + let i = 1 + while i < line('.') + let line = getline(line('.')-i) + if line =~ '^\s*class ' . a:classname . '\(\s\+\|$\)' + return expand('%') + else + let i += 1 + continue + endif + endwhile + + " Get class location + for fname in tagfiles() + let fhead = fnamemodify(fname, ":h") + if fhead != '' + let psep = '/' " Note: slash is potential problem! + let fhead .= psep + endif + let fname = escape(fname, " \\") + exe 'silent! vimgrep /^'.a:classname.'.*\tc\(\t\|$\)/j '.fname + let qflist = getqflist() + " As in GetClassName we can manage only one element if it exists + if len(qflist) > 0 + let classlocation = matchstr(qflist[0]['text'], '\t\zs\f\+\ze\t') + else + return '' + endif + " And only one class location + if classlocation != '' + let classlocation = fhead.classlocation + return classlocation + else + return '' + endif + endfor + +endfunction +" }}} + +function! phpcomplete#GetClassContents(file, name) " {{{ + let cfile = join(a:file, "\n") + " 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 {} + below 1new + 0put =cfile + call search('class\s\+'.a:name) + let cfline = line('.') + " Catch extends + if getline('.') =~ 'extends' + let extends_class = matchstr(getline('.'), + \ 'class\s\+'.a:name.'\s\+extends\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze') + else + let extends_class = '' + endif + call search('{') + normal! % + + let classc = getline(cfline, ".") + let classcontent = cfile + + bw! % + if extends_class != '' + let classlocation = phpcomplete#GetClassLocation(extends_class) + if filereadable(classlocation) + let classfile = readfile(classlocation) + let classcontent .= "\n".phpcomplete#GetClassContents(classfile, extends_class) + endif + endif + + return classcontent +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 +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':'', +\ '__FUNCTION__':'', +\ '__CLASS__':'', +\ '__METHOD__':'', +\ 'final':'', +\ 'php_user_filter':'', +\ 'interface':'', +\ 'implements':'', +\ 'public':'', +\ 'private':'', +\ 'protected':'', +\ 'abstract':'', +\ 'clone':'', +\ 'try':'', +\ 'catch':'', +\ 'throw':'', +\ 'cfunction':'', +\ 'old_function':'', +\ 'this':'', +\ 'PHP_VERSION': '', +\ 'PHP_OS': '', +\ 'PHP_SAPI': '', +\ 'PHP_EOL': '', +\ 'PHP_INT_MAX': '', +\ 'PHP_INT_SIZE': '', +\ 'DEFAULT_INCLUDE_PATH': '', +\ 'PEAR_INSTALL_DIR': '', +\ 'PEAR_EXTENSION_DIR': '', +\ 'PHP_EXTENSION_DIR': '', +\ 'PHP_PREFIX': '', +\ 'PHP_BINDIR': '', +\ 'PHP_LIBDIR': '', +\ 'PHP_DATADIR': '', +\ 'PHP_SYSCONFDIR': '', +\ 'PHP_LOCALSTATEDIR': '', +\ 'PHP_CONFIG_FILE_PATH': '', +\ 'PHP_CONFIG_FILE_SCAN_DIR': '', +\ 'PHP_SHLIB_SUFFIX': '', +\ 'PHP_OUTPUT_HANDLER_START': '', +\ 'PHP_OUTPUT_HANDLER_CONT': '', +\ 'PHP_OUTPUT_HANDLER_END': '', +\ 'E_ERROR': '', +\ 'E_WARNING': '', +\ 'E_PARSE': '', +\ 'E_NOTICE': '', +\ 'E_CORE_ERROR': '', +\ 'E_CORE_WARNING': '', +\ 'E_COMPILE_ERROR': '', +\ 'E_COMPILE_WARNING': '', +\ 'E_USER_ERROR': '', +\ 'E_USER_WARNING': '', +\ 'E_USER_NOTICE': '', +\ 'E_ALL': '', +\ 'E_STRICT': '', +\ '__COMPILER_HALT_OFFSET__': '', +\ 'EXTR_OVERWRITE': '', +\ 'EXTR_SKIP': '', +\ 'EXTR_PREFIX_SAME': '', +\ 'EXTR_PREFIX_ALL': '', +\ 'EXTR_PREFIX_INVALID': '', +\ 'EXTR_PREFIX_IF_EXISTS': '', +\ 'EXTR_IF_EXISTS': '', +\ 'SORT_ASC': '', +\ 'SORT_DESC': '', +\ 'SORT_REGULAR': '', +\ 'SORT_NUMERIC': '', +\ 'SORT_STRING': '', +\ 'CASE_LOWER': '', +\ 'CASE_UPPER': '', +\ 'COUNT_NORMAL': '', +\ 'COUNT_RECURSIVE': '', +\ 'ASSERT_ACTIVE': '', +\ 'ASSERT_CALLBACK': '', +\ 'ASSERT_BAIL': '', +\ 'ASSERT_WARNING': '', +\ 'ASSERT_QUIET_EVAL': '', +\ 'CONNECTION_ABORTED': '', +\ 'CONNECTION_NORMAL': '', +\ 'CONNECTION_TIMEOUT': '', +\ 'INI_USER': '', +\ 'INI_PERDIR': '', +\ 'INI_SYSTEM': '', +\ 'INI_ALL': '', +\ 'M_E': '', +\ 'M_LOG2E': '', +\ 'M_LOG10E': '', +\ 'M_LN2': '', +\ 'M_LN10': '', +\ 'M_PI': '', +\ 'M_PI_2': '', +\ 'M_PI_4': '', +\ 'M_1_PI': '', +\ 'M_2_PI': '', +\ 'M_2_SQRTPI': '', +\ 'M_SQRT2': '', +\ 'M_SQRT1_2': '', +\ 'CRYPT_SALT_LENGTH': '', +\ 'CRYPT_STD_DES': '', +\ 'CRYPT_EXT_DES': '', +\ 'CRYPT_MD5': '', +\ 'CRYPT_BLOWFISH': '', +\ 'DIRECTORY_SEPARATOR': '', +\ 'SEEK_SET': '', +\ 'SEEK_CUR': '', +\ 'SEEK_END': '', +\ 'LOCK_SH': '', +\ 'LOCK_EX': '', +\ 'LOCK_UN': '', +\ 'LOCK_NB': '', +\ 'HTML_SPECIALCHARS': '', +\ 'HTML_ENTITIES': '', +\ 'ENT_COMPAT': '', +\ 'ENT_QUOTES': '', +\ 'ENT_NOQUOTES': '', +\ 'INFO_GENERAL': '', +\ 'INFO_CREDITS': '', +\ 'INFO_CONFIGURATION': '', +\ 'INFO_MODULES': '', +\ 'INFO_ENVIRONMENT': '', +\ 'INFO_VARIABLES': '', +\ 'INFO_LICENSE': '', +\ 'INFO_ALL': '', +\ 'CREDITS_GROUP': '', +\ 'CREDITS_GENERAL': '', +\ 'CREDITS_SAPI': '', +\ 'CREDITS_MODULES': '', +\ 'CREDITS_DOCS': '', +\ 'CREDITS_FULLPAGE': '', +\ 'CREDITS_QA': '', +\ 'CREDITS_ALL': '', +\ 'STR_PAD_LEFT': '', +\ 'STR_PAD_RIGHT': '', +\ 'STR_PAD_BOTH': '', +\ 'PATHINFO_DIRNAME': '', +\ 'PATHINFO_BASENAME': '', +\ 'PATHINFO_EXTENSION': '', +\ 'PATH_SEPARATOR': '', +\ 'CHAR_MAX': '', +\ 'LC_CTYPE': '', +\ 'LC_NUMERIC': '', +\ 'LC_TIME': '', +\ 'LC_COLLATE': '', +\ 'LC_MONETARY': '', +\ 'LC_ALL': '', +\ 'LC_MESSAGES': '', +\ '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': '', +\ 'PM_STR': '', +\ 'D_T_FMT': '', +\ 'D_FMT': '', +\ 'T_FMT': '', +\ 'T_FMT_AMPM': '', +\ 'ERA': '', +\ 'ERA_YEAR': '', +\ 'ERA_D_T_FMT': '', +\ 'ERA_D_FMT': '', +\ 'ERA_T_FMT': '', +\ 'ALT_DIGITS': '', +\ 'INT_CURR_SYMBOL': '', +\ 'CURRENCY_SYMBOL': '', +\ 'CRNCYSTR': '', +\ 'MON_DECIMAL_POINT': '', +\ 'MON_THOUSANDS_SEP': '', +\ 'MON_GROUPING': '', +\ 'POSITIVE_SIGN': '', +\ 'NEGATIVE_SIGN': '', +\ 'INT_FRAC_DIGITS': '', +\ 'FRAC_DIGITS': '', +\ 'P_CS_PRECEDES': '', +\ 'P_SEP_BY_SPACE': '', +\ 'N_CS_PRECEDES': '', +\ 'N_SEP_BY_SPACE': '', +\ 'P_SIGN_POSN': '', +\ 'N_SIGN_POSN': '', +\ 'DECIMAL_POINT': '', +\ 'RADIXCHAR': '', +\ 'THOUSANDS_SEP': '', +\ 'THOUSEP': '', +\ 'GROUPING': '', +\ 'YESEXPR': '', +\ 'NOEXPR': '', +\ 'YESSTR': '', +\ 'NOSTR': '', +\ 'CODESET': '', +\ 'LOG_EMERG': '', +\ 'LOG_ALERT': '', +\ 'LOG_CRIT': '', +\ 'LOG_ERR': '', +\ 'LOG_WARNING': '', +\ 'LOG_NOTICE': '', +\ 'LOG_INFO': '', +\ 'LOG_DEBUG': '', +\ 'LOG_KERN': '', +\ 'LOG_USER': '', +\ 'LOG_MAIL': '', +\ 'LOG_DAEMON': '', +\ 'LOG_AUTH': '', +\ 'LOG_SYSLOG': '', +\ 'LOG_LPR': '', +\ 'LOG_NEWS': '', +\ 'LOG_UUCP': '', +\ 'LOG_CRON': '', +\ 'LOG_AUTHPRIV': '', +\ 'LOG_LOCAL0': '', +\ 'LOG_LOCAL1': '', +\ 'LOG_LOCAL2': '', +\ 'LOG_LOCAL3': '', +\ 'LOG_LOCAL4': '', +\ 'LOG_LOCAL5': '', +\ 'LOG_LOCAL6': '', +\ 'LOG_LOCAL7': '', +\ 'LOG_PID': '', +\ 'LOG_CONS': '', +\ 'LOG_ODELAY': '', +\ 'LOG_NDELAY': '', +\ 'LOG_NOWAIT': '', +\ 'LOG_PERROR': '', +\ } +" }}} +" PHP builtin functions {{{ +" To create from scratch list of functions: +" 1. Download multi html file PHP documentation +" 2. run for i in `ls | grep "^function\."`; do grep -A4 Description $i >> funcs; done +" 3. Open funcs in Vim and +" a) g/Description/normal! 5J +" b) remove all html tags (it will require few s/// and g//) +" c) :%s/^\([^[:space:]]\+\) \([^[:space:]]\+\) ( \(.*\))/\\ '\2(': '\3| \1', +" This will create Dictionary +" d) remove all /^[^\\] lines +let g:php_builtin_functions = { +\ 'abs(': 'mixed number | number', +\ 'acosh(': 'float arg | float', +\ 'acos(': 'float arg | float', +\ 'addcslashes(': 'string str, string charlist | string', +\ 'addslashes(': 'string str | string', +\ 'aggregate(': 'object object, string class_name | void', +\ 'aggregate_info(': 'object object | array', +\ 'aggregate_methods_by_list(': 'object object, string class_name, array methods_list [, bool exclude] | void', +\ 'aggregate_methods_by_regexp(': 'object object, string class_name, string regexp [, bool exclude] | void', +\ 'aggregate_methods(': 'object object, string class_name | void', +\ 'aggregate_properties_by_list(': 'object object, string class_name, array properties_list [, bool exclude] | void', +\ 'aggregate_properties_by_regexp(': 'object object, string class_name, string regexp [, bool exclude] | void', +\ 'aggregate_properties(': 'object object, string class_name | void', +\ 'apache_child_terminate(': 'void | bool', +\ 'apache_getenv(': 'string variable [, bool walk_to_top] | string', +\ 'apache_get_modules(': 'void | array', +\ 'apache_get_version(': 'void | 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] | bool', +\ 'apc_cache_info(': '[string cache_type] | array', +\ 'apc_clear_cache(': '[string cache_type] | bool', +\ 'apc_define_constants(': 'string key, array constants [, bool case_sensitive] | bool', +\ 'apc_delete(': 'string key | bool', +\ 'apc_fetch(': 'string key | mixed', +\ 'apc_load_constants(': 'string key [, bool case_sensitive] | bool', +\ 'apc_sma_info(': 'void | array', +\ 'apc_store(': 'string key, mixed var [, int ttl] | bool', +\ 'apd_breakpoint(': 'int debug_level | bool', +\ 'apd_callstack(': 'void | array', +\ 'apd_clunk(': 'string warning [, string delimiter] | void', +\ 'apd_continue(': 'int debug_level | bool', +\ 'apd_croak(': 'string warning [, string delimiter] | 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(': ' | array', +\ 'apd_set_pprof_trace(': '[string dump_directory] | void', +\ 'apd_set_session(': 'int debug_level | void', +\ 'apd_set_session_trace(': 'int debug_level [, string dump_directory] | void', +\ 'apd_set_socket_session_trace(': 'string ip_address_or_unix_socket_file, int socket_type, int port, int debug_level | bool', +\ 'array_change_key_case(': 'array input [, int case] | array', +\ 'array_chunk(': 'array input, int size [, bool preserve_keys] | array', +\ 'array_combine(': 'array keys, array values | array', +\ 'array_count_values(': 'array input | array', +\ 'array_diff_assoc(': 'array array1, array array2 [, array ...] | array', +\ 'array_diff(': 'array array1, array array2 [, array ...] | array', +\ 'array_diff_key(': 'array array1, array array2 [, array ...] | array', +\ 'array_diff_uassoc(': 'array array1, array array2 [, array ..., callback key_compare_func] | array', +\ 'array_diff_ukey(': 'array array1, array array2 [, array ..., callback key_compare_func] | array', +\ 'array_fill(': 'int start_index, int num, mixed value | array', +\ 'array_filter(': 'array input [, callback callback] | array', +\ 'array_flip(': 'array trans | array', +\ 'array(': '[mixed ...] | array', +\ 'array_intersect_assoc(': 'array array1, array array2 [, array ...] | array', +\ 'array_intersect(': 'array array1, array array2 [, array ...] | array', +\ 'array_intersect_key(': 'array array1, array array2 [, array ...] | array', +\ 'array_intersect_uassoc(': 'array array1, array array2 [, array ..., callback key_compare_func] | array', +\ 'array_intersect_ukey(': 'array array1, array array2 [, array ..., callback key_compare_func] | array', +\ 'array_key_exists(': 'mixed key, array search | bool', +\ 'array_keys(': 'array input [, mixed search_value [, bool strict]] | array', +\ 'array_map(': 'callback callback, array arr1 [, array ...] | array', +\ 'array_merge(': 'array array1 [, array array2 [, array ...]] | array', +\ 'array_merge_recursive(': 'array array1 [, array ...] | array', +\ 'array_multisort(': 'array ar1 [, mixed arg [, mixed ... [, array ...]]] | bool', +\ 'array_pad(': 'array input, int pad_size, mixed pad_value | array', +\ 'array_pop(': 'array &array | mixed', +\ 'array_product(': 'array array | number', +\ 'array_push(': 'array &array, mixed var [, mixed ...] | int', +\ 'array_rand(': 'array input [, int num_req] | mixed', +\ 'array_reduce(': 'array input, callback function [, int initial] | mixed', +\ 'array_reverse(': 'array array [, bool preserve_keys] | array', +\ 'array_search(': 'mixed needle, array haystack [, bool strict] | mixed', +\ 'array_shift(': 'array &array | mixed', +\ 'array_slice(': 'array array, int offset [, int length [, bool preserve_keys]] | array', +\ 'array_splice(': 'array &input, int offset [, int length [, array replacement]] | array', +\ 'array_sum(': 'array array | number', +\ 'array_udiff_assoc(': 'array array1, array array2 [, array ..., callback data_compare_func] | array', +\ 'array_udiff(': 'array array1, array array2 [, array ..., callback data_compare_func] | array', +\ 'array_udiff_uassoc(': 'array array1, array array2 [, array ..., callback data_compare_func, callback key_compare_func] | array', +\ 'array_uintersect_assoc(': 'array array1, array array2 [, array ..., callback data_compare_func] | array', +\ 'array_uintersect(': 'array array1, array array2 [, array ..., callback data_compare_func] | array', +\ 'array_uintersect_uassoc(': 'array array1, array array2 [, array ..., callback data_compare_func, callback key_compare_func] | array', +\ 'array_unique(': 'array array | array', +\ 'array_unshift(': 'array &array, mixed var [, mixed ...] | int', +\ 'array_values(': 'array input | array', +\ 'array_walk(': 'array &array, callback funcname [, mixed userdata] | bool', +\ 'array_walk_recursive(': 'array &input, callback funcname [, mixed userdata] | bool', +\ 'arsort(': 'array &array [, int sort_flags] | bool', +\ 'ascii2ebcdic(': 'string ascii_str | int', +\ 'asinh(': 'float arg | float', +\ 'asin(': 'float arg | float', +\ 'asort(': 'array &array [, int sort_flags] | bool', +\ 'aspell_check(': 'int dictionary_link, string word | bool', +\ 'aspell_check_raw(': 'int dictionary_link, string word | bool', +\ 'aspell_new(': 'string master [, string personal] | int', +\ 'aspell_suggest(': 'int dictionary_link, string word | array', +\ 'assert(': 'mixed assertion | bool', +\ 'assert_options(': 'int what [, mixed value] | mixed', +\ 'atan2(': 'float y, float x | float', +\ 'atanh(': 'float arg | float', +\ 'atan(': 'float arg | float', +\ 'base64_decode(': 'string encoded_data | string', +\ 'base64_encode(': 'string data | string', +\ 'base_convert(': 'string number, int frombase, int tobase | string', +\ 'basename(': 'string path [, string suffix] | string', +\ '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', +\ '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', +\ 'bcpow(': 'string x, string y [, int scale] | string', +\ 'bcpowmod(': 'string x, string y, 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', +\ 'bin2hex(': 'string str | string', +\ 'bindec(': 'string binary_string | number', +\ 'bind_textdomain_codeset(': 'string domain, string codeset | string', +\ 'bindtextdomain(': 'string domain, string directory | string', +\ 'bzclose(': 'resource bz | int', +\ 'bzcompress(': 'string source [, int blocksize [, int workfactor]] | mixed', +\ 'bzdecompress(': 'string source [, int small] | 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] | string', +\ 'bzwrite(': 'resource bz, string data [, int length] | int', +\ 'cal_days_in_month(': 'int calendar, int month, int year | int', +\ 'cal_from_jd(': 'int jd, int calendar | array', +\ 'cal_info(': '[int calendar] | array', +\ 'call_user_func_array(': 'callback function, array param_arr | mixed', +\ 'call_user_func(': 'callback function [, mixed parameter [, mixed ...]] | mixed', +\ 'call_user_method_array(': 'string method_name, object &obj, array paramarr | mixed', +\ 'call_user_method(': 'string method_name, object &obj [, mixed parameter [, mixed ...]] | mixed', +\ 'cal_to_jd(': 'int calendar, int month, int day, int year | int', +\ 'ccvs_add(': 'string session, string invoice, string argtype, string argval | string', +\ 'ccvs_auth(': 'string session, string invoice | string', +\ 'ccvs_command(': 'string session, string type, string argval | string', +\ 'ccvs_count(': 'string session, string type | int', +\ 'ccvs_delete(': 'string session, string invoice | string', +\ 'ccvs_done(': 'string sess | string', +\ 'ccvs_init(': 'string name | string', +\ 'ccvs_lookup(': 'string session, string invoice, int inum | string', +\ 'ccvs_new(': 'string session, string invoice | string', +\ 'ccvs_report(': 'string session, string type | string', +\ 'ccvs_return(': 'string session, string invoice | string', +\ 'ccvs_reverse(': 'string session, string invoice | string', +\ 'ccvs_sale(': 'string session, string invoice | string', +\ 'ccvs_status(': 'string session, string invoice | string', +\ 'ccvs_textvalue(': 'string session | string', +\ 'ccvs_void(': 'string session, string invoice | string', +\ 'ceil(': 'float value | float', +\ 'chdir(': 'string directory | bool', +\ 'checkdate(': 'int month, int day, int year | bool', +\ 'checkdnsrr(': 'string host [, string type] | int', +\ 'chgrp(': 'string filename, mixed group | bool', +\ 'chmod(': 'string filename, int mode | bool', +\ 'chown(': 'string filename, mixed user | bool', +\ 'chr(': 'int ascii | string', +\ 'chroot(': 'string directory | bool', +\ 'chunk_split(': 'string body [, int chunklen [, string end]] | string', +\ 'class_exists(': 'string class_name [, bool autoload] | bool', +\ 'class_implements(': 'mixed class [, bool autoload] | array', +\ 'classkit_import(': 'string filename | array', +\ 'classkit_method_add(': 'string classname, string methodname, string args, string code [, int flags] | 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] | bool', +\ 'classkit_method_remove(': 'string classname, string methodname | bool', +\ 'classkit_method_rename(': 'string classname, string methodname, string newname | bool', +\ 'class_parents(': 'mixed class [, bool autoload] | array', +\ 'clearstatcache(': 'void | void', +\ 'closedir(': 'resource dir_handle | void', +\ 'closelog(': 'void | bool', +\ '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_get(': 'resource com_object, string property | mixed', +\ 'com_invoke(': 'resource com_object, string function_name [, mixed function_parameters] | mixed', +\ 'com_isenum(': 'variant com_module | bool', +\ 'com_load(': 'string module_name [, string server_name [, int codepage]] | resource', +\ 'com_load_typelib(': 'string typelib_name [, bool case_insensitive] | bool', +\ 'com_message_pump(': '[int timeoutms] | bool', +\ 'compact(': 'mixed varname [, mixed ...] | array', +\ 'com_print_typeinfo(': 'object comobject [, string dispinterface [, bool wantsink]] | bool', +\ 'com_release(': 'void | void', +\ 'com_set(': 'resource com_object, string property, mixed value | void', +\ 'connection_aborted(': 'void | int', +\ 'connection_status(': 'void | int', +\ 'connection_timeout(': 'void | bool', +\ 'constant(': 'string name | mixed', +\ 'convert_cyr_string(': 'string str, string from, string to | string', +\ 'convert_uudecode(': 'string data | string', +\ 'convert_uuencode(': 'string data | string', +\ 'copy(': 'string source, string dest | bool', +\ 'cosh(': 'float arg | float', +\ 'cos(': 'float arg | float', +\ 'count_chars(': 'string string [, int mode] | mixed', +\ 'count(': 'mixed var [, int mode] | int', +\ 'cpdf_add_annotation(': 'int pdf_document, float llx, float lly, float urx, float ury, string title, string content [, int mode] | bool', +\ 'cpdf_add_outline(': 'int pdf_document, int lastoutline, int sublevel, int open, int pagenr, string text | int', +\ 'cpdf_arc(': 'int pdf_document, float x_coor, float y_coor, float radius, float start, float end [, int mode] | bool', +\ 'cpdf_begin_text(': 'int pdf_document | bool', +\ 'cpdf_circle(': 'int pdf_document, float x_coor, float y_coor, float radius [, int mode] | bool', +\ 'cpdf_clip(': 'int pdf_document | bool', +\ 'cpdf_close(': 'int pdf_document | bool', +\ 'cpdf_closepath_fill_stroke(': 'int pdf_document | bool', +\ 'cpdf_closepath(': 'int pdf_document | bool', +\ 'cpdf_closepath_stroke(': 'int pdf_document | bool', +\ 'cpdf_continue_text(': 'int pdf_document, string text | bool', +\ 'cpdf_curveto(': 'int pdf_document, float x1, float y1, float x2, float y2, float x3, float y3 [, int mode] | bool', +\ 'cpdf_end_text(': 'int pdf_document | bool', +\ 'cpdf_fill(': 'int pdf_document | bool', +\ 'cpdf_fill_stroke(': 'int pdf_document | bool', +\ 'cpdf_finalize(': 'int pdf_document | bool', +\ 'cpdf_finalize_page(': 'int pdf_document, int page_number | bool', +\ 'cpdf_global_set_document_limits(': 'int maxpages, int maxfonts, int maximages, int maxannotations, int maxobjects | bool', +\ 'cpdf_import_jpeg(': 'int pdf_document, string file_name, float x_coor, float y_coor, float angle, float width, float height, float x_scale, float y_scale, int gsave [, int mode] | bool', +\ 'cpdf_lineto(': 'int pdf_document, float x_coor, float y_coor [, int mode] | bool', +\ 'cpdf_moveto(': 'int pdf_document, float x_coor, float y_coor [, int mode] | bool', +\ 'cpdf_newpath(': 'int pdf_document | bool', +\ 'cpdf_open(': 'int compression [, string filename [, array doc_limits]] | int', +\ 'cpdf_output_buffer(': 'int pdf_document | bool', +\ 'cpdf_page_init(': 'int pdf_document, int page_number, int orientation, float height, float width [, float unit] | bool', +\ 'cpdf_place_inline_image(': 'int pdf_document, int image, float x_coor, float y_coor, float angle, float width, float height, int gsave [, int mode] | bool', +\ 'cpdf_rect(': 'int pdf_document, float x_coor, float y_coor, float width, float height [, int mode] | bool', +\ 'cpdf_restore(': 'int pdf_document | bool', +\ 'cpdf_rlineto(': 'int pdf_document, float x_coor, float y_coor [, int mode] | bool', +\ 'cpdf_rmoveto(': 'int pdf_document, float x_coor, float y_coor [, int mode] | bool', +\ 'cpdf_rotate(': 'int pdf_document, float angle | bool', +\ 'cpdf_rotate_text(': 'int pdfdoc, float angle | bool', +\ 'cpdf_save(': 'int pdf_document | bool', +\ 'cpdf_save_to_file(': 'int pdf_document, string filename | bool', +\ 'cpdf_scale(': 'int pdf_document, float x_scale, float y_scale | bool', +\ 'cpdf_set_action_url(': 'int pdfdoc, float xll, float yll, float xur, float xur, string url [, int mode] | bool', +\ 'cpdf_set_char_spacing(': 'int pdf_document, float space | bool', +\ 'cpdf_set_creator(': 'int pdf_document, string creator | bool', +\ 'cpdf_set_current_page(': 'int pdf_document, int page_number | bool', +\ 'cpdf_setdash(': 'int pdf_document, float white, float black | bool', +\ 'cpdf_setflat(': 'int pdf_document, float value | bool', +\ 'cpdf_set_font_directories(': 'int pdfdoc, string pfmdir, string pfbdir | bool', +\ 'cpdf_set_font(': 'int pdf_document, string font_name, float size, string encoding | bool', +\ 'cpdf_set_font_map_file(': 'int pdfdoc, string filename | bool', +\ 'cpdf_setgray_fill(': 'int pdf_document, float value | bool', +\ 'cpdf_setgray(': 'int pdf_document, float gray_value | bool', +\ 'cpdf_setgray_stroke(': 'int pdf_document, float gray_value | bool', +\ 'cpdf_set_horiz_scaling(': 'int pdf_document, float scale | bool', +\ 'cpdf_set_keywords(': 'int pdf_document, string keywords | bool', +\ 'cpdf_set_leading(': 'int pdf_document, float distance | bool', +\ 'cpdf_setlinecap(': 'int pdf_document, int value | bool', +\ 'cpdf_setlinejoin(': 'int pdf_document, int value | bool', +\ 'cpdf_setlinewidth(': 'int pdf_document, float width | bool', +\ 'cpdf_setmiterlimit(': 'int pdf_document, float value | bool', +\ 'cpdf_set_page_animation(': 'int pdf_document, int transition, float duration, float direction, int orientation, int inout | bool', +\ 'cpdf_setrgbcolor_fill(': 'int pdf_document, float red_value, float green_value, float blue_value | bool', +\ 'cpdf_setrgbcolor(': 'int pdf_document, float red_value, float green_value, float blue_value | bool', +\ 'cpdf_setrgbcolor_stroke(': 'int pdf_document, float red_value, float green_value, float blue_value | bool', +\ 'cpdf_set_subject(': 'int pdf_document, string subject | bool', +\ 'cpdf_set_text_matrix(': 'int pdf_document, array matrix | bool', +\ 'cpdf_set_text_pos(': 'int pdf_document, float x_coor, float y_coor [, int mode] | bool', +\ 'cpdf_set_text_rendering(': 'int pdf_document, int rendermode | bool', +\ 'cpdf_set_text_rise(': 'int pdf_document, float value | bool', +\ 'cpdf_set_title(': 'int pdf_document, string title | bool', +\ 'cpdf_set_viewer_preferences(': 'int pdfdoc, array preferences | bool', +\ 'cpdf_set_word_spacing(': 'int pdf_document, float space | bool', +\ 'cpdf_show(': 'int pdf_document, string text | bool', +\ 'cpdf_show_xy(': 'int pdf_document, string text, float x_coor, float y_coor [, int mode] | bool', +\ 'cpdf_stringwidth(': 'int pdf_document, string text | float', +\ 'cpdf_stroke(': 'int pdf_document | bool', +\ 'cpdf_text(': 'int pdf_document, string text [, float x_coor, float y_coor [, int mode [, float orientation [, int alignmode]]]] | bool', +\ 'cpdf_translate(': 'int pdf_document, float x_coor, float y_coor | bool', +\ 'crack_check(': 'resource dictionary, string password | bool', +\ 'crack_closedict(': '[resource dictionary] | bool', +\ 'crack_getlastmessage(': 'void | string', +\ 'crack_opendict(': 'string dictionary | resource', +\ 'crc32(': 'string str | int', +\ 'create_function(': 'string args, string code | string', +\ 'crypt(': 'string str [, string salt] | string', +\ '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', +\ 'curl_close(': 'resource ch | void', +\ 'curl_copy_handle(': 'resource ch | resource', +\ 'curl_errno(': 'resource ch | int', +\ 'curl_error(': 'resource ch | string', +\ 'curl_exec(': 'resource ch | mixed', +\ 'curl_getinfo(': 'resource ch [, int opt] | mixed', +\ 'curl_init(': '[string url] | 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 | array', +\ 'curl_multi_init(': 'void | resource', +\ 'curl_multi_remove_handle(': 'resource mh, resource ch | int', +\ 'curl_multi_select(': 'resource mh [, float timeout] | int', +\ 'curl_setopt(': 'resource ch, int option, mixed value | bool', +\ 'curl_version(': '[int version] | array', +\ 'current(': 'array &array | mixed', +\ 'cybercash_base64_decode(': 'string inbuff | string', +\ 'cybercash_base64_encode(': 'string inbuff | string', +\ 'cybercash_decr(': 'string wmk, string sk, string inbuff | array', +\ 'cybercash_encr(': 'string wmk, string sk, string inbuff | array', +\ 'cybermut_creerformulairecm(': 'string url_cm, string version, string tpe, string price, string ref_command, string text_free, string url_return, string url_return_ok, string url_return_err, string language, string code_company, string text_button | string', +\ 'cybermut_creerreponsecm(': 'string sentence | string', +\ 'cybermut_testmac(': 'string code_mac, string version, string tpe, string cdate, string price, string ref_command, string text_free, string code_return | bool', +\ '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', +\ 'date_default_timezone_get(': 'void | string', +\ 'date_default_timezone_set(': 'string timezone_identifier | bool', +\ 'date(': 'string format [, int timestamp] | string', +\ 'date_sunrise(': 'int timestamp [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]] | mixed', +\ 'date_sunset(': 'int timestamp [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]] | mixed', +\ 'db2_autocommit(': 'resource connection [, bool value] | mixed', +\ 'db2_bind_param(': 'resource stmt, int parameter-number, string variable-name [, int parameter-type [, int data-type [, int precision [, int scale]]]] | 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_connect(': 'string database, string username, string password [, array options] | resource', +\ 'db2_conn_error(': '[resource connection] | string', +\ 'db2_conn_errormsg(': '[resource connection] | string', +\ 'db2_cursor_type(': 'resource stmt | int', +\ 'db2_exec(': 'resource connection, string statement [, array options] | resource', +\ 'db2_execute(': 'resource stmt [, array parameters] | bool', +\ 'db2_fetch_array(': 'resource stmt [, int row_number] | array', +\ 'db2_fetch_assoc(': 'resource stmt [, int row_number] | array', +\ 'db2_fetch_both(': 'resource stmt [, int row_number] | array', +\ 'db2_fetch_object(': 'resource stmt [, int row_number] | 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_next_result(': 'resource stmt | resource', +\ 'db2_num_fields(': 'resource stmt | int', +\ 'db2_num_rows(': 'resource stmt | int', +\ '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_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', +\ '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] | 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', +\ '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(': 'int dbase_identifier, int record_number | array', +\ 'dbase_get_record_with_names(': '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', +\ 'dba_sync(': 'resource handle | bool', +\ 'dblist(': 'void | string', +\ 'dbmclose(': 'resource dbm_identifier | bool', +\ 'dbmdelete(': 'resource dbm_identifier, string key | bool', +\ 'dbmexists(': 'resource dbm_identifier, string key | bool', +\ 'dbmfetch(': 'resource dbm_identifier, string key | string', +\ 'dbmfirstkey(': 'resource dbm_identifier | string', +\ 'dbminsert(': 'resource dbm_identifier, string key, string value | int', +\ 'dbmnextkey(': 'resource dbm_identifier, string key | string', +\ 'dbmopen(': 'string filename, string flags | resource', +\ 'dbmreplace(': 'resource dbm_identifier, string key, string value | int', +\ '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 tname | int', +\ 'dbplus_freerlocks(': 'resource relation | int', +\ 'dbplus_getlock(': 'resource relation, string tname | 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_setindexbynumber(': 'resource relation, int idx_number | int', +\ 'dbplus_setindex(': 'resource relation, string idx_name | 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', +\ 'dbx_close(': 'object link_identifier | bool', +\ 'dbx_compare(': 'array row_a, array row_b, string column_key [, int flags] | 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', +\ 'dcgettext(': 'string domain, string message, int category | string', +\ 'dcngettext(': 'string domain, string msgid1, string msgid2, int n, int category | string', +\ 'deaggregate(': 'object object [, string class_name] | void', +\ 'debug_backtrace(': 'void | array', +\ 'debugger_off(': 'void | int', +\ 'debugger_on(': 'string address | int', +\ 'debug_print_backtrace(': 'void | void', +\ 'debug_zval_dump(': 'mixed variable | void', +\ 'decbin(': 'int number | string', +\ 'dechex(': 'int number | string', +\ 'decoct(': 'int number | string', +\ 'defined(': 'string name | bool', +\ 'define(': 'string name, mixed value [, bool case_insensitive] | bool', +\ 'define_syslog_variables(': 'void | void', +\ 'deg2rad(': 'float number | float', +\ 'delete(': 'string file | void', +\ 'dgettext(': 'string domain, string message | string', +\ 'dio_close(': 'resource fd | void', +\ 'dio_fcntl(': 'resource fd, int cmd [, mixed args] | mixed', +\ 'dio_open(': 'string filename, int flags [, int mode] | resource', +\ 'dio_read(': 'resource fd [, int len] | string', +\ 'dio_seek(': 'resource fd, int pos [, int whence] | 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] | int', +\ 'dirname(': 'string path | string', +\ 'disk_free_space(': 'string directory | float', +\ 'disk_total_space(': 'string directory | float', +\ 'dl(': 'string library | int', +\ 'dngettext(': 'string domain, string msgid1, string msgid2, int n | string', +\ 'dns_check_record(': 'string host [, string type] | bool', +\ 'dns_get_mx(': 'string hostname, array &mxhosts [, array &weight] | bool', +\ 'dns_get_record(': 'string hostname [, int type [, array &authns, array &addtl]] | array', +\ 'DomDocument->add_root(': 'string name | domelement', +\ 'DomDocument->create_attribute(': 'string name, string value | domattribute', +\ 'DomDocument->create_cdata_section(': 'string content | domcdata', +\ 'DomDocument->create_comment(': 'string content | domcomment', +\ 'DomDocument->create_element(': 'string name | domelement', +\ 'DomDocument->create_element_ns(': 'string uri, string name [, string prefix] | domelement', +\ 'DomDocument->create_entity_reference(': 'string content | domentityreference', +\ 'DomDocument->create_processing_instruction(': 'string content | domprocessinginstruction', +\ 'DomDocument->create_text_node(': 'string content | domtext', +\ 'DomDocument->doctype(': 'void | domdocumenttype', +\ 'DomDocument->document_element(': 'void | domelement', +\ 'DomDocument->dump_file(': 'string filename [, bool compressionmode [, bool format]] | string', +\ 'DomDocument->dump_mem(': '[bool format [, string encoding]] | string', +\ 'DomDocument->get_element_by_id(': 'string id | domelement', +\ 'DomDocument->get_elements_by_tagname(': 'string name | array', +\ 'DomDocument->html_dump_mem(': 'void | string', +\ 'DomDocument->xinclude(': 'void | int', +\ 'dom_import_simplexml(': 'SimpleXMLElement node | DOMElement', +\ 'DomNode->append_sibling(': 'domelement newnode | domelement', +\ 'DomNode->attributes(': 'void | array', +\ 'DomNode->child_nodes(': 'void | array', +\ 'DomNode->clone_node(': 'void | domelement', +\ 'DomNode->dump_node(': 'void | string', +\ 'DomNode->first_child(': 'void | domelement', +\ 'DomNode->get_content(': 'void | string', +\ 'DomNode->has_attributes(': 'void | bool', +\ 'DomNode->has_child_nodes(': 'void | bool', +\ 'DomNode->insert_before(': 'domelement newnode, domelement refnode | domelement', +\ 'DomNode->is_blank_node(': 'void | bool', +\ 'DomNode->last_child(': 'void | domelement', +\ 'DomNode->next_sibling(': 'void | domelement', +\ 'DomNode->node_name(': 'void | string', +\ 'DomNode->node_type(': 'void | int', +\ 'DomNode->node_value(': 'void | string', +\ 'DomNode->owner_document(': 'void | domdocument', +\ 'DomNode->parent_node(': 'void | domnode', +\ 'DomNode->prefix(': 'void | string', +\ 'DomNode->previous_sibling(': 'void | domelement', +\ 'DomNode->remove_child(': 'domtext oldchild | domtext', +\ 'DomNode->replace_child(': 'domelement oldnode, domelement newnode | domelement', +\ 'DomNode->replace_node(': 'domelement newnode | domelement', +\ 'DomNode->set_content(': 'string content | bool', +\ 'DomNode->set_name(': 'void | bool', +\ 'DomNode->set_namespace(': 'string uri [, string prefix] | void', +\ 'DomNode->unlink_node(': 'void | void', +\ 'domxml_new_doc(': 'string version | DomDocument', +\ 'domxml_open_file(': 'string filename [, int mode [, array &error]] | DomDocument', +\ 'domxml_open_mem(': 'string str [, int mode [, array &error]] | DomDocument', +\ 'domxml_version(': 'void | string', +\ 'domxml_xmltree(': 'string str | DomDocument', +\ 'domxml_xslt_stylesheet_doc(': 'DomDocument xsl_doc | DomXsltStylesheet', +\ 'domxml_xslt_stylesheet_file(': 'string xsl_file | DomXsltStylesheet', +\ 'domxml_xslt_stylesheet(': 'string xsl_buf | DomXsltStylesheet', +\ 'domxml_xslt_version(': 'void | int', +\ 'dotnet_load(': 'string assembly_name [, string datatype_name [, int codepage]] | int', +\ 'each(': 'array &array | array', +\ 'easter_date(': '[int year] | int', +\ 'easter_days(': '[int year [, int method]] | int', +\ 'ebcdic2ascii(': 'string ebcdic_str | int', +\ 'echo(': 'string arg1 [, string ...] | void', +\ 'empty(': 'mixed var | bool', +\ 'end(': 'array &array | mixed', +\ 'ereg(': 'string pattern, string string [, array &regs] | int', +\ 'eregi(': 'string pattern, string string [, array &regs] | int', +\ 'eregi_replace(': 'string pattern, string replacement, string string | string', +\ 'ereg_replace(': 'string pattern, string replacement, string string | string', +\ 'error_log(': 'string message [, int message_type [, string destination [, string extra_headers]]] | bool', +\ 'error_reporting(': '[int level] | int', +\ 'escapeshellarg(': 'string arg | string', +\ 'escapeshellcmd(': 'string command | string', +\ 'eval(': 'string code_str | mixed', +\ 'exec(': 'string command [, array &output [, int &return_var]] | string', +\ 'exif_imagetype(': 'string filename | int', +\ 'exif_read_data(': 'string filename [, string sections [, bool arrays [, bool thumbnail]]] | array', +\ 'exif_tagname(': 'string index | string', +\ 'exif_thumbnail(': 'string filename [, int &width [, int &height [, int &imagetype]]] | string', +\ 'exit(': '[string status] | void', +\ 'expect_expectl(': 'resource expect, array cases, string &match | mixed', +\ 'expect_popen(': 'string command | resource', +\ 'exp(': 'float arg | float', +\ 'explode(': 'string separator, string string [, int limit] | array', +\ 'expm1(': 'float number | float', +\ 'extension_loaded(': 'string name | bool', +\ 'extract(': 'array var_array [, int extract_type [, string prefix]] | int', +\ 'ezmlm_hash(': 'string addr | int', +\ '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', +\ '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]] | resource', +\ '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 [, string username [, string 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_database(': 'resource link_identifier [, string database] | string', +\ 'fbsql_database_password(': 'resource link_identifier [, string database_password] | string', +\ 'fbsql_data_seek(': 'resource result_identifier, int row_number | bool', +\ '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 [, int result_type] | 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_id | 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 [, string username [, string 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_select_db(': '[string database_name [, resource link_identifier]] | bool', +\ 'fbsql_set_lob_mode(': 'resource result, string database_name | 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_tablename(': 'resource result, int i | string', +\ 'fbsql_username(': 'resource link_identifier [, string username] | string', +\ 'fbsql_warnings(': '[bool OnOff] | bool', +\ 'fclose(': 'resource handle | bool', +\ 'fdf_add_doc_javascript(': 'resource fdfdoc, string script_name, string script_code | bool', +\ 'fdf_add_template(': 'resource fdfdoc, int newpage, string filename, string template, int rename | bool', +\ 'fdf_close(': 'resource fdf_document | void', +\ 'fdf_create(': 'void | resource', +\ 'fdf_enum_values(': 'resource fdfdoc, callback function [, mixed userdata] | bool', +\ 'fdf_errno(': 'void | int', +\ 'fdf_error(': '[int error_code] | 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 fdfdoc, string fieldname, int whichflags | int', +\ 'fdf_get_opt(': 'resource fdfdof, string fieldname [, int element] | mixed', +\ 'fdf_get_status(': 'resource fdf_document | string', +\ 'fdf_get_value(': 'resource fdf_document, string fieldname [, int which] | 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 filename | resource', +\ 'fdf_open_string(': 'string fdf_data | resource', +\ 'fdf_remove_item(': 'resource fdfdoc, string fieldname, int item | bool', +\ 'fdf_save(': 'resource fdf_document [, string filename] | bool', +\ 'fdf_save_string(': 'resource fdf_document | string', +\ '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 fdfdoc, 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', +\ 'feof(': 'resource handle | bool', +\ 'fflush(': 'resource handle | bool', +\ 'fgetc(': 'resource handle | string', +\ 'fgetcsv(': 'resource handle [, int length [, string delimiter [, string enclosure]]] | array', +\ 'fgets(': 'resource handle [, int length] | string', +\ 'fgetss(': 'resource handle [, int length [, string allowable_tags]] | string', +\ 'fileatime(': 'string filename | int', +\ 'filectime(': 'string filename | int', +\ 'file_exists(': 'string filename | bool', +\ 'file_get_contents(': 'string filename [, bool use_include_path [, resource context [, int offset [, int maxlen]]]] | string', +\ 'filegroup(': 'string filename | int', +\ 'file(': 'string filename [, int use_include_path [, resource context]] | array', +\ 'fileinode(': 'string filename | int', +\ 'filemtime(': 'string filename | int', +\ 'fileowner(': 'string filename | int', +\ 'fileperms(': 'string filename | int', +\ 'filepro_fieldcount(': 'void | int', +\ 'filepro_fieldname(': 'int field_number | string', +\ 'filepro_fieldtype(': 'int field_number | string', +\ 'filepro_fieldwidth(': 'int field_number | int', +\ 'filepro(': 'string directory | bool', +\ 'filepro_retrieve(': 'int row_number, int field_number | string', +\ 'filepro_rowcount(': 'void | int', +\ 'file_put_contents(': 'string filename, mixed data [, int flags [, resource context]] | int', +\ 'filesize(': 'string filename | int', +\ 'filetype(': 'string filename | string', +\ 'floatval(': 'mixed var | float', +\ 'flock(': 'resource handle, int operation [, int &wouldblock] | bool', +\ 'floor(': 'float value | float', +\ 'flush(': 'void | void', +\ 'fmod(': 'float x, float y | float', +\ 'fnmatch(': 'string pattern, string string [, int flags] | bool', +\ 'fopen(': 'string filename, string mode [, bool use_include_path [, resource zcontext]] | resource', +\ 'fpassthru(': 'resource handle | int', +\ 'fprintf(': 'resource handle, string format [, mixed args [, mixed ...]] | int', +\ 'fputcsv(': 'resource handle [, array fields [, string delimiter [, string enclosure]]] | int', +\ 'fread(': 'resource handle, int length | string', +\ 'frenchtojd(': 'int month, int day, int year | int', +\ 'fribidi_log2vis(': 'string str, string direction, int charset | string', +\ 'fscanf(': 'resource handle, string format [, mixed &...] | mixed', +\ 'fseek(': 'resource handle, int offset [, int whence] | int', +\ 'fsockopen(': 'string target [, int port [, int &errno [, string &errstr [, float timeout]]]] | resource', +\ 'fstat(': 'resource handle | array', +\ 'ftell(': 'resource handle | int', +\ 'ftok(': 'string pathname, string proj | int', +\ '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 [, int timeout]] | 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] | bool', +\ 'ftp_fput(': 'resource ftp_stream, string remote_file, resource handle, int mode [, int startpos] | bool', +\ 'ftp_get(': 'resource ftp_stream, string local_file, string remote_file, int mode [, int resumepos] | bool', +\ 'ftp_get_option(': 'resource ftp_stream, int option | mixed', +\ '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] | int', +\ 'ftp_nb_fput(': 'resource ftp_stream, string remote_file, resource handle, int mode [, int startpos] | int', +\ 'ftp_nb_get(': 'resource ftp_stream, string local_file, string remote_file, int mode [, int resumepos] | int', +\ 'ftp_nb_put(': 'resource ftp_stream, string remote_file, string local_file, int mode [, int startpos] | 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] | bool', +\ 'ftp_pwd(': 'resource ftp_stream | string', +\ 'ftp_raw(': 'resource ftp_stream, string command | array', +\ 'ftp_rawlist(': 'resource ftp_stream, string directory [, bool recursive] | 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 [, int timeout]] | resource', +\ 'ftp_systype(': 'resource ftp_stream | string', +\ 'ftruncate(': 'resource handle, int size | bool', +\ 'func_get_arg(': 'int arg_num | mixed', +\ 'func_get_args(': 'void | array', +\ 'func_num_args(': 'void | int', +\ 'function_exists(': 'string function_name | bool', +\ 'fwrite(': 'resource handle, string string [, int length] | int', +\ 'gd_info(': 'void | array', +\ 'getallheaders(': 'void | array', +\ 'get_browser(': '[string user_agent [, bool return_array]] | mixed', +\ 'get_cfg_var(': 'string varname | string', +\ 'get_class(': '[object obj] | string', +\ 'get_class_methods(': 'mixed class_name | array', +\ 'get_class_vars(': 'string class_name | array', +\ 'get_current_user(': 'void | string', +\ 'getcwd(': 'void | string', +\ 'getdate(': '[int timestamp] | array', +\ 'get_declared_classes(': 'void | array', +\ 'get_declared_interfaces(': 'void | array', +\ 'get_defined_constants(': '[mixed categorize] | array', +\ 'get_defined_functions(': 'void | array', +\ 'get_defined_vars(': 'void | array', +\ 'getenv(': 'string varname | string', +\ 'get_extension_funcs(': 'string module_name | array', +\ 'get_headers(': 'string url [, int format] | array', +\ 'gethostbyaddr(': 'string ip_address | string', +\ 'gethostbyname(': 'string hostname | string', +\ 'gethostbynamel(': 'string hostname | array', +\ 'get_html_translation_table(': '[int table [, int quote_style]] | array', +\ 'getimagesize(': 'string filename [, array &imageinfo] | array', +\ 'get_included_files(': 'void | array', +\ 'get_include_path(': 'void | string', +\ 'getlastmod(': 'void | int', +\ 'get_loaded_extensions(': 'void | array', +\ 'get_magic_quotes_gpc(': 'void | int', +\ 'get_magic_quotes_runtime(': 'void | int', +\ 'get_meta_tags(': 'string filename [, bool use_include_path] | array', +\ 'getmxrr(': 'string hostname, array &mxhosts [, array &weight] | bool', +\ 'getmygid(': 'void | int', +\ 'getmyinode(': 'void | int', +\ 'getmypid(': 'void | int', +\ 'getmyuid(': 'void | int', +\ 'get_object_vars(': 'object obj | array', +\ 'getopt(': 'string options | array', +\ 'get_parent_class(': '[mixed obj] | string', +\ 'getprotobyname(': 'string name | int', +\ 'getprotobynumber(': 'int number | string', +\ 'getrandmax(': 'void | int', +\ 'get_resource_type(': 'resource handle | string', +\ 'getrusage(': '[int who] | array', +\ 'getservbyname(': 'string service, string protocol | int', +\ 'getservbyport(': 'int port, string protocol | string', +\ 'gettext(': 'string message | string', +\ 'gettimeofday(': '[bool return_float] | mixed', +\ 'gettype(': 'mixed var | string', +\ 'glob(': 'string pattern [, int flags] | array', +\ 'gmdate(': 'string format [, int timestamp] | string', +\ 'gmmktime(': '[int hour [, int minute [, int second [, int month [, int day [, int year [, int is_dst]]]]]]] | int', +\ '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_divexact(': 'resource n, resource d | resource', +\ 'gmp_div_q(': 'resource a, resource b [, int round] | resource', +\ 'gmp_div_qr(': 'resource n, resource d [, int round] | array', +\ 'gmp_div_r(': 'resource n, resource d [, int round] | resource', +\ 'gmp_fact(': 'int a | resource', +\ 'gmp_gcdext(': 'resource a, resource b | array', +\ 'gmp_gcd(': 'resource a, resource b | resource', +\ 'gmp_hamdist(': 'resource a, resource b | int', +\ 'gmp_init(': 'mixed number [, int base] | 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_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] | int', +\ 'gmp_random(': 'int limiter | resource', +\ 'gmp_scan0(': 'resource a, int start | int', +\ 'gmp_scan1(': 'resource a, int start | int', +\ 'gmp_setbit(': 'resource &a, int index [, bool set_clear] | void', +\ 'gmp_sign(': 'resource a | int', +\ 'gmp_sqrt(': 'resource a | resource', +\ 'gmp_sqrtrem(': 'resource a | array', +\ 'gmp_strval(': 'resource gmpnumber [, int base] | string', +\ 'gmp_sub(': 'resource a, resource b | resource', +\ 'gmp_xor(': 'resource a, resource b | resource', +\ 'gmstrftime(': 'string format [, int timestamp] | string', +\ '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_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', +\ 'gopher_parsedir(': 'string dirent | array', +\ 'gregoriantojd(': 'int month, int day, int year | int', +\ 'gzclose(': 'resource zp | bool', +\ 'gzcompress(': 'string data [, int level] | string', +\ 'gzdeflate(': 'string data [, int level] | string', +\ 'gzencode(': 'string data [, int level [, int encoding_mode]] | string', +\ 'gzeof(': 'resource zp | int', +\ 'gzfile(': 'string filename [, int use_include_path] | 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] | string', +\ 'gzopen(': 'string filename, string mode [, int use_include_path] | resource', +\ 'gzpassthru(': 'resource zp | int', +\ 'gzread(': 'resource zp, int length | string', +\ 'gzrewind(': 'resource zp | bool', +\ 'gzseek(': 'resource zp, int offset | int', +\ 'gztell(': 'resource zp | int', +\ 'gzuncompress(': 'string data [, int length] | string', +\ 'gzwrite(': 'resource zp, string string [, int length] | int', +\ '__halt_compiler(': 'void | void', +\ 'hash_algos(': 'void | array', +\ 'hash_file(': 'string algo, string filename [, bool raw_output] | string', +\ 'hash_final(': 'resource context [, bool raw_output] | string', +\ 'hash_hmac_file(': 'string algo, string filename, string key [, bool raw_output] | string', +\ 'hash_hmac(': 'string algo, string data, string key [, bool raw_output] | string', +\ 'hash(': 'string algo, string data [, bool raw_output] | string', +\ 'hash_init(': 'string algo [, int options, string key] | resource', +\ 'hash_update_file(': 'resource context, string filename [, resource context] | bool', +\ 'hash_update(': 'resource context, string data | bool', +\ 'hash_update_stream(': 'resource context, resource handle [, int length] | int', +\ 'header(': 'string string [, bool replace [, int http_response_code]] | void', +\ 'headers_list(': 'void | array', +\ 'headers_sent(': '[string &file [, int &line]] | bool', +\ 'hebrevc(': 'string hebrew_text [, int max_chars_per_line] | string', +\ 'hebrev(': 'string hebrew_text [, int max_chars_per_line] | string', +\ 'hexdec(': 'string hex_string | number', +\ 'highlight_file(': 'string filename [, bool return] | mixed', +\ 'highlight_string(': 'string str [, bool return] | mixed', +\ 'htmlentities(': 'string string [, int quote_style [, string charset]] | string', +\ 'html_entity_decode(': 'string string [, int quote_style [, string charset]] | string', +\ 'htmlspecialchars_decode(': 'string string [, int quote_style] | string', +\ 'htmlspecialchars(': 'string string [, int quote_style [, string charset]] | string', +\ 'http_build_query(': 'array formdata [, string numeric_prefix] | string', +\ 'hw_api_attribute(': '[string name [, string value]] | HW_API_Attribute', +\ 'hw_api_attribute->key(': 'void | string', +\ 'hw_api_attribute->langdepvalue(': 'string language | string', +\ 'hw_api_attribute->value(': 'void | string', +\ 'hw_api_attribute->values(': 'void | array', +\ 'hw_api->checkin(': 'array parameter | bool', +\ 'hw_api->checkout(': 'array parameter | bool', +\ 'hw_api->children(': 'array parameter | array', +\ 'hw_api->content(': 'array parameter | HW_API_Content', +\ 'hw_api_content->mimetype(': 'void | string', +\ 'hw_api_content->read(': 'string buffer, int len | string', +\ 'hw_api->copy(': 'array parameter | hw_api_object', +\ 'hw_api->dbstat(': 'array parameter | hw_api_object', +\ 'hw_api->dcstat(': 'array parameter | hw_api_object', +\ 'hw_api->dstanchors(': 'array parameter | array', +\ 'hw_api->dstofsrcanchor(': 'array parameter | hw_api_object', +\ 'hw_api_error->count(': 'void | int', +\ 'hw_api_error->reason(': 'void | HW_API_Reason', +\ 'hw_api->find(': 'array parameter | array', +\ 'hw_api->ftstat(': 'array parameter | hw_api_object', +\ 'hwapi_hgcsp(': 'string hostname [, int port] | HW_API', +\ 'hw_api->hwstat(': 'array parameter | hw_api_object', +\ 'hw_api->identify(': 'array parameter | bool', +\ 'hw_api->info(': 'array parameter | array', +\ 'hw_api->insertanchor(': 'array parameter | hw_api_object', +\ 'hw_api->insertcollection(': 'array parameter | hw_api_object', +\ 'hw_api->insertdocument(': 'array parameter | hw_api_object', +\ 'hw_api->insert(': 'array parameter | hw_api_object', +\ 'hw_api->link(': 'array parameter | bool', +\ 'hw_api->lock(': 'array parameter | bool', +\ 'hw_api->move(': 'array parameter | bool', +\ 'hw_api_content(': 'string content, string mimetype | HW_API_Content', +\ 'hw_api_object->assign(': 'array parameter | bool', +\ 'hw_api_object->attreditable(': 'array parameter | bool', +\ 'hw_api->objectbyanchor(': 'array parameter | hw_api_object', +\ 'hw_api_object->count(': 'array parameter | int', +\ 'hw_api->object(': 'array parameter | hw_api_object', +\ 'hw_api_object->insert(': 'HW_API_Attribute attribute | bool', +\ 'hw_api_object(': 'array parameter | hw_api_object', +\ 'hw_api_object->remove(': 'string name | bool', +\ 'hw_api_object->title(': 'array parameter | string', +\ 'hw_api_object->value(': 'string name | string', +\ 'hw_api->parents(': 'array parameter | array', +\ 'hw_api_reason->description(': 'void | string', +\ 'hw_api_reason->type(': 'void | HW_API_Reason', +\ 'hw_api->remove(': 'array parameter | bool', +\ 'hw_api->replace(': 'array parameter | hw_api_object', +\ 'hw_api->setcommittedversion(': 'array parameter | hw_api_object', +\ 'hw_api->srcanchors(': 'array parameter | array', +\ 'hw_api->srcsofdst(': 'array parameter | array', +\ 'hw_api->unlock(': 'array parameter | bool', +\ 'hw_api->user(': 'array parameter | hw_api_object', +\ 'hw_api->userlist(': 'array parameter | array', +\ '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_getobjectbyquerycoll(': 'int connection, int objectID, string query, int max_hits | array', +\ 'hw_getobjectbyquerycollobj(': 'int connection, int objectID, string query, int max_hits | array', +\ 'hw_getobjectbyquery(': 'int connection, string query, int max_hits | array', +\ 'hw_getobjectbyqueryobj(': 'int connection, string query, int max_hits | array', +\ 'hw_getobject(': 'int connection, mixed objectID [, string query] | mixed', +\ '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_getremotechildren(': 'int connection, string object_record | mixed', +\ 'hw_getremote(': 'int connection, int objectID | int', +\ '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(': ' | 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', +\ 'hypot(': 'float x, float y | float', +\ 'i18n_loc_get_default(': 'void | string', +\ 'i18n_loc_set_default(': 'string name | bool', +\ '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 [, bool verbose]] | 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] | resource', +\ 'ibase_blob_echo(': 'resource link_identifier, 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] | bool', +\ 'ibase_commit(': '[resource link_or_trans_identifier] | bool', +\ 'ibase_commit_ret(': '[resource link_or_trans_identifier] | 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] | string', +\ 'ibase_delete_user(': 'resource service_handle, string user_name | bool', +\ 'ibase_drop_db(': '[resource connection] | 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] | array', +\ 'ibase_fetch_object(': 'resource result_id [, int fetch_flag] | object', +\ 'ibase_fetch_row(': 'resource result_identifier [, int fetch_flag] | 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 [, resource link_identifier]] | mixed', +\ 'ibase_maintain_db(': 'resource service_handle, string db, int action [, int argument] | 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 [, bool verbose]] | mixed', +\ 'ibase_rollback(': '[resource link_or_trans_identifier] | bool', +\ 'ibase_rollback_ret(': '[resource link_or_trans_identifier] | 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(': 'callback event_handler, string event_name1 [, string event_name2 [, string ...]] | resource', +\ 'ibase_timefmt(': 'string format [, int columntype] | int', +\ 'ibase_trans(': '[int trans_args [, resource link_identifier]] | resource', +\ 'ibase_wait_event(': 'string event_name1 [, string event_name2 [, string ...]] | string', +\ 'icap_close(': 'int icap_stream [, int flags] | int', +\ 'icap_create_calendar(': 'int stream_id, string calendar | string', +\ 'icap_delete_calendar(': 'int stream_id, string calendar | string', +\ 'icap_delete_event(': 'int stream_id, int uid | string', +\ 'icap_fetch_event(': 'int stream_id, int event_id [, int options] | int', +\ 'icap_list_alarms(': 'int stream_id, array date, array time | int', +\ 'icap_list_events(': 'int stream_id, int begin_date [, int end_date] | array', +\ 'icap_open(': 'string calendar, string username, string password, string options | resource', +\ 'icap_rename_calendar(': 'int stream_id, string old_name, string new_name | string', +\ 'icap_reopen(': 'int stream_id, string calendar [, int options] | int', +\ 'icap_snooze(': 'int stream_id, int uid | string', +\ 'icap_store_event(': 'int stream_id, object event | string', +\ 'iconv_get_encoding(': '[string type] | mixed', +\ 'iconv(': 'string in_charset, string out_charset, string str | string', +\ 'iconv_mime_decode_headers(': 'string encoded_headers [, int mode [, string charset]] | array', +\ 'iconv_mime_decode(': 'string encoded_header [, int mode [, string charset]] | string', +\ 'iconv_mime_encode(': 'string field_name, string field_value [, array preferences] | string', +\ 'iconv_set_encoding(': 'string type, string charset | bool', +\ 'iconv_strlen(': 'string str [, string charset] | int', +\ 'iconv_strpos(': 'string haystack, string needle [, int offset [, string charset]] | int', +\ 'iconv_strrpos(': 'string haystack, string needle [, string charset] | int', +\ 'iconv_substr(': 'string str, int offset [, int length [, string charset]] | string', +\ '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] | array', +\ 'id3_get_version(': 'string filename | int', +\ 'id3_remove_tag(': 'string filename [, int version] | bool', +\ 'id3_set_tag(': 'string filename, array tag [, int version] | bool', +\ 'idate(': 'string format [, int timestamp] | int', +\ 'ifx_affected_rows(': 'int result_id | int', +\ 'ifx_blobinfile_mode(': 'int mode | void', +\ 'ifx_byteasvarchar(': 'int mode | void', +\ 'ifx_close(': '[int link_identifier] | int', +\ 'ifx_connect(': '[string database [, string userid [, string password]]] | int', +\ 'ifx_copy_blob(': 'int bid | int', +\ 'ifx_create_blob(': 'int type, int mode, string param | int', +\ 'ifx_create_char(': 'string param | int', +\ 'ifx_do(': 'int result_id | int', +\ 'ifx_error(': 'void | string', +\ 'ifx_errormsg(': '[int errorcode] | string', +\ 'ifx_fetch_row(': 'int result_id [, mixed position] | array', +\ 'ifx_fieldproperties(': 'int result_id | array', +\ 'ifx_fieldtypes(': 'int result_id | array', +\ 'ifx_free_blob(': 'int bid | int', +\ 'ifx_free_char(': 'int bid | int', +\ 'ifx_free_result(': 'int result_id | int', +\ 'ifx_get_blob(': 'int bid | int', +\ 'ifx_get_char(': 'int bid | int', +\ 'ifx_getsqlca(': 'int result_id | array', +\ 'ifx_htmltbl_result(': 'int result_id [, string html_table_options] | int', +\ 'ifx_nullformat(': 'int mode | void', +\ 'ifx_num_fields(': 'int result_id | int', +\ 'ifx_num_rows(': 'int result_id | int', +\ 'ifx_pconnect(': '[string database [, string userid [, string password]]] | int', +\ 'ifx_prepare(': 'string query, int conn_id [, int cursor_def, mixed blobidarray] | int', +\ 'ifx_query(': 'string query, int link_identifier [, int cursor_type [, mixed blobidarray]] | int', +\ 'ifx_textasvarchar(': 'int mode | void', +\ 'ifx_update_blob(': 'int bid, string content | bool', +\ 'ifx_update_char(': 'int bid, string content | int', +\ 'ifxus_close_slob(': 'int bid | int', +\ 'ifxus_create_slob(': 'int mode | int', +\ 'ifxus_free_slob(': 'int bid | int', +\ 'ifxus_open_slob(': 'int bid, int mode | int', +\ 'ifxus_read_slob(': 'int bid, int nbytes | int', +\ 'ifxus_seek_slob(': 'int bid, int mode, int offset | int', +\ 'ifxus_tell_slob(': 'int bid | int', +\ 'ifxus_write_slob(': 'int bid, string content | int', +\ 'ignore_user_abort(': '[bool setting] | int', +\ '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', +\ 'image2wbmp(': 'resource image [, string filename [, int threshold]] | int', +\ 'imagealphablending(': 'resource image, bool blendmode | bool', +\ 'imageantialias(': 'resource im, bool on | bool', +\ 'imagearc(': 'resource image, int cx, int cy, int w, int h, int s, int e, 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', +\ 'imagecolorallocatealpha(': 'resource image, int red, int green, int blue, int alpha | int', +\ 'imagecolorallocate(': 'resource image, int red, int green, int blue | int', +\ 'imagecolorat(': 'resource image, int x, int y | int', +\ 'imagecolorclosestalpha(': 'resource image, int red, int green, int blue, int alpha | int', +\ 'imagecolorclosest(': 'resource image, int red, int green, int blue | int', +\ 'imagecolorclosesthwb(': 'resource image, int red, int green, int blue | int', +\ 'imagecolordeallocate(': 'resource image, int color | bool', +\ 'imagecolorexactalpha(': 'resource image, int red, int green, int blue, int alpha | int', +\ 'imagecolorexact(': 'resource image, int red, int green, int blue | int', +\ 'imagecolormatch(': 'resource image1, resource image2 | bool', +\ 'imagecolorresolvealpha(': 'resource image, int red, int green, int blue, int alpha | int', +\ 'imagecolorresolve(': 'resource image, int red, int green, int blue | int', +\ 'imagecolorset(': 'resource image, int index, int red, int green, int blue | void', +\ 'imagecolorsforindex(': 'resource image, int index | array', +\ 'imagecolorstotal(': 'resource image | int', +\ 'imagecolortransparent(': 'resource image [, int color] | int', +\ 'imageconvolution(': 'resource image, array matrix3x3, 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', +\ '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', +\ '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', +\ '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', +\ 'imagecreatefromgd2(': 'string filename | resource', +\ 'imagecreatefromgd2part(': 'string filename, int srcX, int srcY, int width, int height | resource', +\ 'imagecreatefromgd(': 'string filename | resource', +\ 'imagecreatefromgif(': 'string filename | resource', +\ 'imagecreatefromjpeg(': 'string filename | resource', +\ 'imagecreatefrompng(': 'string filename | resource', +\ 'imagecreatefromstring(': 'string image | resource', +\ 'imagecreatefromwbmp(': 'string filename | resource', +\ 'imagecreatefromxbm(': 'string filename | resource', +\ 'imagecreatefromxpm(': 'string filename | resource', +\ 'imagecreate(': 'int x_size, int y_size | resource', +\ 'imagecreatetruecolor(': 'int x_size, int y_size | 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 w, int h, int color | bool', +\ 'imagefilledarc(': 'resource image, int cx, int cy, int w, int h, int s, int e, int color, int style | bool', +\ 'imagefilledellipse(': 'resource image, int cx, int cy, int w, int h, 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', +\ 'imagefill(': 'resource image, int x, int y, int color | bool', +\ 'imagefilltoborder(': 'resource image, int x, int y, int border, int color | bool', +\ 'imagefilter(': 'resource src_im, int filtertype [, int arg1 [, int arg2 [, int arg3]]] | bool', +\ 'imagefontheight(': 'int font | int', +\ 'imagefontwidth(': 'int font | int', +\ 'imageftbbox(': 'float size, float angle, string font_file, string text [, array extrainfo] | array', +\ 'imagefttext(': 'resource image, float size, float angle, int x, int y, int col, string font_file, string text [, array extrainfo] | array', +\ 'imagegammacorrect(': 'resource image, float inputgamma, float outputgamma | bool', +\ 'imagegd2(': 'resource image [, string filename [, int chunk_size [, int type]]] | bool', +\ 'imagegd(': 'resource image [, string filename] | bool', +\ 'imagegif(': 'resource image [, string filename] | bool', +\ 'imageinterlace(': 'resource image [, int interlace] | 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', +\ 'imagepng(': 'resource image [, string filename] | bool', +\ 'imagepolygon(': 'resource image, array points, int num_points, int color | bool', +\ 'imagepsbbox(': 'string text, int font, int size [, int space, int tightness, float angle] | array', +\ 'imagepscopyfont(': 'resource fontindex | int', +\ 'imagepsencodefont(': 'resource font_index, string encodingfile | bool', +\ 'imagepsextendfont(': 'int font_index, float extend | bool', +\ 'imagepsfreefont(': 'resource fontindex | bool', +\ 'imagepsloadfont(': 'string filename | resource', +\ 'imagepsslantfont(': 'resource font_index, float slant | bool', +\ 'imagepstext(': 'resource image, string text, resource font, int size, int foreground, int background, int x, int y [, int space, int tightness, float angle, int antialias_steps] | array', +\ 'imagerectangle(': 'resource image, int x1, int y1, int x2, int y2, int col | bool', +\ 'imagerotate(': 'resource src_im, float angle, int bgd_color [, int ignore_transparent] | resource', +\ 'imagesavealpha(': 'resource image, bool saveflag | bool', +\ 'imagesetbrush(': 'resource image, resource brush | 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 s, int col | bool', +\ 'imagestringup(': 'resource image, int font, int x, int y, string s, int col | 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', +\ 'image_type_to_extension(': 'int imagetype [, bool include_dot] | string', +\ 'image_type_to_mime_type(': 'int imagetype | string', +\ 'imagewbmp(': 'resource image [, string filename [, int foreground]] | bool', +\ 'imagexbm(': 'resource image, string filename [, int foreground] | bool', +\ 'imap_8bit(': 'string string | string', +\ 'imap_alerts(': 'void | array', +\ 'imap_append(': 'resource imap_stream, string mbox, string message [, string options] | bool', +\ 'imap_base64(': 'string text | string', +\ 'imap_binary(': 'string string | string', +\ 'imap_body(': 'resource imap_stream, int msg_number [, int options] | string', +\ 'imap_bodystruct(': 'resource stream_id, int msg_no, string section | object', +\ 'imap_check(': 'resource imap_stream | object', +\ 'imap_clearflag_full(': 'resource stream, string sequence, string flag [, string options] | bool', +\ 'imap_close(': 'resource imap_stream [, int flag] | bool', +\ 'imap_createmailbox(': 'resource imap_stream, string mbox | bool', +\ 'imap_delete(': 'int imap_stream, int msg_number [, int options] | bool', +\ 'imap_deletemailbox(': 'resource imap_stream, string mbox | bool', +\ 'imap_errors(': 'void | array', +\ 'imap_expunge(': 'resource imap_stream | bool', +\ 'imap_fetchbody(': 'resource imap_stream, int msg_number, string part_number [, int options] | string', +\ 'imap_fetchheader(': 'resource imap_stream, int msgno [, int options] | string', +\ 'imap_fetch_overview(': 'resource imap_stream, string sequence [, int options] | array', +\ 'imap_fetchstructure(': 'resource imap_stream, int msg_number [, int options] | object', +\ 'imap_getacl(': 'resource stream_id, string mailbox | array', +\ 'imap_getmailboxes(': 'resource imap_stream, string ref, string pattern | array', +\ 'imap_get_quota(': 'resource imap_stream, string quota_root | array', +\ 'imap_get_quotaroot(': 'resource imap_stream, string quota_root | array', +\ 'imap_getsubscribed(': 'resource imap_stream, string ref, string pattern | array', +\ 'imap_headerinfo(': 'resource imap_stream, int msg_number [, int fromlength [, int subjectlength [, string defaulthost]]] | object', +\ 'imap_headers(': 'resource imap_stream | array', +\ 'imap_last_error(': 'void | string', +\ 'imap_list(': 'resource imap_stream, string ref, string pattern | array', +\ 'imap_listscan(': 'resource imap_stream, string ref, string pattern, string content | array', +\ 'imap_lsub(': 'resource imap_stream, string ref, string pattern | array', +\ 'imap_mailboxmsginfo(': 'resource imap_stream | object', +\ 'imap_mail_compose(': 'array envelope, array body | string', +\ 'imap_mail_copy(': 'resource imap_stream, string msglist, string mbox [, int options] | bool', +\ 'imap_mail(': 'string to, string subject, string message [, string additional_headers [, string cc [, string bcc [, string rpath]]]] | bool', +\ 'imap_mail_move(': 'resource imap_stream, string msglist, string mbox [, int options] | bool', +\ '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] | resource', +\ 'imap_ping(': 'resource imap_stream | bool', +\ 'imap_qprint(': 'string string | string', +\ 'imap_renamemailbox(': 'resource imap_stream, string old_mbox, string new_mbox | bool', +\ 'imap_reopen(': 'resource imap_stream, string mailbox [, int options] | bool', +\ 'imap_rfc822_parse_adrlist(': 'string address, string default_host | array', +\ 'imap_rfc822_parse_headers(': 'string headers [, string defaulthost] | object', +\ 'imap_rfc822_write_address(': 'string mailbox, string host, string personal | string', +\ 'imap_search(': 'resource imap_stream, string criteria [, int options [, string charset]] | array', +\ 'imap_setacl(': 'resource stream_id, string mailbox, string id, string rights | bool', +\ 'imap_setflag_full(': 'resource stream, string sequence, string flag [, string options] | bool', +\ 'imap_set_quota(': 'resource imap_stream, string quota_root, int quota_limit | bool', +\ 'imap_sort(': 'resource stream, int criteria, int reverse [, int options [, string search_criteria [, string charset]]] | array', +\ 'imap_status(': 'resource imap_stream, string mailbox, int options | object', +\ 'imap_subscribe(': 'resource imap_stream, string mbox | bool', +\ 'imap_thread(': 'resource stream_id [, int options] | array', +\ 'imap_timeout(': 'int timeout_type [, int timeout] | mixed', +\ 'imap_uid(': 'resource imap_stream, int msgno | int', +\ 'imap_undelete(': 'resource imap_stream, int msg_number [, int flags] | bool', +\ 'imap_unsubscribe(': 'string imap_stream, string mbox | bool', +\ 'imap_utf7_decode(': 'string text | string', +\ 'imap_utf7_encode(': 'string data | string', +\ 'imap_utf8(': 'string mime_encoded_text | string', +\ 'implode(': 'string glue, array pieces | string', +\ 'import_request_variables(': 'string types [, string prefix] | bool', +\ 'in_array(': 'mixed needle, array haystack [, bool strict] | bool', +\ 'inet_ntop(': 'string in_addr | string', +\ 'inet_pton(': 'string address | string', +\ 'ingres_autocommit(': '[resource link] | bool', +\ 'ingres_close(': '[resource link] | bool', +\ 'ingres_commit(': '[resource link] | bool', +\ 'ingres_connect(': '[string database [, string username [, string password]]] | resource', +\ 'ingres_cursor(': '[resource link] | string', +\ 'ingres_errno(': '[resource link] | int', +\ 'ingres_error(': '[resource link] | string', +\ 'ingres_errsqlstate(': '[resource link] | string', +\ 'ingres_fetch_array(': '[int result_type [, resource link]] | array', +\ 'ingres_fetch_object(': '[int result_type [, resource link]] | object', +\ 'ingres_fetch_row(': '[resource link] | array', +\ 'ingres_field_length(': 'int index [, resource link] | int', +\ 'ingres_field_name(': 'int index [, resource link] | string', +\ 'ingres_field_nullable(': 'int index [, resource link] | bool', +\ 'ingres_field_precision(': 'int index [, resource link] | int', +\ 'ingres_field_scale(': 'int index [, resource link] | int', +\ 'ingres_field_type(': 'int index [, resource link] | string', +\ 'ingres_num_fields(': '[resource link] | int', +\ 'ingres_num_rows(': '[resource link] | int', +\ 'ingres_pconnect(': '[string database [, string username [, string password]]] | resource', +\ 'ingres_query(': 'string query [, resource link] | bool', +\ 'ingres_rollback(': '[resource link] | bool', +\ 'ini_get_all(': '[string extension] | array', +\ 'ini_get(': 'string varname | string', +\ 'ini_restore(': 'string varname | void', +\ 'ini_set(': 'string varname, string newvalue | string', +\ 'interface_exists(': 'string interface_name [, bool autoload] | bool', +\ 'intval(': 'mixed var [, int base] | int', +\ 'ip2long(': 'string ip_address | int', +\ 'iptcembed(': 'string iptcdata, string jpeg_file_name [, int spool] | mixed', +\ 'iptcparse(': 'string iptcblock | array', +\ 'ircg_channel_mode(': 'resource connection, string channel, string mode_spec, string nick | bool', +\ 'ircg_disconnect(': 'resource connection, string reason | bool', +\ 'ircg_eval_ecmascript_params(': 'string params | array', +\ 'ircg_fetch_error_msg(': 'resource connection | array', +\ 'ircg_get_username(': 'resource connection | string', +\ 'ircg_html_encode(': 'string html_string [, bool auto_links [, bool conv_br]] | string', +\ 'ircg_ignore_add(': 'resource connection, string nick | void', +\ 'ircg_ignore_del(': 'resource connection, string nick | bool', +\ 'ircg_invite(': 'resource connection, string channel, string nickname | bool', +\ 'ircg_is_conn_alive(': 'resource connection | bool', +\ 'ircg_join(': 'resource connection, string channel [, string key] | bool', +\ 'ircg_kick(': 'resource connection, string channel, string nick, string reason | bool', +\ 'ircg_list(': 'resource connection, string channel | bool', +\ 'ircg_lookup_format_messages(': 'string name | bool', +\ 'ircg_lusers(': 'resource connection | bool', +\ 'ircg_msg(': 'resource connection, string recipient, string message [, bool suppress] | bool', +\ 'ircg_names(': 'int connection, string channel [, string target] | bool', +\ 'ircg_nick(': 'resource connection, string nick | bool', +\ 'ircg_nickname_escape(': 'string nick | string', +\ 'ircg_nickname_unescape(': 'string nick | string', +\ 'ircg_notice(': 'resource connection, string recipient, string message | bool', +\ 'ircg_oper(': 'resource connection, string name, string password | bool', +\ 'ircg_part(': 'resource connection, string channel | bool', +\ 'ircg_pconnect(': 'string username [, string server_ip [, int server_port [, string msg_format [, array ctcp_messages [, array user_settings [, bool bailout_on_trivial]]]]]] | resource', +\ 'ircg_register_format_messages(': 'string name, array messages | bool', +\ 'ircg_set_current(': 'resource connection | bool', +\ 'ircg_set_file(': 'resource connection, string path | bool', +\ 'ircg_set_on_die(': 'resource connection, string host, int port, string data | bool', +\ 'ircg_topic(': 'resource connection, string channel, string new_topic | bool', +\ 'ircg_who(': 'resource connection, string mask [, bool ops_only] | bool', +\ 'ircg_whois(': 'resource connection, string nick | bool', +\ 'is_a(': 'object object, string class_name | bool', +\ 'is_array(': 'mixed var | bool', +\ 'is_bool(': 'mixed var | bool', +\ 'is_callable(': 'mixed var [, bool syntax_only [, string &callable_name]] | bool', +\ 'is_dir(': 'string filename | bool', +\ 'is_executable(': 'string filename | bool', +\ 'is_file(': 'string filename | bool', +\ 'is_finite(': 'float val | bool', +\ 'is_float(': 'mixed var | bool', +\ 'is_infinite(': 'float val | bool', +\ 'is_int(': 'mixed var | bool', +\ 'is_link(': 'string filename | bool', +\ 'is_nan(': 'float val | bool', +\ 'is_null(': 'mixed var | bool', +\ 'is_numeric(': 'mixed var | bool', +\ 'is_object(': 'mixed var | bool', +\ 'is_readable(': 'string filename | bool', +\ 'is_resource(': 'mixed var | bool', +\ 'is_scalar(': 'mixed var | bool', +\ 'isset(': 'mixed var [, mixed var [, ...]] | bool', +\ 'is_soap_fault(': 'mixed obj | bool', +\ 'is_string(': 'mixed var | bool', +\ 'is_subclass_of(': 'mixed object, string class_name | bool', +\ 'is_uploaded_file(': 'string filename | bool', +\ 'is_writable(': 'string filename | bool', +\ 'iterator_count(': 'IteratorAggregate iterator | int', +\ 'iterator_to_array(': 'IteratorAggregate iterator | array', +\ 'java_last_exception_clear(': 'void | void', +\ 'java_last_exception_get(': 'void | object', +\ 'jddayofweek(': 'int julianday [, int mode] | mixed', +\ 'jdmonthname(': 'int julianday, int mode | string', +\ 'jdtofrench(': 'int juliandaycount | string', +\ 'jdtogregorian(': 'int julianday | string', +\ 'jdtojewish(': 'int juliandaycount [, bool hebrew [, int fl]] | string', +\ 'jdtojulian(': 'int julianday | string', +\ 'jdtounix(': 'int jday | int', +\ 'jewishtojd(': 'int month, int day, int year | int', +\ 'jpeg2wbmp(': 'string jpegname, string wbmpname, int d_height, int d_width, int threshold | int', +\ 'juliantojd(': 'int month, int day, int year | int', +\ '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', +\ 'key(': 'array &array | mixed', +\ 'krsort(': 'array &array [, int sort_flags] | bool', +\ 'ksort(': 'array &array [, int sort_flags] | bool', +\ 'lcg_value(': 'void | float', +\ '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 [, string bind_password]] | bool', +\ 'ldap_compare(': 'resource link_identifier, string dn, string attribute, string value | mixed', +\ 'ldap_connect(': '[string hostname [, int port]] | resource', +\ '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, int &ber_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(': 'resource link_identifier, resource result_entry_identifier, string attribute | array', +\ 'ldap_get_values_len(': '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_modify(': 'resource link_identifier, string dn, array entry | bool', +\ 'ldap_mod_replace(': 'resource link_identifier, string dn, array entry | bool', +\ 'ldap_next_attribute(': 'resource link_identifier, resource result_entry_identifier, resource &ber_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 [, string password [, string sasl_mech [, string sasl_realm [, string sasl_authz_id [, string props]]]]]] | 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, callback 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', +\ 'levenshtein(': 'string str1, string str2 [, int cost_ins [, int cost_rep, int cost_del]] | int', +\ 'libxml_clear_errors(': 'void | void', +\ 'libxml_get_errors(': 'void | array', +\ 'libxml_get_last_error(': 'void | LibXMLError', +\ 'libxml_set_streams_context(': 'resource streams_context | void', +\ 'libxml_use_internal_errors(': '[bool use_errors] | bool', +\ 'link(': 'string target, string link | bool', +\ 'linkinfo(': 'string path | int', +\ 'list(': 'mixed varname, mixed ... | void', +\ 'localeconv(': 'void | array', +\ 'localtime(': '[int timestamp [, bool is_associative]] | array', +\ 'log10(': 'float arg | float', +\ 'log1p(': 'float number | float', +\ 'log(': 'float arg [, float base] | float', +\ 'long2ip(': 'int proper_address | string', +\ 'lstat(': 'string filename | array', +\ 'ltrim(': 'string str [, string charlist] | string', +\ 'lzf_compress(': 'string data | string', +\ 'lzf_decompress(': 'string data | string', +\ 'lzf_optimized_for(': 'void | int', +\ 'mail(': 'string to, string subject, string message [, string additional_headers [, string additional_parameters]] | bool', +\ 'mailparse_determine_best_xfer_encoding(': 'resource fp | string', +\ 'mailparse_msg_create(': 'void | resource', +\ 'mailparse_msg_extract_part_file(': 'resource rfc2045, string filename [, callback callbackfunc] | string', +\ 'mailparse_msg_extract_part(': 'resource rfc2045, string msgbody [, callback callbackfunc] | void', +\ 'mailparse_msg_free(': 'resource rfc2045buf | bool', +\ 'mailparse_msg_get_part_data(': 'resource rfc2045 | array', +\ 'mailparse_msg_get_part(': 'resource rfc2045, string mimesection | resource', +\ 'mailparse_msg_get_structure(': 'resource rfc2045 | array', +\ 'mailparse_msg_parse_file(': 'string filename | resource', +\ 'mailparse_msg_parse(': 'resource rfc2045buf, 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', +\ 'maxdb_connect_errno(': 'void | int', +\ 'maxdb_connect_error(': 'void | string', +\ 'maxdb_debug(': 'string debug | void', +\ '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_get_client_info(': 'void | string', +\ 'maxdb_get_client_version(': 'void | int', +\ 'maxdb_init(': 'void | resource', +\ 'maxdb_master_query(': 'resource link, string query | bool', +\ 'maxdb_more_results(': 'resource link | bool', +\ 'maxdb_next_result(': 'resource link | 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_query(': 'resource link, string query | bool', +\ 'maxdb_server_end(': 'void | void', +\ 'maxdb_server_init(': '[array server [, array groups]] | bool', +\ 'maxdb_stmt_sqlstate(': 'resource stmt | string', +\ 'max(': 'number arg1, number arg2 [, number ...] | mixed', +\ 'mb_convert_case(': 'string str, int mode [, string encoding] | string', +\ 'mb_convert_encoding(': 'string str, string to_encoding [, mixed from_encoding] | string', +\ 'mb_convert_kana(': 'string str [, string option [, string 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] | string', +\ 'mb_detect_encoding(': 'string str [, mixed encoding_list [, bool strict]] | string', +\ 'mb_detect_order(': '[mixed encoding_list] | mixed', +\ 'mb_encode_mimeheader(': 'string str [, string charset [, string transfer_encoding [, string linefeed]]] | string', +\ 'mb_encode_numericentity(': 'string str, array convmap [, string encoding] | string', +\ 'mb_ereg(': 'string pattern, string string [, array regs] | int', +\ 'mb_eregi(': 'string pattern, string string [, array regs] | int', +\ 'mb_eregi_replace(': 'string pattern, string replace, string string [, string option] | string', +\ 'mb_ereg_match(': 'string pattern, string string [, string option] | bool', +\ 'mb_ereg_replace(': 'string pattern, string replacement, string string [, string option] | string', +\ 'mb_ereg_search_getpos(': 'void | int', +\ 'mb_ereg_search_getregs(': 'void | array', +\ 'mb_ereg_search(': '[string pattern [, string option]] | bool', +\ 'mb_ereg_search_init(': 'string string [, string pattern [, string option]] | bool', +\ 'mb_ereg_search_pos(': '[string pattern [, string option]] | array', +\ 'mb_ereg_search_regs(': '[string pattern [, string option]] | array', +\ 'mb_ereg_search_setpos(': 'int position | bool', +\ 'mb_get_info(': '[string type] | mixed', +\ 'mb_http_input(': '[string type] | mixed', +\ 'mb_http_output(': '[string encoding] | mixed', +\ 'mb_internal_encoding(': '[string encoding] | mixed', +\ 'mb_language(': '[string 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] | mixed', +\ 'mb_regex_set_options(': '[string options] | string', +\ 'mb_send_mail(': 'string to, string subject, string message [, string additional_headers [, string additional_parameter]] | bool', +\ 'mb_split(': 'string pattern, string string [, int limit] | array', +\ 'mb_strcut(': 'string str, int start [, int length [, string encoding]] | string', +\ 'mb_strimwidth(': 'string str, int start, int width [, string trimmarker [, string encoding]] | string', +\ 'mb_strlen(': 'string str [, string encoding] | int', +\ 'mb_strpos(': 'string haystack, string needle [, int offset [, string encoding]] | int', +\ 'mb_strrpos(': 'string haystack, string needle [, string encoding] | int', +\ 'mb_strtolower(': 'string str [, string encoding] | string', +\ 'mb_strtoupper(': 'string str [, string encoding] | string', +\ 'mb_strwidth(': 'string str [, string encoding] | int', +\ 'mb_substitute_character(': '[mixed substrchar] | mixed', +\ 'mb_substr_count(': 'string haystack, string needle [, string encoding] | int', +\ 'mb_substr(': 'string str, int start [, int length [, string encoding]] | string', +\ 'mcal_append_event(': 'int mcal_stream | int', +\ 'mcal_close(': 'int mcal_stream [, int flags] | bool', +\ 'mcal_create_calendar(': 'int stream, string calendar | bool', +\ 'mcal_date_compare(': 'int a_year, int a_month, int a_day, int b_year, int b_month, int b_day | int', +\ 'mcal_date_valid(': 'int year, int month, int day | bool', +\ 'mcal_day_of_week(': 'int year, int month, int day | int', +\ 'mcal_day_of_year(': 'int year, int month, int day | int', +\ 'mcal_days_in_month(': 'int month, int leap_year | int', +\ 'mcal_delete_calendar(': 'int stream, string calendar | bool', +\ 'mcal_delete_event(': 'int mcal_stream, int event_id | bool', +\ 'mcal_event_add_attribute(': 'int stream, string attribute, string value | bool', +\ 'mcal_event_init(': 'int stream | void', +\ 'mcal_event_set_alarm(': 'int stream, int alarm | void', +\ 'mcal_event_set_category(': 'int stream, string category | void', +\ 'mcal_event_set_class(': 'int stream, int class | void', +\ 'mcal_event_set_description(': 'int stream, string description | void', +\ 'mcal_event_set_end(': 'int stream, int year, int month, int day [, int hour [, int min [, int sec]]] | void', +\ 'mcal_event_set_recur_daily(': 'int stream, int year, int month, int day, int interval | void', +\ 'mcal_event_set_recur_monthly_mday(': 'int stream, int year, int month, int day, int interval | void', +\ 'mcal_event_set_recur_monthly_wday(': 'int stream, int year, int month, int day, int interval | void', +\ 'mcal_event_set_recur_none(': 'int stream | void', +\ 'mcal_event_set_recur_weekly(': 'int stream, int year, int month, int day, int interval, int weekdays | void', +\ 'mcal_event_set_recur_yearly(': 'int stream, int year, int month, int day, int interval | void', +\ 'mcal_event_set_start(': 'int stream, int year, int month, int day [, int hour [, int min [, int sec]]] | void', +\ 'mcal_event_set_title(': 'int stream, string title | void', +\ 'mcal_expunge(': 'int stream | bool', +\ 'mcal_fetch_current_stream_event(': 'int stream | object', +\ 'mcal_fetch_event(': 'int mcal_stream, int event_id [, int options] | object', +\ 'mcal_is_leap_year(': 'int year | bool', +\ 'mcal_list_alarms(': 'int mcal_stream [, int begin_year, int begin_month, int begin_day, int end_year, int end_month, int end_day] | array', +\ 'mcal_list_events(': 'int mcal_stream [, int begin_year, int begin_month, int begin_day, int end_year, int end_month, int end_day] | array', +\ 'mcal_next_recurrence(': 'int stream, int weekstart, array next | object', +\ 'mcal_open(': 'string calendar, string username, string password [, int options] | int', +\ 'mcal_popen(': 'string calendar, string username, string password [, int options] | int', +\ 'mcal_rename_calendar(': 'int stream, string old_name, string new_name | bool', +\ 'mcal_reopen(': 'int mcal_stream, string calendar [, int options] | bool', +\ 'mcal_snooze(': 'int stream_id, int event_id | bool', +\ 'mcal_store_event(': 'int mcal_stream | int', +\ 'mcal_time_valid(': 'int hour, int minutes, int seconds | bool', +\ 'mcal_week_of_year(': 'int day, int month, int year | int', +\ 'm_checkstatus(': 'resource conn, int identifier | int', +\ 'm_completeauthorizations(': 'resource conn, int &array | int', +\ 'm_connect(': 'resource conn | int', +\ 'm_connectionerror(': 'resource conn | string', +\ '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] | 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(': 'resource td | bool', +\ 'mcrypt_enc_is_block_algorithm_mode(': 'resource td | bool', +\ 'mcrypt_enc_is_block_mode(': 'resource td | bool', +\ 'mcrypt_encrypt(': 'string cipher, string key, string data, string mode [, string iv] | string', +\ 'mcrypt_enc_self_test(': 'resource td | int', +\ 'mcrypt_generic_deinit(': 'resource td | bool', +\ 'mcrypt_generic_end(': 'resource td | bool', +\ 'mcrypt_generic(': 'resource td, string data | string', +\ 'mcrypt_generic_init(': 'resource td, string key, string iv | int', +\ '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] | array', +\ 'mcrypt_list_modes(': '[string lib_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(': 'string algorithm [, string lib_dir] | bool', +\ 'mcrypt_module_is_block_algorithm_mode(': 'string mode [, 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', +\ 'md5_file(': 'string filename [, bool raw_output] | string', +\ 'md5(': 'string str [, bool raw_output] | string', +\ 'mdecrypt_generic(': 'resource td, string data | string', +\ 'm_deletetrans(': 'resource conn, int identifier | bool', +\ 'm_destroyconn(': 'resource conn | bool', +\ 'm_destroyengine(': 'void | void', +\ 'memcache_debug(': 'bool on_off | bool', +\ 'memory_get_usage(': 'void | int', +\ 'metaphone(': 'string str [, int phones] | string', +\ 'method_exists(': 'object object, string method_name | bool', +\ 'm_getcellbynum(': 'resource conn, int identifier, int column, int row | string', +\ 'm_getcell(': 'resource conn, int identifier, string column, int row | string', +\ 'm_getcommadelimited(': 'resource conn, int identifier | string', +\ 'm_getheader(': 'resource conn, int identifier, int column_num | string', +\ 'mhash_count(': 'void | int', +\ 'mhash_get_block_size(': 'int hash | int', +\ 'mhash_get_hash_name(': 'int hash | string', +\ 'mhash(': 'int hash, string data [, string key] | string', +\ 'mhash_keygen_s2k(': 'int hash, string password, string salt, int bytes | string', +\ 'microtime(': '[bool get_as_float] | mixed', +\ 'mime_content_type(': 'string filename | string', +\ 'ming_keypress(': 'string str | int', +\ 'ming_setcubicthreshold(': 'int threshold | void', +\ 'ming_setscale(': 'int scale | void', +\ 'ming_useConstants(': 'int use | void', +\ 'ming_useswfversion(': 'int version | void', +\ 'min(': 'number arg1, number arg2 [, number ...] | mixed', +\ 'm_initconn(': 'void | resource', +\ 'm_initengine(': 'string location | int', +\ 'm_iscommadelimited(': 'resource conn, int identifier | int', +\ 'mkdir(': 'string pathname [, int mode [, bool recursive [, resource context]]] | bool', +\ 'mktime(': '[int hour [, int minute [, int second [, int month [, int day [, int year [, int is_dst]]]]]]] | 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', +\ 'money_format(': 'string format, float number | string', +\ 'move_uploaded_file(': 'string filename, string destination | bool', +\ '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', +\ 'msession_connect(': 'string host, string port | bool', +\ 'msession_count(': 'void | int', +\ 'msession_create(': 'string session | 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', +\ 'msession_unlock(': 'string session, int key | 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', +\ 'msg_get_queue(': 'int key [, int perms] | resource', +\ 'msg_receive(': 'resource queue, int desiredmsgtype, int &msgtype, int maxsize, mixed &message [, bool unserialize [, int flags [, int &errorcode]]] | bool', +\ 'msg_remove_queue(': 'resource queue | bool', +\ 'msg_send(': 'resource queue, int msgtype, mixed message [, bool serialize [, bool blocking [, int &errorcode]]] | bool', +\ 'msg_set_queue(': 'resource queue, array data | bool', +\ 'msg_stat_queue(': 'resource queue | array', +\ '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] | 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', +\ 'm_sslcert_gen_hash(': 'string filename | string', +\ 'mssql_bind(': 'resource stmt, string param_name, mixed &var, int type [, int is_output [, int is_null [, int maxlen]]] | bool', +\ 'mssql_close(': '[resource link_identifier] | bool', +\ 'mssql_connect(': '[string servername [, string username [, string password]]] | resource', +\ 'mssql_data_seek(': 'resource result_identifier, int row_number | bool', +\ 'mssql_execute(': 'resource stmt [, bool skip_results] | mixed', +\ 'mssql_fetch_array(': 'resource result [, int result_type] | array', +\ 'mssql_fetch_assoc(': 'resource result_id | array', +\ 'mssql_fetch_batch(': 'resource result_index | int', +\ 'mssql_fetch_field(': 'resource result [, int field_offset] | object', +\ 'mssql_fetch_object(': 'resource result | object', +\ 'mssql_fetch_row(': 'resource result | array', +\ 'mssql_field_length(': 'resource result [, int offset] | int', +\ 'mssql_field_name(': 'resource result [, int offset] | string', +\ 'mssql_field_seek(': 'resource result, int field_offset | bool', +\ 'mssql_field_type(': 'resource result [, int offset] | string', +\ 'mssql_free_result(': 'resource result | bool', +\ 'mssql_free_statement(': 'resource statement | bool', +\ 'mssql_get_last_message(': 'void | string', +\ 'mssql_guid_string(': 'string binary [, int short_format] | string', +\ 'mssql_init(': 'string sp_name [, resource conn_id] | 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]]] | resource', +\ 'mssql_query(': 'string query [, resource link_identifier [, int batch_size]] | mixed', +\ 'mssql_result(': 'resource result, int row, mixed field | string', +\ 'mssql_rows_affected(': 'resource conn_id | int', +\ 'mssql_select_db(': 'string database_name [, resource link_identifier] | bool', +\ 'mt_getrandmax(': 'void | int', +\ 'mt_rand(': '[int min, int max] | int', +\ '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', +\ 'mt_srand(': '[int seed] | void', +\ 'muscat_close(': 'resource muscat_handle | void', +\ 'muscat_get(': 'resource muscat_handle | string', +\ 'muscat_give(': 'resource muscat_handle, string string | void', +\ 'muscat_setup(': 'int size [, string muscat_dir] | resource', +\ 'muscat_setup_net(': 'string muscat_host | resource', +\ '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', +\ 'mysql_affected_rows(': '[resource link_identifier] | int', +\ 'mysql_change_user(': 'string user, string password [, string database [, resource link_identifier]] | int', +\ 'mysql_client_encoding(': '[resource link_identifier] | string', +\ 'mysql_close(': '[resource link_identifier] | bool', +\ 'mysql_connect(': '[string server [, string username [, string password [, bool new_link [, int client_flags]]]]] | resource', +\ 'mysql_create_db(': 'string database_name [, resource link_identifier] | bool', +\ 'mysql_data_seek(': 'resource result, int row_number | bool', +\ 'mysql_db_name(': 'resource result, int row [, mixed field] | string', +\ 'mysql_db_query(': 'string database, string query [, resource link_identifier] | resource', +\ 'mysql_drop_db(': 'string database_name [, resource link_identifier] | bool', +\ 'mysql_errno(': '[resource link_identifier] | int', +\ 'mysql_error(': '[resource link_identifier] | string', +\ 'mysql_escape_string(': 'string unescaped_string | string', +\ 'mysql_fetch_array(': 'resource result [, int result_type] | array', +\ 'mysql_fetch_assoc(': 'resource result | array', +\ 'mysql_fetch_field(': 'resource result [, int field_offset] | object', +\ 'mysql_fetch_lengths(': 'resource result | array', +\ 'mysql_fetch_object(': 'resource result | 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] | string', +\ 'mysql_get_proto_info(': '[resource link_identifier] | int', +\ 'mysql_get_server_info(': '[resource link_identifier] | string', +\ 'mysqli_connect_errno(': 'void | int', +\ 'mysqli_connect_error(': 'void | string', +\ 'mysqli_debug(': 'string debug | bool', +\ 'mysqli_disable_rpl_parse(': 'mysqli link | bool', +\ 'mysqli_dump_debug_info(': 'mysqli link | bool', +\ 'mysqli_embedded_connect(': '[string dbname] | mysqli', +\ 'mysqli_enable_reads_from_master(': 'mysqli link | bool', +\ 'mysqli_enable_rpl_parse(': 'mysqli link | bool', +\ 'mysqli_get_client_info(': 'void | string', +\ 'mysqli_get_client_version(': 'void | int', +\ 'mysqli_init(': 'void | mysqli', +\ 'mysqli_master_query(': 'mysqli link, string query | bool', +\ 'mysqli_more_results(': 'mysqli link | bool', +\ 'mysqli_next_result(': 'mysqli link | bool', +\ 'mysql_info(': '[resource link_identifier] | string', +\ 'mysql_insert_id(': '[resource link_identifier] | int', +\ 'mysqli_report(': 'int flags | bool', +\ 'mysqli_rollback(': 'mysqli link | bool', +\ 'mysqli_rpl_parse_enabled(': 'mysqli link | int', +\ 'mysqli_rpl_probe(': 'mysqli link | bool', +\ 'mysqli_select_db(': 'mysqli link, string dbname | bool', +\ 'mysqli_server_end(': 'void | void', +\ 'mysqli_server_init(': '[array server [, array groups]] | bool', +\ 'mysqli_set_charset(': 'mysqli link, string charset | bool', +\ 'mysqli_stmt_sqlstate(': 'mysqli_stmt stmt | string', +\ 'mysql_list_dbs(': '[resource link_identifier] | resource', +\ 'mysql_list_fields(': 'string database_name, string table_name [, resource link_identifier] | resource', +\ 'mysql_list_processes(': '[resource link_identifier] | resource', +\ 'mysql_list_tables(': 'string database [, resource link_identifier] | resource', +\ 'mysql_num_fields(': 'resource result | int', +\ 'mysql_num_rows(': 'resource result | int', +\ 'mysql_pconnect(': '[string server [, string username [, string password [, int client_flags]]]] | resource', +\ 'mysql_ping(': '[resource link_identifier] | bool', +\ 'mysql_query(': 'string query [, resource link_identifier] | resource', +\ 'mysql_real_escape_string(': 'string unescaped_string [, resource link_identifier] | string', +\ 'mysql_result(': 'resource result, int row [, mixed field] | string', +\ 'mysql_select_db(': 'string database_name [, resource link_identifier] | bool', +\ 'mysql_stat(': '[resource link_identifier] | string', +\ 'mysql_tablename(': 'resource result, int i | string', +\ 'mysql_thread_id(': '[resource link_identifier] | int', +\ 'mysql_unbuffered_query(': 'string query [, resource link_identifier] | resource', +\ 'natcasesort(': 'array &array | bool', +\ 'natsort(': 'array &array | bool', +\ '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_define_key(': 'string definition, int keycode | int', +\ 'ncurses_def_prog_mode(': 'void | bool', +\ 'ncurses_def_shell_mode(': 'void | bool', +\ 'ncurses_delay_output(': 'int milliseconds | int', +\ 'ncurses_delch(': 'void | bool', +\ 'ncurses_deleteln(': 'void | bool', +\ 'ncurses_del_panel(': 'resource panel | bool', +\ 'ncurses_delwin(': 'resource window | bool', +\ 'ncurses_doupdate(': 'void | bool', +\ 'ncurses_echochar(': 'int character | int', +\ 'ncurses_echo(': 'void | bool', +\ 'ncurses_end(': 'void | int', +\ 'ncurses_erasechar(': 'void | string', +\ 'ncurses_erase(': 'void | bool', +\ '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(': 'void | void', +\ 'ncurses_init_pair(': 'int pair, int fg, int bg | int', +\ 'ncurses_insch(': 'int character | int', +\ 'ncurses_insdelln(': 'int count | int', +\ 'ncurses_insertln(': 'void | bool', +\ '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_mouseinterval(': 'int milliseconds | int', +\ 'ncurses_mousemask(': 'int newmask, int &oldmask | int', +\ 'ncurses_mouse_trafo(': 'int &y, int &x, bool toscreen | bool', +\ 'ncurses_move(': 'int y, int x | int', +\ 'ncurses_move_panel(': 'resource panel, int startx, int starty | 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_newpad(': 'int rows, int cols | resource', +\ 'ncurses_new_panel(': 'resource window | 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_scrl(': 'int count | int', +\ 'ncurses_scr_restore(': 'string filename | int', +\ 'ncurses_scr_set(': 'string filename | int', +\ 'ncurses_show_panel(': 'resource panel | int', +\ 'ncurses_slk_attr(': 'void | bool', +\ '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 | bool', +\ 'ncurses_slk_restore(': 'void | bool', +\ 'ncurses_slk_set(': 'int labelnr, string label, int format | bool', +\ 'ncurses_slk_touch(': 'void | bool', +\ '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', +\ '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(': 'int left, int top, string text, string def_value [, string seq] | resource', +\ '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(': 'int left, int top, int height [, int flags] | resource', +\ '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(': 'resource checkboxtree, mixed data, string text | void', +\ 'newt_checkbox_tree_set_entry_value(': 'resource checkboxtree, mixed data, string value | void', +\ 'newt_checkbox_tree_set_width(': 'resource checkbox_tree, int width | void', +\ '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(': 'int left, int top, int width [, string init_value [, int flags]] | resource', +\ 'newt_entry_set_filter(': 'resource entry, callback 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_finished(': 'void | int', +\ 'newt_form_add_component(': 'resource form, resource component | void', +\ 'newt_form_add_components(': 'resource form, array components | void', +\ 'newt_form_add_host_key(': 'resource form, int key | void', +\ 'newt_form_destroy(': 'resource form | void', +\ 'newt_form_get_current(': 'resource form | resource', +\ 'newt_form(': '[resource vert_bar [, string help [, int flags]]] | 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_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(': 'int left, int top, string text | resource', +\ 'newt_label_set_text(': 'resource label, string text | void', +\ 'newt_listbox_append_entry(': 'resource listbox, string text, mixed data | void', +\ 'newt_listbox_clear(': 'resource listobx | void', +\ 'newt_listbox_clear_selection(': 'resource listbox | 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(': 'int left, int top, int height [, int flags] | resource', +\ '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_listitem_get_data(': 'resource item | mixed', +\ 'newt_listitem(': 'int left, int top, string text, bool is_default, resouce prev_item, mixed data [, int flags] | resource', +\ 'newt_listitem_set(': 'resource item, string text | void', +\ '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_radiobutton(': 'int left, int top, string text, bool is_default [, resource prev_button] | resource', +\ 'newt_radio_get_current(': 'resource set_member | 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(': 'int left, int top, int width, int full_value | resource', +\ 'newt_scale_set(': 'resource scale, int amount | void', +\ 'newt_scrollbar_set(': 'resource scrollbar, int where, int total | void', +\ 'newt_set_help_callback(': 'mixed function | void', +\ 'newt_set_suspend_callback(': 'callback function, mixed data | void', +\ 'newt_suspend(': 'void | void', +\ 'newt_texbox_set_text(': 'resource textbox, string text | void', +\ 'newt_textbox_get_num_lines(': 'resource textbox | int', +\ 'newt_textbox(': 'int left, int top, int width, int height [, int flags] | resource', +\ '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_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', +\ 'next(': 'array &array | mixed', +\ 'ngettext(': 'string msgid1, string msgid2, int n | string', +\ 'nl2br(': 'string string | string', +\ 'nl_langinfo(': 'int item | string', +\ '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', +\ 'nsapi_request_headers(': 'void | array', +\ 'nsapi_response_headers(': 'void | array', +\ 'nsapi_virtual(': 'string uri | bool', +\ 'number_format(': 'float number [, int decimals [, string dec_point, string thousands_sep]] | string', +\ '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_gzhandler(': 'string buffer, int mode | string', +\ 'ob_iconv_handler(': 'string contents, int status | string', +\ 'ob_implicit_flush(': '[int flag] | void', +\ 'ob_list_handlers(': 'void | array', +\ 'ob_start(': '[callback output_callback [, int chunk_size [, bool erase]]] | bool', +\ 'ob_tidyhandler(': 'string input [, int mode] | string', +\ 'oci_bind_by_name(': 'resource stmt, string ph_name, mixed &variable [, int maxlength [, int type]] | bool', +\ 'oci_cancel(': 'resource stmt | bool', +\ 'oci_close(': 'resource connection | bool', +\ 'oci_commit(': 'resource connection | bool', +\ 'oci_connect(': 'string username, string password [, string db [, string charset [, int session_mode]]] | resource', +\ 'oci_define_by_name(': 'resource statement, string column_name, mixed &variable [, int type] | bool', +\ 'oci_error(': '[resource source] | array', +\ 'oci_execute(': 'resource stmt [, int mode] | bool', +\ 'oci_fetch_all(': 'resource statement, array &output [, int skip [, int maxrows [, int flags]]] | int', +\ 'oci_fetch_array(': 'resource statement [, int mode] | array', +\ 'oci_fetch_assoc(': 'resource statement | array', +\ 'oci_fetch(': 'resource statement | bool', +\ 'ocifetchinto(': 'resource statement, array &result [, int mode] | int', +\ 'oci_fetch_object(': 'resource statement | object', +\ 'oci_fetch_row(': 'resource statement | array', +\ 'oci_field_is_null(': 'resource stmt, 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 stmt, mixed field | int', +\ 'oci_field_type(': 'resource stmt, int field | mixed', +\ 'oci_field_type_raw(': 'resource statement, int field | int', +\ 'oci_free_statement(': 'resource statement | bool', +\ 'oci_internal_debug(': 'int onoff | void', +\ 'oci_lob_copy(': 'OCI-Lob lob_to, OCI-Lob lob_from [, int length] | bool', +\ 'oci_lob_is_equal(': 'OCI-Lob lob1, OCI-Lob lob2 | bool', +\ 'oci_new_collection(': 'resource connection, string tdo [, string schema] | OCI-Collection', +\ 'oci_new_connect(': 'string username, string password [, string db [, string charset [, int session_mode]]] | resource', +\ 'oci_new_cursor(': 'resource connection | resource', +\ 'oci_new_descriptor(': 'resource connection [, int type] | OCI-Lob', +\ 'oci_num_fields(': 'resource statement | int', +\ 'oci_num_rows(': 'resource stmt | int', +\ 'oci_parse(': 'resource connection, string query | resource', +\ 'oci_password_change(': 'resource connection, string username, string old_password, string new_password | bool', +\ 'oci_pconnect(': 'string username, string password [, string db [, string charset [, int session_mode]]] | resource', +\ 'oci_result(': 'resource statement, mixed field | mixed', +\ 'oci_rollback(': 'resource connection | bool', +\ 'oci_server_version(': 'resource connection | string', +\ 'oci_set_prefetch(': 'resource statement [, int rows] | bool', +\ 'oci_statement_type(': 'resource statement | string', +\ 'octdec(': 'string octal_string | number', +\ 'odbc_autocommit(': 'resource connection_id [, bool OnOff] | 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_do(': 'resource conn_id, string query | resource', +\ '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_precision(': 'resource result_id, int field_number | 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 [, string qualifier, string owner, string proc, string column] | resource', +\ 'odbc_procedures(': 'resource connection_id [, string qualifier, string owner, string name] | 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', +\ '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', +\ 'opendir(': 'string path [, resource context] | resource', +\ 'openlog(': 'string ident, int option, int facility | bool', +\ 'openssl_csr_export(': 'resource csr, string &out [, bool notext] | bool', +\ 'openssl_csr_export_to_file(': 'resource csr, string outfilename [, bool notext] | bool', +\ '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]] | resource', +\ 'openssl_error_string(': 'void | string', +\ 'openssl_free_key(': 'resource key_identifier | void', +\ 'openssl_open(': 'string sealed_data, string &open_data, string env_key, mixed priv_key_id | 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 [, int cipherid]] | bool', +\ 'openssl_pkcs7_sign(': 'string infilename, string outfilename, mixed signcert, mixed privkey, array headers [, int flags [, string extracerts]] | bool', +\ 'openssl_pkcs7_verify(': 'string filename, int flags [, string outfilename [, array cainfo [, string extracerts]]] | mixed', +\ 'openssl_pkey_export(': 'mixed key, string &out [, string passphrase [, array configargs]] | bool', +\ 'openssl_pkey_export_to_file(': 'mixed key, string outfilename [, string passphrase [, array configargs]] | bool', +\ 'openssl_pkey_free(': 'resource key | void', +\ '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] | bool', +\ 'openssl_private_encrypt(': 'string data, string &crypted, mixed key [, int padding] | bool', +\ 'openssl_public_decrypt(': 'string data, string &decrypted, mixed key [, int padding] | bool', +\ 'openssl_public_encrypt(': 'string data, string &crypted, mixed key [, int padding] | bool', +\ 'openssl_seal(': 'string data, string &sealed_data, array &env_keys, array pub_key_ids | int', +\ 'openssl_sign(': 'string data, string &signature, mixed priv_key_id [, int signature_alg] | bool', +\ 'openssl_verify(': 'string data, string signature, mixed pub_key_id | int', +\ 'openssl_x509_check_private_key(': 'mixed cert, mixed key | bool', +\ 'openssl_x509_checkpurpose(': 'mixed x509cert, int purpose [, array cainfo [, string untrustedfile]] | int', +\ 'openssl_x509_export(': 'mixed x509, string &output [, bool notext] | bool', +\ 'openssl_x509_export_to_file(': 'mixed x509, string outfilename [, bool notext] | bool', +\ 'openssl_x509_free(': 'resource x509cert | void', +\ 'openssl_x509_parse(': 'mixed x509cert [, bool shortnames] | array', +\ 'openssl_x509_read(': 'mixed x509certdata | resource', +\ 'ora_bind(': 'resource cursor, string PHP_variable_name, string SQL_parameter_name, int length [, int type] | bool', +\ 'ora_close(': 'resource cursor | bool', +\ 'ora_columnname(': 'resource cursor, int column | string', +\ 'ora_columnsize(': 'resource cursor, int column | int', +\ 'ora_columntype(': 'resource cursor, int column | string', +\ 'ora_commit(': 'resource conn | bool', +\ 'ora_commitoff(': 'resource conn | bool', +\ 'ora_commiton(': 'resource conn | bool', +\ 'ora_do(': 'resource conn, string query | resource', +\ 'ora_errorcode(': '[resource cursor_or_connection] | int', +\ 'ora_error(': '[resource cursor_or_connection] | string', +\ 'ora_exec(': 'resource cursor | bool', +\ 'ora_fetch(': 'resource cursor | bool', +\ 'ora_fetch_into(': 'resource cursor, array &result [, int flags] | int', +\ 'ora_getcolumn(': 'resource cursor, int column | string', +\ 'ora_logoff(': 'resource connection | bool', +\ 'ora_logon(': 'string user, string password | resource', +\ 'ora_numcols(': 'resource cursor | int', +\ 'ora_numrows(': 'resource cursor | int', +\ 'ora_open(': 'resource connection | resource', +\ 'ora_parse(': 'resource cursor, string sql_statement [, int defer] | bool', +\ 'ora_plogon(': 'string user, string password | resource', +\ 'ora_rollback(': 'resource connection | bool', +\ 'OrbitEnum(': 'string id | new', +\ 'OrbitObject(': 'string ior | new', +\ 'OrbitStruct(': 'string id | new', +\ 'ord(': 'string string | int', +\ 'output_add_rewrite_var(': 'string name, string value | bool', +\ 'output_reset_rewrite_vars(': 'void | bool', +\ 'overload(': '[string class_name] | void', +\ 'override_function(': 'string function_name, string function_args, string function_code | bool', +\ 'ovrimos_close(': 'int connection | void', +\ 'ovrimos_commit(': 'int connection_id | bool', +\ 'ovrimos_connect(': 'string host, string db, 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', +\ 'pack(': 'string format [, mixed args [, mixed ...]] | string', +\ 'parse_ini_file(': 'string filename [, bool process_sections] | array', +\ 'parsekit_compile_file(': 'string filename [, array &errors [, int options]] | array', +\ 'parsekit_compile_string(': 'string phpcode [, array &errors [, int options]] | array', +\ 'parsekit_func_arginfo(': 'mixed function | array', +\ 'parse_str(': 'string str [, array &arr] | void', +\ 'parse_url(': 'string url | array', +\ 'passthru(': 'string command [, int &return_var] | void', +\ 'pathinfo(': 'string path [, int options] | mixed', +\ 'pclose(': 'resource handle | int', +\ 'pcntl_alarm(': 'int seconds | int', +\ 'pcntl_exec(': 'string path [, array args [, array envs]] | void', +\ 'pcntl_fork(': 'void | int', +\ 'pcntl_getpriority(': '[int pid [, int process_identifier]] | int', +\ 'pcntl_setpriority(': 'int priority [, int pid [, int process_identifier]] | bool', +\ 'pcntl_signal(': 'int signo, callback handle [, bool restart_syscalls] | bool', +\ 'pcntl_wait(': 'int &status [, int options] | int', +\ 'pcntl_waitpid(': 'int pid, int &status [, int options] | 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', +\ '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_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(': '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(': 'resource p | bool', +\ 'pdf_close_image(': 'resource p, int image | void', +\ 'pdf_closepath_fill_stroke(': 'resource p | bool', +\ 'pdf_closepath(': 'resource p | bool', +\ 'pdf_closepath_stroke(': 'resource p | bool', +\ 'pdf_close_pdi(': 'resource p, int doc | bool', +\ 'pdf_close_pdi_page(': 'resource p, int page | 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_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_fieldgroup(': 'resource pdfdoc, string name, string optlist | bool', +\ 'pdf_create_field(': 'resource pdfdoc, float llx, float lly, float urx, float ury, string name, string type, 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(': 'resource pdfdoc | bool', +\ 'pdf_delete_pvf(': 'resource pdfdoc, string filename | int', +\ 'pdf_delete_textflow(': 'resource pdfdoc, int textflow | 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_fill(': '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_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_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_textflow(': 'resource pdfdoc, int textflow, string keyword | float', +\ 'pdf_initgraphics(': 'resource p | bool', +\ 'pdf_lineto(': 'resource p, float x, float y | bool', +\ '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(': ' | 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(': 'resource pdfdoc, string filename, string optlist, int len | int', +\ 'pdf_open_pdi_page(': 'resource p, int doc, int pagenumber, string optlist | int', +\ '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_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(': 'resource p, float g | bool', +\ 'pdf_setgray_stroke(': 'resource p, float g | 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_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_set_parameter(': 'resource p, string key, string value | bool', +\ 'pdf_setrgbcolor_fill(': 'resource p, float red, float green, float blue | bool', +\ 'pdf_setrgbcolor(': 'resource p, float red, float green, float blue | bool', +\ 'pdf_setrgbcolor_stroke(': 'resource p, float red, float green, float blue | bool', +\ 'pdf_set_text_pos(': 'resource p, float x, float y | bool', +\ 'pdf_set_value(': 'resource p, string key, float value | bool', +\ '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_shading_pattern(': 'resource pdfdoc, int shading, 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(': 'resource pdfdoc, string text | bool', +\ 'pdf_show_xy(': 'resource p, string text, float x, float y | 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_utf8_to_utf16(': 'resource pdfdoc, string utf8string, string ordering | string', +\ 'pdf_xshow(': 'resource pdfdoc, string text | bool', +\ 'pfpro_cleanup(': 'void | bool', +\ 'pfpro_init(': 'void | bool', +\ 'pfpro_process(': 'array parameters [, string address [, int port [, int timeout [, string proxy_address [, int proxy_port [, string proxy_logon [, string proxy_password]]]]]]] | array', +\ 'pfpro_process_raw(': 'string parameters [, string address [, int port [, int timeout [, string proxy_address [, int proxy_port [, string proxy_logon [, string proxy_password]]]]]]] | string', +\ 'pfpro_version(': 'void | string', +\ 'pfsockopen(': 'string hostname [, int port [, int &errno [, string &errstr [, float timeout]]]] | resource', +\ '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] | 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] | mixed', +\ 'pg_end_copy(': '[resource connection] | bool', +\ 'pg_escape_bytea(': 'string data | string', +\ 'pg_escape_string(': 'string data | string', +\ 'pg_execute(': 'resource connection, string stmtname, array params | resource', +\ 'pg_fetch_all_columns(': 'resource result [, int column] | array', +\ 'pg_fetch_all(': 'resource result | array', +\ 'pg_fetch_array(': 'resource result [, int row [, int result_type]] | array', +\ 'pg_fetch_assoc(': 'resource result [, int row] | array', +\ 'pg_fetch_object(': 'resource result [, int row [, int result_type]] | 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_type(': 'resource result, int field_number | string', +\ 'pg_field_type_oid(': 'resource result, int field_number | int', +\ '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] | 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] | int', +\ 'pg_lo_export(': 'resource connection, int oid, string pathname | bool', +\ 'pg_lo_import(': 'resource connection, string pathname | 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] | string', +\ 'pg_lo_seek(': 'resource large_object, int offset [, int whence] | 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(': 'string data | bool', +\ 'pg_query(': 'string query | resource', +\ 'pg_query_params(': 'resource connection, string query, array params | 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] | mixed', +\ 'pg_select(': 'resource connection, string table_name, array assoc_array [, int options] | mixed', +\ 'pg_send_execute(': 'resource connection, string stmtname, array params | bool', +\ 'pg_send_prepare(': 'resource connection, string stmtname, string query | bool', +\ 'pg_send_query(': 'resource connection, string query | bool', +\ 'pg_send_query_params(': 'resource connection, string query, array params | bool', +\ 'pg_set_client_encoding(': 'string encoding | int', +\ 'pg_set_error_verbosity(': 'resource connection, int verbosity | int', +\ 'pg_trace(': 'string pathname [, string mode [, 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] | mixed', +\ 'pg_version(': '[resource connection] | array', +\ 'php_check_syntax(': 'string file_name [, string &error_message] | bool', +\ 'phpcredits(': '[int flag] | bool', +\ 'phpinfo(': '[int what] | bool', +\ 'php_ini_scanned_files(': 'void | string', +\ 'php_logo_guid(': 'void | string', +\ 'php_sapi_name(': 'void | string', +\ 'php_strip_whitespace(': 'string filename | string', +\ 'php_uname(': '[string mode] | string', +\ 'phpversion(': '[string extension] | string', +\ 'pi(': 'void | float', +\ 'png2wbmp(': 'string pngname, string wbmpname, int d_height, int d_width, int threshold | int', +\ 'popen(': 'string command, string mode | resource', +\ 'posix_access(': 'string file [, int mode] | bool', +\ 'posix_ctermid(': 'void | string', +\ '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_get_last_error(': 'void | int', +\ '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_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 [, int minor]] | 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', +\ 'pow(': 'number base, number exp | number', +\ 'preg_grep(': 'string pattern, array input [, int flags] | array', +\ 'preg_match_all(': 'string pattern, string subject, array &matches [, int flags [, int offset]] | int', +\ 'preg_match(': 'string pattern, string subject [, array &matches [, int flags [, int offset]]] | int', +\ 'preg_quote(': 'string str [, string delimiter] | string', +\ 'preg_replace_callback(': 'mixed pattern, callback callback, mixed subject [, int limit [, int &count]] | mixed', +\ 'preg_replace(': 'mixed pattern, mixed replacement, mixed subject [, int limit [, int &count]] | mixed', +\ 'preg_split(': 'string pattern, string subject [, int limit [, int flags]] | array', +\ 'prev(': 'array &array | mixed', +\ 'printer_abort(': 'resource handle | void', +\ 'printer_close(': 'resource handle | void', +\ 'printer_create_brush(': 'int style, string color | resource', +\ 'printer_create_dc(': 'resource 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 handle | void', +\ 'printer_delete_dc(': 'resource handle | bool', +\ 'printer_delete_font(': 'resource handle | void', +\ 'printer_delete_pen(': 'resource handle | void', +\ 'printer_draw_bmp(': 'resource handle, string filename, int x, int y [, int width, int height] | bool', +\ 'printer_draw_chord(': 'resource 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 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 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 handle, int ul_x, int ul_y, int lr_x, int lr_y | void', +\ 'printer_draw_roundrect(': 'resource 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 handle | bool', +\ 'printer_end_page(': 'resource handle | bool', +\ 'printer_get_option(': 'resource handle, string option | mixed', +\ 'printer_list(': 'int enumtype [, string name [, int level]] | array', +\ 'printer_logical_fontheight(': 'resource handle, int height | int', +\ 'printer_open(': '[string devicename] | 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 handle, int option, mixed value | bool', +\ 'printer_start_doc(': 'resource handle [, string document] | bool', +\ 'printer_start_page(': 'resource handle | bool', +\ 'printer_write(': 'resource handle, string content | bool', +\ 'printf(': 'string format [, mixed args [, mixed ...]] | int', +\ 'print(': 'string arg | int', +\ 'print_r(': 'mixed expression [, bool return] | bool', +\ '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] | int', +\ 'property_exists(': 'mixed class, string property | bool', +\ 'ps_add_bookmark(': 'resource psdoc, string text [, int parent [, int open]] | 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 | bool', +\ 'ps_begin_template(': 'resource psdoc, float width, float height | bool', +\ 'ps_circle(': 'resource psdoc, float x, float y, float radius | bool', +\ 'ps_clip(': 'resource psdoc | bool', +\ 'ps_close(': 'resource psdoc | bool', +\ 'ps_close_image(': 'resource psdoc, int imageid | void', +\ 'ps_closepath(': 'resource psdoc | bool', +\ 'ps_closepath_stroke(': '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(': 'resource psdoc | bool', +\ 'ps_fill_stroke(': 'resource psdoc | bool', +\ 'ps_findfont(': 'resource psdoc, string fontname, string encoding [, bool embed] | 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_lineto(': 'resource psdoc, float x, float y | bool', +\ 'ps_makespotcolor(': 'resource psdoc, string name [, float reserved] | 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]] | 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', +\ '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(': 'string language [, string spelling [, string jargon [, string encoding [, int mode]]]] | int', +\ 'pspell_new_personal(': 'string personal, string language [, string spelling [, string jargon [, string encoding [, int mode]]]] | 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', +\ '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_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_set_info(': 'resource p, string key, string val | 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_set_parameter(': 'resource psdoc, string name, string value | bool', +\ 'ps_setpolydash(': 'resource psdoc, float arr | bool', +\ 'ps_set_text_pos(': 'resource psdoc, float x, float y | bool', +\ 'ps_set_value(': 'resource psdoc, string name, float value | bool', +\ '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_shading_pattern(': 'resource psdoc, int shadingid, 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(': 'resource psdoc, string text | bool', +\ 'ps_show_xy(': 'resource psdoc, string text, float x, float y | bool', +\ 'ps_string_geometry(': 'resource psdoc, string text [, int fontid [, float size]] | array', +\ 'ps_stringwidth(': 'resource psdoc, string text [, int fontid [, float size]] | float', +\ 'ps_stroke(': 'resource psdoc | bool', +\ 'ps_symbol(': 'resource psdoc, int ord | bool', +\ 'ps_symbol_name(': 'resource psdoc, int ord [, int fontid] | string', +\ 'ps_symbol_width(': 'resource psdoc, int ord [, int fontid [, float size]] | float', +\ 'ps_translate(': 'resource psdoc, float x, float y | bool', +\ 'putenv(': 'string setting | bool', +\ '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(': 'resource pxdoc | bool', +\ 'px_delete_record(': 'resource pxdoc, int num | 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] | array', +\ 'px_get_schema(': 'resource pxdoc [, int mode] | 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] | bool', +\ 'px_retrieve_record(': 'resource pxdoc, int num [, int mode] | 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', +\ 'qdom_error(': 'void | string', +\ 'qdom_tree(': 'string doc | QDomDocument', +\ 'quoted_printable_decode(': 'string str | string', +\ 'quotemeta(': 'string str | string', +\ 'rad2deg(': 'float number | float', +\ '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(': 'resource radius_handle, string mangled | string', +\ 'radius_demangle_mppe_key(': 'resource radius_handle, string mangled | string', +\ 'radius_get_attr(': 'resource radius_handle | mixed', +\ 'radius_get_vendor_attr(': 'string data | array', +\ 'radius_put_addr(': 'resource radius_handle, int type, string addr | bool', +\ 'radius_put_attr(': 'resource radius_handle, int type, string value | bool', +\ 'radius_put_int(': 'resource radius_handle, int type, int value | bool', +\ 'radius_put_string(': 'resource radius_handle, int type, string value | 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 | bool', +\ 'radius_put_vendor_int(': 'resource radius_handle, int vendor, int type, int value | bool', +\ 'radius_put_vendor_string(': 'resource radius_handle, int vendor, int type, string value | bool', +\ 'radius_request_authenticator(': 'resource radius_handle | string', +\ 'radius_send_request(': 'resource radius_handle | int', +\ 'radius_server_secret(': 'resource radius_handle | string', +\ 'radius_strerror(': 'resource radius_handle | string', +\ 'rand(': '[int min, int max] | int', +\ 'range(': 'mixed low, mixed high [, number step] | array', +\ 'rar_close(': 'resource rar_file | bool', +\ 'rar_entry_get(': 'resource rar_file, string entry_name | RarEntry', +\ 'rar_list(': 'resource rar_file | array', +\ 'rar_open(': 'string filename [, string password] | resource', +\ 'rawurldecode(': 'string str | string', +\ 'rawurlencode(': 'string str | string', +\ 'readdir(': 'resource dir_handle | string', +\ 'readfile(': 'string filename [, bool use_include_path [, resource context]] | int', +\ 'readgzfile(': 'string filename [, int use_include_path] | int', +\ 'readline_add_history(': 'string line | bool', +\ 'readline_callback_handler_install(': 'string prompt, callback callback | bool', +\ 'readline_callback_handler_remove(': 'void | bool', +\ 'readline_callback_read_char(': 'void | void', +\ 'readline_clear_history(': 'void | bool', +\ 'readline_completion_function(': 'callback function | bool', +\ 'readline(': 'string prompt | string', +\ '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', +\ 'readlink(': 'string path | string', +\ 'realpath(': 'string path | string', +\ 'recode_file(': 'string request, resource input, resource output | bool', +\ 'recode_string(': 'string request, string string | string', +\ 'register_shutdown_function(': 'callback function [, mixed parameter [, mixed ...]] | void', +\ 'register_tick_function(': 'callback function [, mixed arg [, mixed ...]] | bool', +\ 'rename_function(': 'string original_name, string new_name | bool', +\ 'rename(': 'string oldname, string newname [, resource context] | bool', +\ 'reset(': 'array &array | mixed', +\ 'restore_error_handler(': 'void | bool', +\ 'restore_exception_handler(': 'void | bool', +\ 'restore_include_path(': 'void | void', +\ 'rewinddir(': 'resource dir_handle | void', +\ 'rewind(': 'resource handle | bool', +\ 'rmdir(': 'string dirname [, resource context] | bool', +\ 'round(': 'float val [, int precision] | float', +\ 'rpm_close(': 'resource rpmr | boolean', +\ 'rpm_get_tag(': 'resource rpmr, int tagnum | mixed', +\ 'rpm_is_valid(': 'string filename | boolean', +\ 'rpm_open(': 'string filename | resource', +\ 'rpm_version(': 'void | string', +\ 'rsort(': 'array &array [, int sort_flags] | bool', +\ 'rtrim(': 'string str [, string charlist] | string', +\ '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] | 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] | 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] | 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', +\ 'satellite_caught_exception(': 'void | bool', +\ 'satellite_exception_id(': 'void | string', +\ 'satellite_exception_value(': 'void | OrbitStruct', +\ 'satellite_get_repository_id(': 'object obj | int', +\ 'satellite_load_idl(': 'string file | bool', +\ 'satellite_object_to_string(': 'object obj | string', +\ 'scandir(': 'string directory [, int sorting_order [, resource context]] | array', +\ 'sem_acquire(': 'resource sem_identifier | bool', +\ 'sem_get(': 'int key [, int max_acquire [, int perm [, int auto_release]]] | resource', +\ 'sem_release(': 'resource sem_identifier | bool', +\ 'sem_remove(': 'resource sem_identifier | bool', +\ 'serialize(': 'mixed value | string', +\ 'sesam_affected_rows(': 'string result_id | int', +\ 'sesam_commit(': 'void | bool', +\ 'sesam_connect(': 'string catalog, string schema, string user | bool', +\ 'sesam_diagnostic(': 'void | array', +\ 'sesam_disconnect(': 'void | bool', +\ 'sesam_errormsg(': 'void | string', +\ 'sesam_execimm(': 'string query | string', +\ 'sesam_fetch_array(': 'string result_id [, int whence [, int offset]] | array', +\ 'sesam_fetch_result(': 'string result_id [, int max_rows] | mixed', +\ 'sesam_fetch_row(': 'string result_id [, int whence [, int offset]] | array', +\ 'sesam_field_array(': 'string result_id | array', +\ 'sesam_field_name(': 'string result_id, int index | int', +\ 'sesam_free_result(': 'string result_id | int', +\ 'sesam_num_fields(': 'string result_id | int', +\ 'sesam_query(': 'string query [, bool scrollable] | string', +\ 'sesam_rollback(': 'void | bool', +\ 'sesam_seek_row(': 'string result_id, int whence [, int offset] | bool', +\ 'sesam_settransaction(': 'int isolation_level, int read_only | bool', +\ 'session_cache_expire(': '[int new_cache_expire] | int', +\ 'session_cache_limiter(': '[string cache_limiter] | string', +\ '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_pgsql_add_error(': 'int error_level [, string error_message] | bool', +\ 'session_pgsql_get_error(': '[bool with_error_message] | array', +\ 'session_pgsql_get_field(': 'void | string', +\ 'session_pgsql_reset(': 'void | bool', +\ 'session_pgsql_set_field(': 'string value | bool', +\ 'session_pgsql_status(': 'void | array', +\ 'session_regenerate_id(': '[bool delete_old_session] | bool', +\ 'session_register(': 'mixed name [, mixed ...] | bool', +\ 'session_save_path(': '[string path] | string', +\ 'session_set_cookie_params(': 'int lifetime [, string path [, string domain [, bool secure]]] | void', +\ 'session_set_save_handler(': 'callback open, callback close, callback read, callback write, callback destroy, callback gc | bool', +\ 'session_start(': 'void | bool', +\ 'session_unregister(': 'string name | bool', +\ 'session_unset(': 'void | void', +\ 'session_write_close(': 'void | void', +\ 'setcookie(': 'string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] | bool', +\ 'set_error_handler(': 'callback error_handler [, int error_types] | mixed', +\ 'set_exception_handler(': 'callback exception_handler | string', +\ 'set_include_path(': 'string new_include_path | string', +\ 'setlocale(': 'int category, string locale [, string ...] | string', +\ 'set_magic_quotes_runtime(': 'int new_setting | bool', +\ 'setrawcookie(': 'string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] | bool', +\ 'set_time_limit(': 'int seconds | void', +\ 'settype(': 'mixed &var, string type | bool', +\ 'sha1_file(': 'string filename [, bool raw_output] | string', +\ 'sha1(': 'string str [, bool raw_output] | string', +\ 'shell_exec(': 'string cmd | string', +\ 'shm_attach(': 'int key [, int memsize [, int perm]] | int', +\ 'shm_detach(': 'int shm_identifier | bool', +\ 'shm_get_var(': 'int shm_identifier, int variable_key | mixed', +\ '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', +\ 'shm_put_var(': 'int shm_identifier, int variable_key, mixed variable | bool', +\ 'shm_remove(': 'int shm_identifier | bool', +\ 'shm_remove_var(': 'int shm_identifier, int variable_key | bool', +\ 'shuffle(': 'array &array | bool', +\ 'similar_text(': 'string first, string second [, float &percent] | int', +\ 'SimpleXMLElement->asXML(': '[string filename] | mixed', +\ 'simplexml_element->attributes(': '[string data] | SimpleXMLElement', +\ 'simplexml_element->children(': '[string nsprefix] | SimpleXMLElement', +\ 'SimpleXMLElement->xpath(': 'string path | array', +\ 'simplexml_import_dom(': 'DOMNode node [, string class_name] | SimpleXMLElement', +\ 'simplexml_load_file(': 'string filename [, string class_name [, int options]] | object', +\ 'simplexml_load_string(': 'string data [, string class_name [, int options]] | object', +\ 'sinh(': 'float arg | float', +\ 'sin(': 'float arg | float', +\ 'sleep(': 'int seconds | int', +\ 'snmpget(': 'string hostname, string community, string object_id [, int timeout [, int retries]] | string', +\ 'snmpgetnext(': 'string host, string community, string object_id [, int timeout [, int retries]] | string', +\ 'snmp_get_quick_print(': 'void | bool', +\ 'snmp_get_valueretrieval(': 'void | int', +\ 'snmp_read_mib(': 'string filename | bool', +\ 'snmprealwalk(': 'string host, string community, string object_id [, int timeout [, int retries]] | array', +\ 'snmp_set_enum_print(': 'int enum_print | void', +\ 'snmpset(': 'string hostname, string community, string object_id, string type, mixed value [, int timeout [, int retries]] | bool', +\ 'snmp_set_oid_numeric_print(': 'int oid_numeric_print | void', +\ 'snmp_set_quick_print(': 'bool quick_print | void', +\ 'snmp_set_valueretrieval(': 'int method | void', +\ 'snmpwalk(': 'string hostname, string community, string object_id [, int timeout [, int retries]] | array', +\ 'snmpwalkoid(': 'string hostname, string community, string object_id [, int timeout [, int retries]] | array', +\ 'socket_accept(': 'resource socket | resource', +\ 'socket_bind(': 'resource socket, string address [, int port] | bool', +\ 'socket_clear_error(': '[resource socket] | void', +\ 'socket_close(': 'resource socket | void', +\ 'socket_connect(': 'resource socket, string address [, int port] | bool', +\ 'socket_create(': 'int domain, int type, int protocol | resource', +\ 'socket_create_listen(': 'int port [, int backlog] | resource', +\ 'socket_create_pair(': 'int domain, int type, int protocol, array &fd | bool', +\ 'socket_get_option(': 'resource socket, int level, int optname | mixed', +\ 'socket_getpeername(': 'resource socket, string &addr [, int &port] | bool', +\ 'socket_getsockname(': 'resource socket, string &addr [, int &port] | bool', +\ 'socket_last_error(': '[resource socket] | int', +\ 'socket_listen(': 'resource socket [, int backlog] | bool', +\ 'socket_read(': 'resource socket, int length [, int type] | string', +\ 'socket_recvfrom(': 'resource socket, string &buf, int len, int flags, string &name [, int &port] | int', +\ 'socket_recv(': 'resource socket, string &buf, int len, int flags | int', +\ 'socket_select(': 'array &read, array &write, array &except, int tv_sec [, int tv_usec] | int', +\ 'socket_send(': 'resource socket, string buf, int len, int flags | int', +\ 'socket_sendto(': 'resource socket, string buf, int len, int flags, string addr [, int port] | 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] | bool', +\ 'socket_strerror(': 'int errno | string', +\ 'socket_write(': 'resource socket, string buffer [, int length] | int', +\ 'sort(': 'array &array [, int sort_flags] | bool', +\ 'soundex(': 'string str | string', +\ 'spl_classes(': 'void | array', +\ 'split(': 'string pattern, string string [, int limit] | array', +\ 'spliti(': 'string pattern, string string [, int limit] | array', +\ 'sprintf(': 'string format [, mixed args [, mixed ...]] | string', +\ 'sqlite_array_query(': 'resource dbhandle, string query [, int result_type [, bool decode_binary]] | 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] | mixed', +\ 'sqlite_create_aggregate(': 'resource dbhandle, string function_name, callback step_func, callback finalize_func [, int num_args] | void', +\ 'sqlite_create_function(': 'resource dbhandle, string function_name, callback callback [, int num_args] | void', +\ 'sqlite_current(': 'resource result [, int result_type [, bool decode_binary]] | 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 [, string &error_message]] | SQLiteDatabase', +\ 'sqlite_fetch_all(': 'resource result [, int result_type [, bool decode_binary]] | array', +\ 'sqlite_fetch_array(': 'resource result [, int result_type [, bool decode_binary]] | array', +\ 'sqlite_fetch_column_types(': 'string table_name, resource dbhandle [, int result_type] | array', +\ 'sqlite_fetch_object(': 'resource result [, string class_name [, array ctor_params [, bool decode_binary]]] | object', +\ 'sqlite_fetch_single(': 'resource result [, bool decode_binary] | string', +\ 'sqlite_field_name(': 'resource result, int field_index | string', +\ 'sqlite_has_more(': 'resource result | bool', +\ 'sqlite_has_prev(': 'resource result | bool', +\ 'sqlite_key(': 'resource result | 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 [, string &error_message]] | resource', +\ 'sqlite_popen(': 'string filename [, int mode [, string &error_message]] | resource', +\ 'sqlite_prev(': 'resource result | bool', +\ 'sqlite_query(': 'resource dbhandle, string query [, int result_type [, 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 [, string &error_msg]] | resource', +\ 'sqlite_valid(': 'resource result | bool', +\ 'sql_regcase(': 'string string | string', +\ 'sqrt(': 'float arg | float', +\ 'srand(': '[int seed] | void', +\ 'sscanf(': 'string str, string format [, mixed &...] | mixed', +\ '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 [, array methods [, array callbacks]]] | resource', +\ 'ssh2_exec(': 'resource session, string command [, string pty [, array env [, int width [, int height [, int width_height_type]]]]] | resource', +\ 'ssh2_fetch_stream(': 'resource channel, int streamid | resource', +\ 'ssh2_fingerprint(': 'resource session [, int flags] | string', +\ 'ssh2_methods_negotiated(': 'resource session | array', +\ 'ssh2_publickey_add(': 'resource pkey, string algoname, string blob [, bool overwrite [, 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] | bool', +\ 'ssh2_sftp(': 'resource session | resource', +\ 'ssh2_sftp_lstat(': 'resource sftp, string path | array', +\ 'ssh2_sftp_mkdir(': 'resource sftp, string dirname [, int mode [, bool recursive]] | 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_shell(': 'resource session [, string term_type [, array env [, int width [, int height [, int width_height_type]]]]] | resource', +\ 'ssh2_tunnel(': 'resource session, string host, int port | resource', +\ 'stat(': 'string filename | array', +\ '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_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_den_uniform(': '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(': 'int n, float pp | int', +\ 'stats_rand_gen_ibinomial_negative(': 'int n, float p | 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] | 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] | float', +\ 'strcasecmp(': 'string str1, string str2 | int', +\ 'strcmp(': 'string str1, string str2 | int', +\ 'strcoll(': 'string str1, string str2 | int', +\ 'strcspn(': 'string str1, string str2 [, int start [, int length]] | int', +\ '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] | resource', +\ 'stream_context_get_default(': '[array options] | resource', +\ 'stream_context_get_options(': 'resource stream_or_context | array', +\ '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 [, int offset]] | int', +\ '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 [, int offset]] | 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_select(': 'array &read, array &write, array &except, int tv_sec [, int tv_usec] | int', +\ 'stream_set_blocking(': 'resource stream, int mode | bool', +\ 'stream_set_timeout(': 'resource stream, int seconds [, int microseconds] | bool', +\ 'stream_set_write_buffer(': 'resource stream, int buffer | int', +\ 'stream_socket_accept(': 'resource server_socket [, float timeout [, string &peername]] | resource', +\ 'stream_socket_client(': 'string remote_socket [, int &errno [, string &errstr [, float timeout [, int flags [, 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 [, string &address]] | string', +\ 'stream_socket_sendto(': 'resource socket, string data [, int flags [, string address]] | int', +\ 'stream_socket_server(': 'string local_socket [, int &errno [, string &errstr [, int flags [, resource context]]]] | resource', +\ 'stream_wrapper_register(': 'string protocol, string classname | bool', +\ 'stream_wrapper_restore(': 'string protocol | bool', +\ 'stream_wrapper_unregister(': 'string protocol | bool', +\ 'strftime(': 'string format [, int timestamp] | string', +\ 'stripcslashes(': 'string str | string', +\ 'stripos(': 'string haystack, string needle [, int offset] | int', +\ 'stripslashes(': 'string str | string', +\ 'strip_tags(': 'string str [, string allowable_tags] | string', +\ 'str_ireplace(': 'mixed search, mixed replace, mixed subject [, int &count] | mixed', +\ 'stristr(': 'string haystack, string needle | 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', +\ 'str_pad(': 'string input, int pad_length [, string pad_string [, int pad_type]] | string', +\ 'strpbrk(': 'string haystack, string char_list | string', +\ 'strpos(': 'string haystack, mixed needle [, int offset] | int', +\ 'strptime(': 'string date, string format | array', +\ 'strrchr(': 'string haystack, string needle | string', +\ 'str_repeat(': 'string input, int multiplier | string', +\ 'str_replace(': 'mixed search, mixed replace, mixed subject [, int &count] | mixed', +\ 'strrev(': 'string string | string', +\ 'strripos(': 'string haystack, string needle [, int offset] | int', +\ 'str_rot13(': 'string str | string', +\ 'strrpos(': 'string haystack, string needle [, int offset] | int', +\ 'str_shuffle(': 'string str | string', +\ 'str_split(': 'string string [, int split_length] | array', +\ 'strspn(': 'string str1, string str2 [, int start [, int length]] | int', +\ 'strstr(': 'string haystack, string needle | string', +\ 'strtok(': 'string str, string token | string', +\ 'strtolower(': 'string str | string', +\ 'strtotime(': 'string time [, int now] | int', +\ 'strtoupper(': 'string string | string', +\ 'strtr(': 'string str, string from, string to | string', +\ 'strval(': 'mixed var | string', +\ 'str_word_count(': 'string string [, int format [, string charlist]] | mixed', +\ 'substr_compare(': 'string main_str, string str, int offset [, int length [, bool case_insensitivity]] | int', +\ 'substr_count(': 'string haystack, string needle [, int offset [, int length]] | int', +\ 'substr(': 'string string, int start [, int length] | string', +\ 'substr_replace(': 'mixed string, string replacement, int start [, int length] | mixed', +\ 'swf_actiongeturl(': 'string url, string target | void', +\ 'swf_actiongotoframe(': 'int framenumber | void', +\ 'swf_actiongotolabel(': 'string label | void', +\ 'swfaction(': 'string script | SWFAction', +\ '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', +\ 'swfbitmap->getheight(': 'void | float', +\ 'swfbitmap->getwidth(': 'void | float', +\ 'swfbitmap(': 'mixed file [, mixed alphafile] | SWFBitmap', +\ 'swfbutton->addaction(': 'resource action, int flags | void', +\ 'swfbutton->addshape(': 'resource shape, int flags | void', +\ 'swfbutton(': 'void | SWFButton', +\ 'swfbutton->setaction(': 'resource action | void', +\ 'swfbutton->setdown(': 'resource shape | void', +\ 'swfbutton->sethit(': 'resource shape | void', +\ 'swfbutton->setover(': 'resource shape | void', +\ 'swfbutton->setup(': 'resource shape | 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', +\ 'swfdisplayitem->addcolor(': 'int red, int green, int blue [, int a] | void', +\ 'swfdisplayitem->move(': 'int dx, int dy | void', +\ 'swfdisplayitem->moveto(': 'int x, int y | void', +\ 'swfdisplayitem->multcolor(': 'int red, int green, int blue [, int a] | void', +\ 'swfdisplayitem->remove(': 'void | void', +\ 'swfdisplayitem->rotate(': 'float ddegrees | void', +\ 'swfdisplayitem->rotateto(': 'float degrees | void', +\ 'swfdisplayitem->scale(': 'int dx, int dy | void', +\ 'swfdisplayitem->scaleto(': 'int x [, int y] | void', +\ 'swfdisplayitem->setdepth(': 'float depth | void', +\ 'swfdisplayitem->setname(': 'string name | void', +\ 'swfdisplayitem->setratio(': 'float ratio | void', +\ 'swfdisplayitem->skewx(': 'float ddegrees | void', +\ 'swfdisplayitem->skewxto(': 'float degrees | void', +\ 'swfdisplayitem->skewy(': 'float ddegrees | void', +\ 'swfdisplayitem->skewyto(': 'float degrees | void', +\ 'swf_endbutton(': 'void | void', +\ 'swf_enddoaction(': 'void | void', +\ 'swf_endshape(': 'void | void', +\ 'swf_endsymbol(': 'void | void', +\ 'swffill(': 'void | SWFFill', +\ 'swffill->moveto(': 'int x, int y | void', +\ 'swffill->rotateto(': 'float degrees | void', +\ 'swffill->scaleto(': 'int x [, int y] | void', +\ 'swffill->skewxto(': 'float x | void', +\ 'swffill->skewyto(': 'float y | void', +\ 'swffont->getwidth(': 'string string | float', +\ 'swffont(': 'string filename | SWFFont', +\ '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', +\ 'swfgradient->addentry(': 'float ratio, int red, int green, int blue [, int a] | void', +\ 'swfgradient(': 'void | SWFGradient', +\ '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', +\ 'swfmorph->getshape1(': 'void | mixed', +\ 'swfmorph->getshape2(': 'void | mixed', +\ 'swfmorph(': 'void | SWFMorph', +\ 'swfmovie->add(': 'resource instance | void', +\ 'swfmovie(': 'void | SWFMovie', +\ 'swfmovie->nextframe(': 'void | void', +\ 'swfmovie->output(': '[int compression] | int', +\ 'swfmovie->remove(': 'resource instance | void', +\ 'swfmovie->save(': 'string filename [, int compression] | int', +\ 'swfmovie->setbackground(': 'int red, int green, int blue | void', +\ 'swfmovie->setdimension(': 'int width, int height | void', +\ 'swfmovie->setframes(': 'string numberofframes | void', +\ 'swfmovie->setrate(': 'int rate | void', +\ 'swfmovie->streammp3(': 'mixed mp3File | 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_ortho2(': 'float xmin, float xmax, float ymin, float ymax | void', +\ 'swf_ortho(': 'float xmin, float xmax, float ymin, float ymax, float zmin, float zmax | 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', +\ 'SWFPrebuiltClip(': '[string file] | SWFPrebuiltClip', +\ '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', +\ 'SWFShape->addFill(': 'int red, int green, int blue [, int a] | SWFFill', +\ 'swf_shapearc(': 'float x, float y, float r, float ang1, float ang2 | void', +\ 'swf_shapecurveto3(': 'float x1, float y1, float x2, float y2, float x3, float y3 | void', +\ 'swf_shapecurveto(': 'float x1, float y1, float x2, float y2 | void', +\ 'swfshape->drawcurve(': 'int controldx, int controldy, int anchordx, int anchordy [, int targetdx, int targetdy] | int', +\ 'swfshape->drawcurveto(': 'int controlx, int controly, int anchorx, int anchory [, int targetx, int targety] | int', +\ 'swfshape->drawline(': 'int dx, int dy | void', +\ 'swfshape->drawlineto(': 'int x, int y | 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', +\ 'swfshape(': 'void | SWFShape', +\ 'swf_shapelinesolid(': 'float r, float g, float b, float a, float width | void', +\ 'swf_shapelineto(': 'float x, float y | void', +\ 'swfshape->movepen(': 'int dx, int dy | void', +\ 'swfshape->movepento(': 'int x, int y | void', +\ 'swf_shapemoveto(': 'float x, float y | void', +\ 'swfshape->setleftfill(': 'swfgradient fill | void', +\ 'swfshape->setline(': 'swfshape shape | void', +\ 'swfshape->setrightfill(': 'swfgradient fill | void', +\ 'swf_showframe(': 'void | void', +\ 'SWFSound(': 'string filename, int flags | SWFSound', +\ 'swfsprite->add(': 'resource object | void', +\ 'swfsprite(': 'void | SWFSprite', +\ 'swfsprite->nextframe(': 'void | void', +\ 'swfsprite->remove(': 'resource object | void', +\ 'swfsprite->setframes(': 'int numberofframes | void', +\ 'swf_startbutton(': 'int objid, int type | void', +\ 'swf_startdoaction(': 'void | void', +\ 'swf_startshape(': 'int objid | void', +\ 'swf_startsymbol(': 'int objid | void', +\ 'swftext->addstring(': 'string string | void', +\ 'swftextfield->addstring(': 'string string | void', +\ 'swftextfield->align(': 'int alignement | void', +\ 'swftextfield(': '[int flags] | SWFTextField', +\ 'swftextfield->setbounds(': 'int width, int height | void', +\ 'swftextfield->setcolor(': 'int red, int green, int blue [, int a] | void', +\ 'swftextfield->setfont(': 'string font | void', +\ 'swftextfield->setheight(': 'int height | void', +\ 'swftextfield->setindentation(': 'int width | void', +\ 'swftextfield->setleftmargin(': 'int width | void', +\ 'swftextfield->setlinespacing(': 'int height | void', +\ 'swftextfield->setmargins(': 'int left, int right | void', +\ 'swftextfield->setname(': 'string name | void', +\ 'swftextfield->setrightmargin(': 'int width | void', +\ 'swftext->getwidth(': 'string string | float', +\ 'swftext(': 'void | SWFText', +\ 'swftext->moveto(': 'int x, int y | void', +\ 'swftext->setcolor(': 'int red, int green, int blue [, int a] | void', +\ 'swftext->setfont(': 'string font | void', +\ 'swftext->setheight(': 'int height | void', +\ 'swftext->setspacing(': 'float spacing | void', +\ 'swf_textwidth(': 'string str | float', +\ 'swf_translate(': 'float x, float y, float z | void', +\ 'SWFVideoStream(': '[string file] | SWFVideoStream', +\ 'swf_viewport(': 'float xmin, float xmax, float ymin, float ymax | void', +\ '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]]]]] | 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] | 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(': 'callback handler [, resource connection] | bool', +\ 'sybase_unbuffered_query(': 'string query, resource link_identifier [, bool store_result] | resource', +\ 'symlink(': 'string target, string link | bool', +\ 'sys_getloadavg(': 'void | array', +\ 'syslog(': 'int priority, string message | bool', +\ 'system(': 'string command [, int &return_var] | string', +\ 'tanh(': 'float arg | float', +\ 'tan(': 'float arg | float', +\ 'tcpwrap_check(': 'string daemon, string address [, string user [, bool nodns]] | bool', +\ 'tempnam(': 'string dir, string prefix | string', +\ 'textdomain(': 'string text_domain | 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_node->get_attr(': 'int attrib_id | tidy_attr', +\ 'tidy_node->get_nodes(': 'int node_id | array', +\ 'tidyNode->hasChildren(': 'void | bool', +\ 'tidyNode->hasSiblings(': 'void | bool', +\ 'tidyNode->isAsp(': 'void | bool', +\ 'tidyNode->isComment(': 'void | bool', +\ 'tidyNode->isHtml(': 'void | bool', +\ 'tidyNode->isJste(': 'void | bool', +\ 'tidyNode->isPhp(': 'void | bool', +\ 'tidyNode->isText(': 'void | bool', +\ 'tidy_node->next(': 'void | tidy_node', +\ 'tidy_node->prev(': 'void | tidy_node', +\ 'tidy_repair_file(': 'string filename [, mixed config [, string encoding [, bool use_include_path]]] | string', +\ 'tidy_repair_string(': 'string data [, mixed config [, string encoding]] | string', +\ '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', +\ 'time(': 'void | int', +\ 'time_nanosleep(': 'int seconds, int nanoseconds | mixed', +\ 'time_sleep_until(': 'float timestamp | bool', +\ 'tmpfile(': 'void | resource', +\ 'token_get_all(': 'string source | array', +\ 'token_name(': 'int token | string', +\ 'touch(': 'string filename [, int time [, int atime]] | bool', +\ 'trigger_error(': 'string error_msg [, int error_type] | bool', +\ 'trim(': 'string str [, string charlist] | string', +\ 'uasort(': 'array &array, callback cmp_function | bool', +\ 'ucfirst(': 'string str | string', +\ 'ucwords(': 'string str | string', +\ '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', +\ 'uksort(': 'array &array, callback cmp_function | bool', +\ 'umask(': '[int mask] | int', +\ 'unicode_encode(': 'unicode input, string encoding | string', +\ 'unicode_semantics(': 'void | bool', +\ 'uniqid(': '[string prefix [, bool more_entropy]] | string', +\ 'unixtojd(': '[int timestamp] | int', +\ 'unlink(': 'string filename [, resource context] | bool', +\ 'unpack(': 'string format, string data | array', +\ 'unregister_tick_function(': 'string function_name | void', +\ 'unserialize(': 'string str | mixed', +\ 'unset(': 'mixed var [, mixed var [, mixed ...]] | void', +\ 'urldecode(': 'string str | string', +\ 'urlencode(': 'string str | string', +\ 'use_soap_error_handler(': '[bool handler] | bool', +\ 'usleep(': 'int micro_seconds | void', +\ 'usort(': 'array &array, callback cmp_function | bool', +\ 'utf8_decode(': 'string data | string', +\ 'utf8_encode(': 'string data | string', +\ 'var_dump(': 'mixed expression [, mixed expression [, ...]] | void', +\ 'var_export(': 'mixed expression [, bool return] | mixed', +\ '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(': 'variant variant, mixed value | void', +\ 'variant_set_type(': 'variant variant, int type | void', +\ 'variant_sub(': 'mixed left, mixed right | mixed', +\ 'variant_xor(': 'mixed left, mixed right | mixed', +\ 'version_compare(': 'string version1, string version2 [, string operator] | mixed', +\ 'vfprintf(': 'resource handle, string format, array args | int', +\ 'virtual(': 'string filename | bool', +\ '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', +\ 'vprintf(': 'string format, array args | int', +\ 'vsprintf(': 'string format, array args | string', +\ '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', +\ 'wddx_add_vars(': 'int packet_id, mixed name_var [, mixed ...] | bool', +\ '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', +\ 'wddx_unserialize(': 'string packet | mixed', +\ 'win32_create_service(': 'array details [, string machine] | int', +\ 'win32_delete_service(': 'string servicename [, string machine] | int', +\ 'win32_get_last_control_message(': 'void | int', +\ 'win32_ps_list_procs(': 'void | array', +\ 'win32_ps_stat_mem(': 'void | array', +\ 'win32_ps_stat_proc(': '[int pid] | array', +\ 'win32_query_service_status(': 'string servicename [, string machine] | mixed', +\ 'win32_set_service_status(': 'int status | bool', +\ 'win32_start_service_ctrl_dispatcher(': 'string name | bool', +\ 'win32_start_service(': 'string servicename [, string machine] | int', +\ 'win32_stop_service(': 'string servicename [, string machine] | int', +\ 'wordwrap(': 'string str [, int width [, string break [, bool cut]]] | string', +\ 'xattr_get(': 'string filename, string name [, int flags] | string', +\ 'xattr_list(': 'string filename [, int flags] | array', +\ 'xattr_remove(': 'string filename, string name [, int flags] | bool', +\ 'xattr_set(': 'string filename, string name, string value [, int flags] | bool', +\ 'xattr_supported(': 'string filename [, int flags] | bool', +\ 'xdiff_file_diff_binary(': 'string file1, string file2, string dest | bool', +\ 'xdiff_file_diff(': 'string file1, string file2, string dest [, int context [, bool minimal]] | bool', +\ 'xdiff_file_merge3(': 'string file1, string file2, string file3, 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] | mixed', +\ 'xdiff_string_diff_binary(': 'string str1, string str2 | string', +\ 'xdiff_string_diff(': 'string str1, string str2 [, int context [, bool minimal]] | string', +\ 'xdiff_string_merge3(': 'string str1, string str2, string str3 [, string &error] | mixed', +\ 'xdiff_string_patch_binary(': 'string str, string patch | string', +\ 'xdiff_string_patch(': 'string str, string patch [, int flags [, string &error]] | 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(': 'resource parser, string data [, bool is_final] | int', +\ 'xml_parse_into_struct(': 'resource parser, string data, array &values [, array &index] | int', +\ 'xml_parser_create(': '[string encoding] | resource', +\ 'xml_parser_create_ns(': '[string encoding [, string separator]] | 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', +\ 'xmlrpc_decode(': 'string xml [, string encoding] | array', +\ 'xmlrpc_decode_request(': 'string xml, string &method [, string encoding] | array', +\ 'xmlrpc_encode(': 'mixed value | string', +\ 'xmlrpc_encode_request(': 'string method, mixed params [, array output_options] | 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', +\ 'xml_set_character_data_handler(': 'resource parser, callback handler | bool', +\ 'xml_set_default_handler(': 'resource parser, callback handler | bool', +\ 'xml_set_element_handler(': 'resource parser, callback start_element_handler, callback end_element_handler | bool', +\ 'xml_set_end_namespace_decl_handler(': 'resource parser, callback handler | bool', +\ 'xml_set_external_entity_ref_handler(': 'resource parser, callback handler | bool', +\ 'xml_set_notation_decl_handler(': 'resource parser, callback handler | bool', +\ 'xml_set_object(': 'resource parser, object &object | bool', +\ 'xml_set_processing_instruction_handler(': 'resource parser, callback handler | bool', +\ 'xml_set_start_namespace_decl_handler(': 'resource parser, callback handler | bool', +\ 'xml_set_unparsed_entity_decl_handler(': 'resource parser, callback handler | bool', +\ '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] | mixed', +\ 'xmlwriter_full_end_element(': 'resource xmlwriter | bool', +\ 'xmlwriter_open_memory(': 'void | resource', +\ 'xmlwriter_open_uri(': 'string source | resource', +\ 'xmlwriter_output_memory(': 'resource xmlwriter [, bool flush] | string', +\ 'xmlwriter_set_indent(': 'resource xmlwriter, bool indent | bool', +\ 'xmlwriter_set_indent_string(': 'resource xmlwriter, string indentString | bool', +\ 'xmlwriter_start_attribute(': 'resource xmlwriter, string name | bool', +\ 'xmlwriter_start_attribute_ns(': 'resource xmlwriter, string prefix, string name, string uri | bool', +\ 'xmlwriter_start_cdata(': 'resource xmlwriter | bool', +\ 'xmlwriter_start_comment(': 'resource xmlwriter | bool', +\ 'xmlwriter_start_document(': 'resource xmlwriter [, string version [, string encoding [, string standalone]]] | bool', +\ 'xmlwriter_start_dtd_attlist(': 'resource xmlwriter, string name | bool', +\ 'xmlwriter_start_dtd_element(': 'resource xmlwriter, string name | bool', +\ 'xmlwriter_start_dtd_entity(': 'resource xmlwriter, string name, bool isparam | bool', +\ 'xmlwriter_start_dtd(': 'resource xmlwriter, string name [, string pubid [, string sysid]] | bool', +\ 'xmlwriter_start_element(': 'resource xmlwriter, string name | bool', +\ 'xmlwriter_start_element_ns(': 'resource xmlwriter, string prefix, string name, string uri | bool', +\ 'xmlwriter_start_pi(': 'resource xmlwriter, string target | bool', +\ 'xmlwriter_text(': 'resource xmlwriter, string content | bool', +\ 'xmlwriter_write_attribute(': 'resource xmlwriter, string name, string content | bool', +\ 'xmlwriter_write_attribute_ns(': 'resource xmlwriter, string prefix, string name, string uri, string content | 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', +\ 'xmlwriter_write_dtd(': 'resource xmlwriter, string name [, string pubid [, string sysid [, string subset]]] | bool', +\ 'xmlwriter_write_element(': 'resource xmlwriter, string name, string content | bool', +\ 'xmlwriter_write_element_ns(': 'resource xmlwriter, string prefix, string name, string uri, string content | bool', +\ 'xmlwriter_write_pi(': 'resource xmlwriter, string target, string content | bool', +\ 'xmlwriter_write_raw(': 'resource xmlwriter, string content | bool', +\ 'xpath_new_context(': 'domdocument dom_document | XPathContext', +\ 'xpath_register_ns_auto(': 'XPathContext xpath_context [, object context_node] | bool', +\ 'xpath_register_ns(': 'XPathContext xpath_context, string prefix, string uri | bool', +\ 'xptr_new_context(': 'void | XPathContext', +\ '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_setopt(': 'resource processor, int newmask | mixed', +\ '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 processor, array handlers | void', +\ '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_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(': 'resource id, string type, string startterm [, array flags] | void', +\ 'yaz_scan_result(': 'resource id [, array &result] | array', +\ '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', +\ 'yp_all(': 'string domain, string map, string callback | void', +\ 'yp_cat(': 'string domain, string map | array', +\ 'yp_errno(': 'void | int', +\ 'yp_err_string(': 'int errorcode | string', +\ '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', +\ 'zend_logo_guid(': 'void | string', +\ 'zend_version(': 'void | string', +\ 'zip_close(': 'resource zip | void', +\ 'zip_entry_close(': 'resource zip_entry | void', +\ '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] | string', +\ 'zip_open(': 'string filename | resource', +\ 'zip_read(': 'resource zip | resource', +\ 'zlib_get_coding_type(': 'void | string' +\ } +" }}} +" built-in object functions {{{ +let g:php_builtin_object_functions = { +\ 'ArrayIterator::current(': 'void | mixed', +\ 'ArrayIterator::key(': 'void | mixed', +\ 'ArrayIterator::next(': 'void | void', +\ 'ArrayIterator::rewind(': 'void | void', +\ 'ArrayIterator::seek(': 'int position | void', +\ 'ArrayIterator::valid(': 'void | bool', +\ 'ArrayObject::append(': 'mixed newval | void', +\ 'ArrayObject::__construct(': 'mixed input | ArrayObject', +\ 'ArrayObject::count(': 'void | int', +\ 'ArrayObject::getIterator(': 'void | ArrayIterator', +\ 'ArrayObject::offsetExists(': 'mixed index | bool', +\ 'ArrayObject::offsetGet(': 'mixed index | bool', +\ 'ArrayObject::offsetSet(': 'mixed index, mixed newval | void', +\ 'ArrayObject::offsetUnset(': 'mixed index | void', +\ 'CachingIterator::hasNext(': 'void | bool', +\ 'CachingIterator::next(': 'void | void', +\ 'CachingIterator::rewind(': 'void | void', +\ 'CachingIterator::__toString(': 'void | string', +\ 'CachingIterator::valid(': 'void | bool', +\ 'CachingRecursiveIterator::getChildren(': 'void | CachingRecursiveIterator', +\ 'CachingRecursiveIterator::hasChildren(': 'void | bolean', +\ 'DirectoryIterator::__construct(': 'string path | DirectoryIterator', +\ 'DirectoryIterator::current(': 'void | DirectoryIterator', +\ 'DirectoryIterator::getATime(': 'void | int', +\ 'DirectoryIterator::getChildren(': 'void | RecursiveDirectoryIterator', +\ 'DirectoryIterator::getCTime(': 'void | int', +\ 'DirectoryIterator::getFilename(': 'void | string', +\ 'DirectoryIterator::getGroup(': 'void | int', +\ 'DirectoryIterator::getInode(': 'void | int', +\ 'DirectoryIterator::getMTime(': 'void | int', +\ 'DirectoryIterator::getOwner(': 'void | int', +\ 'DirectoryIterator::getPath(': 'void | string', +\ 'DirectoryIterator::getPathname(': 'void | string', +\ 'DirectoryIterator::getPerms(': 'void | int', +\ 'DirectoryIterator::getSize(': 'void | int', +\ 'DirectoryIterator::getType(': 'void | string', +\ 'DirectoryIterator::isDir(': 'void | bool', +\ 'DirectoryIterator::isDot(': 'void | bool', +\ 'DirectoryIterator::isExecutable(': 'void | bool', +\ 'DirectoryIterator::isFile(': 'void | bool', +\ 'DirectoryIterator::isLink(': 'void | bool', +\ 'DirectoryIterator::isReadable(': 'void | bool', +\ 'DirectoryIterator::isWritable(': 'void | bool', +\ 'DirectoryIterator::key(': 'void | string', +\ 'DirectoryIterator::next(': 'void | void', +\ 'DirectoryIterator::rewind(': 'void | void', +\ 'DirectoryIterator::valid(': 'void | string', +\ 'FilterIterator::current(': 'void | mixed', +\ 'FilterIterator::getInnerIterator(': 'void | Iterator', +\ 'FilterIterator::key(': 'void | mixed', +\ 'FilterIterator::next(': 'void | void', +\ 'FilterIterator::rewind(': 'void | void', +\ 'FilterIterator::valid(': 'void | bool', +\ 'LimitIterator::getPosition(': 'void | int', +\ 'LimitIterator::next(': 'void | void', +\ 'LimitIterator::rewind(': 'void | void', +\ 'LimitIterator::seek(': 'int position | void', +\ 'LimitIterator::valid(': 'void | bool', +\ 'Memcache::add(': 'string key, mixed var [, int flag [, int expire]] | bool', +\ 'Memcache::addServer(': 'string host [, int port [, bool persistent [, int weight [, int timeout [, int retry_interval]]]]] | bool', +\ 'Memcache::close(': 'void | bool', +\ 'Memcache::connect(': 'string host [, int port [, int timeout]] | bool', +\ 'Memcache::decrement(': 'string key [, int value] | int', +\ 'Memcache::delete(': 'string key [, int timeout] | bool', +\ 'Memcache::flush(': 'void | bool', +\ 'Memcache::getExtendedStats(': 'void | array', +\ 'Memcache::get(': 'string key | string', +\ 'Memcache::getStats(': 'void | array', +\ 'Memcache::getVersion(': 'void | string', +\ 'Memcache::increment(': 'string key [, int value] | int', +\ 'Memcache::pconnect(': 'string host [, int port [, int timeout]] | bool', +\ 'Memcache::replace(': 'string key, mixed var [, int flag [, int expire]] | bool', +\ 'Memcache::setCompressThreshold(': 'int threshold [, float min_savings] | bool', +\ 'Memcache::set(': 'string key, mixed var [, int flag [, int expire]] | bool', +\ 'ParentIterator::getChildren(': 'void | ParentIterator', +\ 'ParentIterator::hasChildren(': 'void | bool', +\ 'ParentIterator::next(': 'void | void', +\ 'ParentIterator::rewind(': 'void | void', +\ 'PDO::beginTransaction(': 'void | bool', +\ 'PDO::commit(': 'void | bool', +\ 'PDO::__construct(': 'string dsn [, string username [, string password [, array driver_options]]] | PDO', +\ 'PDO::errorCode(': 'void | string', +\ 'PDO::errorInfo(': 'void | array', +\ 'PDO::exec(': 'string statement | int', +\ 'PDO::getAttribute(': 'int attribute | mixed', +\ 'PDO::getAvailableDrivers(': 'void | array', +\ 'PDO::lastInsertId(': '[string name] | string', +\ 'PDO::prepare(': 'string statement [, array driver_options] | PDOStatement', +\ 'PDO::query(': 'string statement | PDOStatement', +\ 'PDO::quote(': 'string string [, int parameter_type] | string', +\ 'PDO::rollBack(': 'void | bool', +\ 'PDO::setAttribute(': 'int attribute, mixed value | bool', +\ 'PDO::sqliteCreateAggregate(': 'string function_name, callback step_func, callback finalize_func [, int num_args] | bool', +\ 'PDO::sqliteCreateFunction(': 'string function_name, callback callback [, int num_args] | bool', +\ 'PDOStatement::bindColumn(': 'mixed column, mixed &param [, int type] | bool', +\ 'PDOStatement::bindParam(': 'mixed parameter, mixed &variable [, int data_type [, int length [, mixed driver_options]]] | bool', +\ 'PDOStatement::bindValue(': 'mixed parameter, mixed value [, int data_type] | bool', +\ 'PDOStatement::closeCursor(': 'void | bool', +\ 'PDOStatement::columnCount(': 'void | int', +\ 'PDOStatement::errorCode(': 'void | string', +\ 'PDOStatement::errorInfo(': 'void | array', +\ 'PDOStatement::execute(': '[array input_parameters] | bool', +\ 'PDOStatement::fetchAll(': '[int fetch_style [, int column_index]] | array', +\ 'PDOStatement::fetchColumn(': '[int column_number] | string', +\ 'PDOStatement::fetch(': '[int fetch_style [, int cursor_orientation [, int cursor_offset]]] | mixed', +\ 'PDOStatement::fetchObject(': '[string class_name [, array ctor_args]] | mixed', +\ 'PDOStatement::getAttribute(': 'int attribute | mixed', +\ 'PDOStatement::getColumnMeta(': 'int column | mixed', +\ 'PDOStatement::nextRowset(': 'void | bool', +\ 'PDOStatement::rowCount(': 'void | int', +\ 'PDOStatement::setAttribute(': 'int attribute, mixed value | bool', +\ 'PDOStatement::setFetchMode(': 'int mode | bool', +\ 'Rar::extract(': 'string dir [, string filepath] | bool', +\ 'Rar::getAttr(': 'void | int', +\ 'Rar::getCrc(': 'void | int', +\ 'Rar::getFileTime(': 'void | string', +\ 'Rar::getHostOs(': 'void | int', +\ 'Rar::getMethod(': 'void | int', +\ 'Rar::getName(': 'void | string', +\ 'Rar::getPackedSize(': 'void | int', +\ 'Rar::getUnpackedSize(': 'void | int', +\ 'Rar::getVersion(': 'void | int', +\ 'RecursiveDirectoryIterator::getChildren(': 'void | object', +\ 'RecursiveDirectoryIterator::hasChildren(': '[bool allow_links] | bool', +\ 'RecursiveDirectoryIterator::key(': 'void | string', +\ 'RecursiveDirectoryIterator::next(': 'void | void', +\ 'RecursiveDirectoryIterator::rewind(': 'void | void', +\ 'RecursiveIteratorIterator::current(': 'void | mixed', +\ 'RecursiveIteratorIterator::getDepth(': 'void | int', +\ 'RecursiveIteratorIterator::getSubIterator(': 'void | RecursiveIterator', +\ 'RecursiveIteratorIterator::key(': 'void | mixed', +\ 'RecursiveIteratorIterator::next(': 'void | void', +\ 'RecursiveIteratorIterator::rewind(': 'void | void', +\ 'RecursiveIteratorIterator::valid(': 'void | bolean', +\ 'SDO_DAS_ChangeSummary::beginLogging(': 'void | void', +\ 'SDO_DAS_ChangeSummary::endLogging(': 'void | void', +\ 'SDO_DAS_ChangeSummary::getChangedDataObjects(': 'void | SDO_List', +\ 'SDO_DAS_ChangeSummary::getChangeType(': 'SDO_DataObject dataObject | int', +\ 'SDO_DAS_ChangeSummary::getOldContainer(': 'SDO_DataObject data_object | SDO_DataObject', +\ 'SDO_DAS_ChangeSummary::getOldValues(': 'SDO_DataObject data_object | SDO_List', +\ 'SDO_DAS_ChangeSummary::isLogging(': 'void | bool', +\ 'SDO_DAS_DataFactory::addPropertyToType(': 'string parent_type_namespace_uri, string parent_type_name, string property_name, string type_namespace_uri, string type_name [, array options] | void', +\ 'SDO_DAS_DataFactory::addType(': 'string type_namespace_uri, string type_name [, array options] | void', +\ 'SDO_DAS_DataFactory::getDataFactory(': 'void | SDO_DAS_DataFactory', +\ 'SDO_DAS_DataObject::getChangeSummary(': 'void | SDO_DAS_ChangeSummary', +\ 'SDO_DAS_Relational::applyChanges(': 'PDO database_handle, SDODataObject root_data_object | void', +\ 'SDO_DAS_Relational::__construct(': 'array database_metadata [, string application_root_type [, array SDO_containment_references_metadata]] | SDO_DAS_Relational', +\ 'SDO_DAS_Relational::createRootDataObject(': 'void | SDODataObject', +\ 'SDO_DAS_Relational::executePreparedQuery(': 'PDO database_handle, PDOStatement prepared_statement, array value_list [, array column_specifier] | SDODataObject', +\ 'SDO_DAS_Relational::executeQuery(': 'PDO database_handle, string SQL_statement [, array column_specifier] | SDODataObject', +\ 'SDO_DAS_Setting::getListIndex(': 'void | int', +\ 'SDO_DAS_Setting::getPropertyIndex(': 'void | int', +\ 'SDO_DAS_Setting::getPropertyName(': 'void | string', +\ 'SDO_DAS_Setting::getValue(': 'void | mixed', +\ 'SDO_DAS_Setting::isSet(': 'void | bool', +\ 'SDO_DAS_XML::addTypes(': 'string xsd_file | void', +\ 'SDO_DAS_XML::createDataObject(': 'string namespace_uri, string type_name | SDO_DataObject', +\ 'SDO_DAS_XML::createDocument(': '[string document_element_name] | SDO_DAS_XML_Document', +\ 'SDO_DAS_XML::create(': '[string xsd_file] | SDO_DAS_XML', +\ 'SDO_DAS_XML_Document::getRootDataObject(': 'void | SDO_DataObject', +\ 'SDO_DAS_XML_Document::getRootElementName(': 'void | string', +\ 'SDO_DAS_XML_Document::getRootElementURI(': 'void | string', +\ 'SDO_DAS_XML_Document::setEncoding(': 'string encoding | void', +\ 'SDO_DAS_XML_Document::setXMLDeclaration(': 'bool xmlDeclatation | void', +\ 'SDO_DAS_XML_Document::setXMLVersion(': 'string xmlVersion | void', +\ 'SDO_DAS_XML::loadFile(': 'string xml_file | SDO_XMLDocument', +\ 'SDO_DAS_XML::loadString(': 'string xml_string | SDO_DAS_XML_Document', +\ 'SDO_DAS_XML::saveFile(': 'SDO_XMLDocument xdoc, string xml_file [, int indent] | void', +\ 'SDO_DAS_XML::saveString(': 'SDO_XMLDocument xdoc [, int indent] | string', +\ 'SDO_DataFactory::create(': 'string type_namespace_uri, string type_name | void', +\ 'SDO_DataObject::clear(': 'void | void', +\ 'SDO_DataObject::createDataObject(': 'mixed identifier | SDO_DataObject', +\ 'SDO_DataObject::getContainer(': 'void | SDO_DataObject', +\ 'SDO_DataObject::getSequence(': 'void | SDO_Sequence', +\ 'SDO_DataObject::getTypeName(': 'void | string', +\ 'SDO_DataObject::getTypeNamespaceURI(': 'void | string', +\ 'SDO_Exception::getCause(': 'void | mixed', +\ 'SDO_List::insert(': 'mixed value [, int index] | void', +\ 'SDO_Model_Property::getContainingType(': 'void | SDO_Model_Type', +\ 'SDO_Model_Property::getDefault(': 'void | mixed', +\ 'SDO_Model_Property::getName(': 'void | string', +\ 'SDO_Model_Property::getType(': 'void | SDO_Model_Type', +\ 'SDO_Model_Property::isContainment(': 'void | bool', +\ 'SDO_Model_Property::isMany(': 'void | bool', +\ 'SDO_Model_ReflectionDataObject::__construct(': 'SDO_DataObject data_object | SDO_Model_ReflectionDataObject', +\ 'SDO_Model_ReflectionDataObject::export(': 'SDO_Model_ReflectionDataObject rdo [, bool return] | mixed', +\ 'SDO_Model_ReflectionDataObject::getContainmentProperty(': 'void | SDO_Model_Property', +\ 'SDO_Model_ReflectionDataObject::getInstanceProperties(': 'void | array', +\ 'SDO_Model_ReflectionDataObject::getType(': 'void | SDO_Model_Type', +\ 'SDO_Model_Type::getBaseType(': 'void | SDO_Model_Type', +\ 'SDO_Model_Type::getName(': 'void | string', +\ 'SDO_Model_Type::getNamespaceURI(': 'void | string', +\ 'SDO_Model_Type::getProperties(': 'void | array', +\ 'SDO_Model_Type::getProperty(': 'mixed identifier | SDO_Model_Property', +\ 'SDO_Model_Type::isAbstractType(': 'void | bool', +\ 'SDO_Model_Type::isDataType(': 'void | bool', +\ 'SDO_Model_Type::isInstance(': 'SDO_DataObject data_object | bool', +\ 'SDO_Model_Type::isOpenType(': 'void | bool', +\ 'SDO_Model_Type::isSequencedType(': 'void | bool', +\ 'SDO_Sequence::getProperty(': 'int sequence_index | SDO_Model_Property', +\ 'SDO_Sequence::insert(': 'mixed value [, int sequenceIndex [, mixed propertyIdentifier]] | void', +\ 'SDO_Sequence::move(': 'int toIndex, int fromIndex | void', +\ 'SimpleXMLIterator::current(': 'void | mixed', +\ 'SimpleXMLIterator::getChildren(': 'void | object', +\ 'SimpleXMLIterator::hasChildren(': 'void | bool', +\ 'SimpleXMLIterator::key(': 'void | mixed', +\ 'SimpleXMLIterator::next(': 'void | void', +\ 'SimpleXMLIterator::rewind(': 'void | void', +\ 'SimpleXMLIterator::valid(': 'void | bool', +\ 'SWFButton::addASound(': 'SWFSound sound, int flags | SWFSoundInstance', +\ 'SWFButton::setMenu(': 'int flag | void', +\ 'SWFDisplayItem::addAction(': 'SWFAction action, int flags | void', +\ 'SWFDisplayItem::endMask(': 'void | void', +\ 'SWFDisplayItem::getRot(': 'void | float', +\ 'SWFDisplayItem::getX(': 'void | float', +\ 'SWFDisplayItem::getXScale(': 'void | float', +\ 'SWFDisplayItem::getXSkew(': 'void | float', +\ 'SWFDisplayItem::getY(': 'void | float', +\ 'SWFDisplayItem::getYScale(': 'void | float', +\ 'SWFDisplayItem::getYSkew(': 'void | float', +\ 'SWFDisplayItem::setMaskLevel(': 'int level | void', +\ 'SWFDisplayItem::setMatrix(': 'float a, float b, float c, float d, float x, float y | void', +\ 'SWFFontChar::addChars(': 'string char | void', +\ 'SWFFontChar::addUTF8Chars(': 'string char | void', +\ 'SWFFont::getAscent(': 'void | float', +\ 'SWFFont::getDescent(': 'void | float', +\ 'SWFFont::getLeading(': 'void | float', +\ 'SWFFont::getShape(': 'int code | string', +\ 'SWFFont::getUTF8Width(': 'string string | float', +\ 'SWFMovie::addExport(': 'SWFCharacter char, string name | void', +\ 'SWFMovie::addFont(': 'SWFFont font | SWFFontChar', +\ 'SWFMovie::importChar(': 'string libswf, string name | SWFSprite', +\ 'SWFMovie::importFont(': 'string libswf, string name | SWFFontChar', +\ 'SWFMovie::labelFrame(': 'string label | void', +\ 'SWFMovie::saveToFile(': 'stream x [, int compression] | int', +\ 'SWFMovie::startSound(': 'SWFSound sound | SWFSoundInstance', +\ 'SWFMovie::stopSound(': 'SWFSound sound | void', +\ 'SWFMovie::writeExports(': 'void | void', +\ 'SWFShape::drawArc(': 'float r, float startAngle, float endAngle | void', +\ 'SWFShape::drawCircle(': 'float r | void', +\ 'SWFShape::drawCubic(': 'float bx, float by, float cx, float cy, float dx, float dy | int', +\ 'SWFShape::drawCubicTo(': 'float bx, float by, float cx, float cy, float dx, float dy | int', +\ 'SWFShape::drawGlyph(': 'SWFFont font, string character [, int size] | void', +\ 'SWFSoundInstance::loopCount(': 'int point | void', +\ 'SWFSoundInstance::loopInPoint(': 'int point | void', +\ 'SWFSoundInstance::loopOutPoint(': 'int point | void', +\ 'SWFSoundInstance::noMultiple(': 'void | void', +\ 'SWFSprite::labelFrame(': 'string label | void', +\ 'SWFSprite::startSound(': 'SWFSound sound | SWFSoundInstance', +\ 'SWFSprite::stopSound(': 'SWFSound sound | void', +\ 'SWFText::addUTF8String(': 'string text | void', +\ 'SWFTextField::addChars(': 'string chars | void', +\ 'SWFTextField::setPadding(': 'float padding | void', +\ 'SWFText::getAscent(': 'void | float', +\ 'SWFText::getDescent(': 'void | float', +\ 'SWFText::getLeading(': 'void | float', +\ 'SWFText::getUTF8Width(': 'string string | float', +\ 'SWFVideoStream::getNumFrames(': 'void | int', +\ 'SWFVideoStream::setDimension(': 'int x, int y | void', +\ 'tidy::__construct(': '[string filename [, mixed config [, string encoding [, bool use_include_path]]]] | tidy' +\ } + " }}} +" Add control structures (they are outside regular pattern of PHP functions) +let php_control = { + \ 'include(': 'string filename | resource', + \ 'include_once(': 'string filename | resource', + \ 'require(': 'string filename | resource', + \ 'require_once(': 'string filename | resource', + \ } +call extend(g:php_builtin_functions, php_control) +endfunction +" }}} +" vim:set foldmethod=marker: diff --git a/build.sh b/build.sh index 2a07573..5453190 100755 --- a/build.sh +++ b/build.sh @@ -51,6 +51,7 @@ syntax 'vim-scripts/XSLT-syntax' & syntax 'vim-scripts/python.vim--Vasiliev' & syntax 'vim-scripts/octave.vim--' & syntax 'uggedal/go-vim' & +syntax 'spf13/PIV' & wait diff --git a/ftplugin/php.vim b/ftplugin/php.vim new file mode 100644 index 0000000..1ecdb2b --- /dev/null +++ b/ftplugin/php.vim @@ -0,0 +1,202 @@ +" File: php.vim +" Description: PHP Integration for VIM plugin +" This file is a considerable fork of the original +" PDV written by Tobias Schlitt . +" Maintainer: Steve Francia +" Version: 0.9 +" Last Change: 7th January 2012 +" +" +" Section: script init stuff {{{1 +if exists("loaded_piv") + finish +endif +let loaded_piv = 1 + +" +" Function: s:InitVariable() function {{{2 +" This function is used to initialise a given variable to a given value. The +" variable is only initialised if it does not exist prior +" +" Args: +" -var: the name of the var to be initialised +" -value: the value to initialise var to +" +" Returns: +" 1 if the var is set, 0 otherwise +function s:InitVariable(var, value) + if !exists(a:var) + exec 'let ' . a:var . ' = ' . "'" . a:value . "'" + return 1 + endif + return 0 +endfunction + + +" {{{ Settings +" First the global PHP configuration +let php_sql_query=1 " to highlight SQL syntax in strings +let php_htmlInStrings=1 " to highlight HTML in string +let php_noShortTags = 1 " to disable short tags +let php_folding = 1 "to enable folding for classes and functions +let PHP_autoformatcomment = 1 +let php_sync_method = -1 + +" Section: variable init calls {{{2 +call s:InitVariable("g:load_doxygen_syntax", 1) +call s:InitVariable("g:syntax_extra_php", 'doxygen') +call s:InitVariable("g:syntax_extra_inc", 'doxygen') +call s:InitVariable("g:PIVCreateDefaultMappings", 1) +call s:InitVariable("g:PIVPearStyle", 0) +call s:InitVariable("g:PIVAutoClose", 0) + +" Auto expand tabs to spaces +setlocal expandtab +setlocal autoindent " Auto indent after a { +setlocal smartindent + +" Linewidth to 79, because of the formatoptions this is only valid for +" comments +setlocal textwidth=79 + +setlocal nowrap " Do not wrap lines automatically + +" Correct indentation after opening a phpdocblock and automatic * on every +" line +setlocal formatoptions=qroct + +" Use php syntax check when doing :make +setlocal makeprg=php\ -l\ % + +" Use errorformat for parsing PHP error output +setlocal errorformat=%m\ in\ %f\ on\ line\ %l + +" Switch syntax highlighting on, if it was not +if !exists("g:syntax_on") | syntax on | endif + +"setlocal keywordprg=pman " Use pman for manual pages + +" }}} Settings + +" {{{ Command mappings +nnoremap PIVphpDocSingle :call PhpDocSingle() +vnoremap PIVphpDocRange :call PhpDocRange() +vnoremap PIVphpAlign :call PhpAlign() +"inoremap d :call PhpDocSingle()i + +" Map ; to "add ; to the end of the line, when missing" +"noremap ; :s/\([^;]\)$/\1;/ + +" Map +p to single line mode documentation (in insert and command mode) +"inoremap d :call PhpDocSingle()i +"nnoremap d :call PhpDocSingle() +" Map +p to multi line mode documentation (in visual mode) +"vnoremap d :call PhpDocRange() + +" Map -H to search phpm for the function name currently under the cursor (insert mode only) +inoremap :!phpm =expand("") + +" }}} + +" {{{ Automatic close char mapping +if g:PIVAutoClose + if g:PIVPearStyle + inoremap { {}O + inoremap ( ( ) + else + inoremap { {}O + inoremap ( () + endif + + inoremap [ [] + inoremap " "" + inoremap ' '' +endif +" }}} Automatic close char mapping + + +" {{{ Wrap visual selections with chars + +vnoremap ( "zdi(z) +vnoremap { "zdi{z} +vnoremap [ "zdi[z] +vnoremap ' "zdi'z' +" Removed in favor of register addressing +" :vnoremap " "zdi"z" + +" }}} Wrap visual selections with chars + +" {{{ Dictionary completion +setlocal dictionary-=$VIMRUNTIME/bundle/PIV/misc/funclist.txt dictionary+=$VIMRUNTIME/bundle/PIV/misc/funclist.txt + +" Use the dictionary completion +setlocal complete-=k complete+=k + +" }}} Dictionary completion + +" {{{ Alignment + +func! PhpAlign() range + let l:paste = &g:paste + let &g:paste = 0 + + let l:line = a:firstline + let l:endline = a:lastline + let l:maxlength = 0 + while l:line <= l:endline + " Skip comment lines + if getline (l:line) =~ '^\s*\/\/.*$' + let l:line = l:line + 1 + continue + endif + " \{-\} matches ungreed * + let l:index = substitute (getline (l:line), '^\s*\(.\{-\}\)\s*\S\{0,1}=\S\{0,1\}\s.*$', '\1', "") + let l:indexlength = strlen (l:index) + let l:maxlength = l:indexlength > l:maxlength ? l:indexlength : l:maxlength + let l:line = l:line + 1 + endwhile + + let l:line = a:firstline + let l:format = "%s%-" . l:maxlength . "s %s %s" + + while l:line <= l:endline + if getline (l:line) =~ '^\s*\/\/.*$' + let l:line = l:line + 1 + continue + endif + let l:linestart = substitute (getline (l:line), '^\(\s*\).*', '\1', "") + let l:linekey = substitute (getline (l:line), '^\s*\(.\{-\}\)\s*\(\S\{0,1}=\S\{0,1\}\)\s\(.*\)$', '\1', "") + let l:linesep = substitute (getline (l:line), '^\s*\(.\{-\}\)\s*\(\S\{0,1}=\S\{0,1\}\)\s\(.*\)$', '\2', "") + let l:linevalue = substitute (getline (l:line), '^\s*\(.\{-\}\)\s*\(\S\{0,1}=\S\{0,1\}\)\s\(.*\)$', '\3', "") + + let l:newline = printf (l:format, l:linestart, l:linekey, l:linesep, l:linevalue) + call setline (l:line, l:newline) + let l:line = l:line + 1 + endwhile + let &g:paste = l:paste +endfunc + +" }}} + +function! s:CreateNMap(target, combo) + if !hasmapto(a:target, 'n') + exec 'nmap ' . a:combo . ' ' . a:target + endif +endfunction + +function! s:CreateVMap(target, combo) + if !hasmapto(a:target, 'v') + exec 'vmap ' . a:combo . ' ' . a:target + endif +endfunction + +function! s:CreateMaps(target, combo) + call s:CreateNMap(a:target,a:combo) + call s:CreateVMap(a:target,a:combo) +endfunction + +if g:PIVCreateDefaultMappings + call s:CreateNMap('PIVphpDocSingle', ',pd') + call s:CreateVMap('PIVphpDocRange', ',pd') + call s:CreateMaps('PIVphpAlign ', ',pa') +endif diff --git a/ftplugin/php/doc.vim b/ftplugin/php/doc.vim new file mode 100644 index 0000000..0137d68 --- /dev/null +++ b/ftplugin/php/doc.vim @@ -0,0 +1,547 @@ +" PDV (phpDocumentor for Vim) +" =========================== +" +" Version: 1.1.3 +" +" Copyright 2005 by Tobias Schlitt +" Inspired by phpDoc script for Vim by Vidyut Luther (http://www.phpcult.com/). +" + +" modified by kevin olson (acidjazz@gmail.com) - 03/19/2009 +" - added folding support +" +" Provided under the GPL (http://www.gnu.org/copyleft/gpl.html). +" +" This script provides functions to generate phpDocumentor conform +" documentation blocks for your PHP code. The script currently +" documents: +" +" - Classes +" - Methods/Functions +" - Attributes +" +" All of those supporting all PHP 4 and 5 syntax elements. +" +" Beside that it allows you to define default values for phpDocumentor tags +" like @version (I use $id$ here), @author, @license and so on. +" +" For function/method parameters and attributes, the script tries to guess the +" type as good as possible from PHP5 type hints or default values (array, bool, +" int, string...). +" +" You can use this script by mapping the function PhpDoc() to any +" key combination. Hit this on the line where the element to document +" resides and the doc block will be created directly above that line. +" +" Installation +" ============ +" +" For example include into your .vimrc: +" +" source ~/.vim/php-doc.vim +" imap :set paste:call PhpDoc():set nopastei +" +" This includes the script and maps the combination +o (only in +" insert mode) to the doc function. +" +" Changelog +" ========= +" +" Version 1.0.0 +" ------------- +" +" * Created the initial version of this script while playing around with VIM +" scripting the first time and trying to fix Vidyut's solution, which +" resulted in a complete rewrite. +" +" Version 1.0.1 +" ------------- +" * Fixed issues when using tabs instead of spaces. +" * Fixed some parsing bugs when using a different coding style. +" * Fixed bug with call-by-reference parameters. +" * ATTENTION: This version already has code for the next version 1.1.0, +" which is propably not working! +" +" Version 1.1.0 (preview) +" ------------- +" * Added foldmarker generation. +" + +" Version 1.1.2 +" ------------- +" * Completed foldmarker commenting for functions +" + + + +if has ("user_commands") + +" {{{ Globals + +" After phpDoc standard +let g:pdv_cfg_CommentHead = "/**" +let g:pdv_cfg_Comment1 = " * " +let g:pdv_cfg_Commentn = " * " +let g:pdv_cfg_CommentTail = " */" +let g:pdv_cfg_CommentEnd = "/* }}} */" +let g:pdv_cfg_CommentSingle = "//" + +" Default values +let g:pdv_cfg_Type = "mixed" +" let g:pdv_cfg_Package = "Framework" +let g:pdv_cfg_Package = "Webdav" +let g:pdv_cfg_Version = "//autogen//" +let g:pdv_cfg_Author = "" +let g:pdv_cfg_Copyright = "Copyright (c) 2010 All rights reserved." +let g:pdv_cfg_License = "PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}" + +let g:pdv_cfg_ReturnVal = "void" + +" Whether to create @uses tags for implementation of interfaces and inheritance +let g:pdv_cfg_Uses = 1 + +" Options +" :set paste before documenting (1|0)? Recommended. +let g:pdv_cfg_paste = 1 + +" Whether for PHP5 code PHP4 tags should be set, like @access,... (1|0)? +let g:pdv_cfg_php4always = 1 + +" Whether to guess scopes after PEAR coding standards: +" $_foo/_bar() == (1|0)? +let g:pdv_cfg_php4guess = 1 + +" If you selected 1 for the last value, this scope identifier will be used for +" the identifiers having an _ in the first place. +let g:pdv_cfg_php4guessval = "protected" + +" +" Regular expressions +" + +let g:pdv_re_comment = ' *\*/ *' + +" (private|protected|public) +let g:pdv_re_scope = '\(private\|protected\|public\)' +" (static) +let g:pdv_re_static = '\(static\)' +" (abstract) +let g:pdv_re_abstract = '\(abstract\)' +" (final) +let g:pdv_re_final = '\(final\)' + +" [:space:]*(private|protected|public|static|abstract)*[:space:]+[:identifier:]+\([:params:]\) +let g:pdv_re_func = '^\s*\([a-zA-Z ]*\)function\s\+\([^ (]\+\)\s*(\s*\(.*\)\s*)\s*[{;]\?$' +let g:pdv_re_funcend = '^\s*}$' +" [:typehint:]*[:space:]*$[:identifier]\([:space:]*=[:space:]*[:value:]\)? +let g:pdv_re_param = ' *\([^ &]*\) *&\?\$\([A-Za-z_][A-Za-z0-9_]*\) *=\? *\(.*\)\?$' + +" [:space:]*(private|protected|public\)[:space:]*$[:identifier:]+\([:space:]*=[:space:]*[:value:]+\)*; +let g:pdv_re_attribute = '^\s*\(\(private\|public\|protected\|var\|static\)\+\)\s*\$\([^ ;=]\+\)[ =]*\(.*\);\?$' + +" [:spacce:]*(abstract|final|)[:space:]*(class|interface)+[:space:]+\(extends ([:identifier:])\)?[:space:]*\(implements ([:identifier:][, ]*)+\)? +let g:pdv_re_class = '^\s*\([a-zA-Z]*\)\s*\(interface\|class\)\s*\([^ ]\+\)\s*\(extends\)\?\s*\([a-zA-Z0-9]*\)\?\s*\(implements*\)\? *\([a-zA-Z0-9_ ,]*\)\?.*$' + +let g:pdv_re_array = "^array *(.*" +let g:pdv_re_float = '^[0-9.]\+' +let g:pdv_re_int = '^[0-9]\+$' +let g:pdv_re_string = "['\"].*" +let g:pdv_re_bool = "[true false]" + +let g:pdv_re_indent = '^\s*' + +" Shortcuts for editing the text: +let g:pdv_cfg_BOL = "norm! o" +let g:pdv_cfg_EOL = "" + +" }}} + + " {{{ PhpDocSingle() + " Document a single line of code ( does not check if doc block already exists ) + +func! PhpDocSingle() + let l:endline = line(".") + 1 + call PhpDoc() + exe "norm! " . l:endline . "G$" +endfunc + +" }}} + " {{{ PhpDocRange() + " Documents a whole range of code lines ( does not add defualt doc block to + " unknown types of lines ). Skips elements where a docblock is already + " present. +func! PhpDocRange() range + let l:line = a:firstline + let l:endLine = a:lastline + let l:elementName = "" + while l:line <= l:endLine + " TODO: Replace regex check for existing doc with check more lines + " above... + if (getline(l:line) =~ g:pdv_re_func || getline(l:line) =~ g:pdv_re_attribute || getline(l:line) =~ g:pdv_re_class) && getline(l:line - 1) !~ g:pdv_re_comment + let l:docLines = 0 + " Ensure we are on the correct line to run PhpDoc() + exe "norm! " . l:line . "G$" + " No matter what, this returns the element name + let l:elementName = PhpDoc() + let l:endLine = l:endLine + (line(".") - l:line) + 1 + let l:line = line(".") + 1 + endif + let l:line = l:line + 1 + endwhile +endfunc + + " }}} +" {{{ PhpDocFold() + +" func! PhpDocFold(name) +" let l:startline = line(".") +" let l:currentLine = l:startLine +" let l:commentHead = escape(g:pdv_cfg_CommentHead, "*."); +" let l:txtBOL = g:pdv_cfg_BOL . matchstr(l:name, '^\s*') +" " Search above for comment start +" while (l:currentLine > 1) +" if (matchstr(l:commentHead, getline(l:currentLine))) +" break; +" endif +" let l:currentLine = l:currentLine + 1 +" endwhile +" " Goto 1 line above and open a newline +" exe "norm! " . (l:currentLine - 1) . "Go\" +" " Write the fold comment +" exe l:txtBOL . g:pdv_cfg_CommentSingle . " {"."{{ " . a:name . g:pdv_cfg_EOL +" " Add another newline below that +" exe "norm! o\" +" " Search for our comment line +" let l:currentLine = line(".") +" while (l:currentLine <= line("$")) +" " HERE!!!! +" endwhile +" +" +" endfunc + + +" }}} + +" {{{ PhpDoc() + +func! PhpDoc() + " Needed for my .vimrc: Switch off all other enhancements while generating docs + let l:paste = &g:paste + let &g:paste = g:pdv_cfg_paste == 1 ? 1 : &g:paste + + let l:line = getline(".") + let l:result = "" + + if l:line =~ g:pdv_re_func + let l:result = PhpDocFunc() + + elseif l:line =~ g:pdv_re_funcend + let l:result = PhpDocFuncEnd() + + elseif l:line =~ g:pdv_re_attribute + let l:result = PhpDocVar() + + elseif l:line =~ g:pdv_re_class + let l:result = PhpDocClass() + + else + let l:result = PhpDocDefault() + + endif + +" if g:pdv_cfg_folds == 1 +" PhpDocFolds(l:result) +" endif + + let &g:paste = l:paste + + return l:result +endfunc + +" }}} + +" {{{ PhpDocFuncEnd() +func! PhpDocFuncEnd() + + call append(line('.'), matchstr(getline('.'), '^\s*') . g:pdv_cfg_CommentEnd) +endfunc +" }}} +" {{{ PhpDocFuncEndAuto() +func! PhpDocFuncEndAuto() + + + call search('{') + call searchpair('{', '', '}') + call append(line('.'), matchstr(getline('.'), '^\s*') . g:pdv_cfg_CommentEnd) + +endfunc +" }}} + +" {{{ PhpDocFunc() + +func! PhpDocFunc() + " Line for the comment to begin + let commentline = line (".") - 1 + + let l:name = substitute (getline ("."), '^\(.*\)\/\/.*$', '\1', "") + + "exe g:pdv_cfg_BOL . "DEBUG:" . name. g:pdv_cfg_EOL + + " First some things to make it more easy for us: + " tab -> space && space+ -> space + " let l:name = substitute (l:name, '\t', ' ', "") + " Orphan. We're now using \s everywhere... + + " Now we have to split DECL in three parts: + " \[(skopemodifier\)]\(funcname\)\(parameters\) + let l:indent = matchstr(l:name, g:pdv_re_indent) + + let l:modifier = substitute (l:name, g:pdv_re_func, '\1', "g") + let l:funcname = substitute (l:name, g:pdv_re_func, '\2', "g") + let l:parameters = substitute (l:name, g:pdv_re_func, '\3', "g") . "," + let l:params = substitute (l:name, g:pdv_re_func, '\3', "g") + let l:sparams = substitute (l:params, '[$ ]', '', "g") + let l:scope = PhpDocScope(l:modifier, l:funcname) + let l:static = g:pdv_cfg_php4always == 1 ? matchstr(l:modifier, g:pdv_re_static) : "" + let l:abstract = g:pdv_cfg_php4always == 1 ? matchstr(l:modifier, g:pdv_re_abstract) : "" + let l:final = g:pdv_cfg_php4always == 1 ? matchstr(l:modifier, g:pdv_re_final) : "" + + exe "norm! " . commentline . "G$" + + " Local indent + let l:txtBOL = g:pdv_cfg_BOL . l:indent + + exec l:txtBOL . "/* " . l:scope ." ". funcname . "(" . l:params . ") {{" . "{ */ " . g:pdv_cfg_EOL + + exe l:txtBOL . g:pdv_cfg_CommentHead . g:pdv_cfg_EOL + " added folding + exe l:txtBOL . g:pdv_cfg_Comment1 . funcname . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . g:pdv_cfg_EOL + + while (l:parameters != ",") && (l:parameters != "") + " Save 1st parameter + let _p = substitute (l:parameters, '\([^,]*\) *, *\(.*\)', '\1', "") + " Remove this one from list + let l:parameters = substitute (l:parameters, '\([^,]*\) *, *\(.*\)', '\2', "") + " PHP5 type hint? + let l:paramtype = substitute (_p, g:pdv_re_param, '\1', "") + " Parameter name + let l:paramname = substitute (_p, g:pdv_re_param, '\2', "") + " Parameter default + let l:paramdefault = substitute (_p, g:pdv_re_param, '\3', "") + + if l:paramtype == "" + let l:paramtype = PhpDocType(l:paramdefault) + endif + + if l:paramtype != "" + let l:paramtype = " " . l:paramtype + endif + exe l:txtBOL . g:pdv_cfg_Commentn . "@param" . l:paramtype . " $" . l:paramname . " " . g:pdv_cfg_EOL + endwhile + + if l:static != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@static" . g:pdv_cfg_EOL + endif + if l:abstract != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@abstract" . g:pdv_cfg_EOL + endif + if l:final != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@final" . g:pdv_cfg_EOL + endif + if l:scope != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@access " . l:scope . g:pdv_cfg_EOL + endif + exe l:txtBOL . g:pdv_cfg_Commentn . "@return " . g:pdv_cfg_ReturnVal . g:pdv_cfg_EOL + + " Close the comment block. + exe l:txtBOL . g:pdv_cfg_CommentTail . g:pdv_cfg_EOL + + return l:modifier ." ". l:funcname . PhpDocFuncEndAuto() +endfunc + +" }}} + " {{{ PhpDocVar() + +func! PhpDocVar() + " Line for the comment to begin + let commentline = line (".") - 1 + + let l:name = substitute (getline ("."), '^\(.*\)\/\/.*$', '\1', "") + + " Now we have to split DECL in three parts: + " \[(skopemodifier\)]\(funcname\)\(parameters\) + " let l:name = substitute (l:name, '\t', ' ', "") + " Orphan. We're now using \s everywhere... + + let l:indent = matchstr(l:name, g:pdv_re_indent) + + let l:modifier = substitute (l:name, g:pdv_re_attribute, '\1', "g") + let l:varname = substitute (l:name, g:pdv_re_attribute, '\3', "g") + let l:default = substitute (l:name, g:pdv_re_attribute, '\4', "g") + let l:scope = PhpDocScope(l:modifier, l:varname) + + let l:static = g:pdv_cfg_php4always == 1 ? matchstr(l:modifier, g:pdv_re_static) : "" + + let l:type = PhpDocType(l:default) + + exe "norm! " . commentline . "G$" + + " Local indent + let l:txtBOL = g:pdv_cfg_BOL . l:indent + + exe l:txtBOL . g:pdv_cfg_CommentHead . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Comment1 . l:varname . " " . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . g:pdv_cfg_EOL + if l:static != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@static" . g:pdv_cfg_EOL + endif + exe l:txtBOL . g:pdv_cfg_Commentn . "@var " . l:type . g:pdv_cfg_EOL + if l:scope != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@access " . l:scope . g:pdv_cfg_EOL + endif + + " Close the comment block. + exe l:txtBOL . g:pdv_cfg_CommentTail . g:pdv_cfg_EOL + return l:modifier ." ". l:varname +endfunc + +" }}} +" {{{ PhpDocClass() + +func! PhpDocClass() + " Line for the comment to begin + let commentline = line (".") - 1 + + let l:name = substitute (getline ("."), '^\(.*\)\/\/.*$', '\1', "") + + "exe g:pdv_cfg_BOL . "DEBUG:" . name. g:pdv_cfg_EOL + + " First some things to make it more easy for us: + " tab -> space && space+ -> space + " let l:name = substitute (l:name, '\t', ' ', "") + " Orphan. We're now using \s everywhere... + + " Now we have to split DECL in three parts: + " \[(skopemodifier\)]\(classname\)\(parameters\) + let l:indent = matchstr(l:name, g:pdv_re_indent) + + let l:modifier = substitute (l:name, g:pdv_re_class, '\1', "g") + let l:classname = substitute (l:name, g:pdv_re_class, '\3', "g") + let l:extends = g:pdv_cfg_Uses == 1 ? substitute (l:name, g:pdv_re_class, '\5', "g") : "" + let l:interfaces = g:pdv_cfg_Uses == 1 ? substitute (l:name, g:pdv_re_class, '\7', "g") . "," : "" + + let l:abstract = g:pdv_cfg_php4always == 1 ? matchstr(l:modifier, g:pdv_re_abstract) : "" + let l:final = g:pdv_cfg_php4always == 1 ? matchstr(l:modifier, g:pdv_re_final) : "" + + exe "norm! " . commentline . "G$" + + " Local indent + let l:txtBOL = g:pdv_cfg_BOL . l:indent + + exe l:txtBOL . g:pdv_cfg_CommentHead . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Comment1 . l:classname . " " . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . g:pdv_cfg_EOL + if l:extends != "" && l:extends != "implements" + exe l:txtBOL . g:pdv_cfg_Commentn . "@uses " . l:extends . g:pdv_cfg_EOL + endif + + while (l:interfaces != ",") && (l:interfaces != "") + " Save 1st parameter + let interface = substitute (l:interfaces, '\([^, ]*\) *, *\(.*\)', '\1', "") + " Remove this one from list + let l:interfaces = substitute (l:interfaces, '\([^, ]*\) *, *\(.*\)', '\2', "") + exe l:txtBOL . g:pdv_cfg_Commentn . "@uses " . l:interface . g:pdv_cfg_EOL + endwhile + + if l:abstract != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@abstract" . g:pdv_cfg_EOL + endif + if l:final != "" + exe l:txtBOL . g:pdv_cfg_Commentn . "@final" . g:pdv_cfg_EOL + endif + exe l:txtBOL . g:pdv_cfg_Commentn . "@package " . g:pdv_cfg_Package . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . "@version " . g:pdv_cfg_Version . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . "@copyright " . g:pdv_cfg_Copyright . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . "@author " . g:pdv_cfg_Author g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . "@license " . g:pdv_cfg_License . g:pdv_cfg_EOL + + " Close the comment block. + exe l:txtBOL . g:pdv_cfg_CommentTail . g:pdv_cfg_EOL + return l:modifier ." ". l:classname +endfunc + +" }}} +" {{{ PhpDocScope() + +func! PhpDocScope(modifiers, identifier) +" exe g:pdv_cfg_BOL . DEBUG: . a:modifiers . g:pdv_cfg_EOL + let l:scope = "" + if matchstr (a:modifiers, g:pdv_re_scope) != "" + if g:pdv_cfg_php4always == 1 + let l:scope = matchstr (a:modifiers, g:pdv_re_scope) + else + let l:scope = "x" + endif + endif + if l:scope =~ "^\s*$" && g:pdv_cfg_php4guess + if a:identifier[0] == "_" + let l:scope = g:pdv_cfg_php4guessval + else + let l:scope = "public" + endif + endif + return l:scope != "x" ? l:scope : "" +endfunc + +" }}} +" {{{ PhpDocType() + +func! PhpDocType(typeString) + let l:type = "" + if a:typeString =~ g:pdv_re_array + let l:type = "array" + endif + if a:typeString =~ g:pdv_re_float + let l:type = "float" + endif + if a:typeString =~ g:pdv_re_int + let l:type = "int" + endif + if a:typeString =~ g:pdv_re_string + let l:type = "string" + endif + if a:typeString =~ g:pdv_re_bool + let l:type = "bool" + endif + if l:type == "" + let l:type = g:pdv_cfg_Type + endif + return l:type +endfunc + +" }}} +" {{{ PhpDocDefault() + +func! PhpDocDefault() + " Line for the comment to begin + let commentline = line (".") - 1 + + let l:indent = matchstr(getline("."), '^\ *') + + exe "norm! " . commentline . "G$" + + " Local indent + let l:txtBOL = g:pdv_cfg_BOL . indent + + exe l:txtBOL . g:pdv_cfg_CommentHead . g:pdv_cfg_EOL + exe l:txtBOL . g:pdv_cfg_Commentn . " " . g:pdv_cfg_EOL + + " Close the comment block. + exe l:txtBOL . g:pdv_cfg_CommentTail . g:pdv_cfg_EOL +endfunc + +" }}} + +endif " user_commands diff --git a/indent/php.vim b/indent/php.vim new file mode 100644 index 0000000..6286c6b --- /dev/null +++ b/indent/php.vim @@ -0,0 +1,1269 @@ +" Vim indent file +" Language: PHP +" Author: John Wellesz +" URL: http://www.2072productions.com/vim/indent/php.vim +" Last Change: 2010 July 26th +" Newsletter: http://www.2072productions.com/?to=php-indent-for-vim-newsletter.php +" Version: 1.33 +" +" +" Changes: 1.33 - Rewrote Switch(){case:default:} handling from +" scratch in a simpler more logical and infallible way... +" - Removed PHP_ANSI_indenting which is no longer +" needed. +" +" +" Changes: 1.32b - Added PHP_ANSI_indenting and PHP_outdentphpescape +" options details to VIm documentation (:help php-indent). +" +" +" Changes: 1.32 - Added a new option: PHP_ANSI_indenting +" +" +" Changes: 1.31a - Added a new option: PHP_outdentphpescape to indent +" PHP tags as the surrounding code. +" +" Changes: 1.30 - Fixed empty case/default indentation again :/ +" - The ResetOptions() function will be called each time +" the ftplugin calls this script, previously it was +" executed on BufWinEnter and Syntax events. +" +" +" Changes: 1.29 - Fixed php file detection for ResetOptions() used for +" comments formatting. It now uses the same tests as +" filetype.vim. ResetOptions() will be correctly +" called for *.phtml, *.ctp and *.inc files. +" +" +" Changes: 1.28 - End HEREDOC delimiters were not considered as such +" if they were not followed by a ';'. +" - Added support for NOWDOC tags ($foo = <<<'bar') +" +" +" Changes: 1.27 - if a "case" was preceded by another "case" on the +" previous line, the second "case" was indented incorrectly. +" +" Changes: 1.26 - '/*' character sequences found on a line +" starting by a '#' were not dismissed by the indenting algorithm +" and could cause indentation problem in some cases. +" +" +" Changes: 1.25 - Fix some indentation errors on multi line conditions +" and multi line statements. +" - Fix when array indenting is broken and a closing +" ');' is placed at the start of the line, following +" lines will be indented correctly. +" - New option: PHP_vintage_case_default_indent (default off) +" - Minor fixes and optimizations. +" +" +" Changes: 1.24 - Added compatibility with the latest version of +" php.vim syntax file by Peter Hodge (http://www.vim.org/scripts/script.php?script_id=1571) +" This fixes wrong indentation and ultra-slow indenting +" on large php files... +" - Fixed spelling in comments. +" +" +" Changes: 1.23 - html tag was preceded by a "?>" it wasn't indented. +" - Some other minor corrections and improvements. +" +" +" Changes: 1.16 - Now starting and ending '*' of multiline '/* */' comments are aligned +" on the '*' of the '/*' comment starter. +" - Some code improvements that make indentation faster. +" +" Changes: 1.15 - Corrected some problems with the indentation of +" multiline "array()" declarations. +" +" Changes: 1.14 - Added auto-formatting for comments (using the Vim option formatoptions=qroc). +" - Added the script option PHP_BracesAtCodeLevel to +" indent the '{' and '}' at the same level than the +" code they contain. +" +" Changes: 1.13 - Some code cleaning and typo corrections (Thanks to +" Emanuele Giaquinta for his patches) +" +" Changes: 1.12 - The bug involving searchpair() and utf-8 encoding in Vim 6.3 will +" not make this script to hang but you'll have to be +" careful to not write '/* */' comments with other '/*' +" inside the comments else the indentation won't be correct. +" NOTE: This is true only if you are using utf-8 and vim 6.3. +" +" Changes: 1.11 - If the "case" of a "switch" wasn't alone on its line +" and if the "switch" was at col 0 (or at default indenting) +" the lines following the "case" were not indented. +" +" Changes: 1.10 - Lines beginning by a single or double quote were +" not indented in some cases. +" +" Changes: 1.09 - JavaScript code was not always directly indented. +" +" Changes: 1.08 - End comment tags '*/' are indented like start tags '/*'. +" - When typing a multiline comment, '}' are indented +" according to other commented '{'. +" - Added a new option 'PHP_removeCRwhenUnix' to +" automatically remove CR at end of lines when the file +" format is Unix. +" - Changed the file format of this very file to Unix. +" - This version seems to correct several issues some people +" had with 1.07. +" +" Changes: 1.07 - Added support for "Here document" tags: +" - HereDoc end tags are indented properly. +" - HereDoc content remains unchanged. +" - All the code that is outside PHP delimiters remains +" unchanged. +" - New feature: The content of html tags is considered as PHP +" and indented according to the surrounding PHP code. +" - "else if" are detected as "elseif". +" - Multiline /**/ are indented when the user types it but +" remain unchanged when indenting from their beginning. +" - Fixed indenting of // and # comments. +" - php_sync_method option is set to 0 (fromstart). +" This is required for complex PHP scripts else the indent +" may fail. +" - Files with non PHP code at the beginning could alter the indent +" of the following PHP code. +" - Other minor improvements and corrections. +" +" Changes: 1.06: - Switch block were no longer indented correctly... +" - Added an option to use a default indenting instead of 0. +" (whereas I still can't find any good reason to use it!) +" - A problem with ^\s*);\= lines where ending a non '{}' +" structure. +" - Changed script local variable to be buffer local +" variable instead. +" +" Changes: 1.05: - Lines containing "" and "?> ,=?>,=\)\@!\|]*>\%(.*<\/script>\)\@!' +"setlocal debug=msg " XXX -- do not comment this line when modifying this file + + +function! GetLastRealCodeLNum(startline) " {{{ + "Inspired from the function SkipJavaBlanksAndComments by Toby Allsopp for indent/java.vim + + let lnum = a:startline + + " Used to indent html tag correctly + if b:GetLastRealCodeLNum_ADD && b:GetLastRealCodeLNum_ADD == lnum + 1 + let lnum = b:GetLastRealCodeLNum_ADD + endif + + let old_lnum = lnum + + while lnum > 1 + let lnum = prevnonblank(lnum) + let lastline = getline(lnum) + + " if we are inside an html ' + let b:InPHPcode = 0 + let b:InPHPcode_tofind = s:PHP_startindenttag + " Note that b:InPHPcode_and_script is still true so that the + " can be indented correctly + endif + endif " }}} + + + " Non PHP code is let as it is + if !b:InPHPcode && !b:InPHPcode_and_script + return -1 + endif + + " Align correctly multi // or # lines + " Indent successive // or # comment the same way the first is {{{ + if cline =~ '^\s*\%(//\|#\|/\*.*\*/\s*$\)' + if b:PHP_LastIndentedWasComment == 1 + return indent(real_PHP_lastindented) + endif + let b:PHP_LastIndentedWasComment = 1 + else + let b:PHP_LastIndentedWasComment = 0 + endif " }}} + + " Indent multiline /* comments correctly {{{ + + "if we are on the start of a MULTI * beginning comment or if the user is + "currently typing a /* beginning comment. + if b:PHP_InsideMultilineComment || b:UserIsTypingComment + if cline =~ '^\s*\*\%(\/\)\@!' + " if cline == '*' + if last_line =~ '^\s*/\*' + " if last_line == '/*' + return indent(lnum) + 1 + else + return indent(lnum) + endif + else + let b:PHP_InsideMultilineComment = 0 + endif + endif + + if !b:PHP_InsideMultilineComment && cline =~ '^\s*/\*' && cline !~ '\*/\s*$' + " if cline == '/*' and doesn't end with '*/' + if getline(v:lnum + 1) !~ '^\s*\*' + return -1 + endif + let b:PHP_InsideMultilineComment = 1 + endif " }}} + + " Some tags are always indented to col 1 + + " Things always indented at col 1 (PHP delimiter: , Heredoc end) {{{ + " PHP start tags are always at col 1, useless to indent unless the end tag + " is on the same line + if cline =~# '^\s*' && b:PHP_outdentphpescape + return 0 + endif + + " PHP end tags are always at col 1, useless to indent unless if it's + " followed by a start tag on the same line + if cline =~ '^\s*?>' && cline !~# '\)\=\|<<<''\=\a\w*''\=$\|^\s*}\)'.endline + " What is a terminated line? + " - a line terminated by a ";" optionally followed by a "?>" + " - a HEREDOC starter line (the content of such block is never seen by this script) + " - a "}" not followed by a "{" + + let unstated = '\%(^\s*'.s:blockstart.'.*)\|\%(//.*\)\@\)'.endline + " What is an unstated line? + " - an "else" at the end of line + " - a s:blockstart (if while etc...) followed by anything but a ";" at + " the end of line + + " if the current line is an 'else' starting line + " (to match an 'else' preceded by a '}' is irrelevant and futile - see + " code above) + if ind != b:PHP_default_indenting && cline =~# '^\s*else\%(if\)\=\>' + " prevent optimized to work at next call XXX why ? + let b:PHP_CurrentIndentLevel = b:PHP_default_indenting + return indent(FindTheIfOfAnElse(v:lnum, 1)) + elseif cline =~# s:defaultORcase + " case and default need a special treatment + return FindTheSwitchIndent(v:lnum) + &sw * b:PHP_vintage_case_default_indent + elseif cline =~ '^\s*)\=\s*{' + let previous_line = last_line + let last_line_num = lnum + + " let's find the indent of the block starter (if, while, for, etc...) + while last_line_num > 1 + + if previous_line =~ '^\s*\%(' . s:blockstart . '\|\%([a-zA-Z]\s*\)*function\)' + + let ind = indent(last_line_num) + + " If the PHP_BracesAtCodeLevel is set then indent the '{' + if b:PHP_BracesAtCodeLevel + let ind = ind + &sw + endif + + return ind + endif + + let last_line_num = last_line_num - 1 + let previous_line = getline(last_line_num) + endwhile + + elseif last_line =~# unstated && cline !~ '^\s*);\='.endline + let ind = ind + &sw " we indent one level further when the preceding line is not stated + "echo "42" + "call getchar() + return ind + + " If the last line is terminated by ';' or if it's a closing '}' + " We need to check if this isn't the end of a multilevel non '{}' + " structure such as: + " Exemple: + " if ($truc) + " echo 'truc'; + " + " OR + " + " if ($truc) + " while ($truc) { + " lkhlkh(); + " echo 'infinite loop\n'; + " } + " + " OR even (ADDED for version 1.17 - no modification required ) + " + " $thing = + " "something"; + elseif (ind != b:PHP_default_indenting || last_line =~ '^)' ) && last_line =~ terminated " Added || last_line =~ '^)' on 2007-12-30 (array indenting problem broke other things) + " If we are here it means that the previous line is: + " - a *;$ line + " - a [beginning-blanck] } followed by anything but a { $ + let previous_line = last_line + let last_line_num = lnum + let LastLineClosed = 1 + " The idea here is to check if the current line is after a non '{}' + " structure so we can indent it like the top of that structure. + " The top of that structure is characterized by a if (ff)$ style line + " preceded by a stated line. If there is no such structure then we + " just have to find two 'normal' lines following each other with the + " same indentation and with the first of these two lines terminated by + " a ; or by a }... + + while 1 + " let's skip '{}' blocks + if previous_line =~ '^\s*}' + " find the opening '{' + let last_line_num = FindOpenBracket(last_line_num) + + " if the '{' is alone on the line get the line before + if getline(last_line_num) =~ '^\s*{' + let last_line_num = GetLastRealCodeLNum(last_line_num - 1) + endif + + let previous_line = getline(last_line_num) + + continue + else + " At this point we know that the previous_line isn't a closing + " '}' so we can check if we really are in such a structure. + + " it's not a '}' but it could be an else alone... + if getline(last_line_num) =~# '^\s*else\%(if\)\=\>' + let last_line_num = FindTheIfOfAnElse(last_line_num, 0) + " re-run the loop (we could find a '}' again) + continue + endif + + " So now it's ok we can check :-) + " A good quality is to have confidence in oneself so to know + " if yes or no we are in that struct lets test the indent of + " last_line_num and of last_line_num - 1! + " If those are == then we are almost done. + " + " That isn't sufficient, we need to test how the first of + " these 2 lines ends... + + " Remember the 'topest' line we found so far + let last_match = last_line_num + + let one_ahead_indent = indent(last_line_num) + let last_line_num = GetLastRealCodeLNum(last_line_num - 1) + let two_ahead_indent = indent(last_line_num) + let after_previous_line = previous_line + let previous_line = getline(last_line_num) + + + " If we find a '{' or a case/default then we are inside that block so lets + " indent properly... Like the line following that block starter + if previous_line =~# s:defaultORcase.'\|{'.endline + break + endif + + " The 3 lines below are not necessary for the script to work + " but it makes it work a little more faster in some (rare) cases. + " We verify if we are at the top of a non '{}' struct. + if after_previous_line=~# '^\s*'.s:blockstart.'.*)'.endline && previous_line =~# '[;}]'.endline + break + endif + + if one_ahead_indent == two_ahead_indent || last_line_num < 1 + " So the previous line and the line before are at the same + " col. Now we just have to check if the line before is a ;$ or [}]$ ended line + " we always check the most ahead line of the 2 lines so + " it's useless to match ')$' since the lines couldn't have + " the same indent... + if previous_line =~# '\%(;\|^\s*}\)'.endline || last_line_num < 1 + break + endif + endif + endif + endwhile + + if indent(last_match) != ind + " let's use the indent of the last line matched by the algorithm above + let ind = indent(last_match) + " line added in version 1.02 to prevent optimized mode + " from acting in some special cases + let b:PHP_CurrentIndentLevel = b:PHP_default_indenting + + return ind + endif + " if nothing was done lets the old script continue + endif + + let plinnum = GetLastRealCodeLNum(lnum - 1) + " previous to last line + let AntepenultimateLine = getline(plinnum) + + " REMOVE comments at end of line before treatment + " the first part of the regex removes // from the end of line when they are + " followed by a number of '"' which is a multiple of 2. The second part + " removes // that are not followed by any '"' + " Sorry for this unreadable thing... + let last_line = substitute(last_line,"\\(//\\|#\\)\\(\\(\\([^\"']*\\([\"']\\)[^\"']*\\5\\)\\+[^\"']*$\\)\\|\\([^\"']*$\\)\\)",'','') + + + if ind == b:PHP_default_indenting + if last_line =~ terminated + let LastLineClosed = 1 + endif + endif + + " Indent blocks enclosed by {} or () (default indenting) + if !LastLineClosed + "echo "start" + "call getchar() + + " the last line isn't a .*; or a }$ line + " Indent correctly multilevel and multiline '(.*)' things + + " if the last line is a [{(]$ or a multiline function call (or array + " declaration) with already one parameter on the opening ( line + if last_line =~# '[{(]'.endline || last_line =~? '\h\w*\s*(.*,$' && AntepenultimateLine !~ '[,(]'.endline + + if !b:PHP_BracesAtCodeLevel || last_line !~# '^\s*{' + let ind = ind + &sw + endif + + " echo "43" + " call getchar() + if b:PHP_BracesAtCodeLevel || b:PHP_vintage_case_default_indent == 1 + " case and default are not indented inside blocks + let b:PHP_CurrentIndentLevel = ind + + return ind + endif + + " If the last line isn't empty and ends with a '),' then check if the + " ')' was opened on the same line, if not it means it closes a + " multiline '(.*)' thing and that the current line need to be + " de-indented one time. + elseif last_line =~ '\S\+\s*),'.endline + call cursor(lnum, 1) + call search('),'.endline, 'W') + let openedparent = searchpair('(', '', ')', 'bW', 'Skippmatch()') + if openedparent != lnum + let ind = indent(openedparent) + endif + + " if the line before starts a block then we need to indent the + " current line. + elseif last_line =~ '^\s*'.s:blockstart + let ind = ind + &sw + + "echo cline. " --test 5-- " . ind + "call getchar() + + " In all other cases if the last line isn't terminated indent 1 + " level higher but only if the last line wasn't already indented + " for the same "code event"/reason. IE: if the antepenultimate line is terminated. + " + " 2nd explanation: + " - Test if the antepenultimate line is terminated or is + " a default/case if yes indent else let since it must have + " been indented correctly already + + "elseif cline !~ '^\s*{' && AntepenultimateLine =~ '\%(;\%(\s*?>\)\=\|<<<\a\w*\|{\|^\s*'.s:blockstart.'.*)\)'.endline.'\|^\s*}\|'.s:defaultORcase + elseif AntepenultimateLine =~ '\%(;\%(\s*?>\)\=\|<<<''\=\a\w*''\=$\|^\s*}\|{\)'.endline . '\|' . s:defaultORcase + let ind = ind + &sw + "echo pline. " --test 2-- " . ind + "call getchar() + endif + + endif + + "echo "end" + "call getchar() + " If the current line closes a multiline function call or array def + if cline =~ '^\s*);\=' + let ind = ind - &sw + endif + + let b:PHP_CurrentIndentLevel = ind + return ind +endfunction + +" vim: set ts=8 sw=4 sts=4: diff --git a/syntax/htmljinja.vim b/syntax/htmljinja.vim new file mode 100644 index 0000000..3f9cba4 --- /dev/null +++ b/syntax/htmljinja.vim @@ -0,0 +1,27 @@ +" Vim syntax file +" Language: Jinja HTML template +" Maintainer: Armin Ronacher +" Last Change: 2007 Apr 8 + +" For version 5.x: Clear all syntax items +" For version 6.x: Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +if !exists("main_syntax") + let main_syntax = 'html' +endif + +if version < 600 + so :p:h/jinja.vim + so :p:h/html.vim +else + runtime! syntax/jinja.vim + runtime! syntax/html.vim + unlet b:current_syntax +endif + +let b:current_syntax = "htmljinja" diff --git a/syntax/jinja.vim b/syntax/jinja.vim new file mode 100644 index 0000000..7704e3a --- /dev/null +++ b/syntax/jinja.vim @@ -0,0 +1,113 @@ +" Vim syntax file +" Language: Jinja template +" Maintainer: Armin Ronacher +" Last Change: 2008 May 9 +" Version: 1.1 +" +" Known Bugs: +" because of odd limitations dicts and the modulo operator +" appear wrong in the template. +" +" Changes: +" +" 2008 May 9: Added support for Jinja2 changes (new keyword rules) + +" For version 5.x: Clear all syntax items +" For version 6.x: Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +syntax case match + +" Jinja template built-in tags and parameters (without filter, macro, is and raw, they +" have special threatment) +syn keyword jinjaStatement containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained and if else in not or recursive as import + +syn keyword jinjaStatement containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained is filter skipwhite nextgroup=jinjaFilter +syn keyword jinjaStatement containedin=jinjaTagBlock contained macro skipwhite nextgroup=jinjaFunction +syn keyword jinjaStatement containedin=jinjaTagBlock contained block skipwhite nextgroup=jinjaBlockName + +" Variable Names +syn match jinjaVariable containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained skipwhite /[a-zA-Z_][a-zA-Z0-9_]*/ +syn keyword jinjaSpecial containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained false true none loop super caller varargs kwargs + +" Filters +syn match jinjaOperator "|" containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained nextgroup=jinjaFilter +syn match jinjaFilter contained skipwhite /[a-zA-Z_][a-zA-Z0-9_]*/ +syn match jinjaFunction contained skipwhite /[a-zA-Z_][a-zA-Z0-9_]*/ +syn match jinjaBlockName contained skipwhite /[a-zA-Z_][a-zA-Z0-9_]*/ + +" Jinja template constants +syn region jinjaString containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained start=/"/ skip=/\\"/ end=/"/ +syn region jinjaString containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained start=/'/ skip=/\\'/ end=/'/ +syn match jinjaNumber containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained /[0-9]\+\(\.[0-9]\+\)\?/ + +" Operators +syn match jinjaOperator containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained /[+\-*\/<>=!,:]/ +syn match jinjaPunctuation containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained /[()\[\]]/ +syn match jinjaOperator containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained /\./ nextgroup=jinjaAttribute +syn match jinjaAttribute contained /[a-zA-Z_][a-zA-Z0-9_]*/ + +" Jinja template tag and variable blocks +syn region jinjaNested matchgroup=jinjaOperator start="(" end=")" transparent display containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained +syn region jinjaNested matchgroup=jinjaOperator start="\[" end="\]" transparent display containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained +syn region jinjaNested matchgroup=jinjaOperator start="{" end="}" transparent display containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained +syn region jinjaTagBlock matchgroup=jinjaTagDelim start=/{%-\?/ end=/-\?%}/ skipwhite containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaRaw,jinjaString,jinjaNested,jinjaComment + +syn region jinjaVarBlock matchgroup=jinjaVarDelim start=/{{-\?/ end=/-\?}}/ containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaRaw,jinjaString,jinjaNested,jinjaComment + +" Jinja template 'raw' tag +syn region jinjaRaw matchgroup=jinjaRawDelim start="{%\s*raw\s*%}" end="{%\s*endraw\s*%}" containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaString,jinjaComment + +" Jinja comments +syn region jinjaComment matchgroup=jinjaCommentDelim start="{#" end="#}" containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaString + +" Block start keywords. A bit tricker. We only highlight at the start of a +" tag block and only if the name is not followed by a comma or equals sign +" which usually means that we have to deal with an assignment. +syn match jinjaStatement containedin=jinjaTagBlock contained skipwhite /\({%-\?\s*\)\@<=\<[a-zA-Z_][a-zA-Z0-9_]*\>\(\s*[,=]\)\@!/ + +" and context modifiers +syn match jinjaStatement containedin=jinjaTagBlock contained /\/ skipwhite + + +" Define the default highlighting. +" For version 5.7 and earlier: only when not done already +" For version 5.8 and later: only when an item doesn't have highlighting yet +if version >= 508 || !exists("did_jinja_syn_inits") + if version < 508 + let did_jinja_syn_inits = 1 + command -nargs=+ HiLink hi link + else + command -nargs=+ HiLink hi def link + endif + + HiLink jinjaPunctuation jinjaOperator + HiLink jinjaAttribute jinjaVariable + HiLink jinjaFunction jinjaFilter + + HiLink jinjaTagDelim jinjaTagBlock + HiLink jinjaVarDelim jinjaVarBlock + HiLink jinjaCommentDelim jinjaComment + HiLink jinjaRawDelim jinja + + HiLink jinjaSpecial Special + HiLink jinjaOperator Normal + HiLink jinjaRaw Normal + HiLink jinjaTagBlock PreProc + HiLink jinjaVarBlock PreProc + HiLink jinjaStatement Statement + HiLink jinjaFilter Function + HiLink jinjaBlockName Function + HiLink jinjaVariable Identifier + HiLink jinjaString Constant + HiLink jinjaNumber Constant + HiLink jinjaComment Comment + + delcommand HiLink +endif + +let b:current_syntax = "jinja" diff --git a/syntax/php.vim b/syntax/php.vim new file mode 100644 index 0000000..f503493 --- /dev/null +++ b/syntax/php.vim @@ -0,0 +1,666 @@ +" Vim syntax file +" Language: PHP 5.3 & up +" Maintainer: Paul Garvin +" Last Change: April 2, 2010 +" URL: +" +" Former Maintainer: Peter Hodge +" Former URL: http://www.vim.org/scripts/script.php?script_id=1571 +" +" Note: All of the switches for VIM 5.X and 6.X compatability were removed. +" DO NOT USE THIS FILE WITH A VERSION OF VIM < 7.0. +" +" Note: If you are using a colour terminal with dark background, you will probably find +" the 'elflord' colorscheme is much better for PHP's syntax than the default +" colourscheme, because elflord's colours will better highlight the break-points +" (Statements) in your code. +" +" Options: php_sql_query = 1 for SQL syntax highlighting inside strings +" php_html_in_strings = 1 for HTML syntax highlighting inside strings +" php_parent_error_close = 1 for highlighting parent error ] or ) +" php_parent_error_open = 1 for skipping an php end tag, +" if there exists an open ( or [ without a closing one +" php_no_shorttags = 1 don't sync as php +" php_folding = 1 for folding classes and functions +" php_sync_method = x +" x=-1 to sync by search ( default ) +" x>0 to sync at least x lines backwards +" x=0 to sync from start +" +" Note: +" Setting php_folding=1 will match a closing } by comparing the indent +" before the class or function keyword with the indent of a matching }. +" Setting php_folding=2 will match all of pairs of {,} ( see known +" bugs ii ) +" +" Known Bugs: +" - setting php_parent_error_close on and php_parent_error_open off +" has these two leaks: +" i) A closing ) or ] inside a string match to the last open ( or [ +" before the string, when the the closing ) or ] is on the same line +" where the string started. In this case a following ) or ] after +" the string would be highlighted as an error, what is incorrect. +" ii) Same problem if you are setting php_folding = 2 with a closing +" } inside an string on the first line of this string. +" +" - A double-quoted string like this: +" "$foo->someVar->someOtherVar->bar" +" will highight '->someOtherVar->bar' as though they will be parsed +" as object member variables, but PHP only recognizes the first +" object member variable ($foo->someVar). +" +" +" +if exists("b:current_syntax") + finish +endif + +if !exists("main_syntax") + let main_syntax = 'php' +endif + +runtime! syntax/html.vim +unlet! b:current_syntax +" HTML syntax file turns on spelling for all top level words, we attempt to turn off +syntax spell default + +" Set sync method if none declared +if !exists("php_sync_method") + if exists("php_minlines") + let php_sync_method=php_minlines + else + let php_sync_method=-1 + endif +endif + +syn cluster htmlPreproc add=phpRegion + +syn include @sqlTop syntax/sql.vim +syn sync clear +unlet! b:current_syntax +syn cluster sqlTop remove=sqlString,sqlComment + +if exists("php_sql_query") + syn cluster phpAddStrings contains=@sqlTop +endif + +if exists("php_html_in_strings") + syn cluster phpAddStrings add=@htmlTop +endif + +syn case match + +" Superglobals +syn keyword phpSuperglobals GLOBALS _GET _POST _REQUEST _FILES _COOKIE _SERVER _SESSION _ENV HTTP_RAW_POST_DATA php_errormsg http_response_header argc argv contained + +" Magic Constants +syn keyword phpMagicConstants __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __METHOD__ __NAMESPACE__ contained + +" $_SERVER Variables +syn keyword phpServerVars GATEWAY_INTERFACE SERVER_NAME SERVER_SOFTWARE SERVER_PROTOCOL REQUEST_METHOD QUERY_STRING DOCUMENT_ROOT HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ENCODING HTTP_ACCEPT_LANGUAGE HTTP_CONNECTION HTTP_HOST HTTP_REFERER HTTP_USER_AGENT REMOTE_ADDR REMOTE_PORT SCRIPT_FILENAME SERVER_ADMIN SERVER_PORT SERVER_SIGNATURE PATH_TRANSLATED SCRIPT_NAME REQUEST_URI PHP_SELF contained + +" === BEGIN BUILTIN FUNCTIONS, CLASSES, AND CONSTANTS =================================== + +" Core +syn keyword phpConstants E_ERROR E_RECOVERABLE_ERROR E_WARNING E_PARSE E_NOTICE E_STRICT E_DEPRECATED E_CORE_ERROR E_CORE_WARNING E_COMPILE_ERROR E_COMPILE_WARNING E_USER_ERROR E_USER_WARNING E_USER_NOTICE E_USER_DEPRECATED E_ALL TRUE FALSE NULL ZEND_THREAD_SAFE ZEND_DEBUG_BUILD PHP_VERSION PHP_MAJOR_VERSION PHP_MINOR_VERSION PHP_RELEASE_VERSION PHP_EXTRA_VERSION PHP_VERSION_ID PHP_ZTS PHP_DEBUG PHP_OS PHP_SAPI DEFAULT_INCLUDE_PATH PEAR_INSTALL_DIR PEAR_EXTENSION_DIR PHP_EXTENSION_DIR PHP_PREFIX PHP_BINDIR PHP_LIBDIR PHP_DATADIR PHP_SYSCONFDIR PHP_LOCALSTATEDIR PHP_CONFIG_FILE_PATH PHP_CONFIG_FILE_SCAN_DIR PHP_SHLIB_SUFFIX PHP_EOL PHP_MAXPATHLEN PHP_INT_MAX PHP_INT_SIZE PHP_WINDOWS_VERSION_MAJOR PHP_WINDOWS_VERSION_MINOR PHP_WINDOWS_VERSION_BUILD PHP_WINDOWS_VERSION_PLATFORM PHP_WINDOWS_VERSION_SP_MAJOR PHP_WINDOWS_VERSION_SP_MINOR PHP_WINDOWS_VERSION_SUITEMASK PHP_WINDOWS_VERSION_PRODUCTTYPE PHP_WINDOWS_NT_DOMAIN_CONTROLLER PHP_WINDOWS_NT_SERVER PHP_WINDOWS_NT_WORKSTATION PHP_OUTPUT_HANDLER_START PHP_OUTPUT_HANDLER_CONT PHP_OUTPUT_HANDLER_END PHP_OUTPUT_HANDLER_CLEAN PHP_OUTPUT_HANDLER_CLEANABLE PHP_OUTPUT_HANDLER_DISABLED PHP_OUTPUT_HANDLER_FINAL PHP_OUTPUT_HANDLER_FLUSH PHP_OUTPUT_HANDLER_FLUSHABLE PHP_OUTPUT_HANDLER_REMOVABLE PHP_OUTPUT_HANDLER_STARTED PHP_OUTPUT_HANDLER_STDFLAGS PHP_OUTPUT_HANDLER_WRITE UPLOAD_ERR_OK UPLOAD_ERR_INI_SIZE UPLOAD_ERR_FORM_SIZE UPLOAD_ERR_PARTIAL UPLOAD_ERR_NO_FILE UPLOAD_ERR_NO_TMP_DIR UPLOAD_ERR_CANT_WRITE UPLOAD_ERR_EXTENSION STDIN STDOUT STDERR __COMPILER_HALT_OFFSET__ contained + +" calendar +syn keyword phpConstants CAL_GREGORIAN CAL_JULIAN CAL_JEWISH CAL_FRENCH CAL_NUM_CALS CAL_DOW_DAYNO CAL_DOW_SHORT CAL_DOW_LONG CAL_MONTH_GREGORIAN_SHORT CAL_MONTH_GREGORIAN_LONG CAL_MONTH_JULIAN_SHORT CAL_MONTH_JULIAN_LONG CAL_MONTH_JEWISH CAL_MONTH_FRENCH CAL_EASTER_DEFAULT CAL_EASTER_ROMAN CAL_EASTER_ALWAYS_GREGORIAN CAL_EASTER_ALWAYS_JULIAN CAL_JEWISH_ADD_ALAFIM_GERESH CAL_JEWISH_ADD_ALAFIM CAL_JEWISH_ADD_GERESHAYIM contained + +" com_dotnet +syn keyword phpConstants CLSCTX_INPROC_SERVER CLSCTX_INPROC_HANDLER CLSCTX_LOCAL_SERVER CLSCTX_REMOTE_SERVER CLSCTX_SERVER CLSCTX_ALL VT_NULL VT_EMPTY VT_UI1 VT_I1 VT_UI2 VT_I2 VT_UI4 VT_I4 VT_R4 VT_R8 VT_BOOL VT_ERROR VT_CY VT_DATE VT_BSTR VT_DECIMAL VT_UNKNOWN VT_DISPATCH VT_VARIANT VT_INT VT_UINT VT_ARRAY VT_BYREF CP_ACP CP_MACCP CP_OEMCP CP_UTF7 CP_UTF8 CP_SYMBOL CP_THREAD_ACP VARCMP_LT VARCMP_EQ VARCMP_GT VARCMP_NULL NORM_IGNORECASE NORM_IGNORENONSPACE NORM_IGNORESYMBOLS NORM_IGNOREWIDTH NORM_IGNOREKANATYPE DISP_E_DIVBYZERO DISP_E_OVERFLOW DISP_E_BADINDEX MK_E_UNAVAILABLE contained + +" curl +syn keyword phpConstants CURLOPT_IPRESOLVE CURL_IPRESOLVE_WHATEVER CURL_IPRESOLVE_V4 CURL_IPRESOLVE_V6 CURLOPT_DNS_USE_GLOBAL_CACHE CURLOPT_DNS_CACHE_TIMEOUT CURLOPT_PORT CURLOPT_FILE CURLOPT_READDATA CURLOPT_INFILE CURLOPT_INFILESIZE CURLOPT_URL CURLOPT_PROXY CURLOPT_VERBOSE CURLOPT_HEADER CURLOPT_HTTPHEADER CURLOPT_NOPROGRESS CURLOPT_PROGRESSFUNCTION CURLOPT_NOBODY CURLOPT_FAILONERROR CURLOPT_UPLOAD CURLOPT_POST CURLOPT_FTPLISTONLY CURLOPT_FTPAPPEND CURLOPT_NETRC CURLOPT_FOLLOWLOCATION CURLOPT_PUT CURLOPT_USERPWD CURLOPT_PROXYUSERPWD CURLOPT_RANGE CURLOPT_TIMEOUT CURLOPT_TIMEOUT_MS CURLOPT_POSTFIELDS CURLOPT_REFERER CURLOPT_USERAGENT CURLOPT_FTPPORT CURLOPT_FTP_USE_EPSV CURLOPT_LOW_SPEED_LIMIT CURLOPT_LOW_SPEED_TIME CURLOPT_RESUME_FROM CURLOPT_COOKIE CURLOPT_COOKIESESSION CURLOPT_AUTOREFERER CURLOPT_SSLCERT CURLOPT_SSLCERTPASSWD CURLOPT_WRITEHEADER CURLOPT_SSL_VERIFYHOST CURLOPT_COOKIEFILE CURLOPT_SSLVERSION CURLOPT_TIMECONDITION CURLOPT_TIMEVALUE CURLOPT_CUSTOMREQUEST CURLOPT_STDERR CURLOPT_TRANSFERTEXT CURLOPT_RETURNTRANSFER CURLOPT_QUOTE CURLOPT_POSTQUOTE CURLOPT_INTERFACE CURLOPT_KRB4LEVEL CURLOPT_HTTPPROXYTUNNEL CURLOPT_FILETIME CURLOPT_WRITEFUNCTION CURLOPT_READFUNCTION CURLOPT_HEADERFUNCTION CURLOPT_MAXREDIRS CURLOPT_MAXCONNECTS CURLOPT_CLOSEPOLICY CURLOPT_FRESH_CONNECT CURLOPT_FORBID_REUSE CURLOPT_RANDOM_FILE CURLOPT_EGDSOCKET CURLOPT_CONNECTTIMEOUT CURLOPT_CONNECTTIMEOUT_MS CURLOPT_SSL_VERIFYPEER CURLOPT_CAINFO CURLOPT_CAPATH CURLOPT_COOKIEJAR CURLOPT_SSL_CIPHER_LIST CURLOPT_BINARYTRANSFER CURLOPT_NOSIGNAL CURLOPT_PROXYTYPE CURLOPT_BUFFERSIZE CURLOPT_HTTPGET CURLOPT_HTTP_VERSION CURLOPT_SSLKEY CURLOPT_SSLKEYTYPE CURLOPT_SSLKEYPASSWD CURLOPT_SSLENGINE CURLOPT_SSLENGINE_DEFAULT CURLOPT_SSLCERTTYPE CURLOPT_CRLF CURLOPT_ENCODING CURLOPT_PROXYPORT CURLOPT_UNRESTRICTED_AUTH CURLOPT_FTP_USE_EPRT CURLOPT_TCP_NODELAY CURLOPT_HTTP200ALIASES CURL_TIMECOND_IFMODSINCE CURL_TIMECOND_IFUNMODSINCE CURL_TIMECOND_LASTMOD CURLOPT_HTTPAUTH CURLAUTH_BASIC CURLAUTH_DIGEST CURLAUTH_GSSNEGOTIATE CURLAUTH_NTLM CURLAUTH_ANY CURLAUTH_ANYSAFE CURLOPT_PROXYAUTH CURLOPT_FTP_CREATE_MISSING_DIRS CURLOPT_PRIVATE CURLCLOSEPOLICY_LEAST_RECENTLY_USED CURLCLOSEPOLICY_LEAST_TRAFFIC CURLCLOSEPOLICY_SLOWEST CURLCLOSEPOLICY_CALLBACK CURLCLOSEPOLICY_OLDEST CURLINFO_EFFECTIVE_URL CURLINFO_HTTP_CODE CURLINFO_HEADER_SIZE CURLINFO_REQUEST_SIZE CURLINFO_TOTAL_TIME CURLINFO_NAMELOOKUP_TIME CURLINFO_CONNECT_TIME CURLINFO_PRETRANSFER_TIME CURLINFO_SIZE_UPLOAD CURLINFO_SIZE_DOWNLOAD CURLINFO_SPEED_DOWNLOAD CURLINFO_SPEED_UPLOAD CURLINFO_FILETIME CURLINFO_SSL_VERIFYRESULT CURLINFO_CONTENT_LENGTH_DOWNLOAD CURLINFO_CONTENT_LENGTH_UPLOAD CURLINFO_STARTTRANSFER_TIME CURLINFO_CONTENT_TYPE CURLINFO_REDIRECT_TIME CURLINFO_REDIRECT_COUNT CURLINFO_HEADER_OUT CURLINFO_PRIVATE CURL_VERSION_IPV6 CURL_VERSION_KERBEROS4 CURL_VERSION_SSL CURL_VERSION_LIBZ CURLVERSION_NOW CURLE_OK CURLE_UNSUPPORTED_PROTOCOL CURLE_FAILED_INIT CURLE_URL_MALFORMAT CURLE_URL_MALFORMAT_USER CURLE_COULDNT_RESOLVE_PROXY CURLE_COULDNT_RESOLVE_HOST CURLE_COULDNT_CONNECT CURLE_FTP_WEIRD_SERVER_REPLY CURLE_FTP_ACCESS_DENIED CURLE_FTP_USER_PASSWORD_INCORRECT CURLE_FTP_WEIRD_PASS_REPLY CURLE_FTP_WEIRD_USER_REPLY CURLE_FTP_WEIRD_PASV_REPLY CURLE_FTP_WEIRD_227_FORMAT CURLE_FTP_CANT_GET_HOST CURLE_FTP_CANT_RECONNECT CURLE_FTP_COULDNT_SET_BINARY CURLE_PARTIAL_FILE CURLE_FTP_COULDNT_RETR_FILE CURLE_FTP_WRITE_ERROR CURLE_FTP_QUOTE_ERROR CURLE_HTTP_NOT_FOUND CURLE_WRITE_ERROR CURLE_MALFORMAT_USER CURLE_FTP_COULDNT_STOR_FILE CURLE_READ_ERROR CURLE_OUT_OF_MEMORY CURLE_OPERATION_TIMEOUTED CURLE_FTP_COULDNT_SET_ASCII CURLE_FTP_PORT_FAILED CURLE_FTP_COULDNT_USE_REST CURLE_FTP_COULDNT_GET_SIZE CURLE_HTTP_RANGE_ERROR CURLE_HTTP_POST_ERROR CURLE_SSL_CONNECT_ERROR CURLE_FTP_BAD_DOWNLOAD_RESUME CURLE_FILE_COULDNT_READ_FILE CURLE_LDAP_CANNOT_BIND CURLE_LDAP_SEARCH_FAILED CURLE_LIBRARY_NOT_FOUND CURLE_FUNCTION_NOT_FOUND CURLE_ABORTED_BY_CALLBACK CURLE_BAD_FUNCTION_ARGUMENT CURLE_BAD_CALLING_ORDER CURLE_HTTP_PORT_FAILED CURLE_BAD_PASSWORD_ENTERED CURLE_TOO_MANY_REDIRECTS CURLE_UNKNOWN_TELNET_OPTION CURLE_TELNET_OPTION_SYNTAX CURLE_OBSOLETE CURLE_SSL_PEER_CERTIFICATE CURLE_GOT_NOTHING CURLE_SSL_ENGINE_NOTFOUND CURLE_SSL_ENGINE_SETFAILED CURLE_SEND_ERROR CURLE_RECV_ERROR CURLE_SHARE_IN_USE CURLE_SSL_CERTPROBLEM CURLE_SSL_CIPHER CURLE_SSL_CACERT CURLE_BAD_CONTENT_ENCODING CURLE_LDAP_INVALID_URL CURLE_FILESIZE_EXCEEDED CURLE_FTP_SSL_FAILED CURLPROXY_HTTP CURLPROXY_SOCKS4 CURLPROXY_SOCKS5 CURL_NETRC_OPTIONAL CURL_NETRC_IGNORED CURL_NETRC_REQUIRED CURL_HTTP_VERSION_NONE CURL_HTTP_VERSION_1_0 CURL_HTTP_VERSION_1_1 CURLM_CALL_MULTI_PERFORM CURLM_OK CURLM_BAD_HANDLE CURLM_BAD_EASY_HANDLE CURLM_OUT_OF_MEMORY CURLM_INTERNAL_ERROR CURLMSG_DONE CURLOPT_FTPSSLAUTH CURLFTPAUTH_DEFAULT CURLFTPAUTH_SSL CURLFTPAUTH_TLS CURLOPT_FTP_SSL CURLFTPSSL_NONE CURLFTPSSL_TRY CURLFTPSSL_CONTROL CURLFTPSSL_ALL CURLSSH_AUTH_NONE CURLSSH_AUTH_PUBLICKEY CURLSSH_AUTH_PASSWORD CURLSSH_AUTH_HOST CURLSSH_AUTH_KEYBOARD CURLSSH_AUTH_DEFAULT CURLOPT_SSH_AUTH_TYPES CURLOPT_KEYPASSWD CURLOPT_SSH_PUBLIC_KEYFILE CURLOPT_SSH_PRIVATE_KEYFILE CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 CURLE_SSH CURLOPT_REDIR_PROTOCOLS CURLOPT_PROTOCOLS CURLPROTO_HTTP CURLPROTO_HTTPS CURLPROTO_FTP CURLPROTO_FTPS CURLPROTO_SCP CURLPROTO_SFTP CURLPROTO_TELNET CURLPROTO_LDAP CURLPROTO_LDAPS CURLPROTO_DICT CURLPROTO_FILE CURLPROTO_TFTP CURLPROTO_ALL CURLOPT_FTP_FILEMETHOD CURLFTPMETHOD_MULTICWD CURLFTPMETHOD_NOCWD CURLFTPMETHOD_SINGLECWD CURLOPT_MAX_RECV_SPEED_LARGE CURLOPT_MAX_SEND_SPEED_LARGE contained + +" date +syn keyword phpConstants DATE_ATOM DATE_COOKIE DATE_ISO8601 DATE_RFC822 DATE_RFC850 DATE_RFC1036 DATE_RFC1123 DATE_RFC2822 DATE_RFC3339 DATE_RSS DATE_W3C SUNFUNCS_RET_TIMESTAMP SUNFUNCS_RET_STRING SUNFUNCS_RET_DOUBLE ATOM COOKIE ISO8601 RFC822 RFC850 RFC1036 RFC1123 RFC2822 RFC3339 RSS W3C AFRICA AMERICA ANTARCTICA ARCTIC ASIA ATLANTIC AUSTRALIA EUROPE INDIAN PACIFIC UTC ALL ALL_WITH_BC PER_COUNTRY EXCLUDE_START_DATE contained + +" dom +syn keyword phpConstants XML_ELEMENT_NODE XML_ATTRIBUTE_NODE XML_TEXT_NODE XML_CDATA_SECTION_NODE XML_ENTITY_REF_NODE XML_ENTITY_NODE XML_PI_NODE XML_COMMENT_NODE XML_DOCUMENT_NODE XML_DOCUMENT_TYPE_NODE XML_DOCUMENT_FRAG_NODE XML_NOTATION_NODE XML_HTML_DOCUMENT_NODE XML_DTD_NODE XML_ELEMENT_DECL_NODE XML_ATTRIBUTE_DECL_NODE XML_ENTITY_DECL_NODE XML_NAMESPACE_DECL_NODE XML_LOCAL_NAMESPACE XML_ATTRIBUTE_CDATA XML_ATTRIBUTE_ID XML_ATTRIBUTE_IDREF XML_ATTRIBUTE_IDREFS XML_ATTRIBUTE_ENTITY XML_ATTRIBUTE_NMTOKEN XML_ATTRIBUTE_NMTOKENS XML_ATTRIBUTE_ENUMERATION XML_ATTRIBUTE_NOTATION DOM_PHP_ERR DOM_INDEX_SIZE_ERR DOMSTRING_SIZE_ERR DOM_HIERARCHY_REQUEST_ERR DOM_WRONG_DOCUMENT_ERR DOM_INVALID_CHARACTER_ERR DOM_NO_DATA_ALLOWED_ERR DOM_NO_MODIFICATION_ALLOWED_ERR DOM_NOT_FOUND_ERR DOM_NOT_SUPPORTED_ERR DOM_INUSE_ATTRIBUTE_ERR DOM_INVALID_STATE_ERR DOM_SYNTAX_ERR DOM_INVALID_MODIFICATION_ERR DOM_NAMESPACE_ERR DOM_INVALID_ACCESS_ERR DOM_VALIDATION_ERR contained + +" exif +syn keyword phpConstants EXIF_USE_MBSTRING contained + +" fileinfo +syn keyword phpConstants FILEINFO_NONE FILEINFO_SYMLINK FILEINFO_MIME FILEINFO_MIME_TYPE FILEINFO_MIME_ENCODING FILEINFO_DEVICES FILEINFO_CONTINUE FILEINFO_PRESERVE_ATIME FILEINFO_RAW contained + +" filter +syn keyword phpConstants INPUT_POST INPUT_GET INPUT_COOKIE INPUT_ENV INPUT_SERVER INPUT_SESSION INPUT_REQUEST FILTER_FLAG_NONE FILTER_REQUIRE_SCALAR FILTER_REQUIRE_ARRAY FILTER_FORCE_ARRAY FILTER_NULL_ON_FAILURE FILTER_VALIDATE_INT FILTER_VALIDATE_BOOLEAN FILTER_VALIDATE_FLOAT FILTER_VALIDATE_REGEXP FILTER_VALIDATE_URL FILTER_VALIDATE_EMAIL FILTER_VALIDATE_IP FILTER_DEFAULT FILTER_UNSAFE_RAW FILTER_SANITIZE_STRING FILTER_SANITIZE_STRIPPED FILTER_SANITIZE_ENCODED FILTER_SANITIZE_SPECIAL_CHARS FILTER_SANITIZE_EMAIL FILTER_SANITIZE_URL FILTER_SANITIZE_NUMBER_INT FILTER_SANITIZE_NUMBER_FLOAT FILTER_SANITIZE_MAGIC_QUOTES FILTER_CALLBACK FILTER_FLAG_ALLOW_OCTAL FILTER_FLAG_ALLOW_HEX FILTER_FLAG_STRIP_LOW FILTER_FLAG_STRIP_HIGH FILTER_FLAG_ENCODE_LOW FILTER_FLAG_ENCODE_HIGH FILTER_FLAG_ENCODE_AMP FILTER_FLAG_NO_ENCODE_QUOTES FILTER_FLAG_EMPTY_STRING_NULL FILTER_FLAG_ALLOW_FRACTION FILTER_FLAG_ALLOW_THOUSAND FILTER_FLAG_ALLOW_SCIENTIFIC FILTER_FLAG_SCHEME_REQUIRED FILTER_FLAG_HOST_REQUIRED FILTER_FLAG_PATH_REQUIRED FILTER_FLAG_QUERY_REQUIRED FILTER_FLAG_IPV4 FILTER_FLAG_IPV6 FILTER_FLAG_NO_RES_RANGE FILTER_FLAG_NO_PRIV_RANGE contained + +" ftp +syn keyword phpConstants FTP_ASCII FTP_TEXT FTP_BINARY FTP_IMAGE FTP_AUTORESUME FTP_TIMEOUT_SEC FTP_AUTOSEEK FTP_FAILED FTP_FINISHED FTP_MOREDATA contained + +" gd +syn keyword phpConstants IMG_GIF IMG_JPG IMG_JPEG IMG_PNG IMG_WBMP IMG_XPM IMG_COLOR_TILED IMG_COLOR_STYLED IMG_COLOR_BRUSHED IMG_COLOR_STYLEDBRUSHED IMG_COLOR_TRANSPARENT IMG_ARC_ROUNDED IMG_ARC_PIE IMG_ARC_CHORD IMG_ARC_NOFILL IMG_ARC_EDGED IMG_GD2_RAW IMG_GD2_COMPRESSED IMG_EFFECT_REPLACE IMG_EFFECT_ALPHABLEND IMG_EFFECT_NORMAL IMG_EFFECT_OVERLAY GD_BUNDLED IMG_FILTER_NEGATE IMG_FILTER_GRAYSCALE IMG_FILTER_BRIGHTNESS IMG_FILTER_CONTRAST IMG_FILTER_COLORIZE IMG_FILTER_EDGEDETECT IMG_FILTER_GAUSSIAN_BLUR IMG_FILTER_SELECTIVE_BLUR IMG_FILTER_EMBOSS IMG_FILTER_MEAN_REMOVAL IMG_FILTER_SMOOTH IMG_FILTER_PIXELATE GD_VERSION GD_MAJOR_VERSION GD_MINOR_VERSION GD_RELEASE_VERSION GD_EXTRA_VERSION PNG_NO_FILTER PNG_FILTER_NONE PNG_FILTER_SUB PNG_FILTER_UP PNG_FILTER_AVG PNG_FILTER_PAETH PNG_ALL_FILTERS contained + +" gmp +syn keyword phpConstants GMP_ROUND_ZERO GMP_ROUND_PLUSINF GMP_ROUND_MINUSINF GMP_VERSION contained + +" hash +syn keyword phpConstants HASH_HMAC MHASH_CRC32 MHASH_MD5 MHASH_SHA1 MHASH_HAVAL256 MHASH_RIPEMD160 MHASH_TIGER MHASH_GOST MHASH_CRC32B MHASH_HAVAL224 MHASH_HAVAL192 MHASH_HAVAL160 MHASH_HAVAL128 MHASH_TIGER128 MHASH_TIGER160 MHASH_MD4 MHASH_SHA256 MHASH_ADLER32 MHASH_SHA224 MHASH_SHA512 MHASH_SHA384 MHASH_WHIRLPOOL MHASH_RIPEMD128 MHASH_RIPEMD256 MHASH_RIPEMD320 MHASH_SNEFRU256 MHASH_MD2 contained + +" iconv +syn keyword phpConstants ICONV_IMPL ICONV_VERSION ICONV_MIME_DECODE_STRICT ICONV_MIME_DECODE_CONTINUE_ON_ERROR contained + +" imap +syn keyword phpConstants NIL IMAP_OPENTIMEOUT IMAP_READTIMEOUT IMAP_WRITETIMEOUT IMAP_CLOSETIMEOUT OP_DEBUG OP_READONLY OP_ANONYMOUS OP_SHORTCACHE OP_SILENT OP_PROTOTYPE OP_HALFOPEN OP_EXPUNGE OP_SECURE CL_EXPUNGE FT_UID FT_PEEK FT_NOT FT_INTERNAL FT_PREFETCHTEXT ST_UID ST_SILENT ST_SET CP_UID CP_MOVE SE_UID SE_FREE SE_NOPREFETCH SO_FREE SO_NOSERVER SA_MESSAGES SA_RECENT SA_UNSEEN SA_UIDNEXT SA_UIDVALIDITY SA_ALL LATT_NOINFERIORS LATT_NOSELECT LATT_MARKED LATT_UNMARKED LATT_REFERRAL LATT_HASCHILDREN LATT_HASNOCHILDREN SORTDATE SORTARRIVAL SORTFROM SORTSUBJECT SORTTO SORTCC SORTSIZE TYPETEXT TYPEMULTIPART TYPEMESSAGE TYPEAPPLICATION TYPEAUDIO TYPEIMAGE TYPEVIDEO TYPEMODEL TYPEOTHER ENC7BIT ENC8BIT ENCBINARY ENCBASE64 ENCQUOTEDPRINTABLE ENCOTHER IMAP_GC_ELT IMAP_GC_ENV IMAP_GC_TEXTS contained + +" intl +syn keyword phpConstants INTL_MAX_LOCALE_LEN ULOC_ACTUAL_LOCALE ULOC_VALID_LOCALE GRAPHEME_EXTR_COUNT GRAPHEME_EXTR_MAXBYTES GRAPHEME_EXTR_MAXCHARS U_USING_FALLBACK_WARNING U_ERROR_WARNING_START U_USING_DEFAULT_WARNING U_SAFECLONE_ALLOCATED_WARNING U_STATE_OLD_WARNING U_STRING_NOT_TERMINATED_WARNING U_SORT_KEY_TOO_SHORT_WARNING U_AMBIGUOUS_ALIAS_WARNING U_DIFFERENT_UCA_VERSION U_ERROR_WARNING_LIMIT U_ZERO_ERROR U_ILLEGAL_ARGUMENT_ERROR U_MISSING_RESOURCE_ERROR U_INVALID_FORMAT_ERROR U_FILE_ACCESS_ERROR U_INTERNAL_PROGRAM_ERROR U_MESSAGE_PARSE_ERROR U_MEMORY_ALLOCATION_ERROR U_INDEX_OUTOFBOUNDS_ERROR U_PARSE_ERROR U_INVALID_CHAR_FOUND U_TRUNCATED_CHAR_FOUND U_ILLEGAL_CHAR_FOUND U_INVALID_TABLE_FORMAT U_INVALID_TABLE_FILE U_BUFFER_OVERFLOW_ERROR U_UNSUPPORTED_ERROR U_RESOURCE_TYPE_MISMATCH U_ILLEGAL_ESCAPE_SEQUENCE U_UNSUPPORTED_ESCAPE_SEQUENCE U_NO_SPACE_AVAILABLE U_CE_NOT_FOUND_ERROR U_PRIMARY_TOO_LONG_ERROR U_STATE_TOO_OLD_ERROR U_TOO_MANY_ALIASES_ERROR U_ENUM_OUT_OF_SYNC_ERROR U_INVARIANT_CONVERSION_ERROR U_INVALID_STATE_ERROR U_COLLATOR_VERSION_MISMATCH U_USELESS_COLLATOR_ERROR U_NO_WRITE_PERMISSION U_STANDARD_ERROR_LIMIT U_BAD_VARIABLE_DEFINITION U_PARSE_ERROR_START U_MALFORMED_RULE U_MALFORMED_SET U_MALFORMED_SYMBOL_REFERENCE U_MALFORMED_UNICODE_ESCAPE U_MALFORMED_VARIABLE_DEFINITION U_MALFORMED_VARIABLE_REFERENCE U_MISMATCHED_SEGMENT_DELIMITERS U_MISPLACED_ANCHOR_START U_MISPLACED_CURSOR_OFFSET U_MISPLACED_QUANTIFIER U_MISSING_OPERATOR U_MISSING_SEGMENT_CLOSE U_MULTIPLE_ANTE_CONTEXTS U_MULTIPLE_CURSORS U_MULTIPLE_POST_CONTEXTS U_TRAILING_BACKSLASH U_UNDEFINED_SEGMENT_REFERENCE U_UNDEFINED_VARIABLE U_UNQUOTED_SPECIAL U_UNTERMINATED_QUOTE U_RULE_MASK_ERROR U_MISPLACED_COMPOUND_FILTER U_MULTIPLE_COMPOUND_FILTERS U_INVALID_RBT_SYNTAX U_INVALID_PROPERTY_PATTERN U_MALFORMED_PRAGMA U_UNCLOSED_SEGMENT U_ILLEGAL_CHAR_IN_SEGMENT U_VARIABLE_RANGE_EXHAUSTED U_VARIABLE_RANGE_OVERLAP U_ILLEGAL_CHARACTER U_INTERNAL_TRANSLITERATOR_ERROR U_INVALID_ID U_INVALID_FUNCTION U_PARSE_ERROR_LIMIT U_UNEXPECTED_TOKEN U_FMT_PARSE_ERROR_START U_MULTIPLE_DECIMAL_SEPARATORS U_MULTIPLE_DECIMAL_SEPERATORS U_MULTIPLE_EXPONENTIAL_SYMBOLS U_MALFORMED_EXPONENTIAL_PATTERN U_MULTIPLE_PERCENT_SYMBOLS U_MULTIPLE_PERMILL_SYMBOLS U_MULTIPLE_PAD_SPECIFIERS U_PATTERN_SYNTAX_ERROR U_ILLEGAL_PAD_POSITION U_UNMATCHED_BRACES U_UNSUPPORTED_PROPERTY U_UNSUPPORTED_ATTRIBUTE U_FMT_PARSE_ERROR_LIMIT U_BRK_INTERNAL_ERROR U_BRK_ERROR_START U_BRK_HEX_DIGITS_EXPECTED U_BRK_SEMICOLON_EXPECTED U_BRK_RULE_SYNTAX U_BRK_UNCLOSED_SET U_BRK_ASSIGN_ERROR U_BRK_VARIABLE_REDFINITION U_BRK_MISMATCHED_PAREN U_BRK_NEW_LINE_IN_QUOTED_STRING U_BRK_UNDEFINED_VARIABLE U_BRK_INIT_ERROR U_BRK_RULE_EMPTY_SET U_BRK_UNRECOGNIZED_OPTION U_BRK_MALFORMED_RULE_TAG U_BRK_ERROR_LIMIT U_REGEX_INTERNAL_ERROR U_REGEX_ERROR_START U_REGEX_RULE_SYNTAX U_REGEX_INVALID_STATE U_REGEX_BAD_ESCAPE_SEQUENCE U_REGEX_PROPERTY_SYNTAX U_REGEX_UNIMPLEMENTED U_REGEX_MISMATCHED_PAREN U_REGEX_NUMBER_TOO_BIG U_REGEX_BAD_INTERVAL U_REGEX_MAX_LT_MIN U_REGEX_INVALID_BACK_REF U_REGEX_INVALID_FLAG U_REGEX_LOOK_BEHIND_LIMIT U_REGEX_SET_CONTAINS_STRING U_REGEX_ERROR_LIMIT U_STRINGPREP_PROHIBITED_ERROR U_STRINGPREP_UNASSIGNED_ERROR U_STRINGPREP_CHECK_BIDI_ERROR U_ERROR_LIMIT IDNA_DEFAULT IDNA_ALLOW_UNASSIGNED IDNA_USE_STD3_RULES DEFAULT_VALUE PRIMARY SECONDARY TERTIARY DEFAULT_STRENGTH QUATERNARY IDENTICAL OFF ON SHIFTED NON_IGNORABLE LOWER_FIRST UPPER_FIRST FRENCH_COLLATION ALTERNATE_HANDLING CASE_FIRST CASE_LEVEL NORMALIZATION_MODE STRENGTH HIRAGANA_QUATERNARY_MODE NUMERIC_COLLATION SORT_REGULAR SORT_STRING SORT_NUMERIC PATTERN_DECIMAL DECIMAL CURRENCY PERCENT SCIENTIFIC SPELLOUT ORDINAL DURATION PATTERN_RULEBASED IGNORE DEFAULT_STYLE ROUND_CEILING ROUND_FLOOR ROUND_DOWN ROUND_UP ROUND_HALFEVEN ROUND_HALFDOWN ROUND_HALFUP PAD_BEFORE_PREFIX PAD_AFTER_PREFIX PAD_BEFORE_SUFFIX PAD_AFTER_SUFFIX PARSE_INT_ONLY GROUPING_USED DECIMAL_ALWAYS_SHOWN MAX_INTEGER_DIGITS MIN_INTEGER_DIGITS INTEGER_DIGITS MAX_FRACTION_DIGITS MIN_FRACTION_DIGITS FRACTION_DIGITS MULTIPLIER GROUPING_SIZE ROUNDING_MODE ROUNDING_INCREMENT FORMAT_WIDTH PADDING_POSITION SECONDARY_GROUPING_SIZE SIGNIFICANT_DIGITS_USED MIN_SIGNIFICANT_DIGITS MAX_SIGNIFICANT_DIGITS LENIENT_PARSE POSITIVE_PREFIX POSITIVE_SUFFIX NEGATIVE_PREFIX NEGATIVE_SUFFIX PADDING_CHARACTER CURRENCY_CODE DEFAULT_RULESET PUBLIC_RULESETS DECIMAL_SEPARATOR_SYMBOL GROUPING_SEPARATOR_SYMBOL PATTERN_SEPARATOR_SYMBOL PERCENT_SYMBOL ZERO_DIGIT_SYMBOL DIGIT_SYMBOL MINUS_SIGN_SYMBOL PLUS_SIGN_SYMBOL CURRENCY_SYMBOL INTL_CURRENCY_SYMBOL MONETARY_SEPARATOR_SYMBOL EXPONENTIAL_SYMBOL PERMILL_SYMBOL PAD_ESCAPE_SYMBOL INFINITY_SYMBOL NAN_SYMBOL SIGNIFICANT_DIGIT_SYMBOL MONETARY_GROUPING_SEPARATOR_SYMBOL TYPE_DEFAULT TYPE_INT32 TYPE_INT64 TYPE_DOUBLE TYPE_CURRENCY NONE FORM_D NFD FORM_KD NFKD FORM_C NFC FORM_KC NFKC ACTUAL_LOCALE VALID_LOCALE DEFAULT_LOCALE LANG_TAG EXTLANG_TAG SCRIPT_TAG REGION_TAG VARIANT_TAG GRANDFATHERED_LANG_TAG PRIVATE_TAG FULL LONG MEDIUM SHORT GREGORIAN TRADITIONAL U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR IDNA_CHECK_BIDI IDNA_CHECK_CONTEXTJ IDNA_NONTRANSITIONAL_TO_ASCII IDNA_NONTRANSITIONAL_TO_UNICODE INTL_IDNA_VARIANT_2003 INTL_IDNA_VARIANT_UTS46 IDNA_ERROR_EMPTY_LABEL IDNA_ERROR_LABEL_TOO_LONG IDNA_ERROR_DOMAIN_NAME_TOO_LONG IDNA_ERROR_LEADING_HYPHEN IDNA_ERROR_TRAILING_HYPHEN IDNA_ERROR_HYPHEN_3_4 IDNA_ERROR_LEADING_COMBINING_MARK IDNA_ERROR_DISALLOWED IDNA_ERROR_PUNYCODE IDNA_ERROR_LABEL_HAS_DOT IDNA_ERROR_INVALID_ACE_LABEL IDNA_ERROR_BIDI IDNA_ERROR_CONTEXTJ contained + +" json +syn keyword phpConstants JSON_HEX_TAG JSON_HEX_AMP JSON_HEX_APOS JSON_HEX_QUOT JSON_FORCE_OBJECT JSON_PRETTY_PRINT JSON_UNESCAPED_SLASHES JSON_NUMERIC_CHECK JSON_UNESCAPED_UNICODE JSON_BIGINT_AS_STRING JSON_ERROR_NONE JSON_ERROR_DEPTH JSON_ERROR_STATE_MISMATCH JSON_ERROR_CTRL_CHAR JSON_ERROR_SYNTAX contained + +" ldap +syn keyword phpConstants LDAP_DEREF_NEVER LDAP_DEREF_SEARCHING LDAP_DEREF_FINDING LDAP_DEREF_ALWAYS LDAP_OPT_DEREF LDAP_OPT_SIZELIMIT LDAP_OPT_TIMELIMIT LDAP_OPT_NETWORK_TIMEOUT LDAP_OPT_PROTOCOL_VERSION LDAP_OPT_ERROR_NUMBER LDAP_OPT_REFERRALS LDAP_OPT_RESTART LDAP_OPT_HOST_NAME LDAP_OPT_ERROR_STRING LDAP_OPT_MATCHED_DN LDAP_OPT_SERVER_CONTROLS LDAP_OPT_CLIENT_CONTROLS LDAP_OPT_DEBUG_LEVEL contained + +" libxml +syn keyword phpConstants LIBXML_VERSION LIBXML_DOTTED_VERSION LIBXML_LOADED_VERSION LIBXML_NOENT LIBXML_DTDLOAD LIBXML_DTDATTR LIBXML_DTDVALID LIBXML_NOERROR LIBXML_NOWARNING LIBXML_NOBLANKS LIBXML_XINCLUDE LIBXML_NSCLEAN LIBXML_NOCDATA LIBXML_NONET LIBXML_COMPACT LIBXML_NOXMLDECL LIBXML_NOEMPTYTAG LIBXML_HTML_NODEFDTD LIBXML_HTML_NOIMPLIED LIBXML_PEDANTIC LIBXML_ERR_NONE LIBXML_ERR_WARNING LIBXML_ERR_ERROR LIBXML_ERR_FATAL contained + +" mbstring +syn keyword phpConstants MB_OVERLOAD_MAIL MB_OVERLOAD_STRING MB_OVERLOAD_REGEX MB_CASE_UPPER MB_CASE_LOWER MB_CASE_TITLE contained + +" mcrypt +syn keyword phpConstants MCRYPT_ENCRYPT MCRYPT_DECRYPT MCRYPT_DEV_RANDOM MCRYPT_DEV_URANDOM MCRYPT_RAND MCRYPT_3DES MCRYPT_ARCFOUR_IV MCRYPT_ARCFOUR MCRYPT_BLOWFISH MCRYPT_BLOWFISH_COMPAT MCRYPT_CAST_128 MCRYPT_CAST_256 MCRYPT_CRYPT MCRYPT_DES MCRYPT_ENIGNA MCRYPT_GOST MCRYPT_LOKI97 MCRYPT_PANAMA MCRYPT_RC2 MCRYPT_RIJNDAEL_128 MCRYPT_RIJNDAEL_192 MCRYPT_RIJNDAEL_256 MCRYPT_SAFER64 MCRYPT_SAFER128 MCRYPT_SAFERPLUS MCRYPT_SERPENT MCRYPT_THREEWAY MCRYPT_TRIPLEDES MCRYPT_TWOFISH MCRYPT_WAKE MCRYPT_XTEA MCRYPT_IDEA MCRYPT_MARS MCRYPT_RC6 MCRYPT_SKIPJACK MCRYPT_MODE_CBC MCRYPT_MODE_CFB MCRYPT_MODE_ECB MCRYPT_MODE_NOFB MCRYPT_MODE_OFB MCRYPT_MODE_STREAM contained + +" mysql +syn keyword phpConstants MYSQL_ASSOC MYSQL_NUM MYSQL_BOTH MYSQL_CLIENT_COMPRESS MYSQL_CLIENT_SSL MYSQL_CLIENT_INTERACTIVE MYSQL_CLIENT_IGNORE_SPACE contained + +" mysqli +syn keyword phpConstants MYSQLI_READ_DEFAULT_GROUP MYSQLI_READ_DEFAULT_FILE MYSQLI_OPT_CONNECT_TIMEOUT MYSQLI_OPT_LOCAL_INFILE MYSQLI_INIT_COMMAND MYSQLI_OPT_NET_CMD_BUFFER_SIZE MYSQLI_OPT_NET_READ_BUFFER_SIZE MYSQLI_OPT_INT_AND_FLOAT_NATIVE MYSQLI_CLIENT_SSL MYSQLI_CLIENT_COMPRESS MYSQLI_CLIENT_INTERACTIVE MYSQLI_CLIENT_IGNORE_SPACE MYSQLI_CLIENT_NO_SCHEMA MYSQLI_CLIENT_FOUND_ROWS MYSQLI_STORE_RESULT MYSQLI_USE_RESULT MYSQLI_ASYNC MYSQLI_ASSOC MYSQLI_NUM MYSQLI_BOTH MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH MYSQLI_STMT_ATTR_CURSOR_TYPE MYSQLI_CURSOR_TYPE_NO_CURSOR MYSQLI_CURSOR_TYPE_READ_ONLY MYSQLI_CURSOR_TYPE_FOR_UPDATE MYSQLI_CURSOR_TYPE_SCROLLABLE MYSQLI_STMT_ATTR_PREFETCH_ROWS MYSQLI_NOT_NULL_FLAG MYSQLI_PRI_KEY_FLAG MYSQLI_UNIQUE_KEY_FLAG MYSQLI_MULTIPLE_KEY_FLAG MYSQLI_BLOB_FLAG MYSQLI_UNSIGNED_FLAG MYSQLI_ZEROFILL_FLAG MYSQLI_AUTO_INCREMENT_FLAG MYSQLI_TIMESTAMP_FLAG MYSQLI_SET_FLAG MYSQLI_NUM_FLAG MYSQLI_PART_KEY_FLAG MYSQLI_GROUP_FLAG MYSQLI_ENUM_FLAG MYSQLI_BINARY_FLAG MYSQLI_NO_DEFAULT_VALUE_FLAG MYSQLI_ON_UPDATE_NOW_FLAG MYSQLI_TYPE_DECIMAL MYSQLI_TYPE_TINY MYSQLI_TYPE_SHORT MYSQLI_TYPE_LONG MYSQLI_TYPE_FLOAT MYSQLI_TYPE_DOUBLE MYSQLI_TYPE_NULL MYSQLI_TYPE_TIMESTAMP MYSQLI_TYPE_LONGLONG MYSQLI_TYPE_INT24 MYSQLI_TYPE_DATE MYSQLI_TYPE_TIME MYSQLI_TYPE_DATETIME MYSQLI_TYPE_YEAR MYSQLI_TYPE_NEWDATE MYSQLI_TYPE_ENUM MYSQLI_TYPE_SET MYSQLI_TYPE_TINY_BLOB MYSQLI_TYPE_MEDIUM_BLOB MYSQLI_TYPE_LONG_BLOB MYSQLI_TYPE_BLOB MYSQLI_TYPE_VAR_STRING MYSQLI_TYPE_STRING MYSQLI_TYPE_CHAR MYSQLI_TYPE_INTERVAL MYSQLI_TYPE_GEOMETRY MYSQLI_TYPE_NEWDECIMAL MYSQLI_TYPE_BIT MYSQLI_SET_CHARSET_NAME MYSQLI_NO_DATA MYSQLI_DATA_TRUNCATED MYSQLI_REPORT_INDEX MYSQLI_REPORT_ERROR MYSQLI_REPORT_STRICT MYSQLI_REPORT_ALL MYSQLI_REPORT_OFF MYSQLI_DEBUG_TRACE_ENABLED MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED MYSQLI_SERVER_QUERY_NO_INDEX_USED MYSQLI_SERVER_QUERY_WAS_SLOW MYSQLI_REFRESH_GRANT MYSQLI_REFRESH_LOG MYSQLI_REFRESH_TABLES MYSQLI_REFRESH_HOSTS MYSQLI_REFRESH_STATUS MYSQLI_REFRESH_THREADS MYSQLI_REFRESH_SLAVE MYSQLI_REFRESH_MASTER MYSQLI_REFRESH_BACKUP_LOG contained + +" odbc +syn keyword phpConstants ODBC_TYPE ODBC_BINMODE_PASSTHRU ODBC_BINMODE_RETURN ODBC_BINMODE_CONVERT SQL_ODBC_CURSORS SQL_CUR_USE_DRIVER SQL_CUR_USE_IF_NEEDED SQL_CUR_USE_ODBC SQL_CONCURRENCY SQL_CONCUR_READ_ONLY SQL_CONCUR_LOCK SQL_CONCUR_ROWVER SQL_CONCUR_VALUES SQL_CURSOR_TYPE SQL_CURSOR_FORWARD_ONLY SQL_CURSOR_KEYSET_DRIVEN SQL_CURSOR_DYNAMIC SQL_CURSOR_STATIC SQL_KEYSET_SIZE SQL_FETCH_FIRST SQL_FETCH_NEXT SQL_CHAR SQL_VARCHAR SQL_LONGVARCHAR SQL_DECIMAL SQL_NUMERIC SQL_BIT SQL_TINYINT SQL_SMALLINT SQL_INTEGER SQL_BIGINT SQL_REAL SQL_FLOAT SQL_DOUBLE SQL_BINARY SQL_VARBINARY SQL_LONGVARBINARY SQL_DATE SQL_TIME SQL_TIMESTAMP contained + +" openssl +syn keyword phpConstants OPENSSL_VERSION_TEXT OPENSSL_VERSION_NUMBER X509_PURPOSE_SSL_CLIENT X509_PURPOSE_SSL_SERVER X509_PURPOSE_NS_SSL_SERVER X509_PURPOSE_SMIME_SIGN X509_PURPOSE_SMIME_ENCRYPT X509_PURPOSE_CRL_SIGN X509_PURPOSE_ANY OPENSSL_ALGO_SHA1 OPENSSL_ALGO_MD5 OPENSSL_ALGO_MD4 OPENSSL_ALGO_MD2 OPENSSL_ALGO_DSS1 PKCS7_DETACHED PKCS7_TEXT PKCS7_NOINTERN PKCS7_NOVERIFY PKCS7_NOCHAIN PKCS7_NOCERTS PKCS7_NOATTR PKCS7_BINARY PKCS7_NOSIGS OPENSSL_PKCS1_PADDING OPENSSL_SSLV23_PADDING OPENSSL_NO_PADDING OPENSSL_PKCS1_OAEP_PADDING OPENSSL_CIPHER_RC2_40 OPENSSL_CIPHER_RC2_128 OPENSSL_CIPHER_RC2_64 OPENSSL_CIPHER_DES OPENSSL_CIPHER_3DES OPENSSL_KEYTYPE_RSA OPENSSL_KEYTYPE_DSA OPENSSL_KEYTYPE_DH OPENSSL_KEYTYPE_EC OPENSSL_CIPHER_AES_128_CBC OPENSSL_CIPHER_AES_192_CBC OPENSSL_CIPHER_AES_256_CBC OPENSSL_RAW_DATA OPENSSL_ZERO_PADDING contained + +" pcre +syn keyword phpConstants PREG_PATTERN_ORDER PREG_SET_ORDER PREG_OFFSET_CAPTURE PREG_SPLIT_NO_EMPTY PREG_SPLIT_DELIM_CAPTURE PREG_SPLIT_OFFSET_CAPTURE PREG_GREP_INVERT PREG_NO_ERROR PREG_INTERNAL_ERROR PREG_BACKTRACK_LIMIT_ERROR PREG_RECURSION_LIMIT_ERROR PREG_BAD_UTF8_ERROR PREG_BAD_UTF8_OFFSET_ERROR PCRE_VERSION contained + +" PDO +syn keyword phpConstants PARAM_BOOL PARAM_NULL PARAM_INT PARAM_STR PARAM_LOB PARAM_STMT PARAM_INPUT_OUTPUT 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 FETCH_LAZY FETCH_ASSOC FETCH_NUM FETCH_BOTH FETCH_OBJ FETCH_BOUND FETCH_COLUMN FETCH_CLASS FETCH_INTO FETCH_FUNC FETCH_GROUP FETCH_UNIQUE FETCH_KEY_PAIR FETCH_CLASSTYPE FETCH_SERIALIZE FETCH_PROPS_LATE FETCH_NAMED ATTR_AUTOCOMMIT 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 ATTR_ORACLE_NULLS ATTR_PERSISTENT ATTR_STATEMENT_CLASS ATTR_FETCH_TABLE_NAMES ATTR_FETCH_CATALOG_NAMES ATTR_DRIVER_NAME ATTR_STRINGIFY_FETCHES ATTR_MAX_COLUMN_LEN ATTR_EMULATE_PREPARES ATTR_DEFAULT_FETCH_MODE ERRMODE_SILENT ERRMODE_WARNING ERRMODE_EXCEPTION CASE_NATURAL CASE_LOWER CASE_UPPER NULL_NATURAL NULL_EMPTY_STRING NULL_TO_STRING ERR_NONE FETCH_ORI_NEXT FETCH_ORI_PRIOR FETCH_ORI_FIRST FETCH_ORI_LAST FETCH_ORI_ABS FETCH_ORI_REL CURSOR_FWDONLY CURSOR_SCROLL MYSQL_ATTR_USE_BUFFERED_QUERY MYSQL_ATTR_LOCAL_INFILE MYSQL_ATTR_DIRECT_QUERY MYSQL_ATTR_FOUND_ROWS MYSQL_ATTR_IGNORE_SPACE ODBC_ATTR_USE_CURSOR_LIBRARY ODBC_ATTR_ASSUME_UTF8 ODBC_SQL_USE_IF_NEEDED ODBC_SQL_USE_DRIVER ODBC_SQL_USE_ODBC PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT contained + +" pgsql +syn keyword phpConstants PGSQL_CONNECT_FORCE_NEW PGSQL_ASSOC PGSQL_NUM PGSQL_BOTH PGSQL_CONNECTION_BAD PGSQL_CONNECTION_OK PGSQL_TRANSACTION_IDLE PGSQL_TRANSACTION_ACTIVE PGSQL_TRANSACTION_INTRANS PGSQL_TRANSACTION_INERROR PGSQL_TRANSACTION_UNKNOWN PGSQL_ERRORS_TERSE PGSQL_ERRORS_DEFAULT PGSQL_ERRORS_VERBOSE PGSQL_SEEK_SET PGSQL_SEEK_CUR PGSQL_SEEK_END PGSQL_STATUS_LONG PGSQL_STATUS_STRING PGSQL_EMPTY_QUERY PGSQL_COMMAND_OK PGSQL_TUPLES_OK PGSQL_COPY_OUT PGSQL_COPY_IN PGSQL_BAD_RESPONSE PGSQL_NONFATAL_ERROR PGSQL_FATAL_ERROR PGSQL_DIAG_SEVERITY PGSQL_DIAG_SQLSTATE PGSQL_DIAG_MESSAGE_PRIMARY PGSQL_DIAG_MESSAGE_DETAIL PGSQL_DIAG_MESSAGE_HINT PGSQL_DIAG_STATEMENT_POSITION PGSQL_DIAG_INTERNAL_POSITION PGSQL_DIAG_INTERNAL_QUERY PGSQL_DIAG_CONTEXT PGSQL_DIAG_SOURCE_FILE PGSQL_DIAG_SOURCE_LINE PGSQL_DIAG_SOURCE_FUNCTION PGSQL_CONV_IGNORE_DEFAULT PGSQL_CONV_FORCE_NULL PGSQL_CONV_IGNORE_NOT_NULL PGSQL_DML_NO_CONV PGSQL_DML_EXEC PGSQL_DML_ASYNC PGSQL_DML_STRING contained + +" Phar +syn keyword phpConstants CURRENT_MODE_MASK CURRENT_AS_PATHNAME CURRENT_AS_FILEINFO CURRENT_AS_SELF KEY_MODE_MASK KEY_AS_PATHNAME KEY_AS_FILENAME NEW_CURRENT_AND_KEY SKIP_DOTS UNIX_PATHS BZ2 GZ NONE PHAR TAR ZIP COMPRESSED PHP PHPS MD5 OPENSSL SHA1 SHA256 SHA512 contained + +" Reflection +syn keyword phpConstants IS_DEPRECATED IS_STATIC IS_PUBLIC IS_PROTECTED IS_PRIVATE IS_ABSTRACT IS_FINAL IS_IMPLICIT_ABSTRACT IS_EXPLICIT_ABSTRACT contained + +" soap +syn keyword phpConstants SOAP_1_1 SOAP_1_2 SOAP_PERSISTENCE_SESSION SOAP_PERSISTENCE_REQUEST SOAP_FUNCTIONS_ALL SOAP_ENCODED SOAP_LITERAL SOAP_RPC SOAP_DOCUMENT SOAP_ACTOR_NEXT SOAP_ACTOR_NONE SOAP_ACTOR_UNLIMATERECEIVER SOAP_COMPRESSION_ACCEPT SOAP_COMPRESSION_GZIP SOAP_COMPRESSION_DEFLATE SOAP_AUTHENTICATION_BASIC SOAP_AUTHENTICATION_DIGEST UNKNOWN_TYPE XSD_STRING XSD_BOOLEAN XSD_DECIMAL XSD_FLOAT XSD_DOUBLE XSD_DURATION XSD_DATETIME XSD_TIME XSD_DATE XSD_GYEARMONTH XSD_GYEAR XSD_GMONTHDAY XSD_GDAY XSD_GMONTH XSD_HEXBINARY XSD_BASE64BINARY XSD_ANYURI XSD_QNAME XSD_NOTATION XSD_NORMALIZEDSTRING XSD_TOKEN XSD_LANGUAGE XSD_NMTOKEN XSD_NAME XSD_NCNAME XSD_ID XSD_IDREF XSD_IDREFS XSD_ENTITY XSD_ENTITIES XSD_INTEGER XSD_NONPOSITIVEINTEGER XSD_NEGATIVEINTEGER XSD_LONG XSD_INT XSD_SHORT XSD_BYTE XSD_NONNEGATIVEINTEGER XSD_UNSIGNEDLONG XSD_UNSIGNEDINT XSD_UNSIGNEDSHORT XSD_UNSIGNEDBYTE XSD_POSITIVEINTEGER XSD_NMTOKENS XSD_ANYTYPE XSD_ANYXML APACHE_MAP SOAP_ENC_OBJECT SOAP_ENC_ARRAY XSD_1999_TIMEINSTANT XSD_NAMESPACE XSD_1999_NAMESPACE SOAP_SINGLE_ELEMENT_ARRAYS SOAP_WAIT_ONE_WAY_CALLS SOAP_USE_XSI_ARRAY_TYPE WSDL_CACHE_NONE WSDL_CACHE_DISK WSDL_CACHE_MEMORY WSDL_CACHE_BOTH contained + +" sockets +syn keyword phpConstants AF_UNIX AF_INET AF_INET6 SOCK_STREAM SOCK_DGRAM SOCK_RAW SOCK_SEQPACKET SOCK_RDM MSG_OOB MSG_WAITALL MSG_PEEK MSG_DONTROUTE SO_DEBUG SO_REUSEADDR SO_KEEPALIVE SO_DONTROUTE SO_LINGER SO_BROADCAST SO_OOBINLINE SO_SNDBUF SO_RCVBUF SO_SNDLOWAT SO_RCVLOWAT SO_SNDTIMEO SO_RCVTIMEO SO_TYPE SO_ERROR SOL_SOCKET SOMAXCONN TCP_NODELAY PHP_NORMAL_READ PHP_BINARY_READ SOCKET_EINTR SOCKET_EBADF SOCKET_EACCES SOCKET_EFAULT SOCKET_EINVAL SOCKET_EMFILE SOCKET_EWOULDBLOCK SOCKET_EINPROGRESS SOCKET_EALREADY SOCKET_ENOTSOCK SOCKET_EDESTADDRREQ SOCKET_EMSGSIZE SOCKET_EPROTOTYPE SOCKET_ENOPROTOOPT SOCKET_EPROTONOSUPPORT SOCKET_ESOCKTNOSUPPORT SOCKET_EOPNOTSUPP SOCKET_EPFNOSUPPORT SOCKET_EAFNOSUPPORT SOCKET_EADDRINUSE SOCKET_EADDRNOTAVAIL SOCKET_ENETDOWN SOCKET_ENETUNREACH SOCKET_ENETRESET SOCKET_ECONNABORTED SOCKET_ECONNRESET SOCKET_ENOBUFS SOCKET_EISCONN SOCKET_ENOTCONN SOCKET_ESHUTDOWN SOCKET_ETOOMANYREFS SOCKET_ETIMEDOUT SOCKET_ECONNREFUSED SOCKET_ELOOP SOCKET_ENAMETOOLONG SOCKET_EHOSTDOWN SOCKET_EHOSTUNREACH SOCKET_ENOTEMPTY SOCKET_EPROCLIM SOCKET_EUSERS SOCKET_EDQUOT SOCKET_ESTALE SOCKET_EREMOTE SOCKET_EDISCON SOCKET_SYSNOTREADY SOCKET_VERNOTSUPPORTED SOCKET_NOTINITIALISED SOCKET_HOST_NOT_FOUND SOCKET_TRY_AGAIN SOCKET_NO_RECOVERY SOCKET_NO_DATA SOCKET_NO_ADDRESS SOL_TCP SOL_UDP contained + +" SPL +syn keyword phpConstants LEAVES_ONLY SELF_FIRST CHILD_FIRST CATCH_GET_CHILD CALL_TOSTRING TOSTRING_USE_KEY TOSTRING_USE_CURRENT TOSTRING_USE_INNER FULL_CACHE USE_KEY MATCH GET_MATCH ALL_MATCHES SPLIT REPLACE BYPASS_CURRENT BYPASS_KEY PREFIX_LEFT PREFIX_MID_HAS_NEXT PREFIX_MID_LAST PREFIX_END_HAS_NEXT PREFIX_END_LAST PREFIX_RIGHT STD_PROP_LIST ARRAY_AS_PROPS CHILD_ARRAYS_ONLY CURRENT_MODE_MASK CURRENT_AS_PATHNAME CURRENT_AS_FILEINFO CURRENT_AS_SELF KEY_MODE_MASK KEY_AS_PATHNAME KEY_AS_FILENAME NEW_CURRENT_AND_KEY SKIP_DOTS UNIX_PATHS DROP_NEW_LINE READ_AHEAD SKIP_EMPTY READ_CSV IT_MODE_LIFO IT_MODE_FIFO IT_MODE_DELETE IT_MODE_KEEP EXTR_BOTH EXTR_PRIORITY EXTR_DATA MIT_NEED_ANY MIT_NEED_ALL MIT_KEYS_NUMERIC MIT_KEYS_ASSOC contained + +" standard +syn keyword phpConstants CONNECTION_ABORTED CONNECTION_NORMAL CONNECTION_TIMEOUT INI_USER INI_PERDIR INI_SYSTEM INI_ALL INI_SCANNER_NORMAL INI_SCANNER_RAW PHP_URL_SCHEME PHP_URL_HOST PHP_URL_PORT PHP_URL_USER PHP_URL_PASS PHP_URL_PATH PHP_URL_QUERY PHP_URL_FRAGMENT PHP_SESSION_ACTIVE PHP_SESSION_DISABLED PHP_SESSION_NONE M_E M_LOG2E M_LOG10E M_LN2 M_LN10 M_PI M_PI_2 M_PI_4 M_1_PI M_2_PI M_SQRTPI M_2_SQRTPI M_LNPI M_EULER M_SQRT2 M_SQRT1_2 M_SQRT3 INF NAN PHP_ROUND_HALF_UP PHP_ROUND_HALF_DOWN PHP_ROUND_HALF_EVEN PHP_ROUND_HALF_ODD INFO_GENERAL INFO_CREDITS INFO_CONFIGURATION INFO_MODULES INFO_ENVIRONMENT INFO_VARIABLES INFO_LICENSE INFO_ALL CREDITS_GROUP CREDITS_GENERAL CREDITS_SAPI CREDITS_MODULES CREDITS_DOCS CREDITS_FULLPAGE CREDITS_QA CREDITS_ALL HTML_SPECIALCHARS HTML_ENTITIES ENT_COMPAT ENT_QUOTES ENT_NOQUOTES ENT_IGNORE ENT_DISALLOWED ENT_HTML401 ENT_HTML5 ENT_SUBSTITUTE ENT_XML1 ENT_XHTML STR_PAD_LEFT STR_PAD_RIGHT STR_PAD_BOTH PATHINFO_DIRNAME PATHINFO_BASENAME PATHINFO_EXTENSION PATHINFO_FILENAME CHAR_MAX LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_ALL SEEK_SET SEEK_CUR SEEK_END LOCK_SH LOCK_EX LOCK_UN LOCK_NB STREAM_NOTIFY_CONNECT STREAM_NOTIFY_AUTH_REQUIRED STREAM_NOTIFY_AUTH_RESULT STREAM_NOTIFY_MIME_TYPE_IS STREAM_NOTIFY_FILE_SIZE_IS STREAM_NOTIFY_REDIRECTED STREAM_NOTIFY_PROGRESS STREAM_NOTIFY_FAILURE STREAM_NOTIFY_COMPLETED STREAM_NOTIFY_RESOLVE STREAM_NOTIFY_SEVERITY_INFO STREAM_NOTIFY_SEVERITY_WARN STREAM_NOTIFY_SEVERITY_ERR STREAM_FILTER_READ STREAM_FILTER_WRITE STREAM_FILTER_ALL STREAM_CLIENT_PERSISTENT STREAM_CLIENT_ASYNC_CONNECT STREAM_CLIENT_CONNECT STREAM_CRYPTO_METHOD_SSLv2_CLIENT STREAM_CRYPTO_METHOD_SSLv3_CLIENT STREAM_CRYPTO_METHOD_SSLv23_CLIENT STREAM_CRYPTO_METHOD_TLS_CLIENT STREAM_CRYPTO_METHOD_SSLv2_SERVER STREAM_CRYPTO_METHOD_SSLv3_SERVER STREAM_CRYPTO_METHOD_SSLv23_SERVER STREAM_CRYPTO_METHOD_TLS_SERVER STREAM_SHUT_RD STREAM_SHUT_WR STREAM_SHUT_RDWR STREAM_PF_INET STREAM_PF_INET6 STREAM_PF_UNIX STREAM_IPPROTO_IP STREAM_SOCK_STREAM STREAM_SOCK_DGRAM STREAM_SOCK_RAW STREAM_SOCK_SEQPACKET STREAM_SOCK_RDM STREAM_PEEK STREAM_OOB STREAM_SERVER_BIND STREAM_SERVER_LISTEN FILE_USE_INCLUDE_PATH FILE_IGNORE_NEW_LINES FILE_SKIP_EMPTY_LINES FILE_APPEND FILE_NO_DEFAULT_CONTEXT FILE_TEXT FILE_BINARY FNM_NOESCAPE FNM_PATHNAME FNM_PERIOD FNM_CASEFOLD PSFS_PASS_ON PSFS_FEED_ME PSFS_ERR_FATAL PSFS_FLAG_NORMAL PSFS_FLAG_FLUSH_INC PSFS_FLAG_FLUSH_CLOSE CRYPT_SALT_LENGTH CRYPT_STD_DES CRYPT_EXT_DES CRYPT_MD5 CRYPT_BLOWFISH DIRECTORY_SEPARATOR PATH_SEPARATOR GLOB_BRACE GLOB_MARK GLOB_NOSORT GLOB_NOCHECK GLOB_NOESCAPE GLOB_ERR GLOB_ONLYDIR GLOB_AVAILABLE_FLAGS LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG LOG_KERN LOG_USER LOG_MAIL LOG_DAEMON LOG_AUTH LOG_SYSLOG LOG_LPR LOG_NEWS LOG_UUCP LOG_CRON LOG_AUTHPRIV LOG_PID LOG_CONS LOG_ODELAY LOG_NDELAY LOG_NOWAIT LOG_PERROR EXTR_OVERWRITE EXTR_SKIP EXTR_PREFIX_SAME EXTR_PREFIX_ALL EXTR_PREFIX_INVALID EXTR_PREFIX_IF_EXISTS EXTR_IF_EXISTS EXTR_REFS SORT_ASC SORT_DESC SORT_REGULAR SORT_NUMERIC SORT_STRING SORT_LOCALE_STRING CASE_LOWER CASE_UPPER COUNT_NORMAL COUNT_RECURSIVE ASSERT_ACTIVE ASSERT_CALLBACK ASSERT_BAIL ASSERT_WARNING ASSERT_QUIET_EVAL STREAM_USE_PATH STREAM_IGNORE_URL STREAM_ENFORCE_SAFE_MODE STREAM_REPORT_ERRORS STREAM_MUST_SEEK STREAM_URL_STAT_LINK STREAM_URL_STAT_QUIET STREAM_MKDIR_RECURSIVE STREAM_IS_URL STREAM_OPTION_BLOCKING STREAM_OPTION_READ_TIMEOUT STREAM_OPTION_READ_BUFFER STREAM_OPTION_WRITE_BUFFER STREAM_BUFFER_NONE STREAM_BUFFER_LINE STREAM_BUFFER_FULL STREAM_CAST_AS_STREAM STREAM_CAST_FOR_SELECT STREAM_META_ACCESS STREAM_META_GROUP STREAM_META_GROUP_NAME STREAM_META_OWNER STREAM_META_OWNER_NAME STREAM_META_TOUCH IMAGETYPE_GIF IMAGETYPE_JPEG IMAGETYPE_PNG IMAGETYPE_SWF IMAGETYPE_PSD IMAGETYPE_BMP IMAGETYPE_TIFF_II IMAGETYPE_TIFF_MM IMAGETYPE_JPC IMAGETYPE_JP2 IMAGETYPE_JPX IMAGETYPE_JB2 IMAGETYPE_SWC IMAGETYPE_IFF IMAGETYPE_WBMP IMAGETYPE_JPEG2000 IMAGETYPE_XBM IMAGETYPE_ICO IMAGETYPE_UNKNOWN IMAGETYPE_COUNT DNS_A DNS_NS DNS_CNAME DNS_SOA DNS_PTR DNS_HINFO DNS_MX DNS_TXT DNS_SRV DNS_NAPTR DNS_AAAA DNS_A6 DNS_ANY DNS_ALL IPPROTO_IP IPPROTO_IPV6 IPV6_MULTICAST_HOPS IPV6_MULTICAST_IF IPV6_MULTICAST_LOOP IPV6_MULTICAST_TTL IP_MULTICAST_IF IP_MULTICAST_LOOP IP_MULTICAST_TTL MCAST_JOIN_GROUP MCAST_LEAVE_GROUP MCAST_BLOCK_SOURCE MCAST_UNBLOCK_SOURCE MCAST_JOIN_SOURCE_GROUP MCAST_LEAVE_SOURCE_GROUP contained + +" sqlite +syn keyword phpConstants SQLITE_BOTH SQLITE_NUM SQLITE_ASSOC SQLITE_OK SQLITE_ERROR SQLITE_INTERNAL SQLITE_PERM SQLITE_ABORT SQLITE_BUSY SQLITE_LOCKED SQLITE_NOMEM SQLITE_READONLY SQLITE_INTERRUPT SQLITE_IOERR SQLITE_CORRUPT SQLITE_NOTFOUND SQLITE_FULL SQLITE_CANTOPEN SQLITE_PROTOCOL SQLITE_EMPTY SQLITE_SCHEMA SQLITE_TOOBIG SQLITE_CONSTRAINT SQLITE_MISMATCH SQLITE_MISUSE SQLITE_NOLFS SQLITE_AUTH SQLITE_NOTADB SQLITE_FORMAT SQLITE_ROW SQLITE_DONE contained + +" sqlite3 +syn keyword phpConstants SQLITE3_ASSOC SQLITE3_NUM SQLITE3_BOTH SQLITE3_INTEGER SQLITE3_FLOAT SQLITE3_TEXT SQLITE3_BLOB SQLITE3_NULL SQLITE3_OPEN_READONLY SQLITE3_OPEN_READWRITE SQLITE3_OPEN_CREATE contained + +" tidy +syn keyword phpConstants TIDY_TAG_UNKNOWN TIDY_TAG_A TIDY_TAG_ABBR TIDY_TAG_ACRONYM TIDY_TAG_ADDRESS TIDY_TAG_ALIGN TIDY_TAG_APPLET TIDY_TAG_AREA TIDY_TAG_B TIDY_TAG_BASE TIDY_TAG_BASEFONT TIDY_TAG_BDO TIDY_TAG_BGSOUND TIDY_TAG_BIG TIDY_TAG_BLINK TIDY_TAG_BLOCKQUOTE TIDY_TAG_BODY TIDY_TAG_BR TIDY_TAG_BUTTON TIDY_TAG_CAPTION TIDY_TAG_CENTER TIDY_TAG_CITE TIDY_TAG_CODE TIDY_TAG_COL TIDY_TAG_COLGROUP TIDY_TAG_COMMENT TIDY_TAG_DD TIDY_TAG_DEL TIDY_TAG_DFN TIDY_TAG_DIR TIDY_TAG_DIV TIDY_TAG_DL TIDY_TAG_DT TIDY_TAG_EM TIDY_TAG_EMBED TIDY_TAG_FIELDSET TIDY_TAG_FONT TIDY_TAG_FORM TIDY_TAG_FRAME TIDY_TAG_FRAMESET TIDY_TAG_H1 TIDY_TAG_H2 TIDY_TAG_H3 TIDY_TAG_H4 TIDY_TAG_H5 TIDY_TAG_H6 TIDY_TAG_HEAD TIDY_TAG_HR TIDY_TAG_HTML TIDY_TAG_I TIDY_TAG_IFRAME TIDY_TAG_ILAYER TIDY_TAG_IMG TIDY_TAG_INPUT TIDY_TAG_INS TIDY_TAG_ISINDEX TIDY_TAG_KBD TIDY_TAG_KEYGEN TIDY_TAG_LABEL TIDY_TAG_LAYER TIDY_TAG_LEGEND TIDY_TAG_LI TIDY_TAG_LINK TIDY_TAG_LISTING TIDY_TAG_MAP TIDY_TAG_MARQUEE TIDY_TAG_MENU TIDY_TAG_META TIDY_TAG_MULTICOL TIDY_TAG_NOBR TIDY_TAG_NOEMBED TIDY_TAG_NOFRAMES TIDY_TAG_NOLAYER TIDY_TAG_NOSAVE TIDY_TAG_NOSCRIPT TIDY_TAG_OBJECT TIDY_TAG_OL TIDY_TAG_OPTGROUP TIDY_TAG_OPTION TIDY_TAG_P TIDY_TAG_PARAM TIDY_TAG_PLAINTEXT TIDY_TAG_PRE TIDY_TAG_Q TIDY_TAG_RB TIDY_TAG_RBC TIDY_TAG_RP TIDY_TAG_RT TIDY_TAG_RTC TIDY_TAG_RUBY TIDY_TAG_S TIDY_TAG_SAMP TIDY_TAG_SCRIPT TIDY_TAG_SELECT TIDY_TAG_SERVER TIDY_TAG_SERVLET TIDY_TAG_SMALL TIDY_TAG_SPACER TIDY_TAG_SPAN TIDY_TAG_STRIKE TIDY_TAG_STRONG TIDY_TAG_STYLE TIDY_TAG_SUB TIDY_TAG_SUP TIDY_TAG_TABLE TIDY_TAG_TBODY TIDY_TAG_TD TIDY_TAG_TEXTAREA TIDY_TAG_TFOOT TIDY_TAG_TH TIDY_TAG_THEAD TIDY_TAG_TITLE TIDY_TAG_TR TIDY_TAG_TT TIDY_TAG_U TIDY_TAG_UL TIDY_TAG_VAR TIDY_TAG_WBR TIDY_TAG_XMP TIDY_NODETYPE_ROOT TIDY_NODETYPE_DOCTYPE TIDY_NODETYPE_COMMENT TIDY_NODETYPE_PROCINS TIDY_NODETYPE_TEXT TIDY_NODETYPE_START TIDY_NODETYPE_END TIDY_NODETYPE_STARTEND TIDY_NODETYPE_CDATA TIDY_NODETYPE_SECTION TIDY_NODETYPE_ASP TIDY_NODETYPE_JSTE TIDY_NODETYPE_PHP TIDY_NODETYPE_XMLDECL contained + +" tokenizer +syn keyword phpConstants T_REQUIRE_ONCE T_REQUIRE T_EVAL T_INCLUDE_ONCE T_INCLUDE T_LOGICAL_OR T_LOGICAL_XOR T_LOGICAL_AND T_PRINT T_SR_EQUAL T_SL_EQUAL T_XOR_EQUAL T_OR_EQUAL T_AND_EQUAL T_MOD_EQUAL T_CONCAT_EQUAL T_DIV_EQUAL T_MUL_EQUAL T_MINUS_EQUAL T_PLUS_EQUAL T_BOOLEAN_OR T_BOOLEAN_AND T_IS_NOT_IDENTICAL T_IS_IDENTICAL T_IS_NOT_EQUAL T_IS_EQUAL T_IS_GREATER_OR_EQUAL T_IS_SMALLER_OR_EQUAL T_SR T_SL T_INSTANCEOF T_UNSET_CAST T_BOOL_CAST T_OBJECT_CAST T_ARRAY_CAST T_STRING_CAST T_DOUBLE_CAST T_INT_CAST T_DEC T_INC T_CLONE T_NEW T_EXIT T_IF T_ELSEIF T_ELSE T_ENDIF T_LNUMBER T_DNUMBER T_STRING T_STRING_VARNAME T_VARIABLE T_NUM_STRING T_INLINE_HTML T_CHARACTER T_BAD_CHARACTER T_ENCAPSED_AND_WHITESPACE T_CONSTANT_ENCAPSED_STRING T_ECHO T_DO T_WHILE T_ENDWHILE T_FOR T_ENDFOR T_FOREACH T_ENDFOREACH T_DECLARE T_ENDDECLARE T_AS T_SWITCH T_ENDSWITCH T_CASE T_DEFAULT T_BREAK T_CONTINUE T_GOTO T_FUNCTION T_CONST T_RETURN T_TRY T_CATCH T_THROW T_USE T_GLOBAL T_PUBLIC T_PROTECTED T_PRIVATE T_FINAL T_ABSTRACT T_STATIC T_VAR T_UNSET T_ISSET T_EMPTY T_HALT_COMPILER T_CLASS T_INTERFACE T_EXTENDS T_IMPLEMENTS T_OBJECT_OPERATOR T_DOUBLE_ARROW T_LIST T_ARRAY T_CLASS_C T_METHOD_C T_FUNC_C T_LINE T_FILE T_COMMENT T_DOC_COMMENT T_OPEN_TAG T_OPEN_TAG_WITH_ECHO T_CLOSE_TAG T_WHITESPACE T_START_HEREDOC T_END_HEREDOC T_DOLLAR_OPEN_CURLY_BRACES T_CURLY_OPEN T_PAAMAYIM_NEKUDOTAYIM T_NAMESPACE T_NS_C T_DIR T_NS_SEPARATOR T_DOUBLE_COLON contained + +" xml +syn keyword phpConstants XML_ERROR_NONE XML_ERROR_NO_MEMORY XML_ERROR_SYNTAX XML_ERROR_NO_ELEMENTS XML_ERROR_INVALID_TOKEN XML_ERROR_UNCLOSED_TOKEN XML_ERROR_PARTIAL_CHAR XML_ERROR_TAG_MISMATCH XML_ERROR_DUPLICATE_ATTRIBUTE XML_ERROR_JUNK_AFTER_DOC_ELEMENT XML_ERROR_PARAM_ENTITY_REF XML_ERROR_UNDEFINED_ENTITY XML_ERROR_RECURSIVE_ENTITY_REF XML_ERROR_ASYNC_ENTITY XML_ERROR_BAD_CHAR_REF XML_ERROR_BINARY_ENTITY_REF XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF XML_ERROR_MISPLACED_XML_PI XML_ERROR_UNKNOWN_ENCODING XML_ERROR_INCORRECT_ENCODING XML_ERROR_UNCLOSED_CDATA_SECTION XML_ERROR_EXTERNAL_ENTITY_HANDLING XML_OPTION_CASE_FOLDING XML_OPTION_TARGET_ENCODING XML_OPTION_SKIP_TAGSTART XML_OPTION_SKIP_WHITE XML_SAX_IMPL contained + +" xmlreader +syn keyword phpConstants NONE ELEMENT ATTRIBUTE TEXT CDATA ENTITY_REF ENTITY PI COMMENT DOC DOC_TYPE DOC_FRAGMENT NOTATION WHITESPACE SIGNIFICANT_WHITESPACE END_ELEMENT END_ENTITY XML_DECLARATION LOADDTD DEFAULTATTRS VALIDATE SUBST_ENTITIES contained + +" xsl +syn keyword phpConstants XSL_CLONE_AUTO XSL_CLONE_NEVER XSL_CLONE_ALWAYS LIBXSLT_VERSION LIBXSLT_DOTTED_VERSION LIBEXSLT_VERSION LIBEXSLT_DOTTED_VERSION contained + +" zip +syn keyword phpConstants CREATE EXCL CHECKCONS OVERWRITE FL_NOCASE FL_NODIR FL_COMPRESSED FL_UNCHANGED CM_DEFAULT CM_STORE CM_SHRINK CM_REDUCE_1 CM_REDUCE_2 CM_REDUCE_3 CM_REDUCE_4 CM_IMPLODE CM_DEFLATE CM_DEFLATE64 CM_PKWARE_IMPLODE ER_OK ER_MULTIDISK ER_RENAME ER_CLOSE ER_SEEK ER_READ ER_WRITE ER_CRC ER_ZIPCLOSED ER_NOENT ER_EXISTS ER_OPEN ER_TMPOPEN ER_ZLIB ER_MEMORY ER_CHANGED ER_COMPNOTSUPP ER_EOF ER_INVAL ER_NOZIP ER_INTERNAL ER_INCONS ER_REMOVE ER_DELETED contained + +" zlib +syn keyword phpConstants FORCE_GZIP FORCE_DEFLATE ZLIB_ENCODING_DEFLATE ZLIB_ENCODING_GZIP ZLIB_ENCODING_RAW contained + +syn case ignore + +" Core +syn keyword phpFunctions zend_version func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined get_class get_called_class get_parent_class method_exists property_exists class_exists interface_exists function_exists class_alias get_included_files get_required_files is_subclass_of is_a get_class_vars get_object_vars get_class_methods get_declared_traits trait_exists trigger_error user_error set_error_handler restore_error_handler set_exception_handler restore_exception_handler get_declared_classes get_declared_interfaces get_defined_functions get_defined_vars create_function get_resource_type get_loaded_extensions extension_loaded get_extension_funcs get_defined_constants debug_backtrace debug_print_backtrace gc_collect_cycles gc_enabled gc_enable gc_disable contained +syn keyword phpClasses Traversable IteratorAggregate Iterator ArrayAccess Serializable Exception ErrorException Closure contained + +" bcmath +syn keyword phpFunctions bcadd bcsub bcmul bcdiv bcmod bcpow bcsqrt bcscale bccomp bcpowmod contained + +" bz2 +syn keyword phpFunctions bzopen bzread bzwrite bzflush bzclose bzerrno bzerrstr bzerror bzcompress bzdecompress contained + +" calendar +syn keyword phpFunctions jdtogregorian gregoriantojd jdtojulian juliantojd jdtojewish jewishtojd jdtofrench frenchtojd jddayofweek jdmonthname easter_date easter_days unixtojd jdtounix cal_to_jd cal_from_jd cal_days_in_month cal_info contained + +" com_dotnet +syn keyword phpFunctions variant_set variant_add variant_cat variant_sub variant_mul variant_and variant_div variant_eqv variant_idiv variant_imp variant_mod variant_or variant_pow variant_xor variant_abs variant_fix variant_int variant_neg variant_not variant_round variant_cmp variant_date_to_timestamp variant_date_from_timestamp variant_get_type variant_set_type variant_cast com_create_guid com_event_sink com_print_typeinfo com_message_pump com_load_typelib com_get_active_object contained +syn keyword phpClasses COMPersistHelper com_exception com_safearray_proxy variant com dotnet contained + +" ctype +syn keyword phpFunctions ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit contained + +" curl +syn keyword phpFunctions curl_init curl_copy_handle curl_version curl_setopt curl_setopt_array curl_exec curl_getinfo curl_error curl_errno curl_close curl_multi_init curl_multi_add_handle curl_multi_remove_handle curl_multi_select curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_close contained + +" date +syn keyword phpFunctions strtotime date idate gmdate mktime gmmktime checkdate strftime gmstrftime time localtime getdate date_create date_create_from_format date_parse date_parse_from_format date_get_last_errors date_format date_modify date_add date_sub date_timezone_get date_timezone_set date_offset_get date_diff date_time_set date_date_set date_isodate_set date_timestamp_set date_timestamp_get timezone_open timezone_name_get timezone_name_from_abbr timezone_offset_get timezone_transitions_get timezone_location_get timezone_identifiers_list timezone_abbreviations_list timezone_version_get date_interval_create_from_date_string date_interval_format date_default_timezone_set date_default_timezone_get date_sunrise date_sunset date_sun_info contained +syn keyword phpClasses DateTime DateTimeZone DateInterval DatePeriod contained + +" dba +syn keyword phpFunctions dba_close dba_delete dba_exists dba_fetch dba_firstkey dba_handlers dba_insert dba_key_split dba_list dba_nextkey dba_open dba_optimize dba_popen dba_replace dba_sync contained + +" dom +syn keyword phpFunctions dom_import_simplexml contained +syn keyword phpClasses DOMException DOMStringList DOMNameList DOMImplementationList DOMImplementationSource DOMImplementation DOMNode DOMNameSpaceNode DOMDocumentFragment DOMDocument DOMNodeList DOMNamedNodeMap DOMCharacterData DOMAttr DOMElement DOMText DOMComment DOMTypeinfo DOMUserDataHandler DOMDomError DOMErrorHandler DOMLocator DOMConfiguration DOMCdataSection DOMDocumentType DOMNotation DOMEntity DOMEntityReference DOMProcessingInstruction DOMStringExtend DOMXPath contained + +" enchant +syn keyword phpFunctions enchant_broker_describe enchant_broker_dict_exists enchant_broker_free_dictenchant_broker_free enchant_broker_get_error enchant_broker_init enchant_broker_list_dicts enchant_broker_request_dict enchant_broker_request_pwl_dict enchant_broker_set_ordering enchant_dict_add_to_personal enchant_dict_add_to_session enchant_dict_check enchant_dict_describe enchant_dict_get_error enchant_dict_is_in_session enchant_dict_quick_check enchant_dict_store_replacement enchant_dict_suggest contained + +" ereg +syn keyword phpFunctions ereg ereg_replace eregi eregi_replace split spliti sql_regcase contained + +" exif +syn keyword phpFunctions exif_imagetype exif_read_data exif_tagname exif_thumbnail read_exif_data contained + +" fileinfo +syn keyword phpFunctions finfo_open finfo_close finfo_set_flags finfo_file finfo_buffer mime_content_type contained +syn keyword phpClasses finfo contained + +" filter +syn keyword phpFunctions filter_input filter_var filter_input_array filter_var_array filter_list filter_has_var filter_id contained + +" ftp +syn keyword phpFunctions ftp_connect ftp_login ftp_pwd ftp_cdup ftp_chdir ftp_exec ftp_raw ftp_mkdir ftp_rmdir ftp_chmod ftp_alloc ftp_nlist ftp_rawlist ftp_systype ftp_pasv ftp_get ftp_fget ftp_put ftp_fput ftp_size ftp_mdtm ftp_rename ftp_delete ftp_site ftp_close ftp_set_option ftp_get_option ftp_nb_fget ftp_nb_get ftp_nb_continue ftp_nb_put ftp_nb_fput ftp_quit contained + +" gd +syn keyword phpFunctions gd_info imagearc imageellipse imagechar imagecharup imagecolorat imagecolorallocate imagepalettecopy imagecreatefromstring imagecolorclosest imagecolorclosesthwb imagecolordeallocate imagecolorresolve imagecolorexact imagecolorset imagecolortransparent imagecolorstotal imagecolorsforindex imagecopy imagecopymerge imagecopymergegray imagecopyresized imagecreate imagecreatetruecolor imageistruecolor imagetruecolortopalette imagesetthickness imagefilledarc imagefilledellipse imagealphablending imagesavealpha imagecolorallocatealpha imagecolorresolvealpha imagecolorclosestalpha imagecolorexactalpha imagecopyresampled imagerotate imageantialias imagesettile imagesetbrush imagesetstyle imagecreatefrompng imagecreatefromgif imagecreatefromwbmp imagecreatefromxbm imagecreatefromgd imagecreatefromgd2 imagecreatefromgd2part imagepng imagegif imagewbmp imagegd imagegd2 imagedestroy imagegammacorrect imagefill imagefilledpolygon imagefilledrectangle imagefilltoborder imagefontwidth imagefontheight imageinterlace imageline imageloadfont imagepolygon imagerectangle imagesetpixel imagestring imagestringup imagesx imagesy imagedashedline imagetypes png2wbmp image2wbmp imagelayereffect imagexbm imagecolormatch imagefilter imageconvolution getimagesizefrom string contained + +" gettext +syn keyword phpFunctions textdomain gettext dgettext dcgettext bindtextdomain ngettext dngettext dcngettext bind_textdomain_codeset contained + +" gmp +syn keyword phpFunctions gmp_init gmp_intval gmp_strval gmp_add gmp_sub gmp_mul gmp_div_qr gmp_div_q gmp_div_r gmp_div gmp_mod gmp_divexact gmp_neg gmp_abs gmp_fact gmp_sqrt gmp_sqrtrem gmp_pow gmp_powm gmp_perfect_square gmp_prob_prime gmp_gcd gmp_gcdext gmp_invert gmp_jacobi gmp_legendre gmp_cmp gmp_sign gmp_random gmp_and gmp_or gmp_com gmp_xor gmp_setbit gmp_clrbit gmp_scan0 gmp_scan1 gmp_testbit gmp_popcount gmp_hamdist gmp_nextprime contained + +" hash +syn keyword phpFunctions hash hash_file hash_hmac hash_hmac_file hash_init hash_update hash_update_stream hash_update_file hash_final hash_copy hash_algos mhash_keygen_s2k mhash_get_block_size mhash_get_hash_name mhash_count mhash contained + +" iconv +syn keyword phpFunctions iconv ob_iconv_handler iconv_get_encoding iconv_set_encoding iconv_strlen iconv_substr iconv_strpos iconv_strrpos iconv_mime_encode iconv_mime_decode iconv_mime_decode_headers contained + +" imap +syn keyword phpFunctions imap_open imap_reopen imap_close imap_num_msg imap_num_recent imap_headers imap_headerinfo imap_rfc822_parse_headers imap_rfc822_write_address imap_rfc822_parse_adrlist imap_body imap_bodystruct imap_fetchbody imap_savebody imap_fetchheader imap_fetchstructure imap_gc imap_expunge imap_delete imap_undelete imap_check imap_mail_copy imap_mail_move imap_mail_compose imap_createmailbox imap_renamemailbox imap_deletemailbox imap_subscribe imap_unsubscribe imap_append imap_ping imap_base64 imap_qprint imap_8bit imap_binary imap_utf8 imap_status imap_mailboxmsginfo imap_setflag_full imap_clearflag_full imap_sort imap_uid imap_msgno imap_list imap_lsub imap_fetch_overview imap_alerts imap_errors imap_last_error imap_search imap_utf7_decode imap_utf7_encode imap_utf8_to_mutf7 imap_mutf7_to_utf8 imap_mime_header_decode imap_thread imap_timeout imap_get_quota imap_get_quotaroot imap_set_quota imap_setacl imap_getacl imap_mail imap_header imap_listmailbox imap_getmailboxes imap_scanmailbox imap_listsubscribed imap_getsubscribed imap_fetchtext imap_scan imap_create imap_rename contained + +" intl +syn keyword phpFunctions collator_create collator_compare collator_get_attribute collator_set_attribute collator_get_strength collator_set_strength collator_sort collator_sort_with_sort_keys collator_asort collator_get_locale collator_get_error_code collator_get_error_message numfmt_create numfmt_format numfmt_parse numfmt_format_currency numfmt_parse_currency numfmt_set_attribute numfmt_get_attribute numfmt_set_text_attribute numfmt_get_text_attribute numfmt_set_symbol numfmt_get_symbol numfmt_set_pattern numfmt_get_pattern numfmt_get_locale numfmt_get_error_code numfmt_get_error_message normalizer_normalize normalizer_is_normalized locale_get_default locale_set_default locale_get_primary_language locale_get_script locale_get_region locale_get_keywords locale_get_display_script locale_get_display_region locale_get_display_name locale_get_display_language locale_get_display_variant locale_compose locale_parse locale_get_all_variants locale_filter_matches locale_canonicalize locale_lookup locale_accept_from_http msgfmt_create msgfmt_format msgfmt_format_message msgfmt_parse msgfmt_parse_message msgfmt_set_pattern msgfmt_get_pattern msgfmt_get_locale msgfmt_get_error_code msgfmt_get_error_message datefmt_create datefmt_get_datetype datefmt_get_timetype datefmt_get_calendar datefmt_set_calendar datefmt_get_locale datefmt_get_timezone_id datefmt_set_timezone_id datefmt_get_pattern datefmt_set_pattern datefmt_is_lenient datefmt_set_lenient datefmt_format datefmt_parse datefmt_localtime datefmt_get_error_code datefmt_get_error_message grapheme_strlen grapheme_strpos grapheme_stripos grapheme_strrpos grapheme_strripos grapheme_substr grapheme_strstr grapheme_stristr grapheme_extract idn_to_ascii idn_to_utf8 intl_get_error_code intl_get_error_message intl_is_failure intl_error_name transliterator_create transliterator_create_from_rules trasliterator_create_inverse transliterator_get_error_code transliterator_get_error_message transliterator_list_ids transliterator_transliterate contained +syn keyword phpClasses Collator NumberFormatter Normalizer Locale MessageFormatter IntlDateFormatter Transliterator Spoofchecker contained + +" json +syn keyword phpFunctions json_encode json_decode json_last_error contained +syn keyword phpClasses JsonSerializable + +" ldap +syn keyword phpFunctions ldap_connect ldap_close ldap_bind ldap_unbind ldap_read ldap_list ldap_search ldap_free_result ldap_count_entries ldap_first_entry ldap_next_entry ldap_get_entries ldap_first_attribute ldap_next_attribute ldap_get_attributes ldap_get_values ldap_get_values_len ldap_get_dn ldap_explode_dn ldap_dn2ufn ldap_add ldap_delete ldap_modify ldap_mod_add ldap_mod_replace ldap_mod_del ldap_errno ldap_err2str ldap_error ldap_compare ldap_sort ldap_rename ldap_get_option ldap_set_option ldap_first_reference ldap_next_reference ldap_parse_reference ldap_parse_result ldap_start_tls ldap_control_paged_result ldap_control_paged_result_response contained + +" libxml +syn keyword phpFunctions libxml_set_streams_context libxml_use_internal_errors libxml_get_last_error libxml_clear_errors libxml_get_errors libxml_disable_entity_loader libxml_set_external_entity_loader contained +syn keyword phpClasses LibXMLError contained + +" mbstring +syn keyword phpFunctions mb_convert_case mb_strtoupper mb_strtolower mb_language mb_internal_encoding mb_http_input mb_http_output mb_detect_order mb_substitute_character mb_parse_str mb_output_handler mb_preferred_mime_name mb_strlen mb_strpos mb_strrpos mb_stripos mb_strripos mb_strstr mb_strrchr mb_stristr mb_strrichr mb_substr_count mb_substr mb_strcut mb_strwidth mb_strimwidth mb_convert_encoding mb_detect_encoding mb_list_encodings mb_encoding_aliases mb_convert_kana mb_encode_mimeheader mb_decode_mimeheader mb_convert_variables mb_encode_numericentity mb_decode_numericentity mb_send_mail mb_get_info mb_check_encoding mb_regex_encoding mb_regex_set_options mb_ereg mb_eregi mb_ereg_replace mb_eregi_replace mb_split mb_ereg_match mb_ereg_search mb_ereg_search_pos mb_ereg_search_regs mb_ereg_search_init mb_ereg_search_getregs mb_ereg_search_getpos mb_ereg_search_setpos mbregex_encoding mbereg mberegi mbereg_replace mberegi_replace mbsplit mbereg_match mbereg_search mbereg_search_pos mbereg_search_regs mbereg_search_init mbereg_search_getregs mbereg_search_getpos mbereg_search_setpos contained + +" mcrypt +syn keyword phpFunctions mcrypt_ecb mcrypt_cbc mcrypt_cfb mcrypt_ofb mcrypt_get_key_size mcrypt_get_block_size mcrypt_get_cipher_name mcrypt_create_iv mcrypt_list_algorithms mcrypt_list_modes mcrypt_get_iv_size mcrypt_encrypt mcrypt_decrypt mcrypt_module_open mcrypt_generic_init mcrypt_generic mdecrypt_generic mcrypt_generic_end mcrypt_generic_deinit mcrypt_enc_self_test mcrypt_enc_is_block_algorithm_mode mcrypt_enc_is_block_algorithm mcrypt_enc_is_block_mode mcrypt_enc_get_block_size mcrypt_enc_get_key_size mcrypt_enc_get_supported_key_sizes mcrypt_enc_get_iv_size mcrypt_enc_get_algorithms_name mcrypt_enc_get_modes_name mcrypt_module_self_test mcrypt_module_is_block_algorithm_mode mcrypt_module_is_block_algorithm mcrypt_module_is_block_mode mcrypt_module_get_algo_block_size mcrypt_module_get_algo_key_size mcrypt_module_get_supported_key_sizes mcrypt_module_close contained + +" mysql +syn keyword phpFunctions mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_ping mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql_set_charset mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name contained + +" mysqli +syn keyword phpFunctions mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect mysqli_connect_errno mysqli_connect_error mysqli_data_seek mysqli_dump_debug_info mysqli_debug mysqli_errno mysqli_error mysqli_stmt_execute mysqli_execute mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_field_direct mysqli_fetch_lengths mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_cache_stats mysqli_get_connection_stats mysqli_get_client_stats mysqli_get_charset mysqli_get_client_info mysqli_get_client_version mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_get_warnings mysqli_init mysqli_info mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_poll mysqli_prepare mysqli_report mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_stmt_attr_get mysqli_stmt_attr_set mysqli_stmt_field_count mysqli_stmt_init mysqli_stmt_prepare mysqli_stmt_result_metadata mysqli_stmt_send_long_data mysqli_stmt_bind_param mysqli_stmt_bind_result mysqli_stmt_fetch mysqli_stmt_free_result mysqli_stmt_get_result mysqli_stmt_get_warnings mysqli_stmt_insert_id mysqli_stmt_reset mysqli_stmt_param_count mysqli_sqlstate mysqli_stat mysqli_stmt_affected_rows mysqli_stmt_close mysqli_stmt_data_seek mysqli_stmt_errno mysqli_stmt_error mysqli_stmt_more_results mysqli_stmt_next_result mysqli_stmt_num_rows mysqli_stmt_sqlstate mysqli_stmt_store_result mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count mysqli_refresh mysqli_bind_param mysqli_bind_result mysqli_client_encoding mysqli_escape_string mysqli_fetch mysqli_param_count mysqli_get_metadata mysqli_send_long_data mysqli_set_opt mysqli_error_list mysqli_stmt_error_list contained +syn keyword phpClasses mysqli_sql_exception mysqli_driver mysqli mysqli_warning mysqli_result mysqli_stmt contained + +" odbc +syn keyword phpFunctions odbc_autocommit odbc_binmode odbc_close odbc_close_all odbc_columns odbc_commit odbc_connect odbc_cursor odbc_data_source odbc_execute odbc_error odbc_errormsg odbc_exec odbc_fetch_array odbc_fetch_object odbc_fetch_row odbc_fetch_into odbc_field_len odbc_field_scale odbc_field_name odbc_field_type odbc_field_num odbc_free_result odbc_gettypeinfo odbc_longreadlen odbc_next_result odbc_num_fields odbc_num_rows odbc_pconnect odbc_prepare odbc_result odbc_result_all odbc_rollback odbc_setoption odbc_specialcolumns odbc_statistics odbc_tables odbc_primarykeys odbc_columnprivileges odbc_tableprivileges odbc_foreignkeys odbc_procedures odbc_procedurecolumns odbc_do odbc_field_precision contained + +" openssl +syn keyword phpFunctions openssl_pkey_free openssl_pkey_new openssl_pkey_export openssl_pkey_export_to_file openssl_pkey_get_private openssl_pkey_get_public openssl_pkey_get_details openssl_free_key openssl_get_privatekey openssl_get_publickey openssl_x509_read openssl_x509_free openssl_x509_parse openssl_x509_checkpurpose openssl_x509_check_private_key openssl_x509_export openssl_x509_export_to_file openssl_pkcs12_export openssl_pkcs12_export_to_file openssl_pkcs12_read openssl_csr_new openssl_csr_export openssl_csr_export_to_file openssl_csr_sign openssl_csr_get_subject openssl_csr_get_public_key openssl_digest openssl_encrypt openssl_decrypt openssl_sign openssl_verify openssl_seal openssl_open openssl_pkcs7_verify openssl_pkcs7_decrypt openssl_pkcs7_sign openssl_pkcs7_encrypt openssl_private_encrypt openssl_private_decrypt openssl_public_encrypt openssl_public_decrypt openssl_get_md_methods openssl_get_cipher_methods openssl_dh_compute_key openssl_random_pseudo_bytes openssl_error_string contained + +" pcre +syn keyword phpFunctions preg_match preg_match_all preg_replace preg_replace_callback preg_filter preg_split preg_quote preg_grep preg_last_error contained + +" PDO +syn keyword phpFunctions pdo_drivers contained +syn keyword phpClasses PDOException PDO PDOStatement PDORow contained + +" pgsql +syn keyword phpFunctions pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_version pg_ping pg_parameter_status pg_transaction_status pg_query pg_query_params pg_prepare pg_execute pg_send_query pg_send_query_params pg_send_prepare pg_send_execute pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_fetch_all_columns pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_type_oid pg_field_prtlen pg_field_is_null pg_field_table pg_get_notify pg_get_pid pg_result_error pg_result_error_field pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_set_error_verbosity pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport pg_clientencoding pg_setclientencoding contained + +" Phar +syn keyword phpClasses PharException Phar PharData PharFileInfo contained + +" readline +syn keyword phpFunctions readline readline_add_history readline_callback_handler_install readline_callback_handler_remove readline_callback_read_char readline_clear_history readline_completion_function readline_info readline_list_history readline_on_new_line readline_read_history readline_redisplay readline_write_history contained + +" recode +syn keyword phpFunctions recode recode_file recode_string contained + +" Reflection +syn keyword phpClasses ReflectionException Reflection Reflector ReflectionFunctionAbstract ReflectionFunction ReflectionParameter ReflectionMethod ReflectionClass ReflectionObject ReflectionProperty ReflectionExtension ReflectionZendExtension contained + +" session +syn keyword phpFunctions session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close session_commit session_status session_register_shutdown contained +syn keyword phpClasses SessionHandler SessionHandlerInterface contained + +" shmop +syn keyword phpFunctions shmop_open shmop_read shmop_close shmop_size shmop_write shmop_delete contained + +" SimpleXML +syn keyword phpFunctions simplexml_load_file simplexml_load_string simplexml_import_dom contained +syn keyword phpClasses SimpleXMLElement SimpleXMLIterator contained + +" soap +syn keyword phpFunctions use_soap_error_handler is_soap_fault contained +syn keyword phpClasses SoapClient SoapVar SoapServer SoapFault SoapParam SoapHeader contained + +" sockets +syn keyword phpFunctions socket_select socket_create socket_create_listen socket_create_pair socket_accept socket_set_nonblock socket_set_block socket_listen socket_close socket_write socket_read socket_getsockname socket_getpeername socket_connect socket_strerror socket_bind socket_recv socket_send socket_recvfrom socket_sendto socket_get_option socket_set_option socket_shutdown socket_last_error socket_clear_error socket_getopt socket_setopt contained + +" SPL +syn keyword phpFunctions spl_classes spl_autoload spl_autoload_extensions spl_autoload_register spl_autoload_unregister spl_autoload_functions spl_autoload_call class_parents class_implements spl_object_hash iterator_to_array iterator_count iterator_apply class_uses contained +syn keyword phpClasses LogicException BadFunctionCallException BadMethodCallException DomainException InvalidArgumentException LengthException OutOfRangeException RuntimeException OutOfBoundsException OverflowException RangeException UnderflowException UnexpectedValueException RecursiveIterator RecursiveIteratorIterator OuterIterator IteratorIterator FilterIterator RecursiveFilterIterator ParentIterator Countable SeekableIterator LimitIterator CachingIterator RecursiveCachingIterator NoRewindIterator AppendIterator InfiniteIterator RegexIterator RecursiveRegexIterator EmptyIterator RecursiveTreeIterator ArrayObject ArrayIterator RecursiveArrayIterator SplFileInfo DirectoryIterator FilesystemIterator RecursiveDirectoryIterator GlobIterator SplFileObject SplTempFileObject SplDoublyLinkedList SplQueue SplStack SplHeap SplMinHeap SplMaxHeap SplPriorityQueue SplFixedArray SplObserver SplSubject SplObjectStorage MultipleIterator CallbackFilterIterator RecursiveCallbackFilterIterator contained + +" standard +syn keyword phpFunctions constant bin2hex hex2bin sleep usleep time_nanosleep time_sleep_until flush wordwrap htmlspecialchars htmlentities html_entity_decode htmlspecialchars_decode get_html_translation_table sha1 sha1_file md5 md5_file crc32 iptcparse iptcembed getimagesize image_type_to_mime_type image_type_to_extension phpinfo phpversion phpcredits php_logo_guid php_real_logo_guid php_egg_logo_guid zend_logo_guid php_sapi_name php_uname php_ini_scanned_files php_ini_loaded_file strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos stripos strrpos strripos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count str_split strpbrk substr_compare strcoll substr substr_replace quotemeta ucfirst lcfirst ucwords strtr addslashes addcslashes rtrim str_replace str_ireplace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode join setlocale localeconv soundex levenshtein chr ord parse_str str_getcsv str_pad chop strchr sprintf printf vprintf vsprintf fprintf vfprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode http_response_code http_build_query linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close proc_terminate proc_get_status rand srand getrandmax mt_rand mt_srand mt_getrandmax getservbyname getservbyport getprotobyname getprotobynumber getmyuid getmygid getmypid getmyinode getlastmod base64_decode base64_encode convert_uuencode convert_uudecode abs ceil floor round sin cos tan asin acos atan atanh atan2 sinh cosh tanh asinh acosh expm1 log1p pi is_finite is_nan is_infinite pow exp log log10 sqrt hypot deg2rad rad2deg bindec hexdec octdec decbin decoct dechex base_convert number_format fmod inet_ntop inet_pton ip2long long2ip getenv putenv getopt microtime gettimeofday uniqid quoted_printable_decode quoted_printable_encode convert_cyr_string get_current_user set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log error_get_last call_user_func call_user_func_array call_user_method call_user_method_array forward_static_call forward_static_call_array serialize unserialize var_dump var_export debug_zval_dump print_r memory_get_usage memory_get_peak_usage register_shutdown_function register_tick_function unregister_tick_function highlight_file show_source highlight_string php_strip_whitespace ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie setrawcookie header header_remove header_register_callback headers_sent headers_list connection_aborted connection_status ignore_user_abort parse_ini_file parse_ini_string is_uploaded_file move_uploaded_file gethostbyaddr gethostbyname gethostbynamel gethostname dns_check_record checkdnsrr dns_get_mx getmxrr dns_get_record intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar is_callable pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_get_params stream_context_set_option stream_context_get_options stream_context_get_default stream_context_set_default stream_filter_prepend stream_filter_append stream_filter_remove stream_set_chunk_size stream_socket_client stream_socket_server stream_socket_accept stream_socket_get_name stream_socket_recvfrom stream_socket_sendto stream_socket_enable_crypto stream_socket_shutdown stream_socket_pair stream_copy_to_stream stream_get_contents stream_supports_lock fgetcsv fputcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_import_stream socket_set_blocking stream_get_meta_data stream_get_line stream_wrapper_register stream_register_wrapper stream_wrapper_unregister stream_wrapper_restore stream_get_wrappers stream_get_transports stream_is_local get_headers stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir scandir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown chgrp chmod touch clearstatcache disk_total_space disk_free_space diskfreespace mail ezmlm_hash openlog syslog closelog define_syslog_variables lcg_value metaphone ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk array_walk_recursive count end prev next reset current key min max in_array array_search extract compact array_fill array_fill_keys range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_replace array_replace_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_key array_intersect_ukey array_uintersect array_intersect_assoc array_uintersect_assoc array_intersect_uassoc array_uintersect_uassoc array_diff array_diff_key array_diff_ukey array_udiff array_diff_assoc array_udiff_assoc array_diff_uassoc array_udiff_uassoc array_sum array_product array_filter array_map array_chunk array_combine array_key_exists pos sizeof key_exists assert assert_options version_compare str_rot13 stream_get_filters stream_filter_register stream_bucket_make_writeable stream_bucket_prepend stream_bucket_append stream_bucket_new output_add_rewrite_var output_reset_rewrite_vars sys_get_temp_dir apache_child_terminate getallheaders apache_request_headers apache_response_headers contained +syn keyword phpClasses __PHP_Incomplete_Class php_user_filter Directory contained + +" SQLite +syn keyword phpFunctions sqlite_open sqlite_popen sqlite_close sqlite_query sqlite_exec sqlite_array_query sqlite_single_query sqlite_fetch_array sqlite_fetch_object sqlite_fetch_single sqlite_fetch_string sqlite_fetch_all sqlite_current sqlite_column sqlite_libversion sqlite_libencoding sqlite_changes sqlite_last_insert_rowid sqlite_num_rows sqlite_num_fields sqlite_field_name sqlite_seek sqlite_rewind sqlite_next sqlite_prev sqlite_valid sqlite_has_more sqlite_has_prev sqlite_escape_string sqlite_busy_timeout sqlite_last_error sqlite_error_string sqlite_unbuffered_query sqlite_create_aggregate sqlite_create_function sqlite_factory sqlite_udf_encode_binary sqlite_udf_decode_binary sqlite_fetch_column_types contained +syn keyword phpClasses SQLiteDatabase SQLiteResult SQLiteUnbuffered SQLiteException contained + +" sqlite3 +syn keyword phpClasses SQLite3 SQLite3Stmt SQLite3Result contained + +" tidy +syn keyword phpFunctions tidy_getopt tidy_parse_string tidy_parse_file tidy_get_output tidy_get_error_buffer tidy_clean_repair tidy_repair_string tidy_repair_file tidy_diagnose tidy_get_release tidy_get_config tidy_get_status tidy_get_html_ver tidy_is_xhtml tidy_is_xml tidy_error_count tidy_warning_count tidy_access_count tidy_config_count tidy_get_root tidy_get_head tidy_get_html tidy_get_body ob_tidyhandler contained +syn keyword phpClasses tidy tidyNode contained + +" tokenizer +syn keyword phpFunctions token_get_all token_name contained + +" xml +syn keyword phpFunctions xml_parser_create xml_parser_create_ns xml_set_object xml_set_element_handler xml_set_character_data_handler xml_set_processing_instruction_handler xml_set_default_handler xml_set_unparsed_entity_decl_handler xml_set_notation_decl_handler xml_set_external_entity_ref_handler xml_set_start_namespace_decl_handler xml_set_end_namespace_decl_handler xml_parse xml_parse_into_struct xml_get_error_code xml_error_string xml_get_current_line_number xml_get_current_column_number xml_get_current_byte_index xml_parser_free xml_parser_set_option xml_parser_get_option utf8_encode utf8_decode contained + +" xmlreader +syn keyword phpClasses XMLReader contained + +" xmlwriter +syn keyword phpFunctions xmlwriter_open_uri xmlwriter_open_memory xmlwriter_set_indent xmlwriter_set_indent_string xmlwriter_start_comment xmlwriter_end_comment xmlwriter_start_attribute xmlwriter_end_attribute xmlwriter_write_attribute xmlwriter_start_attribute_ns xmlwriter_write_attribute_ns xmlwriter_start_element xmlwriter_end_element xmlwriter_full_end_element xmlwriter_start_element_ns xmlwriter_write_element xmlwriter_write_element_ns xmlwriter_start_pi xmlwriter_end_pi xmlwriter_write_pi xmlwriter_start_cdata xmlwriter_end_cdata xmlwriter_write_cdata xmlwriter_text xmlwriter_write_raw xmlwriter_start_document xmlwriter_end_document xmlwriter_write_comment xmlwriter_start_dtd xmlwriter_end_dtd xmlwriter_write_dtd xmlwriter_start_dtd_element xmlwriter_end_dtd_element xmlwriter_write_dtd_element xmlwriter_start_dtd_attlist xmlwriter_end_dtd_attlist xmlwriter_write_dtd_attlist xmlwriter_start_dtd_entity xmlwriter_end_dtd_entity xmlwriter_write_dtd_entity xmlwriter_output_memory xmlwriter_flush contained +syn keyword phpClasses XMLWriter contained + +" xmlrpc +syn keyword phpFunctions xmlrpc_encode xmlrpc_decode xmlrpc_decode_request xmlrpc_encode_request xmlrpc_get_type xmlrpc_set_type xmlrpc_is_fault xmlrpc_server_create xmlrpc_server_destroy xmlrpc_server_register_method xmlrpc_server_call_method xmlrpc_parse_method_descriptions xmlrpc_server_add_introspection_data xmlrpc_server_register_introspection_callback contained + +" xsl +syn keyword phpClasses XSLTProcessor contained + +" zip +syn keyword phpFunctions zip_open zip_close zip_read zip_entry_open zip_entry_close zip_entry_read zip_entry_filesize zip_entry_name zip_entry_compressedsize zip_entry_compressionmethod contained +syn keyword phpClasses ZipArchive contained + +" zlib +syn keyword phpFunctions readgzfile gzrewind gzclose gzeof gzgetc gzgets gzgetss gzread gzopen gzpassthru gzseek gztell gzwrite gzputs gzfile gzcompress gzuncompress gzdeflate gzinflate gzencode ob_gzhandler zlib_get_coding_type zlib_decode zlib_encode contained + +" === END BUILTIN FUNCTIONS, CLASSES, AND CONSTANTS ===================================== + +" The following is needed afterall it seems. +syntax keyword phpClasses containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier,phpMethodsVar + +" Control Structures +syn keyword phpStatement if else elseif while do for foreach break switch case default continue return goto as endif endwhile endfor endforeach endswitch declare endeclare contained + +" Class Keywords +syn keyword phpType class abstract extends interface implements static final var public private protected const trait contained + +" Magic Methods +syn keyword phpStatement __construct __destruct __call __callStatic __get __set __isset __unset __sleep __wakeup __toString __invoke __set_state __clone contained + +" Exception Keywords +syn keyword phpStatement try catch throw contained + +" Language Constructs +syn keyword phpStatement die exit eval empty isset unset list instanceof insteadof contained + +" These special keywords have traditionally received special colors +syn keyword phpSpecial function echo print new clone contained + +" Include & friends +syn keyword phpInclude include include_once require require_once namespace use contained + +" Types +syn keyword phpType bool[ean] int[eger] real double float string array object null self parent global this stdClass callable contained + +" Operator +syn match phpOperator "[-=+%^&|*!.~?:]" contained display +syn match phpOperator "[-+*/%^&|.]=" contained display +syn match phpOperator "/[^*/]"me=e-1 contained display +syn match phpOperator "\$" contained display +syn match phpOperator "&&\|\" contained display +syn match phpOperator "||\|\" contained display +syn match phpOperator "[!=<>]=" contained display +syn match phpOperator "[<>]" contained display +syn match phpMemberSelector "->" contained display +syn match phpVarSelector "\$" contained display +" highlight object variables inside strings +syn match phpMethodsVar "->\h\w*" contained contains=phpMethods,phpMemberSelector display containedin=phpStringDouble + +" Identifier +syn match phpIdentifier "$\h\w*" contained contains=phpEnvVar,phpIntVar,phpVarSelector display +syn match phpIdentifierSimply "${\h\w*}" contains=phpOperator,phpParent contained display +syn region phpIdentifierComplex matchgroup=phpParent start="{\$"rs=e-1 end="}" contains=phpIdentifier,phpMemberSelector,phpVarSelector,phpIdentifierArray contained extend +syn region phpIdentifierArray matchgroup=phpParent start="\[" end="]" contains=@phpClInside contained + +" Boolean +syn keyword phpBoolean true false contained + +" Number +syn match phpNumber "-\=\<\d\+\>" contained display +syn match phpNumber "\<0x\x\{1,8}\>" contained display + +" Float +syn match phpNumber "\(-\=\<\d+\|-\=\)\.\d\+\>" contained display + +" SpecialChar +syn match phpSpecialChar "\\[fnrtv\\]" contained display +" Octals are 1-3 digits long +syn match phpSpecialChar "\\\d\{1,3}" contained contains=phpOctalError display +syn match phpSpecialChar "\\x\x\{2}" contained display +" corrected highlighting for an escaped '\$' inside a double-quoted string +syn match phpSpecialChar "\\\$" contained display +syn match phpSpecialChar +\\"+ contained display +syn match phpSpecialChar "\\\\" contained display +syn match phpStrEsc "\\\\" contained display +syn match phpStrEsc "\\'" contained display + +" Error +syn match phpOctalError "[89]" contained display +if exists("php_parent_error_close") + syn match phpParentError "[)\]}]" contained display +endif + +" Todo +syn keyword phpTodo todo fixme xxx note contained + +" Comment +if exists("php_parent_error_open") + syn region phpComment start="/\*" end="\*/" contained contains=phpTodo,@Spell +else + syn region phpComment start="/\*" end="\*/" contained contains=phpTodo,@Spell extend +endif +if version >= 600 + syn match phpComment "#.\{-}\(?>\|$\)\@=" contained contains=phpTodo,@Spell + syn match phpComment "//.\{-}\(?>\|$\)\@=" contained contains=phpTodo,@Spell +else + syn match phpComment "#.\{-}$" contained contains=phpTodo + syn match phpComment "#.\{-}?>"me=e-2 contained contains=phpTodo + syn match phpComment "//.\{-}$" contained contains=phpTodo + syn match phpComment "//.\{-}?>"me=e-2 contained contains=phpTodo +endif + +" Strings, don't match phpStrEsc in double quoted strings, only single quoted +if exists("php_parent_error_open") + syn region phpStringDouble matchgroup=None start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained keepend + syn region phpBacktick matchgroup=None start=+`+ skip=+\\\\\|\\"+ end=+`+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained keepend + syn region phpStringSingle matchgroup=None start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@phpAddStrings,phpStrEsc contained keepend +else + syn region phpStringDouble matchgroup=None start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained extend keepend + syn region phpBacktick matchgroup=None start=+`+ skip=+\\\\\|\\"+ end=+`+ contains=@phpAddStrings,phpIdentifier,phpSpecialChar,phpIdentifierSimply,phpIdentifierComplex contained extend keepend + syn region phpStringSingle matchgroup=None start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@phpAddStrings,phpStrEsc contained keepend extend +endif + +" HereDoc + syn case match + syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\z(\I\i*\)$" end="^\z1\(;\=$\)\@=" contained contains=phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend + syn region phpHereDoc matchgroup=Delimiter start=+\(<<<\)\@<="\z(\I\i*\)"$+ end="^\z1\(;\=$\)\@=" contained contains=phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend +" including HTML,JavaScript,SQL even if not enabled via options + syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\z(\(\I\i*\)\=\(html\)\c\(\i*\)\)$" end="^\z1\(;\=$\)\@=" contained contains=@htmlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend + syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\z(\(\I\i*\)\=\(sql\)\c\(\i*\)\)$" end="^\z1\(;\=$\)\@=" contained contains=@sqlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend + syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\z(\(\I\i*\)\=\(javascript\)\c\(\i*\)\)$" end="^\z1\(;\=$\)\@=" contained contains=@htmlJavascript,phpIdentifierSimply,phpIdentifier,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend + syn case ignore + +" NowDoc + syn region phpNowDoc matchgroup=Delimiter start=+\(<<<\)\@<='\z(\I\i*\)'$+ end="^\z1\(;\=$\)\@=" contained keepend extend + +" Parent +if exists("php_parent_error_close") || exists("php_parent_error_open") + syn match phpParent "[{}]" contained + syn region phpParent matchgroup=Delimiter start="(" end=")" contained contains=@phpClFunction transparent + syn region phpParent matchgroup=Delimiter start="\[" end="\]" contained contains=@phpClInside transparent + if !exists("php_parent_error_close") + syn match phpParent "[\])]" contained + endif +else + syn match phpParent "[({[\]})]" contained +endif + +" Clusters +syn cluster phpClConst contains=phpFunctions,phpClasses,phpIdentifier,phpStatement,phpOperator,phpStringSingle,phpStringDouble,phpBacktick,phpNumber,phpType,phpBoolean,phpStructure,phpMethodsVar,phpConstants,phpException,phpSuperglobals,phpMagicConstants,phpServerVars +syn cluster phpClInside contains=@phpClConst,phpComment,phpParent,phpParentError,phpInclude,phpHereDoc,phpNowDoc +syn cluster phpClFunction contains=@phpClInside,phpDefine,phpParentError,phpStorageClass,phpSpecial +syn cluster phpClTop contains=@phpClFunction,phpFoldFunction,phpFoldClass,phpFoldInterface,phpFoldTry,phpFoldCatch + +" Php Region +if exists("php_parent_error_open") + syn region phpRegion matchgroup=Delimiter start="" contains=@phpClTop +else + syn region phpRegion matchgroup=Delimiter start="" contains=@phpClTop keepend +endif + +" Fold +if exists("php_folding") && php_folding==1 +" match one line constructs here and skip them at folding + syn keyword phpSCKeyword abstract final private protected public static contained + syn keyword phpFCKeyword function contained + syn match phpDefine "\(\s\|^\)\(abstract\s\+\|final\s\+\|private\s\+\|protected\s\+\|public\s\+\|static\s\+\)*function\(\s\+.*[;}]\)\@=" contained contains=phpSCKeyword + syn match phpStructure "\(\s\|^\)\(abstract\s\+\|final\s\+\)*class\(\s\+.*}\)\@=" contained + syn match phpStructure "\(\s\|^\)interface\(\s\+.*}\)\@=" contained + syn match phpException "\(\s\|^\)try\(\s\+.*}\)\@=" contained + syn match phpException "\(\s\|^\)catch\(\s\+.*}\)\@=" contained + + set foldmethod=syntax + syn region phpFoldHtmlInside matchgroup=Delimiter start="?>" end="" end="\s*$" + syn sync match phpRegionSync grouphere NONE "^\s*%>\s*$" + syn sync match phpRegionSync grouphere phpRegion "function\s.*(.*\$" + "syn sync match phpRegionSync grouphere NONE "/\i*>\s*$" +elseif php_sync_method>0 + exec "syn sync minlines=" . php_sync_method +else + exec "syn sync fromstart" +endif + +" Define the default highlighting. +" For version 5.8 and later: only when an item doesn't have highlighting yet +if !exists("did_php_syn_inits") + + hi def link phpComment Comment + hi def link phpSuperglobals Constant + hi def link phpMagicConstants Constant + hi def link phpServerVars Constant + hi def link phpConstants Constant + hi def link phpBoolean Constant + hi def link phpNumber Constant + hi def link phpStringSingle String + hi def link phpStringDouble String + hi def link phpBacktick String + hi def link phpHereDoc String + hi def link phpNowDoc String + hi def link phpFunctions Identifier + hi def link phpClasses Identifier + hi def link phpMethods Identifier + hi def link phpIdentifier Identifier + hi def link phpIdentifierSimply Identifier + hi def link phpStatement Statement + hi def link phpStructure Statement + hi def link phpException Statement + hi def link phpOperator Operator + hi def link phpVarSelector Operator + hi def link phpInclude PreProc + hi def link phpDefine PreProc + hi def link phpSpecial PreProc + hi def link phpFCKeyword PreProc + hi def link phpType Type + hi def link phpSCKeyword Type + hi def link phpMemberSelector Type + hi def link phpSpecialChar Special + hi def link phpStrEsc Special + hi def link phpParent Special + hi def link phpParentError Error + hi def link phpOctalError Error + hi def link phpTodo Todo + +endif + +let b:current_syntax = "php" + +if main_syntax == 'php' + unlet main_syntax +endif + +" vim: ts=8 sts=2 sw=2 expandtab