diff --git a/Makefile.am b/Makefile.am
index 23e0a0636..07b54fb07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,7 +8,9 @@ EXTRA_DIST = \
geany.spec \
geany.glade \
geany.gladep \
- global.tags \
+ data/global.tags \
+ data/global.tags \
+ data/latex.tags \
data/filetypes.*
uninstall-local:
@@ -26,7 +28,9 @@ install-data-local:
done \
fi
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
- $(INSTALL_DATA) global.tags $(DESTDIR)$(pkgdatadir); \
+ $(INSTALL_DATA) data/global.tags $(DESTDIR)$(pkgdatadir); \
+ $(INSTALL_DATA) data/php.tags $(DESTDIR)$(pkgdatadir); \
+ $(INSTALL_DATA) data/latex.tags $(DESTDIR)$(pkgdatadir); \
$(INSTALL_DATA) COPYING $(DESTDIR)$(pkgdatadir)/GPL-2; \
for file in $(srcdir)/data/*; do \
if test -f $$file; then \
diff --git a/global.tags b/data/global.tags
similarity index 100%
rename from global.tags
rename to data/global.tags
diff --git a/data/latex.tags b/data/latex.tags
new file mode 100644
index 000000000..b064d3b0b
--- /dev/null
+++ b/data/latex.tags
@@ -0,0 +1,1327 @@
+\above|||
+\abovecaptionskip|||
+\abovedisplayshortskip|||
+\abovedisplayskip|||
+\abovewithdelims|||
+\abstractname||{name}|
+\accent|||
+\active|||
+\acute||{a}|
+\addcontentsline||{file}{secunit}{entry}|
+\addpenalty|||
+\address||{returnaddress}|
+\addto|||
+\addtocontents||{file}{text}|
+\addtocounter||{counter}{value}|
+\addtolength||{\gnat}{length}|
+\addtoversion|||
+\addvspace||{length}|
+\adjdemerits|||
+\advance|||
+\advancepageno|||
+\afterassignment|||
+\aftergroup|||
+\aleph|||
+\allowbreak|||
+\allowhyphens|||
+\alph||{counter}|
+\Alph||{counter}|
+\alpha|||
+\amalg|||
+\and|||
+\angle|||
+\annotations|||
+\appendix|||
+\appendixname||{name}|
+\approx|||
+\arabic||{counter}|
+\arccos|||
+\arcsin|||
+\arctan|||
+\arg|||
+\arraycolsep|||
+\arrayrulewidth|||
+\arraystretch|||
+\arrowvert|||
+\Arrowvert|||
+\ast|||
+\asymp|||
+\AtBeginDocument||{code}|
+\AtEndDocument||{code}|
+\AtEndOfClass||{code}|
+\AtEndOfPackage||{code}|
+\atop|||
+\atopwithdelims|||
+\author||{names}|
+\backslash|||
+\badness|||
+\bar||{a}|
+\baselineskip|||
+\baselinestretch|||
+\batchmode|||
+\begin||{abstract}|
+\begin||{appendix}|
+\begin||{array}[pos]{cols}|
+\begin||{array}{cols}|
+\begin||{block}{title}|
+\begin||{center}|
+\begin||{description}\item|
+\begin||{displaymath}|
+\begin||{document}|
+\begin||{enumerate}\item|
+\begin||{eqnarray}|
+\begin||{eqnarray*}|
+\begin||{equation}|
+\begin||{figure}|
+\begin||{figure}[placement]|
+\begin||{figure*}|
+\begin||{figure*}[placement]|
+\begin||{filecontents}|
+\begin||{flushleft}|
+\begin||{flushright}|
+\begin||{frame}|
+\begin||{fussypar}|
+\begin||{itemize}\item|
+\begin||{letter}{name}|
+\begin||{list}{label}{spacing}|
+\begin||{lrbox}|
+\begin||{math}|
+\begin||{minipage}[position]{width}|
+\begin||{minipage}{width}|
+\begin||{picture}(width,height)|
+\begin||{picture}(width,height)(xoffset,yoffset)|
+\begin||{quotation}|
+\begin||{quote}|
+\begin||{sloppypar}|
+\begin||{tabbing}|
+\begin||{table}|
+\begin||{table}[placement]|
+\begin||{table*}|
+\begin||{table*}[placement]|
+\begin||{tabular}[pos]{cols}|
+\begin||{tabular}{cols}|
+\begin||{tabular*}{width}[pos]{cols}|
+\begin||{tabular*}{width}{cols}|
+\begin||{thebibliography}{widestlabel}|
+\begin||{theindex}|
+\begin||{theorem}|
+\begin||{theorem}[optional]|
+\begin||{titlepage}|
+\begin||{trivlist}|
+\begin||{verbatim}|
+\begin||{verbatim*}|
+\begin||{verse}|
+\begingroup|||
+\begingroup..\endgroup|||
+\belowcaptionskip|||
+\belowdisplayshortskip|||
+\belowdisplayskip|||
+\beta|||
+\bezier||{n}(x1,y1)(x2,y2)(x3,y3)|
+\bfseries|||
+\bgroup|||
+\bgroup..\egroup|||
+\bibitem||[label]{citekey}|
+\bibitem||{citekey}|
+\bibliography||{file}|
+\bibliographystyle||{style}|
+\big|||
+\Big|||
+\bigcap|||
+\bigcirc|||
+\bigcup|||
+\bigg|||
+\Bigg|||
+\Biggl|||
+\biggl|||
+\Biggl..\Biggr|||
+\biggl..\biggr|||
+\biggm|||
+\Biggm|||
+\biggr|||
+\Biggr|||
+\Bigl|||
+\bigl|||
+\bigl..bigr|||
+\Bigl..Bigr|||
+\bigm|||
+\Bigm|||
+\bigodot|||
+\bigoplus|||
+\bigotimes|||
+\Bigr|||
+\bigr|||
+\bigskip|||
+\bigskipamount|||
+\bigsqcup|||
+\bigtriangledown|||
+\bigtriangleup|||
+\biguplus|||
+\bigvee|||
+\bigwedge|||
+\binoppenalty|||
+\boldmath|||
+\boptie|||
+\bordermatrix|||
+\bot|||
+\botfigrule|||
+\botmark|||
+\bottomfraction|||
+\bottomnumber|||
+\Box|||
+\box|||
+\boxmaxdepth|||
+\bracevert|||
+\breve||{a}|
+\brokenpenalty|||
+\buildrel|||
+\bullet|||
+\bye|||
+\cal|||
+\cap|||
+\caption||[short]{title}|
+\caption||{title}|
+\cases|||
+\catcode|||
+\cdot|||
+\cdots|||
+\centering|||
+\centerline||{text}|
+\chapter||[short]{title}|
+\chapter||{title}|
+\chapter*||{title}|
+\chaptermark||{code}|
+\chaptername||{name}|
+\char|||
+\chardef|||
+\check||{a}|
+\CheckCommand||{cmd}[args][default]{def}|
+\CheckCommand||{cmd}[args]{def}|
+\CheckCommand||{cmd}{def}|
+\chi|||
+\choose|||
+\circ|||
+\circle||{diameter}|
+\circle*||{diameter}|
+\cite||[text]{keylist}|
+\cite||{keylist}|
+\cleaders|||
+\cleardoublepage|||
+\clearpage|||
+\cleartabs|||
+\cline||{i-j}|
+\closein|||
+\closeout|||
+\closing|||
+\closing||{text}|
+\clubpenalty|||
+\clubsuit|||
+\columns|||
+\columnsep|||
+\columnseprule|||
+\columnwidth|||
+\cong|||
+\contentsline||{type}{text}{page}|
+\contentsname||{name}|
+\coprod|||
+\copy|||
+\copyright|||
+\cos|||
+\cosh|||
+\cot|||
+\coth|||
+\count|||
+\countdef|||
+\crcr|||
+\csc|||
+\csname|||
+\cup|||
+\CurrentOption|||
+\dagger|||
+\danger|||
+\dash|||
+\dashbox||{dashlength}(width,height)[position]{text}|
+\dashbox||{dashlength}(width,height){text}|
+\dashv|||
+\date||{text}|
+\day|||
+\dblfigrule|||
+\dblfloatpagefraction|||
+\dblfloatsep|||
+\dbltextfloatsep|||
+\dbltopfraction|||
+\dbltopnumber|||
+\ddagger|||
+\ddot||{a}|
+\ddots|||
+\deadcycles|||
+\DeclareOption||{option}{code}|
+\DeclareOption*||{code}|
+\DeclareRobustCommand|||
+\def|||
+\defaulthyphenchar|||
+\defaultscriptratio|||
+\defaultscriptscriptratio|||
+\defaultskewchar|||
+\deffootnote|||
+\deg|||
+\delcode|||
+\delimiter|||
+\delimiterfactor|||
+\delimitershortfall|||
+\Delta|||
+\delta|||
+\depth|||
+\descriptionlabel||{code}|
+\det|||
+\Diamond|||
+\diamond|||
+\diamondsuit|||
+\dim|||
+\dimen|||
+\dimendef|||
+\discretionary|||
+\displayindent|||
+\displaylimits|||
+\displaylines|||
+\displaywidowpenalty|||
+\displaywidth|||
+\div|||
+\divide|||
+\documentclass||[options]{style}|
+\documentclass||{style}|
+\documentstyle||[options]{style}|
+\documentstyle||{style}|
+\dot||{x}|
+\doteq|||
+\dotfill|||
+\dots|||
+\doublehyphendemerits|||
+\doublerulesep|||
+\downarrow|||
+\Downarrow|||
+\edef|||
+\egroup|||
+\eject|||
+\ell|||
+\else|||
+\emergencystretch|||
+\emph||{text}|
+\empty|||
+\emptyset|||
+\encl||{text}|
+\end|||
+\end||{abstract}|
+\end||{appendix}|
+\end||{array}|
+\end||{block}|
+\end||{center}|
+\end||{description}|
+\end||{displaymath}|
+\end||{document}|
+\end||{enumerate}|
+\end||{eqnarray}|
+\end||{eqnarray*}|
+\end||{equation}|
+\end||{figure}|
+\end||{figure*}|
+\end||{filecontents}|
+\end||{flushleft}|
+\end||{flushright}|
+\end||{frame}|
+\end||{fussypar}|
+\end||{itemize}|
+\end||{letter}|
+\end||{list}|
+\end||{lrbox}|
+\end||{math}|
+\end||{minipage}|
+\end||{picture}|
+\end||{quotation}|
+\end||{quote}|
+\end||{sloppy}|
+\end||{sloppypar}|
+\end||{tabbing}|
+\end||{table}|
+\end||{table*}|
+\end||{tabular}|
+\end||{tabular*}|
+\end||{thebibliography}|
+\end||{theindex}|
+\end||{theorem}|
+\end||{titlepage}|
+\end||{trivlist}|
+\end||{verbatim}|
+\end||{verbatim*}|
+\end||{verse}|
+\endcsname|||
+\endgraf|||
+\endgroup|||
+\endinput|||
+\endlinechar|||
+\enlargethispage||{size}|
+\enlargethispage*||{size}|
+\enskip|||
+\enspace|||
+\ensuremath||{stuff}|
+\epsilon|||
+\eqalign|||
+\eqalignno|||
+\eqno|||
+\equiv|||
+\errhelp|||
+\errmessage|||
+\errorstopmode|||
+\escapechar|||
+\eta|||
+\evensidemargin|||
+\everycr|||
+\everydisplay|||
+\everyhbox|||
+\everyjob|||
+\everymath|||
+\everypar|||
+\everyvbox|||
+\ExecuteOptions||{optionlist}|
+\exhyphenpenalty|||
+\exists|||
+\exp|||
+\expandafter|||
+\extracolsep|||
+\fam|||
+\family|||
+\fbox||{text}|
+\fboxrule|||
+\fboxsep|||
+\figurename||{name}|
+\fill|||
+\finalhypendemerits|||
+\firstmark|||
+\flat|||
+\floatingpenalty|||
+\floatpagefraction|||
+\floatsep|||
+\flq|||
+\flqq|||
+\flushbottom|||
+\fnsymbol||{counter}|
+\folio|||
+\font|||
+\fontdimen|||
+\fontencoding||{enc}|
+\fontfamily||{family}|
+\fontname|||
+\fontseries||{series}|
+\fontshape||{shape}|
+\fontsize||{size}{skip}|
+\fontsubfuzz|||
+\footheight|||
+\footins|||
+\footnote|||
+\footnote||[number]{text}|
+\footnote||{text}|
+\footnotemark|||
+\footnotemark||[number]|
+\footnoterule|||
+\footnotesep|||
+\footnotesize|||
+\footnotetext||[number]{text}|
+\footnotetext||{text}|
+\footskip|||
+\forall|||
+\frac||{num}{den}|
+\frame||{text}|
+\framebox||(xdimen,ydimen)[position]{text}|
+\framebox||(xdimen,ydimen){text}|
+\framebox||[width][position]{text}|
+\framebox||[width]{text}|
+\frametitle||{Inhalt}|
+\frenchspacing|||
+\frown|||
+\frq|||
+\frqq|||
+\fussy|||
+\futurelet|||
+\gamma|||
+\Gamma|||
+\gcd|||
+\gdef|||
+\ge|||
+\geq|||
+\gets|||
+\gg|||
+\global|||
+\globaldefs|||
+\glossary||{text}|
+\glossaryentry||{text}{pagenum}|
+\glq|||
+\glqq|||
+\grave||{a}|
+\grq|||
+\grqq|||
+\halign|||
+\hangafter|||
+\hangindent|||
+\hat||{a}|
+\hbadness|||
+\hbar|||
+\hbox|||
+\headheight|||
+\headsep|||
+\heartsuit|||
+\height|||
+\hfil|||
+\hfill|||
+\hfilneg|||
+\hfuzz|||
+\hline|||
+\hlinefill|||
+\hoffset|||
+\hom|||
+\hookleftarrow|||
+\hookrightarrow|||
+\hrule|||
+\hrulefill|||
+\hsize|||
+\hskip|||
+\hspace||{length}|
+\hspace*||{length}|
+\hss|||
+\HUGE|||
+\Huge|||
+\huge|||
+\hyphenation||{words}|
+\hyphenchar|||
+\hyphenpenalty|||
+\if|||
+\if..\else..\fi|||
+\if..\fi|||
+\ifcase|||
+\ifcase..\else..\fi|||
+\ifcase..\fi|||
+\ifcat|||
+\ifcat..\else..\fi|||
+\ifcat..\fi|||
+\ifdim|||
+\ifdim..\else..\fi|||
+\ifdim..\fi|||
+\ifeof|||
+\ifeof..\else..\fi|||
+\ifeof..\fi|||
+\iffalse|||
+\iffalse..\else..\fi|||
+\iffalse..\fi|||
+\IfFileExists||{file}{then}{else}|
+\ifhbox|||
+\ifhbox..\else..\fi|||
+\ifhbox..\fi|||
+\ifhmode|||
+\ifhmode..\else..\fi|||
+\ifhmode..\fi|||
+\ifinner|||
+\ifinner..\else..\fi|||
+\ifinner..\fi|||
+\ifmmode|||
+\ifmmode..\else..\fi|||
+\ifmmode..\fi|||
+\ifnum|||
+\ifnum..\else..\fi|||
+\ifnum..\fi|||
+\ifodd|||
+\ifodd..\else..\fi|||
+\ifodd..\fi|||
+\iftrue|||
+\iftrue..\else..\fi|||
+\iftrue..\fi|||
+\ifundefined|||
+\ifvbox|||
+\ifvbox..\else..\fi|||
+\ifvbox..\fi|||
+\ifvmode|||
+\ifvmode..\else..\fi|||
+\ifvmode..\fi|||
+\ifvoid|||
+\ifvoid..\else..\fi|||
+\ifvoid..\fi|||
+\ifx|||
+\ifx..\else..\fi|||
+\ifx..\fi|||
+\ignorespaces|||
+\Im|||
+\imath|||
+\immediate|||
+\in|||
+\include||{file}|
+\includegraphics||[options]{name}|
+\includegraphics||{name}|
+\includeonly||{filelist}|
+\indent|||
+\index||{entry}|
+\indexname||{name}|
+\indexspace|||
+\inf|||
+\infty|||
+\input||{file}|
+\InputIfFileExists||{file}{then}{else}|
+\inputlineno|||
+\insert|||
+\insertpenalties|||
+\int|||
+\interdisplaylinepenalty|||
+\interfootnotelinepenalty|||
+\interlinepenalty|||
+\intextsep|||
+\iota|||
+\item|||
+\item||[label]|
+\itemindent|||
+\itemsep|||
+\iterate|||
+\itshape|||
+\jmath|||
+\jobname|||
+\Join|||
+\joinrel|||
+\kappa|||
+\ker|||
+\kern|||
+\kill|||
+\label||{key}|
+\labelenumi|||
+\labelitemi|||
+\labelitemii|||
+\labelitemiii|||
+\labelitemiv|||
+\labelsep|||
+\labelwidth|||
+\Lambda|||
+\lambda|||
+\langle|||
+\language|||
+\large|||
+\Large|||
+\LARGE|||
+\lastbox|||
+\lastkern|||
+\lastpenalty|||
+\lastskip|||
+\LaTeX|||
+\LaTeXe|||
+\lbrace|||
+\lbrack|||
+\lccode|||
+\lceil|||
+\ldots|||
+\le|||
+\leaders|||
+\leadsto|||
+\leavevmode|||
+\left|||
+\left..\right|||
+\Leftarrow|||
+\leftarrow|||
+\lefteqn|||
+\leftharpoondown|||
+\leftharpoonup|||
+\lefthyphenmin|||
+\leftmargin|||
+\leftmargini|||
+\leftmarginii|||
+\leftmarginiii|||
+\leftmarginiv|||
+\leftmarginv|||
+\leftmarginvi|||
+\leftmark|||
+\Leftrightarrow|||
+\leftrightarrow|||
+\leftskip|||
+\leq|||
+\leqno|||
+\let|||
+\lfloor|||
+\lg|||
+\lgroup|||
+\lhd|||
+\lim|||
+\liminf|||
+\limits|||
+\limsup|||
+\line|||
+\line||(xslope,yslope){length}|
+\linebreak|||
+\linebreak||[number]|
+\linepenalty|||
+\lineskip|||
+\lineskiplimit|||
+\lineskiplimits|||
+\linethickness||{dimension}|
+\linewidth|||
+\listfigurename||{name}|
+\listfiles|||
+\listoffigures|||
+\listoftables|||
+\listparindent|||
+\listtablename||{name}|
+\ll|||
+\llap|||
+\lmoustache|||
+\ln|||
+\LoadClass||[optionlist]{class}|
+\LoadClass||[optionlist]{class}[release]|
+\LoadClass||{class}|
+\LoadClass||{class}[release]|
+\location||{address}|
+\log|||
+\long|||
+\Longleftarrow|||
+\longleftarrow|||
+\longleftrightarrow|||
+\Longlettrightarrow|||
+\longmapsto|||
+\longrightarrow|||
+\Longrightarrow|||
+\looseness|||
+\lower|||
+\lowercase|||
+\mag|||
+\magnification|||
+\magstep|||
+\makeatletter|||
+\makeatother|||
+\makebox||(width,height)[position]{text}|
+\makebox||(width,height){text}|
+\makebox||[width][position]{text}|
+\makebox||[width]{text}|
+\makeglossary|||
+\makeindex|||
+\makelabel|||
+\makelabels||{number}|
+\MakeLowercase||{text}|
+\maketitle|||
+\MakeUppercase||{text}|
+\mapsto|||
+\margin|||
+\marginpar||[left]{right}|
+\\marginpar||{right}|
+\marginparpush|||
+\marginparsep|||
+\marginparwidth|||
+\mark|||
+\markboth||{lefthead}{righthead}|
+\markright||{righthead}|
+\mathaccent|||
+\mathbf|||
+\mathbin|||
+\mathcal|||
+\mathchar|||
+\mathchardef|||
+\mathchoice|||
+\mathclose|||
+\mathcode|||
+\mathellipsis|||
+\mathgroup|||
+\mathinner|||
+\mathit|||
+\mathnormal|||
+\mathop|||
+\mathopen|||
+\mathord|||
+\mathpunct|||
+\mathrel|||
+\mathrm|||
+\mathsf|||
+\mathsterling|||
+\mathstrut|||
+\mathsurround|||
+\mathtt|||
+\mathunderscore|||
+\mathversion|||
+\matrix|||
+\max|||
+\maxdeadcycles|||
+\maxdepth|||
+\maxdimen|||
+\mbox||{text}|
+\mdseries|||
+\meaning|||
+\medmuskip|||
+\medskip|||
+\medskipamount|||
+\message|||
+\mho|||
+\mid|||
+\min|||
+\mkern|||
+\models|||
+\month|||
+\moveleft|||
+\moveright|||
+\mp|||
+\mskip|||
+\mu|||
+\multicolumn||{cols}{pos}{text}|
+\multiply|||
+\multiput||(xcoord,ycoord)(xdelta,ydelta){copies}{object}|
+\multispan|||
+\muskip|||
+\muskipdef|||
+\nabla|||
+\name||{name}|
+\natural|||
+\nearrow|||
+\NeedsTeXFormat||{format}|
+\NeedsTeXFormat||{format}[release]|
+\neg|||
+\negthinspace|||
+\newbox|||
+\newcommand||{cmd}[args][default]{def}|
+\newcommand||{cmd}[args]{def}|
+\newcommand||{cmd}{def}|
+\newcount|||
+\newcounter||{foo}|
+\newcounter||{foo}[counter]|
+\newdimen|||
+\newenvironment||{nam}[args][default]{begdef}{enddef}|
+\newenvironment||{nam}[args]{begdef}{enddef}|
+\newenvironment||{nam}{begdef}{enddef}|
+\newfont||{cmd}{fontname}|
+\newhelp|||
+\newif|||
+\newlabel|||
+\newlength||{\length}|
+\newline|||
+\newlinechar|||
+\newmuskip|||
+\newpage|||
+\newread|||
+\newsavebox||{\box}|
+\newskip|||
+\newtheorem||{envname}[numberedlike]{caption}[within]|
+\newtheorem||{envname}{caption}|
+\newtheorem||{envname}{caption}[within]|
+\newtoks|||
+\newwrite|||
+\ni|||
+\noalign|||
+\nocite||{keylist}|
+\nocorr|||
+\nocorrlist||{charlist}|
+\noexpand|||
+\nofiles|||
+\noindent|||
+\nointerlineskip|||
+\nolimits|||
+\nolinebreak|||
+\nolinebreak||[number]|
+\nonfrenchspacing|||
+\nonscript|||
+\nonstopmode|||
+\nonumber|||
+\nopagebreak|||
+\nopagebreak||[number]|
+\nopagenumbers|||
+\normalcolor|||
+\normalfont|||
+\normalmarginpar|||
+\normalsize|||
+\not|||
+\notin|||
+\nouppercase|||
+\nu|||
+\null|||
+\nulldelimiterspace|||
+\nullfont|||
+\number|||
+\nwarrow|||
+\obeycr|||
+\obeylines|||
+\obeyspaces|||
+\oddsidemargin|||
+\odot|||
+\offinterlineskip|||
+\oint|||
+\oldstylenums|||
+\Omega|||
+\omega|||
+\ominus|||
+\omit|||
+\onecolumn|||
+\openin|||
+\opening||{text}|
+\openout|||
+\oplus|||
+\OptionNotUsed|||
+\oslash|||
+\otimes|||
+\outer|||
+\output|||
+\outputpenalty|||
+\oval||(width,height)|
+\oval||(width,height)[portion]|
+\over|||
+\overbrace||{text}|
+\overfullrule|||
+\overleftarrow|||
+\overline||{text}|
+\overrightarrow|||
+\overwithdelims|||
+\PackageError|||
+\PackageInfo|||
+\PackageWarning|||
+\PackageWarningNoLine|||
+\pagebreak|||
+\pagebreak||[number]|
+\pagedepth|||
+\pagefilllstretch|||
+\pagefillstretch|||
+\pagefilstretch|||
+\pagegoal|||
+\pageinsert|||
+\pagename|||
+\pageno|||
+\pagenumbering||{numstyle}|
+\pageref||{key}|
+\pageshrink|||
+\pagestretch|||
+\pagestyle||{option}|
+\pagetotal|||
+\paperheight|||
+\paperwidth|||
+\par|||
+\paragraph||[short]{title}|
+\paragraph||{title}|
+\paragraph*||{title}|
+\paragraphmark|||
+\parallel|||
+\parbox||[position]{width}{text}|
+\parbox||{width}{text}|
+\parfillskip|||
+\parindent|||
+\parsep|||
+\parshape|||
+\parskip|||
+\part||[short]{title}|
+\part||{title}|
+\part*||{title}|
+\partial|||
+\partname||{name}|
+\partopsep|||
+\PassOptionsToClass||{optionlist}{class}|
+\PassOptionsToPackage||{optionlist}{package}|
+\patterns|||
+\pause|||
+\pausing|||
+\penalty|||
+\perp|||
+\phantom|||
+\phi|||
+\Phi|||
+\pi|||
+\Pi|||
+\plus|||
+\pm|||
+\pmatrix|||
+\poptabs|||
+\postdisplaypenalty|||
+\pounds|||
+\Pr|||
+\prec|||
+\preceq|||
+\predisplaypenalty|||
+\predisplaysize|||
+\pretolerance|||
+\prevdepth|||
+\prevgraf|||
+\prime|||
+\ProcessOptions|||
+\ProcessOptions*|||
+\proclaim|||
+\prod|||
+\propto|||
+\protect|||
+\ProvidesClass||{name}|
+\ProvidesClass||{name}[release]|
+\ProvidesFile||{ma,e}|
+\ProvidesFile||{name}{release}|
+\ProvidesPackage||{name}|
+\ProvidesPackage||{name}[release]|
+\Psi|||
+\psi|||
+\put||(xcoord,ycoord){text}|
+\qquad|||
+\quad|||
+\radical|||
+\raggedbottom|||
+\raggedcenter|||
+\raggedleft|||
+\raggedright|||
+\raise|||
+\raisebox||{distance}[extendabove][extendbelow]{text}|
+\raisebox||{distance}[extendabove]{text}|
+\raisebox||{distance}{text}|
+\rangle|||
+\rbrace|||
+\rbrack|||
+\rceil|||
+\Re|||
+\read|||
+\ref||{key}|
+\refname||{name}|
+\refstepcounter||{counter}|
+\relax|||
+\relpenalty|||
+\removelastskip|||
+\renewcommand||{cmd}[args][default]{def}|
+\renewcommand||{cmd}[args]{def}|
+\renewcommand||{cmd}{def}|
+\renewenvironment||{nam}[args][default]{begdef}{enddef}|
+\renewenvironment||{nam}[args]{begdef}{enddef}|
+\renewenvironment||{nam}{begdef}{enddef}|
+\repeat|||
+\RequirePackage||[optionlist]{package}|
+\RequirePackage||[optionlist]{package}[release]|
+\RequirePackage||{package}|
+\RequirePackage||{package}[release]|
+\restorecr|||
+\reversemarginpar|||
+\rfloor|||
+\rgroup|||
+\rhd|||
+\rho|||
+\right|||
+\rightarrow|||
+\Rightarrow|||
+\rightharpoondown|||
+\rightharpoonup|||
+\righthyphenmin|||
+\rightleftharpoons|||
+\rightmargin|||
+\rightmark|||
+\rightskip|||
+\rlap|||
+\rmfamily|||
+\rmoustache|||
+\roman||{counter}|
+\Roman||{counter}|
+\romannumeral|||
+\rule||[lift]{width}{thickness}|
+\rule||{width}{thickness}|
+\samepage|||
+\savebox||{cmd}[width][pos]{text}|
+\savebox||{cmd}[width]{text}|
+\savebox||{cmd}{text}|
+\sbox||{cmd}[text]|
+\scriptfont|||
+\scriptscriptfont|||
+\scriptscriptstyle|||
+\scriptsize|||
+\scriptspace|||
+\scriptstyle|||
+\scrollmode|||
+\scshape|||
+\searrow|||
+\sec|||
+\section||[short]{title}|
+\section||{title}|
+\section*||{title}|
+\sectionmark||{code}|
+\selectfont|||
+\setbox|||
+\setcounter||{counter}{value}|
+\setlanguage|||
+\setlength||{\gnat}{length}|
+\setminus|||
+\setpapersize||{layout}|
+\settodepth||{\gnat}{text}|
+\settoheight||{\gnat}{text}|
+\settowidth||{\gnat}{text}|
+\sfcode|||
+\sffamily|||
+\sharp|||
+\shipout|||
+\shortstack||[position]{text\\text}|
+\shortstack||{text\\text}|
+\show|||
+\showbox|||
+\showboxbreadth|||
+\showboxdepth|||
+\showhyphens|||
+\showlists|||
+\showthe|||
+\sigma|||
+\Sigma|||
+\signature||{name}|
+\signature||{name}|
+\sim|||
+\simeq|||
+\sin|||
+\sinh|||
+\skew|||
+\skewchar|||
+\skip|||
+\skipdef|||
+\slash|||
+\sloppy|||
+\slshape|||
+\small|||
+\smallskip|||
+\smallskipamount|||
+\smash|||
+\smile|||
+\space|||
+\spacefactor|||
+\spaceskip|||
+\spadesuit|||
+\span|||
+\special|||
+\splitbotmark|||
+\splitfirstmark|||
+\splitmaxdepth|||
+\splittopskip|||
+\sqcup|||
+\sqrt||[root]{arg}|
+\sqrt||{arg}|
+\sqsupset|||
+\sqsupseteq|||
+\stackrel||{above}{under}|
+\star|||
+\stepcounter||{counter}|
+\stop|||
+\stretch||{number}|
+\string|||
+\strut|||
+\subitem|||
+\subject||{text}|
+\subparagraph||[short]{title}|
+\subparagraph||{title}|
+\subparagraph*||{title}|
+\subparagraphmark||{code}|
+\subsection||[short]{title}|
+\subsection||{title}|
+\subsection*||{title}|
+\subsectionmark||{code}|
+\subset|||
+\subseteq|||
+\subsubitem|||
+\subsubsection||[short]{title}|
+\subsubsection||{title}|
+\subsubsection*||{title}|
+\subsubsectionmark||{code}|
+\succ|||
+\succeq|||
+\sum|||
+\sup|||
+\suppressfloats|||
+\suppressfloats||[placement]|
+\supset|||
+\supseteq|||
+\surd|||
+\swarrow|||
+\symbol||{n}|
+\tabbingsep|||
+\tabcolsep|||
+\tablename||{name}|
+\tableofcontents|||
+\tabskip|||
+\tabularnewline|||
+\tan|||
+\tanh|||
+\tau|||
+\telephone||{number}|
+\TeX|||
+\textasciicircum|||
+\textasciitilde|||
+\textasteriskcentered|||
+\textbackslash|||
+\textbar|||
+\textbf||{text}|
+\textbraceleft|||
+\textbraceright|||
+\textbullet|||
+\textcircled|||
+\textcompwordmark|||
+\textdagger|||
+\textdaggerdbl|||
+\textdollar|||
+\textellipsis|||
+\textemdash|||
+\textexclamdown|||
+\textfloatsep|||
+\textfont|||
+\textfraction|||
+\textgreater|||
+\textheight|||
+\textindent|||
+\textit||{text}|
+\textless|||
+\textmd||{text}|
+\textnormal|||
+\textparagraph|||
+\textperiodcentered|||
+\textquestiondown|||
+\textquotedblleft|||
+\textquotedblright|||
+\textquoteleft|||
+\textquoteright|||
+\textregistered|||
+\textrm||{text}|
+\textsc||{text}|
+\textsection|||
+\textsf||{text}|
+\textsl||{text}|
+\textsterling|||
+\textstyle|||
+\textsuperscript|||
+\texttrademark|||
+\texttt||{text}|
+\textunderscore|||
+\textup||{text}|
+\textvisiblespace|||
+\textwidth|||
+\thanks||{text}|
+\the|||
+\thechapter|||
+\theenumi|||
+\theenumiv|||
+\theequation|||
+\thefigure|||
+\thefootnote|||
+\thefootnotemark|||
+\thehours|||
+\theminutes|||
+\thempfn|||
+\thempfootnote|||
+\thepage|||
+\theparagraph|||
+\thepart|||
+\thesection|||
+\thesubparagraph|||
+\thesubsection|||
+\thesubsubsection|||
+\theta|||
+\Theta|||
+\thetable|||
+\thicklines|||
+\thickmuskip|||
+\thinlines|||
+\thinmuskip|||
+\thinspace|||
+\thispagestyle||{option}|
+\tilde||{a}|
+\time|||
+\times|||
+\tiny|||
+\title||{text}|
+\to|||
+\today|||
+\toks|||
+\toksdef|||
+\tolerance|||
+\top|||
+\topfigrule|||
+\topfraction|||
+\topins|||
+\topmargin|||
+\topmark|||
+\topnumber|||
+\topsep|||
+\topskip|||
+\totalheight|||
+\totalnumber|||
+\tracingcommands|||
+\tracingfonts|||
+\tracinglostchars|||
+\tracingmacros|||
+\tracingonline|||
+\tracingoutput|||
+\tracingpages|||
+\tracingparagraphs|||
+\tracingrestores|||
+\tracingstats|||
+\triangle|||
+\triangleleft|||
+\triangleright|||
+\ttfamily|||
+\twocolumn||[text]|
+\typein||[cmd]{msg}|
+\typein||{msg}|
+\typeout||{msg}|
+\uccode|||
+\uchyph|||
+\unboldmath|||
+\underbar|||
+\underbrace||{text}|
+\underline||{text}|
+\unhbox|||
+\unhcopy|||
+\unitlength|||
+\unkern|||
+\unlhd|||
+\unpenalty|||
+\unrhd|||
+\unskip|||
+\unvbox|||
+\unvcopy|||
+\uparrow|||
+\Uparrow|||
+\updownarrow|||
+\Updownarrow|||
+\uplus|||
+\uppercase|||
+\upshape|||
+\Upsilon|||
+\upsilon|||
+\usebox||{\box}|
+\usecolortheme||{Name}|
+\usecounter||{counter}|
+\usefont||{enc}{family}{series}{shape}|
+\usepackage||[options]{package}|
+\usetheme||{Name}|
+\vadjust|||
+\valign|||
+\value||{counter}|
+\varepsilon|||
+\varphi|||
+\varpi|||
+\varrho|||
+\varsigma|||
+\vartheta|||
+\vbadness|||
+\vbox|||
+\vcenter|||
+\vdash|||
+\vdots|||
+\vdots|||
+\vec||{a}|
+\vector||(xslope,yslope){length}|
+\vee|||
+\verb|||
+\vert|||
+\vfil|||
+\vfill|||
+\vfilll|||
+\vfilneg|||
+\vfuzz|||
+\vline|||
+\voffset|||
+\vphantom|||
+\vrule|||
+\vsize|||
+\vskip|||
+\vspace||{length}|
+\vspace*||{length}|
+\vsplit|||
+\vss|||
+\vtop|||
+\wedge|||
+\widowpenalty|||
+\width|||
+\wp|||
+\wr|||
+\write|||
+\xdef|||
+\Xi|||
+\xleaders|||
+\xspaceskip|||
+\year|||
+\zeta|||
diff --git a/data/php.tags b/data/php.tags
new file mode 100644
index 000000000..429ed131f
--- /dev/null
+++ b/data/php.tags
@@ -0,0 +1,2738 @@
+abs|mixed|(mixed number)|Absolute value
+acos|float|(float arg)|Arc cosine
+acosh|float|(float arg)|Inverse hyperbolic cosine
+addcslashes|string|(string str, string charlist)|Quote string with slashes in a C style
+addslashes|string|(string str)|Quote string with slashes
+apache_child_terminate|string|()|Terminate apache process after this request
+apache_lookup_uri|object|(string filename)|Perform a partial request for the specified URI and return all info about it
+apache_note|string|(string note_name [, string note_value])|Get and set apache request notes
+apache_setenv|int|(string variable, string value [, bool walk_to_top])|Set an Apache subprocess_env variable
+array|array|( [mixed ...])|Create an array
+array_change_key_case|array|(array input [, int case])|Returns an array with all string keys lowercased or uppercased
+array_chunk|array|(array input, int size [, bool preserve_keys])|Split an array into chunks
+array_count_values|array|(array input)|Counts all the values of an array
+array_diff|array|(array array1, array array2 [, array ...])|Computes the difference of arrays
+array_fill|array|(int start_index, int num, mixed value)|Fill an array with values
+array_filter|array|(array input [, mixed callback])|Filters elements of an array using a callback function
+array_flip|array|(array trans)|Flip all the values of an array
+array_intersect|array|(array array1, array array2 [, array ...])|Computes the intersection of arrays
+array_key_exists|bool|(mixed key, array search)|Checks if the given key or index exists in the array
+array_keys|array|(array input [, mixed search_value])|Return all the keys of an array
+array_map|array|(mixed callback, array arr1 [, array arr2...])|Applies the callback to the elements of the given arrays
+array_merge|array|(array array1, array array2 [, array ...])|Merge two or more arrays
+array_merge_recursive|array|(array array1, array array2 [, array ...])|Merge two or more arrays recursively
+array_multisort|bool|(array ar1 [, mixed arg [, mixed ... [, array ...]]])|Sort multiple or multi-dimensional arrays
+array_pad|array|(array input, int pad_size, mixed pad_value)|Pad array to the specified length with a value
+array_pop|mixed|(array array)|Pop the element off the end of array
+array_push|int|(array array, mixed var [, mixed ...])|Push one or more elements onto the end of array
+array_rand|mixed|(array input [, int num_req])|Pick one or more random entries out of an array
+array_reduce|mixed|(array input, mixed callback [, int initial])|Iteratively reduce the array to a single value using a callback function
+array_reverse|array|(array array [, bool preserve_keys])|Return an array with elements in reverse order
+array_search|mixed|(mixed needle, array haystack [, bool strict])|Searches the array for a given value and returns the corresponding key if successful
+array_shift|mixed|(array array)|Shift an element off the beginning of array
+array_slice|array|(array array, int offset [, int length])|Extract a slice of the array
+array_splice|array|(array input, int offset [, int length [, array replacement]])|Remove a portion of the array and replace it with something else
+array_sum|mixed|(array array)|Calculate the sum of values in an array.
+array_unique|array|(array array)|Removes duplicate values from an array
+array_unshift|int|(array array, mixed var [, mixed ...])|Prepend one or more elements to the beginning of array
+array_values|array|(array input)|Return all the values of an array
+array_walk|int|(array array, string func [, mixed userdata])|Apply a user function to every member of an array
+arsort|void|(array array [, int sort_flags])|Sort an array in reverse order and maintain index association
+ascii2ebcdic|int|(string ascii_str)|Translate string from ASCII to EBCDIC
+asin|float|(float arg)|Arc sine
+asinh|float|(float arg)|Inverse hyperbolic sine
+asort|void|(array array [, int sort_flags])|Sort an array and maintain index association
+aspell_check|bool|(int dictionary_link, string word)|Check a word [deprecated]
+aspell_check_raw|bool|(int dictionary_link, string word)|Check a word without changing its case or trying to trim it [deprecated]
+aspell_new|int|(string master [, string personal])|Load a new dictionary [deprecated]
+aspell_suggest|array|(int dictionary_link, string word)|Suggest spellings of a word [deprecated]
+assert|int|(string|bool assertion)|Checks if assertion is &false;
+assert_options|mixed|(int what [, mixed value])|Set/get the various assert flags
+assign|object|(array parameter)|Clones object
+atan2|float|(float y, float x)|arc tangent of two variables
+atan|float|(float arg)|Arc tangent
+atanh|float|(float arg)|Inverse hyperbolic tangent
+attreditable|bool|(array parameter)|Checks whether an attribute is editable
+attribute|object|( [string name [, string value]])|Creates instance of class hw_api_attribute
+base64_decode|string|(string encoded_data)|Decodes data encoded with MIME base64
+base64_encode|string|(string data)|Encodes data with MIME base64
+base_convert|string|(string number, int frombase, int tobase)|Convert a number between arbitrary bases
+basename|string|(string path [, string suffix])|Returns filename component of path
+bcadd|string|(string left_operand, string right_operand [, int scale])|Add two arbitrary precision numbers
+bccomp|int|(string left_operand, string right_operand [, int scale])|Compare two arbitrary precision numbers
+bcdiv|string|(string left_operand, string right_operand [, int scale])|Divide two arbitrary precision numbers
+bcmod|string|(string left_operand, string modulus)|Get modulus of an arbitrary precision number
+bcmul|string|(string left_operand, string right_operand [, int scale])|Multiply two arbitrary precision number
+bcpow|string|(string x, string y [, int scale])|Raise an arbitrary precision number to another
+bcscale|string|(int scale)|Set default scale parameter for all bc math functions
+bcsqrt|string|(string operand [, int scale])|Get the square root of an arbitrary precision number
+bcsub|string|(string left_operand, string right_operand [, int scale])|Subtract one arbitrary precision number from another
+bin2hex|string|(string str)|Convert binary data into hexadecimal representation
+bindec|int|(string binary_string)|Binary to decimal
+bind_textdomain_codeset|string|(string domain, string codeset)|Specify the character encoding in which the messages from the DOMAIN message catalog will be returned
+bindtextdomain|string|(string domain, string directory)|Sets the path for a domain
+bzclose|int|(resource bz)|Close a bzip2 file pointer
+bzcompress|string|(string source [, int blocksize [, int workfactor]])|Compress a string into bzip2 encoded data
+bzdecompress|string|(string source [, int small])|Decompresses bzip2 encoded data
+bzerrno|int|(resource bz)|Returns a bzip2 error number
+bzerror|array|(resource bz)|Returns the bzip2 error number and error string in an array
+bzerrstr|string|(resource bz)|Returns a bzip2 error string
+bzflush|int|(resource bz)|Force a write of all buffered data
+bzopen|resource|(string filename, string mode)|Open a bzip2 compressed file
+bzread|string|(resource bz [, int length])|Binary safe bzip2 file read
+bzwrite|int|(resource bz, string data [, int length])|Binary safe bzip2 file write
+cal_days_in_month|int|(int calendar, int month, int year)|Return the number of days in a month for a given year and calendar
+cal_from_jd|array|(int jd, int calendar)|Converts from Julian Day Count to a supported calendar and return extended information
+cal_info|array|(int calendar)|Returns information about a particular calendar
+call_user_func_array|mixed|(string function_name [, array paramarr])|Call a user function given with an array of parameters
+call_user_func|mixed|(string function_name [, mixed parameter [, mixed ...]])|Call a user function given by the first parameter
+call_user_method_array|mixed|(string method_name, object obj [, array paramarr])|Call a user method given with an array of parameters [deprecated]
+call_user_method|mixed|(string method_name, object obj [, mixed parameter [, mixed ...]])|Call a user method on an specific object [deprecated]
+cal_to_jd|int|(int calendar, int month, int day, int year)|Converts from a supported calendar to Julian Day Count
+ccvs_add|string|(string session, string invoice, string argtype, string argval)|Add data to a transaction
+ccvs_auth|string|(string session, string invoice)|Perform credit authorization test on a transaction
+ccvs_command|string|(string session, string type, string argval)|Performs a command which is peculiar to a single protocol, and thus is not available in the general CCVS API
+ccvs_count|int|(string session, string type)|Find out how many transactions of a given type are stored in the system
+ccvs_delete|string|(string session, string invoice)|Delete a transaction
+ccvs_done|string|(string sess)|Terminate CCVS engine and do cleanup work
+ccvs_init|string|(string name)|Initialize CCVS for use
+ccvs_lookup|string|(string session, string invoice, int inum)|Look up an item of a particular type in the database #
+ccvs_new|string|(string session, string invoice)|Create a new, blank transaction
+ccvs_report|string|(string session, string type)|Return the status of the background communication process
+ccvs_return|string|(string session, string invoice)|Transfer funds from the merchant to the credit card holder
+ccvs_reverse|string|(string session, string invoice)|Perform a full reversal on an already-processed authorization
+ccvs_sale|string|(string session, string invoice)|Transfer funds from the credit card holder to the merchant
+ccvs_status|string|(string session, string invoice)|Check the status of an invoice
+ccvs_textvalue|string|(string session)|Get text return value for previous function call
+ccvs_void|string|(string session, string invoice)|Perform a full reversal on a completed transaction
+ceil|float|(float value)|Round fractions up
+chdir|bool|(string directory)|change directory
+checkdate|bool|(int month, int day, int year)|Validate a gregorian date/time
+checkdnsrr|int|(string host [, string type])|Check DNS records corresponding to a given Internet host name or IP address
+checkin|object|(array parameter)|Checks in an object
+checkout|object|(array parameter)|Checks out an object
+chgrp|int|(string filename, mixed group)|Changes file group
+children|array|(array parameter)|Returns children of an object
+chmod|int|(string filename, int mode)|Changes file mode
+chown|int|(string filename, mixed user)|Changes file owner
+chroot|bool|(string directory)|change the root directory
+chr|string|(int ascii)|Alias of rtrim
+chunk_split|string|(string body [, int chunklen [, string end]])|Split a string into smaller chunks
+class_exists|bool|(string class_name)|Checks if the class has been defined
+clearstatcache|void|()|Clears file stat cache
+closedir|void|(resource dir_handle)|close directory handle
+closelog|int|()|Close connection to system logger
+com_addref|void|()|Increases the components reference counter.
+COM::COM|string|(string module_name [, string server_name [, int codepage]])|COM class
+com_get|mixed|(resource com_object, string property)|Gets the value of a COM Component's property
+com_invoke|mixed|(resource com_object, string function_name [, mixed function parameters, ...])|Calls a COM component's method.
+com_isenum|void|(object com_module)|Grabs an IEnumVariant
+com_load|string|(string module name [, string server name [, int codepage]])|Creates a new reference to a COM component
+com_load_typelib|void|(string typelib_name [, int case_insensitive])|Loads a Typelib
+compact|array|(mixed varname [, mixed ...])|Create array containing variables and their values
+com_propget|mixed|(resource com_object, string property)|Gets the value of a COM Component's property
+com_propput|void|(resource com_object, string property, mixed value)|Assigns a value to a COM component's property
+com_propset|void|(resource com_object, string property, mixed value)|Assigns a value to a COM component's property
+com_release|void|()|Decreases the components reference counter.
+com_set|void|(resource com_object, string property, mixed value)|Assigns a value to a COM component's property
+connection_aborted|int|()|Returns &true; if client disconnected
+connection_status|int|()|Returns connection status bitfield
+connection_timeout|bool|()|Return &true; if script timed out
+constant|mixed|(string name)|Returns the value of a constant
+content|object|(array parameter)|Returns content of an object
+content|string|(string content, string mimetype)|Create new instance of class hw_api_content
+convert_cyr_string|string|(string str, string from, string to)|Convert from one Cyrillic character set to another
+copy|int|(string source, string dest)|Copies file
+copy|object|(array parameter)|Copies physically
+cos|float|(float arg)|Cosine
+cosh|float|(float arg)|Hyperbolic cosine
+count_chars|mixed|(string string [, int mode])|Return information about characters used in a string
+count|int|(array parameter)|Returns number of attributes
+count|int|(mixed var)|Count elements in a variable
+count|int|(void)|Returns number of reasons
+cpdf_add_annotation|void|(int pdf document, float llx, float lly, float urx, float ury, string title, string content [, int mode])|Adds annotation
+cpdf_add_outline|void|(int pdf document, string text)|Adds bookmark for current page
+cpdf_arc|void|(int pdf document, float x-coor, float y-coor, float radius, float start, float end [, int mode])|Draws an arc
+cpdf_begin_text|void|(int pdf document)|Starts text section
+cpdf_circle|void|(int pdf document, float x-coor, float y-coor, float radius [, int mode])|Draw a circle
+cpdf_clip|void|(int pdf document)|Clips to current path
+cpdf_closepath_fill_stroke|void|(int pdf document)|Close, fill and stroke current path
+cpdf_closepath_stroke|void|(int pdf document)|Close path and draw line along path
+cpdf_closepath|void|(int pdf document)|Close path
+cpdf_close|void|(int pdf document)|Closes the pdf document
+cpdf_continue_text|void|(int pdf document, string text)|Output text in next line
+cpdf_curveto|void|(int pdf document, float x1, float y1, float x2, float y2, float x3, float y3 [, int mode])|Draws a curve
+cpdf_end_text|void|(int pdf document)|Ends text section
+cpdf_fill_stroke|void|(int pdf document)|Fill and stroke current path
+cpdf_fill|void|(int pdf document)|Fill current path
+cpdf_finalize_page|void|(int pdf document, int page number)|Ends page
+cpdf_finalize|void|(int pdf document)|Ends document
+cpdf_global_set_document_limits|void|(int maxpages, int maxfonts, int maximages, int maxannotations, int maxobjects)|Sets document limits for any pdf document
+cpdf_import_jpeg|int|(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 mode])|Opens a JPEG image
+cpdf_lineto|void|(int pdf document, float x-coor, float y-coor [, int mode])|Draws a line
+cpdf_moveto|void|(int pdf document, float x-coor, float y-coor [, int mode])|Sets current point
+cpdf_newpath|void|(int pdf document)|Starts a new path
+cpdf_open|int|(int compression [, string filename])|Opens a new pdf document
+cpdf_output_buffer|void|(int pdf document)|Outputs the pdf document in memory buffer
+cpdf_page_init|void|(int pdf document, int page number, int orientation, float height, float width [, float unit])|Starts new page
+cpdf_place_inline_image|void|(int pdf document, int image, float x-coor, float y-coor, float angle, float width, float height [, int mode])|Places an image on the page
+cpdf_rect|void|(int pdf document, float x-coor, float y-coor, float width, float height [, int mode])|Draw a rectangle
+cpdf_restore|void|(int pdf document)|Restores formerly saved environment
+cpdf_rlineto|void|(int pdf document, float x-coor, float y-coor [, int mode])|Draws a line
+cpdf_rmoveto|void|(int pdf document, float x-coor, float y-coor [, int mode])|Sets current point
+cpdf_rotate_text|void|(int pdfdoc, float angle)|Sets text rotation angle
+cpdf_rotate|void|(int pdf document, float angle)|Sets rotation
+cpdf_save_to_file|void|(int pdf document, string filename)|Writes the pdf document into a file
+cpdf_save|void|(int pdf document)|Saves current environment
+cpdf_scale|void|(int pdf document, float x-scale, float y-scale)|Sets scaling
+cpdf_set_action_url|void|(int pdfdoc, float xll, float yll, float xur, float xur, string url [, int mode])|Sets hyperlink
+cpdf_set_char_spacing|void|(int pdf document, float space)|Sets character spacing
+cpdf_set_creator|void|(string creator)|Sets the creator field in the pdf document
+cpdf_set_current_page|void|(int pdf document, int page number)|Sets current page
+cpdf_setdash|void|(int pdf document, float white, float black)|Sets dash pattern
+cpdf_setflat|void|(int pdf document, float value)|Sets flatness
+cpdf_set_font_directories|void|(int pdfdoc, string pfmdir, string pfbdir)|Sets directories to search when using external fonts
+cpdf_set_font_map_file|void|(int pdfdoc, string filename)|Sets fontname to filename translation map when using external fonts
+cpdf_set_font|void|(int pdf document, string font name, float size, string encoding)|Select the current font face and size
+cpdf_setgray_fill|void|(int pdf document, float value)|Sets filling color to gray value
+cpdf_setgray_stroke|void|(int pdf document, float gray value)|Sets drawing color to gray value
+cpdf_setgray|void|(int pdf document, float gray value)|Sets drawing and filling color to gray value
+cpdf_set_horiz_scaling|void|(int pdf document, float scale)|Sets horizontal scaling of text
+cpdf_set_keywords|void|(string keywords)|Sets the keywords field of the pdf document
+cpdf_set leading|void|(int pdf document, float distance)|Sets distance between text lines
+cpdf_setlinecap|void|(int pdf document, int value)|Sets linecap parameter
+cpdf_setlinejoin|void|(int pdf document, long value)|Sets linejoin parameter
+cpdf_setlinewidth|void|(int pdf document, float width)|Sets line width
+cpdf_setmiterlimit|void|(int pdf document, float value)|Sets miter limit
+cpdf_set_page_animation|void|(int pdf document, int transition, float duration)|Sets duration between pages
+cpdf_setrgbcolor_fill|void|(int pdf document, float red value, float green value, float blue value)|Sets filling color to rgb color value
+cpdf_setrgbcolor_stroke|void|(int pdf document, float red value, float green value, float blue value)|Sets drawing color to rgb color value
+cpdf_setrgbcolor|void|(int pdf document, float red value, float green value, float blue value)|Sets drawing and filling color to rgb color value
+cpdf_set_subject|void|(string subject)|Sets the subject field of the pdf document
+cpdf_set_text_matrix|void|(int pdf document, array matrix)|Sets the text matrix
+cpdf_set_text_pos|void|(int pdf document, float x-coor, float y-coor [, int mode])|Sets text position
+cpdf_set_text_rendering|void|(int pdf document, int mode)|Determines how text is rendered
+cpdf_set_text_rise|void|(int pdf document, float value)|Sets the text rise
+cpdf_set_title|void|(string title)|Sets the title field of the pdf document
+cpdf_set_viewer_preferences|void|(int pdfdoc, array preferences)|How to show the document in the viewer
+cpdf_set_word_spacing|void|(int pdf document, float space)|Sets spacing between words
+cpdf_show|void|(int pdf document, string text)|Output text at current position
+cpdf_show_xy|void|(int pdf document, string text, float x-coor, float y-coor [, int mode])|Output text at position
+cpdf_stringwidth|float|(int pdf document, string text)|Returns width of text in current font
+cpdf_stroke|void|(int pdf document)|Draw line along path
+cpdf_text|void|(int pdf document, string text, float x-coor, float y-coor [, int mode [, float orientation [, int alignmode]]])|Output text with parameters
+cpdf_translate|void|(int pdf document, float x-coor, float y-coor [, int mode])|Sets origin of coordinate system
+crack_check|bool|( [resource dictionary, string password])|Performs an obscure check with the given password
+crack_closedict|bool|( [resource dictionary])|Closes an open CrackLib dictionary
+crack_getlastmessage|string|()|Returns the message from the last obscure check
+crack_opendict|resource|(string dictionary)|Opens a new CrackLib dictionary
+crc32|int|(string str)|Calculates the crc32 polynomial of a string
+create_function|string|(string args, string code)|Create an anonymous (lambda-style) function
+crypt|string|(string str [, string salt])|One-way string encryption (hashing)
+ctype_alnum|bool|(string text)|Check for alphanumeric character(s)
+ctype_alpha|bool|(string text)|Check for alphabetic character(s)
+ctype_cntrl|bool|(string text)|Check for control character(s)
+ctype_digit|bool|(string text)|Check for numeric character(s)
+ctype_graph|bool|(string text)|Check for any printable character(s) except space
+ctype_lower|bool|(string text)|Check for lowercase character(s)
+ctype_print|bool|(string text)|Check for printable character(s)
+ctype_punct|bool|(string text)|Check for any printable character which is not whitespace or an alphanumeric character
+ctype_space|bool|(string text)|Check for whitespace character(s)
+ctype_upper|bool|(string text)|Check for uppercase character(s)
+ctype_xdigit|bool|(string text)|Check for character(s) representing a hexadecimal digit
+curl_close|void|(int ch)|Close a CURL session
+curl_errno|int|(int ch)|Return an integer containing the last error number
+curl_error|string|(int ch)|Return a string containing the last error for the current session
+curl_exec|bool|(int ch)|Perform a CURL session
+curl_getinfo|string|(int ch, int opt)|Get information regarding a specific transfer
+curl_init|int|( [string url])|Initialize a CURL session
+curl_setopt|bool|(int ch, string option, mixed value)|Set an option for a CURL transfer
+curl_version|string|()|Return the current CURL version
+current|mixed|(array array)|Return the current element in an array
+cybercash_base64_decode|string|(string inbuff)|base64 decode data for Cybercash
+cybercash_base64_encode|string|(string inbuff)|base64 encode data for Cybercash
+cybercash_decr|array|(string wmk, string sk, string inbuff)|Cybercash decrypt
+cybercash_encr|array|(string wmk, string sk, string inbuff)|Cybercash encrypt
+cybermut_creerformulairecm|string|(string url_CM, string version, string TPE, string montant, string ref_commande, string texte_libre, string url_retour, string url_retour_ok, string url_retour_err, string langue, string code_societe, string texte_bouton)|Generate HTML form of request for payment
+cybermut_creerreponsecm|string|(string phrase)|Generate the acknowledgement of delivery of the confirmation of payment
+cybermut_testmac|bool|(string code_MAC, string version, string TPE, string cdate, string montant, string ref_commande, string texte_libre, string code-retour)|Make sure that there no was data diddling contained in the received message of confirmation
+cyrus_authenticate|bool|(resource connection [, string mechlist [, string service [, string user [, int minssf [, int maxssf]]]]])|Authenticate agaings a Cyrus IMAP server
+cyrus_bind|bool|(resource connection, array callbacks)|Bind callbacks to a Cyrus IMAP connection
+cyrus_close|bool|(resource connection)|Close connection to a cyrus server
+cyrus_connect|resource|( [string host [, string port [, int flags]]])|Connect to a Cyrus IMAP server
+cyrus_query|bool|(resource connection, string query)|Send a query to a Cyrus IMAP server
+cyrus_unbind|bool|(resource connection, string trigger_name)|Unbind ...
+date|string|(string format [, int timestamp])|Format a local time/date
+dba_close|void|(int handle)|Close database
+dba_delete|bool|(string key, int handle)|Delete entry specified by key
+dba_exists|bool|(string key, int handle)|Check whether key exists
+dba_fetch|string|(string key, int handle)|Fetch data specified by key
+dba_firstkey|string|(int handle)|Fetch first key
+dba_insert|bool|(string key, string value, int handle)|Insert entry
+dba_nextkey|string|(int handle)|Fetch next key
+dba_open|int|(string path, string mode, string handler)|Open database
+dba_optimize|bool|(int handle)|Optimize database
+dba_popen|int|(string path, string mode, string handler)|Open database persistently
+dba_replace|bool|(string key, string value, int handle)|Replace or insert entry
+dbase_add_record|bool|(int dbase_identifier, array record)|Add a record to a dBase database
+dbase_close|bool|(int dbase_identifier)|Close a dBase database
+dbase_create|int|(string filename, array fields)|Creates a dBase database
+dbase_delete_record|bool|(int dbase_identifier, int record)|Deletes a record from a dBase database
+dbase_get_record|array|(int dbase_identifier, int record)|Gets a record from a dBase database
+dbase_get_record_with_names|array|(int dbase_identifier, int record)|Gets a record from a dBase database as an associative array
+dbase_numfields|int|(int dbase_identifier)|Find out how many fields are in a dBase database
+dbase_numrecords|int|(int dbase_identifier)|Find out how many records are in a dBase database
+dbase_open|int|(string filename, int flags)|Opens a dBase database
+dbase_pack|bool|(int dbase_identifier)|Packs a dBase database
+dbase_replace_record|bool|(int dbase_identifier, array record, int dbase_record_number)|Replace a record in a dBase database
+dba_sync|bool|(int handle)|Synchronize database
+dblist|string|()|Describes the DBM-compatible library being used
+dbmclose|bool|(int dbm_identifier)|Closes a dbm database
+dbmdelete|bool|(int dbm_identifier, string key)|Deletes the value for a key from a DBM database
+dbmexists|bool|(int dbm_identifier, string key)|Tells if a value exists for a key in a DBM database
+dbmfetch|string|(int dbm_identifier, string key)|Fetches a value for a key from a DBM database
+dbmfirstkey|string|(int dbm_identifier)|Retrieves the first key from a DBM database
+dbminsert|int|(int dbm_identifier, string key, string value)|Inserts a value for a key in a DBM database
+dbmnextkey|string|(int dbm_identifier, string key)|Retrieves the next key from a DBM database
+dbmopen|int|(string filename, string flags)|Opens a DBM database
+dbmreplace|int|(int dbm_identifier, string key, string value)|Replaces the value for a key in a DBM database
+dbplus_add|int|(resource relation, array tuple)|Add a tuple to a relation
+dbplus_aql|resource|(string query [, string server [, string dbpath]])|Perform AQL query
+dbplus_chdir|string|( [string newdir])|Get/Set database virtual current directory
+dbplus_close|int|(resource relation)|Close a relation
+dbplus_curr|int|(resource relation, array tuple)|Get current tuple from relation
+dbplus_errcode|string|(int errno)|Get error string for given errorcode or last error
+dbplus_errno|int|()|Get error code for last operation
+dbplus_find|int|(resource relation, array constraints, mixed tuple)|Set a constraint on a relation
+dbplus_first|int|(resource relation, array tuple)|Get first tuple from relation
+dbplus_flush|int|(resource relation)|Flush all changes made on a relation
+dbplus_freealllocks|int|()|Free all locks held by this client
+dbplus_freelock|int|(resource relation, string tname)|Release write lock on tuple
+dbplus_freerlocks|int|(resource relation)|Free all tuple locks on given relation
+dbplus_getlock|int|(resource relation, string tname)|Get a write lock on a tuple
+dbplus_getunique|int|(resource relation, int uniqueid)|Get a id number unique to a relation
+dbplus_info|int|(resource relation, string key)|???
+dbplus_last|int|(resource relation, array tuple)|Get last tuple from relation
+dbplus_lockrel|int|(resource relation)|Request write lock on relation
+dbplus_next|int|(resource relation)|Get next tuple from relation
+dbplus_open|resource|(string name)|Open relation file
+dbplus_prev|int|(resource relation, array tuple)|Get previous tuple from relation
+dbplus_rchperm|int|(resource relation, int mask, string user, string group)|Change relation permissions
+dbplus_rcreate|resource|(string name, mixed domlist [, boolean overwrite])|Creates a new DB++ relation
+dbplus_rcrtexact|resource|(string name, resource relation, boolean overwrite)|Creates an exact but empty copy of a relation including indices
+dbplus_rcrtlike|resource|(string name, resource relation, int flag)|Creates an empty copy of a relation with default indices
+dbplus_resolve|int|(string relation_name)|Resolve host information for relation
+dbplus_restorepos|int|(resource relation, array tuple)|???
+dbplus_rkeys|resource|(resource relation, mixed domlist)|Specify new primary key for a relation
+dbplus_ropen|resource|(string name)|Open relation file local
+dbplus_rquery|int|(string query, string dbpath)|Perform local (raw) AQL query
+dbplus_rrename|int|(resource relation, string name)|Rename a relation
+dbplus_rsecindex|resource|(resource relation, mixed domlist, int type)|Create a new secondary index for a relation
+dbplus_runlink|int|(resource relation)|Remove relation from filesystem
+dbplus_rzap|int|(resource relation)|Remove all tuples from relation
+dbplus_savepos|int|(resource relation)|???
+dbplus_setindexbynumber|int|(resource relation, int idx_number)|???
+dbplus_setindex|int|(resource relation, string idx_name)|???
+dbplus_sql|resource|(string query, string server, string dbpath)|Perform SQL query
+dbplus_tcl|int|(int sid, string script)|Execute TCL code on server side
+dbplus_tremove|int|(resource relation, array tuple [, array current])|Remove tuple and return new current tuple
+dbplus_undo|int|(resource relation)|???
+dbplus_undoprepare|int|(resource relation)|???
+dbplus_unlockrel|int|(resource relation)|Give up write lock on relation
+dbplus_unselect|int|(resource relation)|Remove a constraint from relation
+dbplus_update|int|(resource relation, array old, array new)|Update specified tuple in relation
+dbplus_xlockrel|int|(resource relation)|Request exclusive lock on relation
+dbplus_xunlockrel|int|(resource relation)|Free exclusive lock on relation
+dbstat|object|(array parameter)|Returns statistics about database server
+dbx_close|bool|(object link_identifier)|Close an open connection/database
+dbx_compare|int|(array row_a, array row_b, string column_key [, int flags])|Compare two rows for sorting purposes
+dbx_connect|object|(mixed module, string host, string database, string username, string password [, int persistent])|Open a connection/database
+dbx_error|string|(object link_identifier)|Report the error message of the latest function call in the module (not just in the connection)
+dbx_query|object|(object link_identifier, string sql_statement [, long flags])|Send a query and fetch all results (if any)
+dbx_sort|bool|(object result, string user_compare_function)|Sort a result from a dbx_query by a custom sort function
+dcgettext|string|(string domain, string message, int category)|Overrides the domain for a single lookup
+dcngettext|string|(string domain, string msgid1, string msgid2, int n, int category)|Plural version of dcgettext
+dcstat|object|(array parameter)|Returns statistics about document cache server
+debugger_off|int|()|Disable internal PHP debugger
+debugger_on|int|(string address)|Enable internal PHP debugger
+decbin|string|(int number)|Decimal to binary
+dechex|string|(int number)|Decimal to hexadecimal
+decoct|string|(int number)|Decimal to octal
+define|bool|(string name, mixed value [, bool case_insensitive])|Defines a named constant.
+defined|bool|(string name)|Checks whether a given named constant exists
+define_syslog_variables|void|()|Initializes all syslog related constants
+deg2rad|float|(float number)|Converts the number in degrees to the radian equivalent
+delete|void|(string file)|A dummy manual entry
+description|string|(void)|Returns description of reason
+dgettext|string|(string domain, string message)|Override the current domain
+dio_close|void|(resource fd)|Closes the file descriptor given by fd
+dio_fcntl|mixed|(resource fd, int cmd [, mixed arg])|Performs a c library fcntl on fd
+dio_open|resource|(string filename, int flags [, int mode])|Opens a new filename with specified permissions of flags and creation permissions of mode
+dio_read|string|(resource fd [, int n])|Reads n bytes from fd and returns them, if n is not specified, reads 1k block
+dio_seek|int|(resource fd, int pos, int whence)|Seeks to pos on fd from whence
+dio_stat|array|(resource fd)|Gets stat information about the file descriptor fd
+dio_truncate|bool|(resource fd, int offset)|Truncates file descriptor fd to offset bytes
+dio_write|int|(resource fd, string data [, int len])|Writes data to fd with optional truncation at length
+dirname|string|(string path)|Returns directory name component of path
+diskfreespace|float|(string directory)|Alias of disk_free_space
+disk_free_space|float|(string directory)|Returns available space in directory
+disk_total_space|float|(string directory)|Returns the total size of a directory
+dl|int|(string library)|Loads a PHP extension at runtime
+dngettext|string|(string domain, string msgid1, string msgid2, int n)|Plural version of dgettext
+DomAttribute->name|bool|()|Returns name of attribute
+DomAttribute->specified|bool|()|Checks if attribute is specified
+DomAttribute->value|bool|()|Returns value of attribute
+DomDocument->add_root|resource|(string name)|Adds a root node
+DomDocument->create_attribute|object|(string name, string value)|Create new attribute
+DomDocument->create_cdata_section|string|(string content)|Create new cdata node
+DomDocument->create_comment|object|(string content)|Create new comment node
+DomDocument->create_element|object|(string name)|Create new element node
+DomDocument->create_entity_reference|object|(string content)|
+DomDocument->create_processing_instruction|string|(string content)|Creates new PI node
+DomDocument->create_text_node|object|(string content)|Create new text node
+DomDocument->doctype|object|()|Returns the document type
+DomDocument->document_element|object|()|Returns root element node
+DomDocument->dump_file|string|(string filename [, bool compressionmode [, bool format]])|Dumps the internal XML tree back into a file
+DomDocument->dump_mem|string|( [bool format])|Dumps the internal XML tree back into a string
+DomDocument->get_element_by_id|object|(string id)|
+DomDocument->get_elements_by_tagname|array|(string name)|
+DomDocument->html_dump_mem|string|()|Dumps the internal XML tree back into a string as HTML
+DomDocumentType->entities|array|()|Returns list of entities
+DomDocumentType->internal_subset|bool|()|Returns internal subset
+DomDocumentType->name|string|()|Returns name of document type
+DomDocumentType->notations|array|()|Returns list of notations
+DomDocumentType->public_id|string|()|Returns public id of document type
+DomDocumentType->system_id|string|()|Returns system id of document type
+DomElement->get_attribute_node|object|(object attr)|Returns value of attribute
+DomElement->get_attribute|object|(string name)|Returns value of attribute
+DomElement->get_elements_by_tagname|bool|(string name)|Adds new attribute
+DomElement->has_attribute|bool|(string name)|Adds new attribute
+DomElement->remove_attribute|bool|(string name)|Adds new attribute
+DomElement->set_attribute|bool|(string name, string value)|Adds new attribute
+DomElement->set_attribute_node|bool|(object attr)|Adds new attribute
+DomElement->tagname|string|()|Returns name of element
+DomNode->append_child|object|(object newnode)|Adds new child at the end of the children
+DomNode->append_sibling|object|(object newnode)|Adds new sibling to a node
+DomNode->attributes|array|()|Returns list of attributes
+DomNode->child_nodes|array|()|Returns children of node
+DomNode->clone_node|object|()|Clones a node
+DomNode->dump_node|string|()|Dumps a single node
+DomNode->first_child|bool|()|Returns first child of node
+DomNode->get_content|string|()|Gets content of node
+DomNode->has_attributes|bool|()|Checks if node has attributes
+DomNode->has_child_nodes|bool|()|Checks if node has children
+DomNode->insert_before|object|(object newnode, object refnode)|Inserts new node as child
+DomNode->is_blank_node|bool|()|Checks if node is blank
+DomNode->last_child|object|()|Returns last child of node
+DomNode->next_sibling|object|()|Returns the next sibling of node
+DomNode->node_name|string|()|Returns name of node
+DomNode->node_type|int|()|Returns type of node
+DomNode->node_value|string|()|Returns value of a node
+DomNode->owner_document|object|()|Returns the document this node belongs to
+DomNode->parent_node|object|()|Returns the parent of the node
+DomNode->prefix|string|()|Returns name space prefix of node
+DomNode->previous_sibling|object|()|Returns the previous sibling of node
+DomNode->remove_child|object|(object oldchild)|Removes child from list of children
+DomNode->replace_child|object|(object newchild, object oldchild)|Replaces child from list of children
+DomNode->replace_node|object|()|Replaces node
+DomNode->set_content|bool|()|Sets content of node
+DomNode->set_name|bool|()|Sets name of node
+DomNode->unlink_node|object|()|Deletes node
+DomProcessingInstruction->data|string|()|Returns data of pi node
+DomProcessingInstruction->target|string|()|Returns target of pi node
+domxml_new_doc|object|(string version)|Creates new empty XML document
+domxml_open_file|object|(string filename)|Creates a DOM object from XML file
+domxml_open_mem|object|(string str)|Creates a DOM object of an XML document
+domxml_version|string|()|Get XML library version
+domxml_xmltree|object|(string str)|Creates a tree of PHP objects from an XML document
+dotnet_load|int|(string assembly_name [, string datatype_name [, int codepage]])|Loads a DOTNET module
+dstanchors|object|(array parameter)|Returns a list of all destination anchors
+dstofsrcanchors|object|(array parameter)|Returns destination of a source anchor
+each|array|(array array)|Return the current key and value pair from an array and advance the array cursor
+easter_date|int|(int year)|Get UNIX timestamp for midnight on Easter of a given year
+easter_days|int|(int year)|Get number of days after March 21 on which Easter falls for a given year
+ebcdic2ascii|int|(string ebcdic_str)|Translate string from EBCDIC to ASCII
+empty|boolean|(mixed var)|Alias of floatval
+end|mixed|(array array)|Set the internal pointer of an array to its last element
+eregi|int|(string pattern, string string [, array regs])|case insensitive regular expression match
+ereg|int|(string pattern, string string [, array regs])|Regular expression match
+eregi_replace|string|(string pattern, string replacement, string string)|replace regular expression case insensitive
+ereg_replace|string|(string pattern, string replacement, string string)|Replace regular expression
+error_log|int|(string message [, int message_type [, string destination [, string extra_headers]]])|send an error message somewhere
+error_reporting|int|( [int level])|set which PHP errors are reported
+escapeshellarg|string|(string arg)|escape a string to be used as a shell argument
+escapeshellcmd|string|(string command)|escape shell metacharacters
+eval|mixed|(string code_str)|Alias of exit
+exec|string|(string command [, string array [, int return_var]])|Execute an external program
+exif_imagetype|int|false|(string filename)|Determine the type of an image
+exif_read_data|array|(string filename, string sections, bool arrays, bool thumbnail)|Reads header information stored in TIFF and JPEG images
+exif_read_data|array|(string filename [, string sections [, bool arrays [, bool thumbnail]]])|Read the EXIF headers from JPEG or TIFF
+exif_thumbnail|string|(string filename [, int &width [, int &height]])|Retrieve the embedded thumbnail of a TIFF or JPEG image
+exit|void|( [string status])|Output a message and terminate the current script
+exp|float|(float arg)|e to the power of ...
+explode|array|(string separator, string string [, int limit])|Output one or more strings
+expm1|float|(float number)|Returns exp(number) - 1, computed in a way that accurate even when the value of number is close to zero
+extension_loaded|bool|(string name)|Find out whether an extension is loaded
+extract|int|(array var_array [, int extract_type [, string prefix]])|Import variables into the current symbol table from an array
+ezmlm_hash|int|(string addr)|Calculate the hash value needed by EZMLM
+fbsql_affected_rows|int|( [int link_identifier])|Get number of affected rows in previous FrontBase operation
+fbsql_autocommit|bool|(resource link_identifier [, bool OnOff])|Enable or disable autocommit.
+fbsql_change_user|resource|(string user, string password [, string database [, int link_identifier]])|Change logged in user of the active connection
+fbsql_close|boolean|( [resource link_identifier])|Close FrontBase connection
+fbsql_commit|bool|( [resource link_identifier])|Commits a transaction to the database
+fbsql_connect|resource|( [string hostname [, string username [, string password]]])|Open a connection to a FrontBase Server
+fbsql_create_blob|string|(string blob_data [, resource link_identifier])|Create a BLOB
+fbsql_create_clob|string|(string clob_data [, resource link_identifier])|Create a CLOB
+fbsql_create_db|bool|(string database name [, resource link_identifier])|Create a FrontBase database
+fbsql_database_password|string|(resource link_identifier [, string database_password])|Sets or retrieves the password for a FrontBase database
+fbsql_database|string|(resource link_identifier [, string database])|Get or set the database name used with a connection
+fbsql_data_seek|bool|(resource result_identifier, int row_number)|Move internal result pointer
+fbsql_db_query|resource|(string database, string query [, resource link_identifier])|Send a FrontBase query
+fbsql_db_status|int|(string database_name [, resource link_identifier])|Get the status for a given database
+fbsql_drop_db|bool|(string database_name [, resource link_identifier])|Drop (delete) a FrontBase database
+fbsql_errno|int|( [resource link_identifier])|Returns the numerical value of the error message from previous FrontBase operation
+fbsql_error|string|( [resource link_identifier])|Returns the text of the error message from previous FrontBase operation
+fbsql_fetch_array|array|(resource result [, int result_type])|Fetch a result row as an associative array, a numeric array, or both
+fbsql_fetch_assoc|array|(resource result)|Fetch a result row as an associative array
+fbsql_fetch_field|object|(resource result [, int field_offset])|Get column information from a result and return as an object
+fbsql_fetch_lengths|array|( [resource result])|Get the length of each output in a result
+fbsql_fetch_object|object|(resource result [, int result_type])|Fetch a result row as an object
+fbsql_fetch_row|array|(resource result)|Get a result row as an enumerated array
+fbsql_field_flags|string|(resource result, int field_offset)|Get the flags associated with the specified field in a result
+fbsql_field_len|int|(resource result, int field_offset)|Returns the length of the specified field
+fbsql_field_name|string|(resource result, int field_index)|Get the name of the specified field in a result
+fbsql_field_seek|bool|(resource result, int field_offset)|Set result pointer to a specified field offset
+fbsql_field_table|string|(resource result, int field_offset)|Get name of the table the specified field is in
+fbsql_field_type|string|(resource result, int field_offset)|Get the type of the specified field in a result
+fbsql_free_result|bool|(int result)|Free result memory
+fbsql_get_autostart_info|array|( [resource link_identifier])|No description given yet
+fbsql_hostname|string|(resource link_identifier [, string host_name])|Get or set the host name used with a connection
+fbsql_insert_id|int|( [resource link_identifier])|Get the id generated from the previous INSERT operation
+fbsql_list_dbs|resource|( [resource link_identifier])|List databases available on a FrontBase server
+fbsql_list_fields|resource|(string database_name, string table_name [, resource link_identifier])|List FrontBase result fields
+fbsql_list_tables|resource|(string database [, resource link_identifier])|List tables in a FrontBase database
+fbsql_next_result|bool|(int result_id)|Move the internal result pointer to the next result
+fbsql_num_fields|int|(resource result)|Get number of fields in result
+fbsql_num_rows|int|(resource result)|Get number of rows in result
+fbsql_password|string|(resource link_identifier [, string password])|Get or set the user password used with a connection
+fbsql_pconnect|resource|( [string hostname [, string username [, string password]]])|Open a persistent connection to a FrontBase Server
+fbsql_query|resource|(string query [, resource link_identifier])|Send a FrontBase query
+fbsql_read_blob|string|(string blob_handle [, resource link_identifier])|Read a BLOB from the database
+fbsql_read_clob|string|(string clob_handle [, resource link_identifier])|Read a CLOB from the database
+fbsql_result|mixed|(resource result, int row [, mixed field])|Get result data
+fbsql_rollback|bool|( [resource link_identifier])|Rollback a transaction to the database
+fbsql_select_db|bool|(string database_name [, resource link_identifier])|Select a FrontBase database
+fbsql_set_lob_mode|bool|(resource result, string database_name)|Set the LOB retrieve mode for a FrontBase result set
+fbsql_set_transaction|void|(resource link_identifier, int Locking, int Isolation)|Set the transaction locking and isolation
+fbsql_start_db|bool|(string database_name [, resource link_identifier])|Start a database on local or remote server
+fbsql_stop_db|bool|(string database_name [, resource link_identifier])|Stop a database on local or remote server
+fbsql_tablename|string|(resource result, int i)|Get table name of field
+fbsql_username|string|(resource link_identifier [, string username])|Get or set the host user used with a connection
+fbsql_warnings|bool|( [bool OnOff])|Enable or disable FrontBase warnings
+fclose|bool|(int fp)|Closes an open file pointer
+fdf_add_template|bool|(int fdfdoc, int newpage, string filename, string template, int rename)|Adds a template into the FDF document
+fdf_close|bool|(int fdf_document)|Close an FDF document
+fdf_create|int|()|Create a new FDF document
+fdf_get_file|string|(int fdf_document)|Get the value of the /F key
+fdf_get_status|string|(int fdf_document)|Get the value of the /STATUS key
+fdf_get_value|string|(int fdf_document, string fieldname)|Get the value of a field
+fdf_next_field_name|string|(int fdf_document [, string fieldname])|Get the next field name
+fdf_open|int|(string filename)|Open a FDF document
+fdf_save|int|(string filename)|Save a FDF document
+fdf_set_ap|bool|(int fdf_document, string field_name, int face, string filename, int page_number)|Set the appearance of a field
+fdf_set_encoding|bool|(int fdf_document, string encoding)|Sets FDF character encoding
+fdf_set_file|bool|(int fdf_document, string filename)|Set the value of the /F key
+fdf_set_flags|bool|(int fdf_document, string fieldname, int whichFlags, int newFlags)|Sets a flag of a field
+fdf_set_javascript_action|bool|(int fdf_document, string fieldname, int trigger, string script)|Sets an javascript action of a field
+fdf_set_opt|bool|(int fdf_document, string fieldname, int element, string str1, string str2)|Sets an option of a field
+fdf_set_status|bool|(int fdf_document, string status)|Set the value of the /STATUS key
+fdf_set_submit_form_action|bool|(int fdf_document, string fieldname, int trigger, string script, int flags)|Sets a submit form action of a field
+fdf_set_value|bool|(int fdf_document, string fieldname, string value, int isName)|Set the value of a field
+feof|int|(int fp)|Tests for end-of-file on a file pointer
+fflush|int|(int fp)|Flushes the output to a file
+fgetc|string|(int fp)|Gets character from file pointer
+fgetcsv|array|(int fp, int length [, string delimiter])|Gets line from file pointer and parse for CSV fields
+fgetss|string|(int fp, int length [, string allowable_tags])|Gets line from file pointer and strip HTML tags
+fgets|string|(int fp [, int length])|Gets line from file pointer
+file|array|(string filename [, int use_include_path])|Reads entire file into an array
+fileatime|int|(string filename)|Gets last access time of file
+filectime|int|(string filename)|Gets inode change time of file
+file_exists|bool|(string filename)|Checks whether a file exists
+file_get_contents|string|(string filename [, int use_include_path])|Reads entire file into a string
+file_get_wrapper_data|mixed|(int fp)|Retrieves header/meta data from "wrapped" file pointers
+filegroup|int|(string filename)|Gets file group
+fileinode|int|(string filename)|Gets file inode
+filemtime|int|(string filename)|Gets file modification time
+fileowner|int|(string filename)|Gets file owner
+fileperms|int|(string filename)|Gets file permissions
+filepro|bool|(string directory)|Read and verify the map file
+filepro_fieldcount|int|()|Find out how many fields are in a filePro database
+filepro_fieldname|string|(int field_number)|Gets the name of a field
+filepro_fieldtype|string|(int field_number)|Gets the type of a field
+filepro_fieldwidth|int|(int field_number)|Gets the width of a field
+filepro_retrieve|string|(int row_number, int field_number)|Retrieves data from a filePro database
+filepro_rowcount|int|()|Find out how many rows are in a filePro database
+file_register_wrapper|boolean|(string protocol, string classname)|Register a URL wrapper implemented as a PHP class
+filesize|int|(string filename)|Gets file size
+filetype|string|(string filename)|Gets file type
+find|array|(array parameter)|Search for objects
+floatval|float|(mixed var)|Get float value of a variable
+flock|bool|(int fp, int operation [, int wouldblock])|Portable advisory file locking
+floor|float|(float value)|Round fractions down
+flush|void|()|Flush the output buffer
+fopen|int|(string filename, string mode [, int use_include_path])|Opens file or URL
+fpassthru|int|(int fp)|Output all remaining data on a file pointer
+fputs|int|(int fp, string str [, int length])|Writes to a file pointer
+fread|string|(int fp, int length)|Binary-safe file read
+frenchtojd|int|(int month, int day, int year)|Converts a date from the French Republican Calendar to a Julian Day Count
+fribidi_log2vis|string|(string str, string direction, int charset)|Convert a logical string to a visual one
+fscanf|mixed|(int handle, string format [, string var1])|Parses input from a file according to a format
+fseek|int|(int fp, int offset [, int whence])|Seeks on a file pointer
+fsockopen|int|(string hostname, int port [, int errno [, string errstr [, float timeout]]])|Open Internet or Unix domain socket connection
+fstat|array|(int fp)|Gets information about a file using an open file pointer
+ftell|int|(int fp)|Tells file pointer read/write position
+ftok|int|(string pathname, string proj)|Convert a pathname and a project identifier to a System V IPC key
+ftp_cdup|bool|(resource ftp_stream)|Changes to the parent directory
+ftp_chdir|bool|(resource ftp_stream, string directory)|Changes directories on a FTP server
+ftp_close|void|(resource ftp_stream)|Closes an FTP connection
+ftp_connect|resource|(string host [, int port [, int timeout]])|Opens up an FTP connection
+ftp_delete|bool|(resource ftp_stream, string path)|Deletes a file on the FTP server
+ftp_exec|bool|(resource stream, string command)|Request execution of a program on the FTP server
+ftp_fget|bool|(resource ftp_stream, resource fp, string remote_file, int mode)|Downloads a file from the FTP server and saves to an open file
+ftp_fput|bool|(resource ftp_stream, string remote_file, resource fp, int mode)|Uploads from an open file to the FTP server
+ftp_get|bool|(resource ftp_stream, string local_file, string remote_file, int mode)|Downloads a file from the FTP server
+ftp_get_option|mixed|(resource stream, int option)|Retrieves various runtime behaviours of the current FTP stream
+ftp_login|bool|(resource ftp_stream, string username, string password)|Logs in an FTP connection
+ftp_mdtm|int|(resource ftp_stream, string remote_file)|Returns the last modified time of the given file
+ftp_mkdir|string|(resource ftp_stream, string directory)|Creates a directory
+ftp_nlist|array|(resource ftp_stream, string directory)|Returns a list of files in the given directory
+ftp_pasv|bool|(resource ftp_stream, bool pasv)|Turns passive mode on or off
+ftp_put|bool|(resource ftp_stream, string remote_file, string local_file, int mode)|Uploads a file to the FTP server
+ftp_pwd|string|(resource ftp_stream)|Returns the current directory name
+ftp_quit|void|(resource ftp_stream)|Closes an FTP connection
+ftp_rawlist|array|(resource ftp_stream, string directory)|Returns a detailed list of files in the given directory
+ftp_rename|bool|(resource ftp_stream, string from, string to)|Renames a file on the FTP server
+ftp_rmdir|bool|(resource ftp_stream, string directory)|Removes a directory
+ftp_set_option|bool|(resource stream, int option, mixed value)|Set miscellaneous runtime FTP options
+ftp_site|bool|(resource ftp_stream, string cmd)|Sends a SITE command to the server
+ftp_size|int|(resource ftp_stream, string remote_file)|Returns the size of the given file
+ftp_systype|string|(resource ftp_stream)|Returns the system type identifier of the remote FTP server
+ftruncate|int|(int fp, int size)|Truncates a file to a given length
+ftstat|object|(array parameter)|Returns statistics about fulltext server
+func_get_arg|mixed|(int arg_num)|Return an item from the argument list
+func_get_args|array|()|Returns an array comprising a function's argument list
+func_num_args|int|()|Returns the number of arguments passed to the function
+function_exists|bool|(string function_name)|Return &true; if the given function has been defined
+fwrite|int|(int fp, string string [, int length])|Binary-safe file write
+getallheaders|array|()|Fetch all HTTP request headers
+get_browser|object|( [string user_agent])|Tells what the user's browser is capable of
+get_cfg_var|string|(string varname)|Gets the value of a PHP configuration option
+get_class_methods|array|(mixed class_name)|Returns an array of class methods' names
+get_class|string|(object obj)|Returns the name of the class of an object
+get_class_vars|array|(string class_name)|Returns an array of default properties of the class
+get_current_user|string|()|Gets the name of the owner of the current PHP script
+getcwd|string|()|gets the current working directory
+getdate|array|( [int timestamp])|Get date/time information
+get_declared_classes|array|()|Returns an array with the name of the defined classes
+get_defined_constants|array|()|Returns an associative array with the names of all the constants and their values
+get_defined_functions|array|()|Returns an array of all defined functions
+get_defined_vars|array|()|Returns an array of all defined variables
+getenv|string|(string varname)|Gets the value of an environment variable
+get_extension_funcs|array|(string module_name)|Returns an array with the names of the functions of a module
+gethostbyaddr|string|(string ip_address)|Get the Internet host name corresponding to a given IP address
+gethostbynamel|array|(string hostname)|Get a list of IP addresses corresponding to a given Internet host name
+gethostbyname|string|(string hostname)|Get the IP address corresponding to a given Internet host name
+get_html_translation_table|string|(int table [, int quote_style])|Returns the translation table used by htmlspecialchars and htmlentities
+getimagesize|array|(string filename [, array imageinfo])|Get the size of an image
+get_included_files|array|()|Returns an array with the names of included or required files
+getlastmod|int|()|Gets time of last page modification
+get_loaded_extensions|array|()|Returns an array with the names of all modules compiled and loaded
+get_magic_quotes_gpc|long|()|Gets the current active configuration setting of magic quotes gpc
+get_magic_quotes_runtime|long|()|Gets the current active configuration setting of magic_quotes_runtime
+get_meta_tags|array|(string filename [, int use_include_path])|Extracts all meta tag content attributes from a file and returns an array
+getmxrr|int|(string hostname, array mxhosts [, array weight])|Get MX records corresponding to a given Internet host name
+getmygid|int|()|Get PHP script owner's GID
+getmyinode|int|()|Gets the inode of the current script
+getmypid|int|()|Gets PHP's process ID
+getmyuid|int|()|Gets PHP script owner's UID
+get_object_vars|array|(object obj)|Returns an associative array of object properties
+get_parent_class|string|(mixed obj)|Retrieves the parent class name for object or class
+getprotobyname|int|(string name)|Get protocol number associated with protocol name
+getprotobynumber|string|(int number)|Get protocol name associated with protocol number
+getrandmax|int|()|Show largest possible random value
+get_required_files|array|()|Returns an array with the names of included or required files
+get_resource_type|string|(resource handle)|Returns the resource type
+getrusage|array|( [int who])|Gets the current resource usages
+getservbyname|int|(string service, string protocol)|Get port number associated with an Internet service and protocol
+getservbyport|string|(int port, string protocol)|Get Internet service which corresponds to port and protocol
+gettext|string|(string message)|Lookup a message in the current domain
+gettimeofday|array|()|Get current time
+gettype|string|(mixed var)|Get the type of a variable
+gmdate|string|(string format [, int timestamp])|Format a GMT/CUT date/time
+gmmktime|int|(int hour, int minute, int second, int month, int day, int year [, int is_dst])|Get UNIX timestamp for a GMT date
+gmp_abs|resource|(resource a)|Absolute value
+gmp_add|resource|(resource a, resource b)|Add numbers
+gmp_and|resource|(resource a, resource b)|Logical AND
+gmp_clrbit|resource|(resource &a, int index)|Clear bit
+gmp_cmp|int|(resource a, resource b)|Compare numbers
+gmp_com|resource|(resource a)|Calculates one's complement of a
+gmp_divexact|resource|(resource n, resource d)|Exact division of numbers
+gmp_div_qr|array|(resource n, resource d [, int round])|Divide numbers and get quotient and remainder
+gmp_div_q|resource|(resource a, resource b [, int round])|Divide numbers
+gmp_div|resource|(resource a, resource b)|Divide numbers
+gmp_div_r|resource|(resource n, resource d [, int round])|Remainder of the division of numbers
+gmp_fact|resource|(int a)|Factorial
+gmp_gcdext|array|(resource a, resource b)|Calculate GCD and multipliers
+gmp_gcd|resource|(resource a, resource b)|Calculate GCD
+gmp_hamdist|int|(resource a, resource b)|Hamming distance
+gmp_init|resource|(mixed number)|Create GMP number
+gmp_intval|int|(resource gmpnumber)|Convert GMP number to integer
+gmp_invert|resource|(resource a, resource b)|Inverse by modulo
+gmp_jacobi|int|(resource a, resource p)|Jacobi symbol
+gmp_legendre|int|(resource a, resource p)|Legendre symbol
+gmp_mod|resource|(resource n, resource d)|Modulo operation
+gmp_mul|resource|(resource a, resource b)|Multiply numbers
+gmp_neg|resource|(resource a)|Negate number
+gmp_or|resource|(resource a, resource b)|Logical OR
+gmp_perfect_square|bool|(resource a)|Perfect square check
+gmp_popcount|int|(resource a)|Population count
+gmp_powm|resource|(resource base, resource exp, resource mod)|Raise number into power with modulo
+gmp_pow|resource|(resource base, int exp)|Raise number into power
+gmp_prob_prime|int|(resource a [, int reps])|Check if number is "probably prime"
+gmp_random|resource|(int limiter)|Random number
+gmp_scan0|int|(resource a, int start)|Scan for 0
+gmp_scan1|int|(resource a, int start)|Scan for 1
+gmp_setbit|resource|(resource &a, int index [, bool set_clear])|Set bit
+gmp_sign|int|(resource a)|Sign of number
+gmp_sqrt|resource|(resource a)|Square root
+gmp_sqrtrm|array|(resource a)|Square root with remainder
+gmp_strval|string|(resource gmpnumber [, int base])|Convert GMP number to string
+gmp_sub|resource|(resource a, resource b)|Subtract numbers
+gmp_xor|resource|(resource a, resource b)|Logical XOR
+gmstrftime|string|(string format [, int timestamp])|Format a GMT/CUT time/date according to locale settings
+gregoriantojd|int|(int month, int day, int year)|Converts a Gregorian date to Julian Day Count
+gzclose|int|(int zp)|Close an open gz-file pointer
+gzcompress|string|(string data [, int level])|Compress a string
+gzdeflate|string|(string data [, int level])|Deflate a string
+gzencode|string|(string data [, int level [, int encoding_mode]])|Create a gzip compressed string
+gzeof|int|(int zp)|Test for end-of-file on a gz-file pointer
+gzfile|array|(string filename [, int use_include_path])|Read entire gz-file into an array
+gzgetc|string|(int zp)|Get character from gz-file pointer
+gzgetss|string|(int zp, int length [, string allowable_tags])|Get line from gz-file pointer and strip HTML tags
+gzgets|string|(int zp, int length)|Get line from file pointer
+gzinflate|string|(string data [, int length])|Inflate a deflated string
+gzopen|int|(string filename, string mode [, int use_include_path])|Open gz-file
+gzpassthru|int|(int zp)|Output all remaining data on a gz-file pointer
+gzputs|int|(int zp, string str [, int length])|Write to a gz-file pointer
+gzread|string|(int zp, int length)|Binary-safe gz-file read
+gzrewind|int|(int zp)|Rewind the position of a gz-file pointer
+gzseek|int|(int zp, int offset)|Seek on a gz-file pointer
+gztell|int|(int zp)|Tell gz-file pointer read/write position
+gzuncompress|string|(string data [, int length])|Uncompress a deflated string
+gzwrite|int|(int zp, string string [, int length])|Binary-safe gz-file write
+header|int|(string string [, bool replace])|Send a raw HTTP header
+headers_sent|bool|()|Returns &true; if headers have been sent
+hebrevc|string|(string hebrew_text [, int max_chars_per_line])|Convert logical Hebrew text to visual text with newline conversion
+hebrev|string|(string hebrew_text [, int max_chars_per_line])|Convert logical Hebrew text to visual text
+hexdec|int|(string hex_string)|Hexadecimal to decimal
+highlight_file|mixed|(string filename [, bool return])|Syntax highlighting of a file
+highlight_string|mixed|(string str [, bool return])|Syntax highlighting of a string
+htmlentities|string|(string string [, int quote_style [, string charset]])|Convert all applicable characters to HTML entities
+htmlspecialchars|string|(string string [, int quote_style [, string charset]])|Convert special characters to HTML entities
+hwapi_hgcsp|object|(string hostname [, int port])|Returns object of class hw_api
+hw_api_object|object|(array parameter)|Creates a new instance of class hw_api_object
+hw_api->object|object|(array parameter)|Retrieve attribute information
+hw_array2objrec|strin|(array object_array)|convert attributes from object array to object record
+hw_changeobject|void|(int link, int objid, array attributes)|Changes attributes of an object (obsolete)
+hw_children|array|(int connection, int objectID)|object ids of children
+hw_childrenobj|array|(int connection, int objectID)|object records of children
+hw_close|int|(int connection)|closes the Hyperwave connection
+hw_connect|int|(string host, int port, string username, string password)|opens a connection
+hw_connection_info|void|(int link)|Prints information about the connection to Hyperwave server
+hw_cp|int|(int connection, array object_id_array, int destination id)|copies objects
+hw_deleteobject|int|(int connection, int object_to_delete)|deletes object
+hw_docbyanchor|int|(int connection, int anchorID)|object id object belonging to anchor
+hw_docbyanchorobj|string|(int connection, int anchorID)|object record object belonging to anchor
+hw_document_attributes|string|(int hw_document)|object record of hw_document
+hw_document_bodytag|string|(int hw_document)|body tag of hw_document
+hw_document_content|string|(int hw_document)|returns content of hw_document
+hw_document_setcontent|string|(int hw_document, string content)|sets/replaces content of hw_document
+hw_document_size|int|(int hw_document)|size of hw_document
+hw_dummy|string|(int link, int id, int msgid)|Hyperwave dummy function
+hw_edittext|int|(int connection, int hw_document)|retrieve text document
+hw_error|int|(int connection)|error number
+hw_errormsg|string|(int connection)|returns error message
+hw_free_document|int|(int hw_document)|frees hw_document
+hw_getanchors|array|(int connection, int objectID)|object ids of anchors of document
+hw_getanchorsobj|array|(int connection, int objectID)|object records of anchors of document
+hw_getandlock|string|(int connection, int objectID)|return bject record and lock object
+hw_getchildcoll|array|(int connection, int objectID)|object ids of child collections
+hw_getchildcollobj|array|(int connection, int objectID)|object records of child collections
+hw_getchilddoccoll|array|(int connection, int objectID)|object ids of child documents of collection
+hw_getchilddoccollobj|array|(int connection, int objectID)|object records of child documents of collection
+hw_getobject|array|(int connection, [int|array] objectID, string query)|object record
+hw_getobjectbyquery|array|(int connection, string query, int max_hits)|search object
+hw_getobjectbyquerycoll|array|(int connection, int objectID, string query, int max_hits)|search object in collection
+hw_getobjectbyquerycollobj|array|(int connection, int objectID, string query, int max_hits)|search object in collection
+hw_getobjectbyqueryobj|array|(int connection, string query, int max_hits)|search object
+hw_getparents|array|(int connection, int objectID)|object ids of parents
+hw_getparentsobj|array|(int connection, int objectID)|object records of parents
+hw_getrellink|string|(int link, int rootid, int sourceid, int destid)|Get link from source to dest relative to rootid
+hw_getremotechildren|int|(int connection, string object record)|Gets children of remote document
+hw_getremote|int|(int connection, int objectID)|Gets a remote document
+hw_getsrcbydestobj|array|(int connection, int objectID)|Returns anchors pointing at object
+hw_gettext|int|(int connection, int objectID [, mixed rootID/prefix])|retrieve text document
+hw_getusername|string|(int connection)|name of currently logged in user
+hw_identify|int|(string username, string password)|identifies as user
+hw_incollections|array|(int connection, array object_id_array, array collection_id_array, int return_collections)|check if object ids in collections
+hw_info|string|(int connection)|info about connection
+hw_inscoll|int|(int connection, int objectID, array object_array)|insert collection
+hw_insdoc|int|(int connection, int parentID, string object_record, string text)|insert document
+hw_insertanchors|string|(int hwdoc, array anchorecs, array dest [, array urlprefixes])|Inserts only anchors into text
+hw_insertdocument|int|(int connection, int parent_id, int hw_document)|upload any document
+hw_insertobject|int|(int connection, string object rec, string parameter)|inserts an object record
+hw_mapid|int|(int connection, int server id, int object id)|Maps global id on virtual local id
+hw_modifyobject|int|(int connection, int object_to_change, array remove, array add, int mode)|modifies object record
+hw_mv|int|(int connection, array object id array, int source id, int destination id)|moves objects
+hw_new_document|int|(string object_record, string document_data, int document_size)|create new document
+hw_objrec2array|array|(string object_record [, array format])|convert attributes from object record to object array
+hw_output_document|int|(int hw_document)|prints hw_document
+hw_pconnect|int|(string host, int port, string username, string password)|make a persistent database connection
+hw_pipedocument|int|(int connection, int objectID)|retrieve any document
+hw_root|int|()|root object id
+hw_setlinkroot|void|(int link, int rootid)|Set the id to which links are calculated
+hwstat|object|(array parameter)|Returns statistics about Hyperwave server
+hw_stat|string|(int link)|Returns status string
+hw_unlock|int|(int connection, int objectID)|unlock object
+hw_who|int|(int connection)|List of currently logged in users
+hypot|float|(float num1, float num2)|Returns sqrt( num1*num1 + num2*num2)
+ibase_blob_add|int|(int blob_id, string data)|Add data into created blob
+ibase_blob_cancel|int|(int blob_id)|Cancel creating blob
+ibase_blob_close|int|(int blob_id)|Close blob
+ibase_blob_create|int|( [int link_identifier])|Create blob for adding data
+ibase_blob_echo|int|(string blob_id_str)|Output blob contents to browser
+ibase_blob_get|string|(int blob_id, int len)|Get len bytes data from open blob
+ibase_blob_import|string|( [int link_identifier, int file_id])|Create blob, copy file in it, and close it
+ibase_blob_info|object|(string blob_id_str)|Return blob length and other useful info
+ibase_blob_open|int|(string blob_id)|Open blob for retrieving data parts
+ibase_close|int|( [int connection_id])|Close a connection to an InterBase database
+ibase_commit|int|( [int link_identifier, int trans_number])|Commit a transaction
+ibase_connect|int|(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])|Open a connection to an InterBase database
+ibase_errmsg|string|()|Returns error messages
+ibase_execute|int|(int query [, int bind_args])|Execute a previously prepared query
+ibase_fetch_object|object|(int result_id)|Get an object from a InterBase database
+ibase_fetch_row|array|(int result_identifier)|Fetch a row from an InterBase database
+ibase_field_info|array|(int result, int field number)|Get information about a field
+ibase_free_query|int|(int query)|Free memory allocated by a prepared query
+ibase_free_result|int|(int result_identifier)|Free a result set
+ibase_num_fields|int|(int result_id)|Get the number of fields in a result set
+ibase_pconnect|int|(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])|Creates an persistent connection to an InterBase database
+ibase_prepare|int|( [int link_identifier, string query])|Prepare a query for later binding of parameter placeholders and execution
+ibase_query|int|( [int link_identifier, string query [, int bind_args]])|Execute a query on an InterBase database
+ibase_rollback|int|( [int link_identifier, int trans_number])|Rolls back a transaction
+ibase_timefmt|int|(string format [, int columntype])|Sets the format of timestamp, date and time type columns returned from queries
+ibase_trans|int|( [int trans_args [, int link_identifier]])|Begin a transaction
+icap_close|int|(int icap_stream [, int flags])|Close an ICAP stream
+icap_create_calendar|string|(int stream_id, string calendar)|Create a new calendar
+icap_delete_calendar|string|(int stream_id, string calendar)|Delete a calendar
+icap_delete_event|string|(int stream_id, int uid)|Delete an event from an ICAP calendar
+icap_fetch_event|int|(int stream_id, int event_id [, int options])|Fetches an event from the calendar stream/
+icap_list_alarms|int|(int stream_id, array date, array time)|Return a list of events that has an alarm triggered at the given datetime
+icap_list_events|array|(int stream_id, int begin_date [, int end_date])|Return a list of events between two given datetimes
+icap_open|stream|(string calendar, string username, string password, string options)|Opens up an ICAP connection
+icap_rename_calendar|string|(int stream_id, string old_name, string new_name)|Rename a calendar
+icap_reopen|int|(int stream_id, string calendar [, int options])|Reopen ICAP stream to new calendar
+icap_snooze|string|(int stream_id, int uid)|Snooze an alarm
+icap_store_event|string|(int stream_id, object event)|Store an event into an ICAP calendar
+iconv_get_encoding|array|( [string type])|Get current setting for character encoding conversion
+iconv_set_encoding|array|(string type, string charset)|Set current setting for character encoding conversion
+iconv|string|(string in_charset, string out_charset, string str)|Convert string to requested character encoding
+identify|object|(array parameter)|Log into Hyperwave Server
+ifx_affected_rows|int|(int result_id)|Get number of rows affected by a query
+ifx_blobinfile_mode|void|(int mode)|Updates the content of the blob object
+ifx_byteasvarchar|void|(int mode)|Set the default byte mode
+ifx_close|int|( [int link_identifier])|Close Informix connection
+ifx_connect|int|( [string database [, string userid [, string password]]])|Open Informix server connection
+ifx_copy_blob|int|(int bid)|Duplicates the given blob object
+ifx_create_blob|int|(int type, int mode, string param)|Creates an blob object
+ifx_create_char|int|(string param)|Creates an char object
+ifx_do|int|(int result_id)|Execute a previously prepared SQL-statement
+ifx_errormsg|string|( [int errorcode])|Returns error message of last Informix call
+ifx_error|string|()|Returns error code of last Informix call
+ifx_fetch_row|array|(int result_id [, mixed position])|Get row as enumerated array
+ifx_fieldproperties|array|(int result_id)|List of SQL fieldproperties
+ifx_fieldtypes|array|(int result_id)|List of Informix SQL fields
+ifx_free_blob|int|(int bid)|Deletes the blob object
+ifx_free_char|int|(int bid)|Deletes the char object
+ifx_free_result|int|(int result_id)|Releases resources for the query
+ifx_get_blob|int|(int bid)|Return the content of a blob object
+ifx_get_char|int|(int bid)|Return the content of the char object
+ifx_getsqlca|array|(int result_id)|Get the contents of sqlca.sqlerrd[0..5] after a query
+ifx_htmltbl_result|int|(int result_id [, string html_table_options])|Formats all rows of a query into a HTML table
+ifx_nullformat|void|(int mode)|Sets the default return value on a fetch row
+ifx_num_fields|int|(int result_id)|Returns the number of columns in the query
+ifx_num_rows|int|(int result_id)|Count the rows already fetched from a query
+ifx_pconnect|int|( [string database [, string userid [, string password]]])|Open persistent Informix connection
+ifx_prepare|int|(string query, int conn_id [, int cursor_def, mixed blobidarray])|Prepare an SQL-statement for execution
+ifx_query|int|(string query [, int link_identifier [, int cursor_type [, mixed blobidarray]]])|Send Informix query
+ifx_textasvarchar|void|(int mode)|Set the default text mode
+ifx_update_char|int|(int bid, string content)|Updates the content of the char object
+ifxus_close_slob|int|(int bid)|Deletes the slob object
+ifxus_create_slob|int|(int mode)|Creates an slob object and opens it
+ifxus_free_slob|int|(int bid)|Deletes the slob object
+ifxus_open_slob|int|(long bid, int mode)|Opens an slob object
+ifxus_read_slob|int|(long bid, long nbytes)|Reads nbytes of the slob object
+ifxus_seek_slob|int|(long bid, int mode, long offset)|Sets the current file or seek position
+ifxus_tell_slob|int|(long bid)|Returns the current file or seek position
+ifxus_write_slob|int|(long bid, string content)|Writes a string into the slob object
+ignore_user_abort|int|( [int setting])|Set whether a client disconnect should abort script execution
+iis_add_server|int|(string path, string comment, string server_ip, int port, string host_name, int rights, int start_server)|Creates a new virtual web server
+iis_get_dir_security|int|(int server_instance, string virtual_path)|Gets Directory Security
+iis_get_script_map|int|(int server_instance, string virtual_path, string script_extension)|Gets script mapping on a virtual directory for a specific extention
+iis_get_server_by_comment|int|(string comment)|Return the instance number associated with the Comment
+iis_get_server_by_path|int|(string path)|Return the instance number associated with the Path
+iis_get_server_rights|int|(int server_instance, string virtual_path)|Gets server rights
+iis_get_service_state|int|(string service_id)|Starts the service defined by ServiceId
+iis_remove_server|int|(int server_instance)|Removes the virtual web server indicated by ServerInstance
+iis_set_app_settings|int|(int server_instance, string virtual_path, string application_scope)|Creates application scope for a virtual directory
+iis_set_dir_security|int|(int server_instance, string virtual_path, int directory_flags)|Sets Directory Security
+iis_set_script_map|int|(int server_instance, string virtual_path, string script_extension, string engine_path, int allow_scripting)|Sets script mapping on a virtual directory
+iis_set_server_rights|int|(int server_instance, string virtual_path, int directory_flags)|Sets server rights
+iis_start_server|int|(int server_instance)|Starts the virtual web server
+iis_start_service|int|(string service_id)|Starts the service defined by ServiceId
+iis_stop_server|int|(int server_instance)|Stops the virtual web server
+iis_stop_service|int|(string service_id)|Stops the service defined by ServiceId
+image2wbmp|int|(int im [, string filename [, int threshold]])|Output image to browser or file
+imagealphablending|int|(resource im, bool blendmode)|Set the blending mode for an image
+imagearc|int|(int im, int cx, int cy, int w, int h, int s, int e, int col)|Draw a partial ellipse
+imagechar|int|(int im, int font, int x, int y, string c, int col)|Draw a character horizontally
+imagecharup|int|(int im, int font, int x, int y, string c, int col)|Draw a character vertically
+imagecolorallocate|int|(int im, int red, int green, int blue)|Allocate a color for an image
+imagecolorat|int|(int im, int x, int y)|Get the index of the color of a pixel
+imagecolorclosestalpha|int|(resource im, int red, int green, int blue, int alpha)|Get the index of the closest color to the specified color + alpha
+imagecolorclosesthwb|int|(int im, int red, int green, int blue)|Get the index of the color which has the hue, white and blackness nearest to the given color
+imagecolorclosest|int|(int im, int red, int green, int blue)|Get the index of the closest color to the specified color
+imagecolordeallocate|int|(int im, int index)|De-allocate a color for an image
+imagecolorexactalpha|int|(resource im, int red, int green, int blue, int alpha)|Get the index of the specified color + alpha
+imagecolorexact|int|(int im, int red, int green, int blue)|Get the index of the specified color
+imagecolorresolvealpha|int|(resource im, int red, int green, int blue, int alpha)|Get the index of the specified color + alpha or its closest possible alternative
+imagecolorresolve|int|(int im, int red, int green, int blue)|Get the index of the specified color or its closest possible alternative
+imagecolorset|bool|(int im, int index, int red, int green, int blue)|Set the color for the specified palette index
+imagecolorsforindex|array|(int im, int index)|Get the colors for an index
+imagecolorstotal|int|(int im)|Find out the number of colors in an image's palette
+imagecolortransparent|int|(int im [, int col])|Define a color as transparent
+imagecopy|int|(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h)|Copy part of an image
+imagecopymergegray|int|(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)|Copy and merge part of an image with gray scale
+imagecopymerge|int|(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)|Copy and merge part of an image
+imagecopyresampled|int|(resource dst_im, resource src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)|Copy and resize part of an image with resampling
+imagecopyresized|int|(resource dst_im, resource src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)|Copy and resize part of an image
+imagecreatefromgd2|int|(string filename)|Create a new image from GD2 file or URL
+imagecreatefromgd2part|int|(string filename, int srcX, int srcY, int width, int height)|Create a new image from a given part of GD2 file or URL
+imagecreatefromgd|int|(string filename)|Create a new image from GD file or URL
+imagecreatefromgif|int|(string filename)|Create a new image from file or URL
+imagecreatefromjpeg|int|(string filename)|Create a new image from file or URL
+imagecreatefrompng|int|(string filename)|Create a new image from file or URL
+imagecreatefromstring|int|(string image)|Create a new image from the image stream in the string
+imagecreatefromwbmp|int|(string filename)|Create a new image from file or URL
+imagecreatefromxbm|int|(string filename)|Create a new image from file or URL
+imagecreatefromxpm|int|(string filename)|Create a new image from file or URL
+imagecreate|int|(int x_size, int y_size)|Create a new palette based image
+imagecreatetruecolor|resource|(int x_size, int y_size)|Create a new true color image
+imagedashedline|int|(int im, int x1, int y1, int x2, int y2, int col)|Draw a dashed line
+imagedestroy|int|(int im)|Destroy an image
+imageellipse|int|(resource im, int cx, int cy, int w, int h, int col)|Draw an ellipse
+imagefilledarc|int|(int im, int cx, int cy, int w, int h, int s, int e, int col, int style)|Draw a partial ellipse and fill it
+imagefilledellipse|int|(resource im, int cx, int cy, int w, int h, int col)|Draw a filled ellipse
+imagefilledpolygon|int|(int im, array points, int num_points, int col)|Draw a filled polygon
+imagefilledrectangle|int|(int im, int x1, int y1, int x2, int y2, int col)|Draw a filled rectangle
+imagefill|int|(int im, int x, int y, int col)|Flood fill
+imagefilltoborder|int|(int im, int x, int y, int border, int col)|Flood fill to specific color
+imagefontheight|int|(int font)|Get font height
+imagefontwidth|int|(int font)|Get font width
+imageftbbox|array|(int size, int angle, string font_file, string text [, array extrainfo])|Give the bounding box of a text using fonts via freetype2
+imagefttext|array|(int im, int size, int angle, int x, int y, int col, string font_file, string text [, array extrainfo])|Write text to the image using fonts using FreeType 2
+imagegammacorrect|int|(int im, float inputgamma, float outputgamma)|Apply a gamma correction to a GD image
+imagegd2|int|(int im [, string filename])|Output GD2 image to browser or file
+imagegd|int|(int im [, string filename])|Output GD image to browser or file
+imagegif|int|(int im [, string filename])|Output image to browser or file
+imageinterlace|int|(int im [, int interlace])|Enable or disable interlace
+imagejpeg|int|(int im [, string filename [, int quality]])|Output image to browser or file
+imageline|int|(int im, int x1, int y1, int x2, int y2, int col)|Draw a line
+imageloadfont|int|(string file)|Load a new font
+imagepalettecopy|int|(resource destination, resource source)|Copy the palette from one image to another
+imagepng|int|(int im [, string filename])|Output a PNG image to either the browser or a file
+imagepolygon|int|(int im, array points, int num_points, int col)|Draw a polygon
+imagepsbbox|array|(string text, int font, int size [, int space [, int tightness [, float angle]]])|Give the bounding box of a text rectangle using PostScript Type1 fonts
+imagepscopyfont|int|(int fontindex)|Make a copy of an already loaded font for further modification
+imagepsencodefont|int|(int font_index, string encodingfile)|Change the character encoding vector of a font
+imagepsextendfont|bool|(int font_index, float extend)|Extend or condense a font
+imagepsfreefont|void|(int fontindex)|Free memory used by a PostScript Type 1 font
+imagepsloadfont|int|(string filename)|Load a PostScript Type 1 font from file
+imagepsslantfont|bool|(int font_index, float slant)|Slant a font
+imagepstext|array|(int image, string text, int font, int size, int foreground, int background, int x, int y [, int space [, int tightness [, float angle [, int antialias_steps]]]])|To draw a text string over an image using PostScript Type1 fonts
+imagerectangle|int|(int im, int x1, int y1, int x2, int y2, int col)|Draw a rectangle
+imagesetbrush|int|(resource im, resource brush)|Set the brush image for line drawing
+imagesetpixel|int|(int im, int x, int y, int col)|Set a single pixel
+imagesetstyle|int|(resource im, array style)|Set the style for line drawing
+imagesetthickness|void|(resource im, int thickness)|Set the thickness for line drawing
+imagesettile|int|(resource im, resource tile)|Set the tile image for filling
+imagestring|int|(int im, int font, int x, int y, string s, int col)|Draw a string horizontally
+imagestringup|int|(int im, int font, int x, int y, string s, int col)|Draw a string vertically
+imagesx|int|(int im)|Get image width
+imagesy|int|(int im)|Get image height
+imagetruecolortopalette|void|(resource im, bool dither, int ncolors)|Convert a true color image to a palette image
+imagettfbbox|array|(int size, int angle, string fontfile, string text)|Give the bounding box of a text using TrueType fonts
+imagettftext|array|(int im, int size, int angle, int x, int y, int col, string fontfile, string text)|Write text to the image using TrueType fonts
+imagetypes|int|()|Return the image types supported by this PHP build
+imagewbmp|int|(int im [, string filename [, int foreground]])|Output image to browser or file
+imap_8bit|string|(string string)|Convert an 8bit string to a quoted-printable string
+imap_alerts|array|()|This function returns all IMAP alert messages (if any) that have occurred during this page request or since the alert stack was reset
+imap_append|int|(int imap_stream, string mbox, string message [, string flags])|Append a string message to a specified mailbox
+imap_base64|string|(string text)|Decode BASE64 encoded text
+imap_binary|string|(string string)|Convert an 8bit string to a base64 string
+imap_body|string|(int imap_stream, int msg_number [, int flags])|Read the message body
+imap_bodystruct|object|(int stream_id, int msg_no, int section)|Read the structure of a specified body section of a specific message
+imap_check|object|(int imap_stream)|Check current mailbox
+imap_clearflag_full|string|(int stream, string sequence, string flag, string options)|Clears flags on messages
+imap_close|int|(int imap_stream [, int flags])|Close an IMAP stream
+imap_createmailbox|int|(int imap_stream, string mbox)|Create a new mailbox
+imap_delete|int|(int imap_stream, int msg_number [, int flags])|Mark a messge for deletion from current mailbox
+imap_deletemailbox|int|(int imap_stream, string mbox)|Delete a mailbox
+imap_errors|array|()|This function returns all of the IMAP errors (if any) that have occurred during this page request or since the error stack was reset.
+imap_expunge|int|(int imap_stream)|Delete all messages marked for deletion
+imap_fetchbody|string|(int imap_stream, int msg_number, string part_number [, flags flags])|Fetch a particular section of the body of the message
+imap_fetchheader|string|(int imap_stream, int msgno, int flags)|Returns header for a message
+imap_fetch_overview|array|(int imap_stream, string sequence [, int flags])|Read an overview of the information in the headers of the given message
+imap_fetchstructure|object|(int imap_stream, int msg_number [, int flags])|Read the structure of a particular message
+imap_getmailboxes|array|(int imap_stream, string ref, string pattern)|Read the list of mailboxes, returning detailed information on each one
+imap_get_quota|array|(int imap_stream, string quota_root)|Retrieve the quota level settings, and usage statics per mailbox
+imap_getsubscribed|array|(int imap_stream, string ref, string pattern)|List all the subscribed mailboxes
+imap_headerinfo|object|(int imap_stream, int msg_number [, int fromlength [, int subjectlength [, string defaulthost]]])|Read the header of the message
+imap_header|object|(int imap_stream, int msg_number [, int fromlength [, int subjectlength [, string defaulthost]]])|Read the header of the message
+imap_headers|array|(int imap_stream)|Returns headers for all messages in a mailbox
+imap_last_error|string|()|This function returns the last IMAP error (if any) that occurred during this page request
+imap_listmailbox|array|(int imap_stream, string ref, string pattern)|Read the list of mailboxes
+imap_listsubscribed|array|(int imap_stream, string ref, string pattern)|List all the subscribed mailboxes
+imap_mailboxmsginfo|object|(int imap_stream)|Get information about the current mailbox
+imap_mail_compose|string|(array envelope, array body)|Create a MIME message based on given envelope and body sections
+imap_mail_copy|int|(int imap_stream, string msglist, string mbox [, int flags])|Copy specified messages to a mailbox
+imap_mail_move|int|(int imap_stream, string msglist, string mbox [, int flags])|Move specified messages to a mailbox
+imap_mail|string|(string to, string subject, string message [, string additional_headers [, string cc [, string bcc [, string rpath]]]])|Send an email message
+imap_mime_header_decode|array|(string text)|Decode MIME header elements
+imap_msgno|int|(int imap_stream, int uid)|This function returns the message sequence number for the given UID
+imap_num_msg|int|(int imap_stream)|Gives the number of messages in the current mailbox
+imap_num_recent|int|(int imap_stream)|Gives the number of recent messages in current mailbox
+imap_open|int|(string mailbox, string username, string password [, int flags])|Open an IMAP stream to a mailbox
+imap_ping|int|(int imap_stream)|Check if the IMAP stream is still active
+imap_popen|int|(string mailbox, string user, string password [, int options])|Open a persistant IMAP stream to a mailbox
+imap_qprint|string|(string string)|Convert a quoted-printable string to an 8 bit string
+imap_renamemailbox|int|(int imap_stream, string old_mbox, string new_mbox)|Rename an old mailbox to new mailbox
+imap_reopen|int|(int imap_stream, string mailbox [, string flags])|Reopen IMAP stream to new mailbox
+imap_rfc822_parse_adrlist|array|(string address, string default_host)|Parses an address string
+imap_rfc822_parse_headers|object|(string headers [, string defaulthost])|Parse mail headers from a string
+imap_rfc822_write_address|string|(string mailbox, string host, string personal)|Returns a properly formatted email address given the mailbox, host, and personal info.
+imap_scanmailbox|array|(int imap_stream, string ref, string pattern, string content)|Read the list of mailboxes, takes a string to search for in the text of the mailbox
+imap_search|array|(int imap_stream, string criteria, int flags)|This function returns an array of messages matching the given search criteria
+imap_setacl|int|(int stream_id, string mailbox, string id, string rights)|Sets the ACL for a giving mailbox
+imap_setflag_full|string|(int stream, string sequence, string flag, string options)|Sets flags on messages
+imap_set_quota|int|(int imap_stream, string quota_root, int quota_limit)|Sets a quota for a given mailbox
+imap_sort|array|(int stream, int criteria, int reverse, int options)|Sort an array of message headers
+imap_status|object|(int imap_stream, string mailbox, int options)|This function returns status information on a mailbox other than the current one
+imap_subscribe|int|(int imap_stream, string mbox)|Subscribe to a mailbox
+imap_thread|int|(int stream_id [, int flags])|Return threaded by REFERENCES tree
+imap_uid|int|(int imap_stream, int msgno)|This function returns the UID for the given message sequence number
+imap_undelete|int|(int imap_stream, int msg_number)|Unmark the message which is marked deleted
+imap_unsubscribe|int|(int imap_stream, string mbox)|Unsubscribe from a mailbox
+imap_utf7_decode|string|(string text)|Decodes a modified UTF-7 encoded string.
+imap_utf7_encode|string|(string data)|Converts 8bit data to modified UTF-7 text.
+imap_utf8|string|(string text)|Converts text to UTF8
+implode|string|(string glue, array pieces)|Join array elements with a string
+import_request_variables|bool|(string types [, string prefix])|Import GET/POST/Cookie variables into the global scope
+in_array|bool|(mixed needle, array haystack [, bool strict])|Return &true; if a value exists in an array
+info|object|(array parameter)|Returns information about server configuration
+ingres_autocommit|bool|( [resource link])|Switch autocommit on or off
+ingres_close|bool|( [resource link])|Close an Ingres II database connection
+ingres_commit|bool|( [resource link])|Commit a transaction
+ingres_connect|resource|( [string database [, string username [, string password]]])|Open a connection to an Ingres II database
+ingres_fetch_array|array|( [int result_type [, resource link]])|Fetch a row of result into an array
+ingres_fetch_object|object|( [int result_type [, resource link]])|Fetch a row of result into an object.
+ingres_fetch_row|array|( [resource link])|Fetch a row of result into an enumerated array
+ingres_field_length|int|(int index [, resource link])|Get the length of a field
+ingres_field_name|string|(int index [, resource link])|Get the name of a field in a query result.
+ingres_field_nullable|bool|(int index [, resource link])|Test if a field is nullable
+ingres_field_precision|int|(int index [, resource link])|Get the precision of a field
+ingres_field_scale|int|(int index [, resource link])|Get the scale of a field
+ingres_field_type|string|(int index [, resource link])|Get the type of a field in a query result
+ingres_num_fields|int|( [resource link])|Get the number of fields returned by the last query
+ingres_num_rows|int|( [resource link])|Get the number of rows affected or returned by the last query
+ingres_pconnect|resource|( [string database [, string username [, string password]]])|Open a persistent connection to an Ingres II database
+ingres_query|bool|(string query [, resource link])|Send a SQL query to Ingres II
+ingres_rollback|bool|( [resource link])|Roll back a transaction
+ini_alter|string|(string varname, string newvalue)|Changes the value of a configuration option
+ini_get_all|array|( [string extension])|Gets all configuration options
+ini_get|string|(string varname)|Gets the value of a configuration option
+ini_restore|string|(string varname)|Restores the value of a configuration option
+ini_set|string|(string varname, string newvalue)|Sets the value of a configuration option
+insertanchor|object|(array parameter)|Inserts a new object of type anchor
+insert|bool|(object attribute)|Inserts new attribute
+insertcollection|object|(array parameter)|Inserts a new object of type collection
+insertdocument|object|(array parameter)|Inserts a new object of type document
+insert|object|(array parameter)|Inserts a new object
+intval|int|(mixed var [, int base])|Get integer value of a variable
+ip2long|int|(string ip_address)|Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address.
+iptcembed|array|(string iptcdata, string jpeg_file_name [, int spool])|Embed binary IPTC data into a JPEG image
+iptcparse|array|(string iptcblock)|Parse a binary IPTC &url.iptc; block into single tags.
+ircg_channel_mode|boolean|(resource connection, string channel, string mode_spec, string nick)|Set channel mode flags for user
+ircg_disconnect|boolean|(resource connection, string reason)|Close connection to server
+ircg_fetch_error_msg|array|(resource connection)|Returns the error from previous ircg operation
+ircg_get_username|string|(int connection)|Get username for connection
+ircg_html_encode|boolean|(string html_string)|Encodes HTML preserving output
+ircg_ignore_add|boolean|(resource connection, string nick)|Add a user to your ignore list on a server
+ircg_ignore_del|boolean|(resource connection, string nick)|Remove a user from your ignore list on a server
+ircg_is_conn_alive|boolean|(resource connection)|Check connection status
+ircg_join|boolean|(resource connection, string channel)|Join a channel on a connected server
+ircg_kick|boolean|(resource connection, string channel, string nick, string reason)|Kick a user out of a channel on server
+ircg_lookup_format_messages|boolean|(string name)|Select a set of format strings for display of IRC messages
+ircg_msg|boolean|(resource connection, string recipient, string message [, boolean suppress])|Send message to channel or user on server
+ircg_nick|boolean|(resource connection, string nick)|Change nickname on server
+ircg_nickname_escape|string|(string nick)|Encode special characters in nickname to be IRC-compliant
+ircg_nickname_unescape|string|(string nick)|Decodes encoded nickname
+ircg_notice|boolean|(resource connection, string string message)|Send a notice to a user on server
+ircg_part|boolean|(resource connection, string channel)|Leave a channel on server
+ircg_pconnect|resource|(string username [, string server_ip [, int server_port [, string msg_format [, array ctcp_messages [, array user_settings]]]]])|Connect to an IRC server
+ircg_register_format_messages|boolean|(string name, array messages)|Register a set of format strings for display of IRC messages
+ircg_set_current|boolean|(resource connection)|Set current connection for output
+ircg_set_file|bool|(int connection, string path)|Set logfile for connection
+ircg_set_on_die|bool|(int connection, string host, int port, string data)|Set hostaction to be execute when connection dies
+ircg_topic|boolean|(resource connection, string channel, string new_topic)|Set topic for channel on server
+ircg_whois|boolean|(resource connection, string nick)|Query user information for nick on server
+is_a|bool|(object object, string class_name)|Returns true if the object is of this class or has this class as one of its parents
+is_array|bool|(mixed var)|Finds whether a variable is an array
+is_bool|bool|(mixed var)|Finds out whether a variable is a boolean
+is_callable|bool|(mixed var [, bool syntax_only [, string callable_name]])|Find out whether the argument is a valid callable construct
+is_dir|bool|(string filename)|Tells whether the filename is a directory
+is_executable|bool|(string filename)|Tells whether the filename is executable
+is_file|bool|(string filename)|Tells whether the filename is a regular file
+is_finite|bool|(float val)|
+is_float|bool|(mixed var)|Alias of is_float
+is_infinite|bool|(float val)|
+is_int|bool|(mixed var)|Find whether a variable is an integer
+is_link|bool|(string filename)|Tells whether the filename is a symbolic link
+is_nan|bool|(float val)|
+is_null|bool|(mixed var)|Alias of is_int
+is_numeric|bool|(mixed var)|Finds whether a variable is a number or a numeric string
+is_object|bool|(mixed var)|Finds whether a variable is an object
+is_readable|bool|(string filename)|Tells whether the filename is readable
+is_resource|bool|(mixed var)|Alias of is_float
+is_scalar|bool|(mixed var)|Finds whether a variable is a scalar
+isset|boolean|(mixed var [, mixed var])|Determine whether a variable is set
+is_string|bool|(mixed var)|Finds whether a variable is a string
+is_subclass_of|bool|(object object, string class_name)|Returns true if the object has this class as one of its parents
+is_uploaded_file|bool|(string filename)|Tells whether the file was uploaded via HTTP POST
+is_writable|bool|(string filename)|Tells whether the filename is writable
+is_writeable|bool|(string filename)|Tells whether the filename is writable
+java_last_exception_clear|void|()|Clear last Java exception
+java_last_exception_get|exception|()|Get last Java exception
+jddayofweek|mixed|(int julianday, int mode)|Returns the day of the week
+jdmonthname|string|(int julianday, int mode)|Returns a month name
+jdtofrench|string|(int juliandaycount)|Converts a Julian Day Count to the French Republican Calendar
+jdtogregorian|string|(int julianday)|Converts Julian Day Count to Gregorian date
+jdtojewish|string|(int julianday)|Converts a Julian Day Count to the Jewish Calendar
+jdtojulian|string|(int julianday)|Converts a Julian Day Count to a Julian Calendar Date
+jdtounix|int|(int jday)|Convert Julian Day to UNIX timestamp
+jewishtojd|int|(int month, int day, int year)|Converts a date in the Jewish Calendar to Julian Day Count
+join|string|(string glue, array pieces)|Join array elements with a string
+jpeg2wbmp|int|(string jpegname, string wbmpname, int d_height, int d_width, int threshold)|Convert JPEG image file to WBMP image file
+juliantojd|int|(int month, int day, int year)|Converts a Julian Calendar date to Julian Day Count
+key|mixed|(array array)|Fetch a key from an associative array
+key|string|(void)|Returns key of the attribute
+krsort|int|(array array [, int sort_flags])|Sort an array by key in reverse order
+ksort|int|(array array [, int sort_flags])|Sort an array by key
+langdepvalue|string|(string language)|Returns value for a given language
+lcg_value|float|()|Combined linear congruential generator
+ldap_8859_to_t61|string|(string value)|Translate 8859 characters to t61 characters
+ldap_add|bool|(resource link_identifier, string dn, array entry)|Add entries to LDAP directory
+ldap_bind|bool|(resource link_identifier [, string bind_rdn [, string bind_password]])|Bind to LDAP directory
+ldap_close|bool|(resource link_identifier)|Close link to LDAP server
+ldap_compare|bool|(resource link_identifier, string dn, string attribute, string value)|Compare value of attribute found in entry specified with DN
+ldap_connect|resource|( [string hostname [, int port]])|Connect to an LDAP server
+ldap_count_entries|int|(resource link_identifier, resource result_identifier)|Count the number of entries in a search
+ldap_delete|bool|(resource link_identifier, string dn)|Delete an entry from a directory
+ldap_dn2ufn|string|(string dn)|Convert DN to User Friendly Naming format
+ldap_err2str|string|(int errno)|Convert LDAP error number into string error message
+ldap_errno|int|(resource link_identifier)|Return the LDAP error number of the last LDAP command
+ldap_error|string|(resource link_identifier)|Return the LDAP error message of the last LDAP command
+ldap_explode_dn|array|(string dn, int with_attrib)|Splits DN into its component parts
+ldap_first_attribute|string|(resource link_identifier, resource result_entry_identifier, int ber_identifier)|Return first attribute
+ldap_first_entry|resource|(resource link_identifier, resource result_identifier)|Return first result id
+ldap_first_reference|resource|(resource link, resource result)|Return first reference
+ldap_free_result|bool|(resource result_identifier)|Free result memory
+ldap_get_attributes|array|(resource link_identifier, resource result_entry_identifier)|Get attributes from a search result entry
+ldap_get_dn|string|(resource link_identifier, resource result_entry_identifier)|Get the DN of a result entry
+ldap_get_entries|array|(resource link_identifier, resource result_identifier)|Get all result entries
+ldap_get_option|bool|(resource link_identifier, int option, mixed retval)|Get the current value for given option
+ldap_get_values|array|(resource link_identifier, resource result_entry_identifier, string attribute)|Get all values from a result entry
+ldap_get_values_len|array|(resource link_identifier, resource result_entry_identifier, string attribute)|Get all binary values from a result entry
+ldap_list|resource|(resource link_identifier, string base_dn, string filter [, array attributes [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])|Single-level search
+ldap_mod_add|bool|(resource link_identifier, string dn, array entry)|Add attribute values to current attributes
+ldap_mod_del|bool|(resource link_identifier, string dn, array entry)|Delete attribute values from current attributes
+ldap_modify|bool|(resource link_identifier, string dn, array entry)|Modify an LDAP entry
+ldap_mod_replace|bool|(resoure link_identifier, string dn, array entry)|Replace attribute values with new ones
+ldap_next_attribute|string|(resource link_identifier, resource result_entry_identifier, resource ber_identifier)|Get the next attribute in result
+ldap_next_entry|resource|(resource link_identifier, resource result_entry_identifier)|Get next result entry
+ldap_next_reference|resource|(resource link, resource entry)|Get next reference
+ldap_parse_reference|bool|(resource link, resource entry, array referrals)|Extract information from reference entry
+ldap_parse_result|bool|(resource link, resource result, int errcode, string matcheddn, string errmsg, array referrals)|Extract information from result
+ldap_read|resource|(resource link_identifier, string base_dn, string filter [, array attributes [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])|Read an entry
+ldap_rename|bool|(resource link_identifier, string dn, string newrdn, string newparent, bool deleteoldrdn)|Modify the name of an entry
+ldap_search|resource|(resource link_identifier, string base_dn, string filter [, array attributes [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])|Search LDAP tree
+ldap_set_option|bool|(resource link_identifier, int option, mixed newval)|Set the value of the given option
+ldap_set_rebind_proc|bool|(resource link, string callback)|Set a callback function to do re-binds on referral chasing.
+ldap_sort|bool|(resource link, resource result, string sortfilter)|Sort LDAP result entries
+ldap_start_tls|bool|(resource link)|Start TLS
+ldap_t61_to_8859|string|(string value)|Translate t61 characters to 8859 characters
+ldap_unbind|bool|(resource link_identifier)|Unbind from LDAP directory
+leak|void|(int bytes)|Leak memory
+levenshtein|int|(string str1, string str2)|Calculate Levenshtein distance between two strings
+linkinfo|int|(string path)|Gets information about a link
+link|int|(string target, string link)|Create a hard link
+link|object|(array parameter)|Creates a link to an object
+list|void|(mixed ...)|Assign variables as if they were an array
+localeconv|array|()|Get numeric formatting information
+localtime|array|( [int timestamp [, bool is_associative]])|Get the local time
+lock|object|(array parameter)|Locks an object
+log10|float|(float arg)|Base-10 logarithm
+log1p|float|(float number)|Returns log(1 + number), computed in a way that accurate even when the value of number is close to zero
+log|float|(float arg)|Natural logarithm
+long2ip|string|(int proper_address)|Converts an (IPv4) Internet network address into a string in Internet standard dotted format
+lstat|array|(string filename)|Gives information about a file or symbolic link
+ltrim|string|(string str [, string charlist])|Strip whitespace from the beginning of a string
+mail|bool|(string to, string subject, string message [, string additional_headers [, string additional_parameters]])|send mail
+mailparse_determine_best_xfer_encoding|int|(resource fp)|Figures out the best way of encoding the content read from the file pointer fp, which must be seek-able
+mailparse_msg_create|int|()|Returns a handle that can be used to parse a message
+mailparse_msg_extract_part_file|string|(resource rfc2045, string filename [, string callbackfunc])|Extracts/decodes a message section, decoding the transfer encoding
+mailparse_msg_extract_part|void|(resource rfc2045, string msgbody [, string callbackfunc])|Extracts/decodes a message section. If callbackfunc is not specified, the contents will be sent to "stdout"
+mailparse_msg_free|void|(resource rfc2045buf)|Frees a handle allocated by mailparse_msg_crea
+mailparse_msg_get_part_data|array|(resource rfc2045)|Returns an associative array of info about the message
+mailparse_msg_get_part|int|(resource rfc2045, string mimesection)|Returns a handle on a given section in a mimemessage
+mailparse_msg_get_structure|array|(resource rfc2045)|Returns an array of mime section names in the supplied message
+mailparse_msg_parse_file|resource|(string filename)|Parse file and return a resource representing the structure
+mailparse_msg_parse|void|(resource rfc2045buf, string data)|Incrementally parse data into buffer
+mailparse_rfc822_parse_addresses|array|(string addresses)|Parse addresses and returns a hash containing that data
+mailparse_stream_encode|bool|(resource sourcefp, resource destfp, string encoding)|Streams data from source file pointer, apply encoding and write to destfp
+mailparse_uudecode_all|array|(resource fp)|Scans the data from fp and extract each embedded uuencoded file. Returns an array listing filename information
+max|mixed|(mixed arg1, mixed arg2, mixed argn)|Find highest value
+mb_convert_encoding|string|(string str, string to-encoding [, mixed from-encoding])|Convert character encoding
+mb_convert_kana|string|(string str, string option [, mixed encoding])|Convert "kana" one from another ("zen-kaku" ,"han-kaku" and more)
+mb_convert_variables|string|(string to-encoding, mixed from-encoding, mixed vars)|Convert character code in variable(s)
+mb_decode_mimeheader|string|(string str)|Decode string in MIME header field
+mb_decode_numericentity|string|(string str, array convmap [, string encoding])|Decode HTML numeric string reference to character
+mb_detect_encoding|string|(string str [, mixed encoding-list])|Detect character encoding
+mb_detect_order|array|( [mixed encoding-list])|Set/Get character encoding detection order
+mb_encode_mimeheader|string|(string str [, string charset [, string transfer-encoding [, string linefeed]]])|Encode string for MIME header
+mb_encode_numericentity|string|(string str, array convmap [, string encoding])|Encode character to HTML numeric string reference
+mb_eregi|int|(string pattern, string string)|Regular expression match ignoring case with multibyte support
+mb_ereg|int|(string pattern, string string)|Regular expression match with multibyte support
+mb_eregi_replace|string|(string pattern, string replace, string string)|Replace regular expression with multibyte support ignoring case
+mb_ereg_match|bool|(string pattern, string string)|Regular expression match for multibyte string
+mb_ereg_replace|string|(string pattern, string replacement, string string)|Replace regular expression with multibyte support
+mb_ereg_search|bool|()|Multibyte regular expression match for predefined multibyte string
+mb_ereg_search_getpos|array|()|Returns start point for next regular expression match
+mb_ereg_search_getregs|array|()|Retrive the result from the last multibyte regular expression match
+mb_ereg_search_init|array|(string string)|Setup string and regular expression for multibyte regular expression match
+mb_ereg_search_pos|array|()|Return position and length of matched part of multibyte regular expression for predefined multibyte string
+mb_ereg_search_regs|array|()|Returns the matched part of multibyte regular expression
+mb_ereg_search_setpos|array|()|Set start point of next regular expression match
+mb_get_info|string|( [string type])|Get internal settings of mbstring
+mb_http_input|string|( [string type])|Detect HTTP input character encoding
+mb_http_output|string|( [string encoding])|Set/Get HTTP output character encoding
+mb_internal_encoding|string|( [string encoding])|Set/Get internal character encoding
+mb_language|string|( [string language])|Set/Get current language
+mb_output_handler|string|(string contents, int status)|Callback function converts character encoding in output buffer
+mb_parse_str|boolean|(string encoded_string [, array result])|Parse GET/POST/COOKIE data and set global variable
+mb_preferred_mime_name|string|(string encoding)|Get MIME charset string
+mb_regex_encoding|string|()|Returns current encoding for multibyte regex as string
+mb_send_mail|boolean|(string to, string subject, string message [, string additional_headers [, string additional_parameter]])|Send encoded mail.
+mb_split|array|(string pattern, string string)|Split multibyte string using regular expression
+mb_strcut|string|(string str, int start [, int length [, string encoding]])|Get part of string
+mb_strimwidth|string|(string str, int start, int width, string trimmarker [, string encoding])|Get truncated string with specified width
+mb_strlen|string|(string str [, string encoding])|Get string length
+mb_strpos|int|(string haystack, string needle [, int offset [, string encoding]])|Find position of first occurrence of string in a string
+mb_strrpos|int|(string haystack, string needle [, string encoding])|Find position of last occurrence of a string in a string
+mb_strwidth|int|(string str [, string encoding])|Return width of string
+mb_substitute_character|mixed|( [mixed substrchar])|Set/Get substitution character
+mb_substr|string|(string str, int start [, int length [, string encoding]])|Get part of string
+mcal_append_event|int|(int mcal_stream)|Store a new event into an MCAL calendar
+mcal_close|int|(int mcal_stream, int flags)|Close an MCAL stream
+mcal_create_calendar|string|(int stream, string calendar)|Create a new MCAL calendar
+mcal_date_compare|int|(int a_year, int a_month, int a_day, int b_year, int b_month, int b_day)|Compares two dates
+mcal_date_valid|int|(int year, int month, int day)|Returns &true; if the given year, month, day is a valid date
+mcal_day_of_week|int|(int year, int month, int day)|Returns the day of the week of the given date
+mcal_days_in_month|int|(int month, int leap year)|Returns the number of days in the given month
+mcal_delete_calendar|string|(int stream, string calendar)|Delete an MCAL calendar
+mcal_delete_event|int|(int mcal_stream [, int event_id])|Delete an event from an MCAL calendar
+mcal_event_add_attribute|void|(int stream, string attribute, string value)|Adds an attribute and a value to the streams global event structure
+mcal_event_init|int|(int stream)|Initializes a streams global event structure
+mcal_event_set_alarm|int|(int stream, int alarm)|Sets the alarm of the streams global event structure
+mcal_event_set_category|int|(int stream, string category)|Sets the category of the streams global event structure
+mcal_event_set_class|int|(int stream, int class)|Sets the class of the streams global event structure
+mcal_event_set_description|int|(int stream, string description)|Sets the description of the streams global event structure
+mcal_event_set_end|int|(int stream, int year, int month [, int day [, int hour [, int min [, int sec]]]])|Sets the end date and time of the streams global event structure
+mcal_event_set_recur_daily|int|(int stream, int year, int month, int day, int interval)|Sets the recurrence of the streams global event structure
+mcal_event_set_recur_monthly_mday|int|(int stream, int year, int month, int day, int interval)|Sets the recurrence of the streams global event structure
+mcal_event_set_recur_monthly_wday|int|(int stream, int year, int month, int day, int interval)|Sets the recurrence of the streams global event structure
+mcal_event_set_recur_none|int|(int stream)|Sets the recurrence of the streams global event structure
+mcal_event_set_recur_weekly|int|(int stream, int year, int month, int day, int interval, int weekdays)|Sets the recurrence of the streams global event structure
+mcal_event_set_recur_yearly|int|(int stream, int year, int month, int day, int interval)|Sets the recurrence of the streams global event structure
+mcal_event_set_start|int|(int stream, int year, int month [, int day [, int hour [, int min [, int sec]]]])|Sets the start date and time of the streams global event structure
+mcal_event_set_title|int|(int stream, string title)|Sets the title of the streams global event structure
+mcal_expunge|int|(int stream)|Deletes all events marked for being expunged.
+mcal_fetch_current_stream_event|object|(int stream)|Returns an object containing the current streams event structure
+mcal_fetch_event|object|(int mcal_stream, int event_id [, int options])|Fetches an event from the calendar stream
+mcal_|int|(int year, int month, int day)|Returns the day of the year of the given date
+mcal_is_leap_year|int|(int year)|Returns if the given year is a leap year or not
+mcal_list_alarms|array|(int mcal_stream [, int begin_year [, int begin_month [, int begin_day [, int end_year [, int end_month [, int end_day]]]]]])|Return a list of events that has an alarm triggered at the given datetime
+mcal_list_events|array|(int mcal_stream, object begin_date [, object end_date])|Return a list of IDs for a date or a range of dates.
+mcal_next_recurrence|int|(int stream, int weekstart, array next)|Returns the next recurrence of the event
+mcal_open|int|(string calendar, string username, string password [, int options])|Opens up an MCAL connection
+mcal_popen|int|(string calendar, string username, string password [, int options])|Opens up a persistent MCAL connection
+mcal_rename_calendar|string|(int stream, string old_name, string new_name)|Rename an MCAL calendar
+mcal_reopen|int|(string calendar [, int options])|Reopens an MCAL connection
+mcal_snooze|int|(int id)|Turn off an alarm for an event
+mcal_store_event|int|(int mcal_stream)|Modify an existing event in an MCAL calendar
+mcal_time_valid|int|(int hour, int minutes, int seconds)|Returns &true; if the given year, month, day is a valid time
+mcal_week_of_year|int|(int day, int month, int year)|Returns the week number of the given date
+mcrypt_cbc|string|(int cipher, string key, string data, int mode [, string iv])|Encrypt/decrypt data in CBC mode
+mcrypt_cfb|string|(int cipher, string key, string data, int mode, string iv)|Encrypt/decrypt data in CFB mode
+mcrypt_create_iv|string|(int size, int source)|Create an initialization vector (IV) from a random source
+mcrypt_decrypt|string|(string cipher, string key, string data, string mode [, string iv])|Decrypts crypttext with given parameters
+mcrypt_ecb|string|(int cipher, string key, string data, int mode)|Encrypt/decrypt data in ECB mode
+mcrypt_enc_get_algorithms_name|string|(resource td)|Returns the name of the opened algorithm
+mcrypt_enc_get_block_size|int|(resource td)|Returns the blocksize of the opened algorithm
+mcrypt_enc_get_iv_size|int|(resource td)|Returns the size of the IV of the opened algorithm
+mcrypt_enc_get_key_size|int|(resource td)|Returns the maximum supported keysize of the opened mode
+mcrypt_enc_get_modes_name|string|(resource td)|Returns the name of the opened mode
+mcrypt_enc_get_supported_key_sizes|array|(resource td)|Returns an array with the supported keysizes of the opened algorithm
+mcrypt_enc_is_block_algorithm|int|(resource td)|Checks whether the algorithm of the opened mode is a block algorithm
+mcrypt_enc_is_block_algorithm_mode|int|(resource td)|Checks whether the encryption of the opened mode works on blocks
+mcrypt_enc_is_block_mode|int|(resource td)|Checks whether the opened mode outputs blocks
+mcrypt_encrypt|string|(string cipher, string key, string data, string mode [, string iv])|Encrypts plaintext with given parameters
+mcrypt_enc_self_test|int|(resource td)|This function runs a self test on the opened module
+mcrypt_generic_deinit|bool|(resource td)|This function terminates encrypt specified by the descriptor td
+mcrypt_generic_end|bool|(resource td)|This function terminates encryption
+mcrypt_generic_init|int|(resource td, string key, string iv)|This function initializes all buffers needed for encryption
+mcrypt_generic|string|(resource td, string data)|This function encrypts data
+mcrypt_get_block_size|int|(int cipher)|Get the block size of the specified cipher
+mcrypt_get_cipher_name|string|(int cipher)|Get the name of the specified cipher
+mcrypt_get_iv_size|int|(string cipher, string mode)|Returns the size of the IV belonging to a specific cipher/mode combination
+mcrypt_get_key_size|int|(int cipher)|Get the key size of the specified cipher
+mcrypt_list_algorithms|array|( [string lib_dir])|Get an array of all supported ciphers
+mcrypt_list_modes|array|( [string lib_dir])|Get an array of all supported modes
+mcrypt_module_close|bool|(resource td)|Free the descriptor td
+mcrypt_module_get_algo_block_size|int|(string algorithm [, string lib_dir])|Returns the blocksize of the specified algorithm
+mcrypt_module_get_algo_key_size|int|(string algorithm [, string lib_dir])|Returns the maximum supported keysize of the opened mode
+mcrypt_module_get_supported_key_sizes|array|(string algorithm [, string lib_dir])|Returns an array with the supported keysizes of the opened algorithm
+mcrypt_module_is_block_algorithm|bool|(string algorithm [, string lib_dir])|This function checks whether the specified algorithm is a block algorithm
+mcrypt_module_is_block_algorithm_mode|bool|(string mode [, string lib_dir])|This function returns if the the specified module is a block algorithm or not
+mcrypt_module_is_block_mode|bool|(string mode [, string lib_dir])|This function returns if the the specified mode outputs blocks or not
+mcrypt_module_open|resource|(string algorithm, string algorithm_directory, string mode, string mode_directory)|This function opens the module of the algorithm and the mode to be used
+mcrypt_module_self_test|bool|(string algorithm [, string lib_dir])|This function runs a self test on the specified module
+mcrypt_ofb|string|(int cipher, string key, string data, int mode, string iv)|Encrypt/decrypt data in OFB mode
+mcve_adduserarg|int|(resource usersetup, int argtype, string argval)|Add a value to user configuration structure
+mcve_adduser|int|(resource conn, string admin_password, int usersetup)|Add an MCVE user using usersetup structure
+mcve_bt|int|(resource conn, string username, string password)|Get unsettled batch totals
+mcve_checkstatus|int|(resource conn, int identifier)|Check to see if a transaction has completed
+mcve_chkpwd|int|(resource conn, string username, string password)|Verify Password
+mcve_chngpwd|int|(resource conn, string admin_password, string new_password)|Change the system administrator's password
+mcve_completeauthorizations|int|(resource conn, int)|&array) Number of complete authorizations in queue, returning an array of their identifiers
+mcve_connect|int|(resource conn)|Establish the connection to MCVE
+mcve_deleteresponse|bool|(resource conn, int identifier)|Delete specified transaction from MCVE_CONN structure
+mcve_deleteusersetup|void|(resource usersetup)|Deallocate data associated with usersetup structure
+mcve_deluser|int|(resource conn, string admin_password, string username)|Delete an MCVE user account
+mcve_destroyconn|void|(resource conn)|Destroy the connection and MCVE_CONN structure
+mcve_destroyengine|void|()|Free memory associated with IP/SSL connectivity
+mcve_disableuser|int|(resource conn, string admin_password, string username)|Disable an active MCVE user account
+mcve_edituser|int|(resource conn, string admin_password, int usersetup)|Edit MCVE user using usersetup structure
+mcve_enableuser|int|(resource conn, string admin_password, string username)|Enable an inactive MCVE user account
+mcve_force|int|()|resiurce conn, string username, string password, string trackdata, string account, string expdate, float amount, string authcode, string comments, string clerkid, string stationid, int ptrannum) Send a FORCE to MCVE. (typically, a phone-authorization)
+mcve_getcellbynum|string|(resource conn, int identifier, int column, int row)|Get a specific cell from a comma delimited response by column number
+mcve_getcell|string|(resource conn, int identifier, string column, int row)|Get a specific cell from a comma delimited response by column name
+mcve_getcommadelimited|string|(resource conn, int identifier)|Get the RAW comma delimited data returned from MCVE
+mcve_getheader|string|(resource conn, int identifier, int column_num)|Get the name of the column in a comma-delimited response
+mcve_getuserarg|string|(resource usersetup, int argtype)|Grab a value from usersetup structure
+mcve_gft|int|(resource conn, string username, string password, int type, string account, string clerkid, string stationid, string comments, int ptrannum, string startdate, string enddate)|Audit MCVE for Failed transactio
+mcve_gl|int|(int conn, string username, string password, int type, string account, string batch, string clerkid, string stationid, string comments, int ptrannum, string startdate, string enddate)|Audit MCVE for settled transactions
+mcve_gut|int|(resource conn, string username, string password, int type, string account, string clerkid, string stationid, string comments, int ptrannum, string startdate, string enddate)|Audit MCVE for Unsettled Transactions
+mcve_initconn|resource|()|Create and initialize an MCVE_CONN structure
+mcve_initengine|int|(string location)|Ready the client for IP/SSL Communication
+mcve_initusersetup|resource|()|Initialize structure to store user data
+mcve_iscommadelimited|int|(resource conn, int identifier)|Checks to see if response is comma delimited
+mcve_liststats|int|(resource conn, string admin_password)|List statistics for all users on MCVE system
+mcve_listusers|int|(resource conn, string admin_password)|List all users on MCVE system
+mcve_monitor|int|(resource conn)|Perform communication with MCVE (send/receive data) Non-blocking
+mcve_numcolumns|int|(resource conn, int identifier)|Number of columns returned in a comma delimited response
+mcve_numrows|int|(resource conn, int identifier)|Number of rows returned in a comma delimited response
+mcve_override|int|(resource conn, string username, string password, string trackdata, string account, string expdate, float amount, string street, string zip, string cv, string comments, string clerkid, string stationid, int ptrannum)|Send an OVERRIDE to MCVE
+mcve_parsecommadelimited|int|(resource conn, int identifier)|Parse the comma delimited response so mcve_getcell, etc will work
+mcve_preauthcompletion|int|(resource conn, string username, string password, float finalamount, int sid, int ptrannum)|Complete a PREAUTHORIZATION... Ready it for settlement
+mcve_preauth|int|(resource conn, string username, string password, string trackdata, string account, string expdate, float amount, string street, string zip, string cv, string comments)|string clerkid, string stationid, int ptrannum) Send a PREAUTHORIZATION to MCVE
+mcve_qc|int|(resource conn, string username, string password, string clerkid, string stationid, string comments, int ptrannum)|Audit MCVE for a list of transactions in the outgoing queue
+mcve_returncode|int|(resource conn, int identifier)|Grab the exact return code from the transaction
+mcve_return|int|(int conn, string username, string password, string trackdata, string account, string expdate, float amount, string comments, string clerkid, string stationid, int ptrannum)|Issue a RETURN or CREDIT to MCVE
+mcve_returnstatus|int|(resource conn, int identifier)|Check to see if the transaction was successful
+mcve_sale|int|(resource conn, string username, string password, string trackdata, string account, string expdate, float amount, string street, string zip, string cv, string comments, string clerkid, string stationid, int ptrannum)|Send a SALE to MCVE
+mcve_setdropfile|int|(resource conn, string directory)|Set the connection method to Drop-File
+mcve_setip|int|(resource conn, string host, int port)|Set the connection method to IP
+mcve_setssl|int|(resource conn, string host, int port)|Set the connection method to SSL
+mcve_settimeout|int|(resource conn, int seconds)|Set maximum transaction time (per tran
+mcve_settle|int|(resource conn, string username, string password, string batch)|Issue a settlement command to do a batch deposit
+mcve_transactionauth|string|(resource conn, int identifier)|Get the authorization number returned for the transaction (alpha-numeric)
+mcve_transactionavs|int|(resource conn, int identifier)|Get the Address Verification return status
+mcve_transactionbatch|int|(resource conn, int identifier)|Get the batch number associated with the transaction
+mcve_transactioncv|int|(resource conn, int identifier)|Get the CVC2/CVV2/CID return status
+mcve_transactionid|int|(resource conn, int identifier)|Get the unique system id for the transacti
+mcve_transactionitem|int|(resource conn, int identifier)|Get the ITEM number in the associated batch for this transaction
+mcve_transactionssent|int|(resource conn)|Check to see if outgoing buffer is clear
+mcve_transactiontext|string|(resource conn, int identifier)|Get verbiage (text) return from MCVE or processing institution
+mcve_transinqueue|int|(resource conn)|Number of transactions in client-queue
+mcve_ub|int|(resource conn, string username, string password)|Get a list of all Unsettled batches
+mcve_void|int|(resource conn, string username, string password, int sid, int ptrannum)|VOID a transaction in the settlement queue
+md5_file|string|(string filename)|Calculates the md5 hash of a given filename
+md5|string|(string str)|Calculate the md5 hash of a string
+mdecrypt_generic|string|(resource td, string data)|This function decrypts data
+metaphone|string|(string str)|Calculate the metaphone key of a string
+method_exists|bool|(object object, string method_name)|Checks if the class method exists
+mhash_count|int|()|Get the highest available hash id
+mhash_get_block_size|int|(int hash)|Get the block size of the specified hash
+mhash_get_hash_name|string|(int hash)|Get the name of the specified hash
+mhash_keygen_s2k|string|(int hash, string password, string salt, int bytes)|Generates a key
+mhash|string|(int hash, string data [, string key])|Compute hash
+microtime|string|()|Return current UNIX timestamp with microseconds
+mimetype|string|(void)|Returns mimetype
+ming_setcubicthreshold|void|(int threshold)|Set cubic threshold (?)
+ming_setscale|void|(int scale)|Set scale (?)
+ming_useswfversion|void|(int version)|Use SWF version (?)
+min|number|(number arg1, number arg2)|Find lowest value
+mkdir|int|(string pathname, int mode)|Makes directory
+mktime|int|(int hour, int minute, int second, int month, int day, int year [, int is_dst])|Get UNIX timestamp for a date
+move|object|(array parameter)|Moves object between collections
+move_uploaded_file|bool|(string filename, string destination)|Moves an uploaded file to a new location
+msession_connect|bool|(string host, string port)|Connect to msession server
+msession_count|int|()|Get session count
+msession_create|bool|(string session)|Create a session
+msession_destroy|bool|(string name)|Destroy a session
+msession_disconnect|void|()|Close connection to msession server
+msession_find|array|(string name, string value)|Find value
+msession_get_array|array|(string session)|Get array of ... ?
+msession_getdata|string|(string session)|Get data ... ?
+msession_get|string|(string session, string name, string value)|Get value from session
+msession_inc|string|(string session, string name)|Increment value in session
+msession_list|array|()|List ... ?
+msession_listvar|array|(string name)|List sessions with variable
+msession_lock|int|(string name)|Lock a session
+msession_plugin|string|(string session, string val [, string param])|Call an escape function within the msession personality plugin
+msession_randstr|string|(int param)|Get random string
+msession_set_array|bool|(string session, array tuples)|Set array of ...
+msession_set|bool|(string session, string name, string value)|Set value in session
+msession_setdata|bool|(string session, string value)|Set data ... ?
+msession_timeout|int|(string session [, int param])|Set/get session timeout
+msession_uniq|string|(int param)|Get uniq id
+msession_unlock|int|(string session, int key)|Unlock a session
+msql_affected_rows|int|(int query_identifier)|Returns number of affected rows
+msql_close|int|(int link_identifier)|Close mSQL connection
+msql_connect|int|( [string server [, string username [, string password]]])|Open mSQL connection
+msql_create_db|int|(string database name [, int link_identifier])|Create mSQL database
+msql_createdb|int|(string database name [, int link_identifier])|Create mSQL database
+msql_data_seek|int|(int query_identifier, int row_number)|Move internal row pointer
+msql_dbname|string|(int query_identifier, int i)|Get current mSQL database name
+msql_drop_db|int|(string database_name, int link_identifier)|Drop (delete) mSQL database
+msql_error|string|( [int link_identifier])|Drop (delete) mSQL database
+msql_fetch_array|int|(int query_identifier [, int result_type])|Fetch row as array
+msql_fetch_field|object|(int query_identifier, int field_offset)|Get field information
+msql_fetch_object|int|(int query_identifier [, int result_type])|Fetch row as object
+msql_fetch_row|array|(int query_identifier)|Get row as enumerated array
+msql_fieldflags|string|(int query_identifier, int i)|Get field flags
+msql_fieldlen|int|(int query_identifier, int i)|Get field length
+msql_fieldname|string|(int query_identifier, int field)|Get field name
+msql_field_seek|int|(int query_identifier, int field_offset)|Set field offset
+msql_fieldtable|int|(int query_identifier, int field)|Get table name for field
+msql_fieldtype|string|(int query_identifier, int i)|Get field type
+msql_free_result|int|(int query_identifier)|Free result memory
+msql|int|(string database, string query, int link_identifier)|Send mSQL query
+msql_list_dbs|int|()|List result fields
+msql_list_fields|int|(string database, string tablename)|Free result memory
+msql_list_tables|int|(string database)|List mSQL databases on server
+msql_numfields|int|(int query_identifier)|Get number of fields in result
+msql_num_fields|int|(int query_identifier)|List tables in an mSQL database
+msql_numrows|int|()|Get number of rows in result
+msql_num_rows|int|(int query_identifier)|Get number of rows in result
+msql_pconnect|int|( [string server [, string username [, string password]]])|Open persistent mSQL connection
+msql_query|int|(string query, int link_identifier)|Send mSQL query
+msql_result|int|(int query_identifier, int i, mixed field)|Make regular expression for case insensitive match
+msql_select_db|int|(string database_name, int link_identifier)|Select mSQL database
+msql_tablename|string|(int query_identifier, int field)|Select mSQL database
+mssql_bind|int|(int stmt, string param_name, mixed var, int type [, int is_output [, int is_null [, int maxlen]]])|Adds a parameter to a stored procedure or a remote stored procedure
+mssql_close|int|( [int link_identifier])|Close MS SQL Server connection
+mssql_connect|int|( [string servername [, string username [, string password]]])|Open MS SQL server connection
+mssql_data_seek|int|(int result_identifier, int row_number)|Move internal row pointer
+mssql_execute|int|(int stmt)|Executes a stored procedure on a MS-SQL server database
+mssql_fetch_array|int|(int result)|Fetch row as array
+mssql_fetch_assoc|array|(int result_id [, int result_type])|Returns an associative array of the current row in the result set specified by result_id
+mssql_fetch_batch|int|(string result_index)|Returns the next batch of records
+mssql_fetch_field|object|(int result [, int field_offset])|Get field information
+mssql_fetch_object|int|(int result)|Fetch row as object
+mssql_fetch_row|array|(int result)|Get row as enumerated array
+mssql_field_length|int|(int result [, int offset])|Get the length of a field
+mssql_field_name|int|(int result [, int offset])|Get the name of a field
+mssql_field_seek|int|(int result, int field_offset)|Set field offset
+mssql_field_type|string|(int result [, int offset])|Get the type of a field
+mssql_free_result|int|(int result)|Free result memory
+mssql_get_last_message|string|()|Returns the last message from server (over min_message_severity?)
+mssql_guid_string|string|(string binary [, int short_format])|Converts a 16 byte binary GUID to a string
+mssql_init|int|(string sp_name [, int conn_id])|Initializes a stored procedure or a remote stored procedure
+mssql_min_error_severity|void|(int severity)|Sets the lower error severity
+mssql_min_message_severity|void|(int severity)|Sets the lower message severity
+mssql_next_result|bool|(int result_id)|Move the internal result pointer to the next result
+mssql_num_fields|int|(int result)|Get number of fields in result
+mssql_num_rows|int|(string result)|Get number of rows in result
+mssql_pconnect|int|( [string servername [, string username [, string password]]])|Open persistent MS SQL connection
+mssql_query|int|(string query [, int link_identifier])|Send MS SQL query
+mssql_result|int|(int result, int i, mixed field)|Get result data
+mssql_rows_affected|int|(int conn_id)|Returns the number of records affected by the query
+mssql_select_db|int|(string database_name [, int link_identifier])|Select MS SQL database
+mt_getrandmax|int|()|Show largest possible random value
+mt_rand|int|( [int min, int max])|Generate a better random value
+mt_srand|void|(int seed)|Seed the better random number generator
+muscat_close|int|(resource muscat_handle)|Shuts down the muscat session and releases any memory back to php. [Not back to the system, note!]
+muscat_get|string|(resource muscat_handle)|Gets a line back from the core muscat api. Returns a literal FALSE when there is no more to get (as opposed to ""). Use === FALSE or !== FALSE to check for this
+muscat_give|int|(resource muscat_handle, string string)|Sends string to the core muscat api
+muscat_setup_net|resource|(string muscat_host, int port)|Creates a new muscat session and returns the handle. muscat_host is the hostname to connect to port is the port number to connect to - actually takes exactly the same args as fsockopen
+muscat_setup|resource|(int size [, string muscat_dir])|Creates a new muscat session and returns the handle. Size is the ammount of memory in bytes to allocate for muscat muscat_dir is the muscat installation dir e.g. "/usr/local/empower", it defaults to the compile time muscat directory
+mysql_affected_rows|int|( [resource link_identifier])|Get number of affected rows in previous MySQL operation
+mysql_change_user|int|(string user, string password [, string database [, resource link_identifier]])|Change logged in user of the active connection
+mysql_character_set_name|int|( [resource link_identifier])|Returns the name of the character set
+mysql_close|bool|( [resource link_identifier])|Close MySQL connection
+mysql_connect|resource|( [string server [, string username [, string password [, bool new_link]]]])|Open a connection to a MySQL Server
+mysql_create_db|bool|(string database name [, resource link_identifier])|Create a MySQL database
+mysql_data_seek|bool|(resource result_identifier, int row_number)|Move internal result pointer
+mysql_db_name|string|(resource result, int row [, mixed field])|Get result data
+mysql_db_query|resource|(string database, string query [, resource link_identifier])|Send a MySQL query
+mysql_drop_db|bool|(string database_name [, resource link_identifier])|Drop (delete) a MySQL database
+mysql_errno|int|( [resource link_identifier])|Returns the numerical value of the error message from previous MySQL operation
+mysql_error|string|( [resource link_identifier])|Returns the text of the error message from previous MySQL operation
+mysql_escape_string|string|(string unescaped_string)|Escapes a string for use in a mysql_query.
+mysql_fetch_array|array|(resource result [, int result_type])|Fetch a result row as an associative array, a numeric array, or both.
+mysql_fetch_assoc|array|(resource result)|Fetch a result row as an associative array
+mysql_fetch_field|object|(resource result [, int field_offset])|Get column information from a result and return as an object
+mysql_fetch_lengths|array|(resource result)|Get the length of each output in a result
+mysql_fetch_object|object|(resource result)|Fetch a result row as an object
+mysql_fetch_row|array|(resource result)|Get a result row as an enumerated array
+mysql_field_flags|string|(resource result, int field_offset)|Get the flags associated with the specified field in a result
+mysql_field_len|int|(resource result, int field_offset)|Returns the length of the specified field
+mysql_field_name|string|(resource result, int field_index)|Get the name of the specified field in a result
+mysql_field_seek|int|(resource result, int field_offset)|Set result pointer to a specified field offset
+mysql_field_table|string|(resource result, int field_offset)|Get name of the table the specified field is in
+mysql_field_type|string|(iresource result, int field_offset)|Get the type of the specified field in a result
+mysql_free_result|bool|(resource result)|Free result memory
+mysql_get_client_info|string|()|Get MySQL client info
+mysql_get_host_info|string|( [resource link_identifier])|Get MySQL host info
+mysql_get_proto_info|int|( [resource link_identifier])|Get MySQL protocol info
+mysql_get_server_info|string|( [resource link_identifier])|Get MySQL server info
+mysql_info|string|( [resource link_identifier])|Get information about the most recent query
+mysql_insert_id|int|( [resource link_identifier])|Get the id generated from the previous INSERT operation
+mysql_list_dbs|resource|( [resource link_identifier])|List databases available on a MySQL server
+mysql_list_fields|resource|(string database_name, string table_name [, resource link_identifier])|List MySQL result fields
+mysql_list_processes|resource|( [resource link_identifier])|List MySQL processes
+mysql_list_tables|resource|(string database [, resource link_identifier])|List tables in a MySQL database
+mysql_num_fields|int|(resource result)|Get number of fields in result
+mysql_num_rows|int|(resource result)|Get number of rows in result
+mysql_pconnect|resource|( [string server [, string username [, string password]]])|Open a persistent connection to a MySQL server
+mysql_ping|bool|( [resource link_identifier])|Ping a server connection or reconnect if there is no connection
+mysql_query|resource|(string query [, resource link_identifier])|Send a MySQL query
+mysql_real_escape_string|string|(string unescaped_string [, resource link_identifier])|Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection.
+mysql_result|mixed|(resource result, int row [, mixed field])|Get result data
+mysql_select_db|bool|(string database_name [, resource link_identifier])|Select a MySQL database
+mysql_stat|string|( [resource link_identifier])|Get current system status
+mysql_tablename|string|(resource result, int i)|Get table name of field
+mysql_thread_id|int|( [resource link_identifier])|Return the current thread id
+mysql_unbuffered_query|resource|(string query [, resource link_identifier])|Send an SQL query to MySQL, without fetching and buffering the result rows
+natcasesort|void|(array array)|Sort an array using a case insensitive "natural order" algorithm
+natsort|void|(array array)|Sort an array using a "natural order" algorithm
+ncurses_addch|int|(int ch)|Add character at current position and advance cursor
+ncurses_addchnstr|int|(string s, int n)|Add attributed string with specified length at current position
+ncurses_addchstr|int|(string s)|Add attributed string at current position
+ncurses_addnstr|int|(string s, int n)|Add string with specified length at current position
+ncurses_addstr|int|(string text)|Output text at current position
+ncurses_assume_default_colors|int|(int fg, int bg)|Define default colors for color 0
+ncurses_attroff|int|(int attributes)|Turn off the given attributes
+ncurses_attron|int|(int attributes)|Turn on the given attributes
+ncurses_attrset|int|(int attributes)|Set given attributes
+ncurses_baudrate|int|()|Returns baudrate of terminal
+ncurses_beep|int|()|Let the terminal beep
+ncurses_bkgd|int|(int attrchar)|Set background property for terminal screen
+ncurses_bkgdset|void|(int attrchar)|Control screen background
+ncurses_border|int|(int left, int right, int top, int bottom, int tl_corner, int tr_corner, int bl_corner, int br_corner)|Draw a border around the screen using attributed characters
+ncurses_can_change_color|bool|()|Check if we can change terminals colors
+ncurses_cbreak|bool|()|Switch of input buffering
+ncurses_clear|bool|()|Clear screen
+ncurses_clrtobot|bool|()|Clear screen from current position to bottom
+ncurses_clrtoeol|bool|()|Clear screen from current position to end of line
+ncurses_color_set|int|(int pair)|Set fore- and background color
+ncurses_curs_set|int|(int visibility)|Set cursor state
+ncurses_define_key|int|(string definition, int keycode)|Define a keycode
+ncurses_def_prog_mode|bool|()|Saves terminals (program) mode
+ncurses_def_shell_mode|bool|()|Saves terminals (shell) mode
+ncurses_delay_output|int|(int milliseconds)|Delay output on terminal using padding characters
+ncurses_delch|bool|()|Delete character at current position, move rest of line left
+ncurses_deleteln|bool|()|Delete line at current position, move rest of screen up
+ncurses_delwin|int|(resource window)|Delete a ncurses window
+ncurses_doupdate|bool|()|Write all prepared refreshes to terminal
+ncurses_echo|bool|()|Activate keyboard input echo
+ncurses_echochar|int|(int character)|Single character output including refresh
+ncurses_end|int|()|Stop using ncurses, clean up the screen
+ncurses_erase|bool|()|Erase terminal screen
+ncurses_erasechar|string|()|Returns current erase character
+ncurses_filter|int|()|
+ncurses_flash|bool|()|Flash terminal screen (visual bell)
+ncurses_flushinp|bool|()|Flush keyboard input buffer
+ncurses_getch|int|()|Read a character from keyboard
+ncurses_getmouse|bool|(array mevent)|Reads mouse event
+ncurses_halfdelay|int|(int tenth)|Put terminal into halfdelay mode
+ncurses_has_colors|bool|()|Check if terminal has colors
+ncurses_has_ic|bool|()|Check for insert- and delete-capabilities
+ncurses_has_il|bool|()|Check for line insert- and delete-capabilities
+ncurses_has_key|int|(int keycode)|Check for presence of a function key on terminal keyboard
+ncurses_hline|int|(int charattr, int n)|Draw a horizontal line at current position using an attributed character and max. n characters long
+ncurses_inch|string|()|Get character and attribute at current position
+ncurses_init_color|int|(int color, int r, int g, int b)|Set new RGB value for color
+ncurses_init|int|()|Initialize ncurses
+ncurses_init_pair|int|(int pair, int fg, int bg)|Allocate a color pair
+ncurses_insch|int|(int character)|Insert character moving rest of line including character at current position
+ncurses_insdelln|int|(int count)|Insert lines before current line scrolling down (negative numbers delete and scroll up)
+ncurses_insertln|bool|()|Insert a line, move rest of screen down
+ncurses_insstr|int|(string text)|Insert string at current position, moving rest of line right
+ncurses_instr|int|(string buffer)|Reads string from terminal screen
+ncurses_isendwin|bool|()|Ncurses is in endwin mode, normal screen output may be performed
+ncurses_keyok|int|(int keycode, bool enable)|Enable or disable a keycode
+ncurses_killchar|bool|()|Returns current line kill character
+ncurses_longname|string|()|Returns terminals description
+ncurses_mouseinterval|int|(int milliseconds)|Set timeout for mouse button clicks
+ncurses_mousemask|int|(int newmask, int oldmask)|Sets mouse options
+ncurses_move|int|(int y, int x)|Move output position
+ncurses_mvaddch|int|(int y, int x, int c)|Move current position and add character
+ncurses_mvaddchnstr|int|(int y, int x, string s, int n)|Move position and add attrributed string with specified length
+ncurses_mvaddchstr|int|(int y, int x, string s)|Move position and add attributed string
+ncurses_mvaddnstr|int|(int y, int x, string s, int n)|Move position and add string with specified length
+ncurses_mvaddstr|int|(int y, int x, string s)|Move position and add string
+ncurses_mvcur|int|(int old_y, int old_x, int new_y, int new_x)|Move cursor immediately
+ncurses_mvdelch|int|(int y, int x)|Move position and delete character, shift rest of line left
+ncurses_mvgetch|int|(int y, int x)|Move position and get character at new position
+ncurses_mvhline|int|(int y, int x, int attrchar, int n)|Set new position and draw a horizontal line using an attributed character and max. n characters long
+ncurses_mvinch|int|(int y, int x)|Move position and get attributed character at new position
+ncurses_mvvline|int|(int y, int x, int attrchar, int n)|Set new position and draw a vertical line using an attributed character and max. n characters long
+ncurses_mvwaddstr|int|(resource window, int y, int x, string text)|Add string at new position in window
+ncurses_napms|int|(int milliseconds)|Sleep
+ncurses_newwin|int|(int rows, int cols, int y, int x)|Create a new window
+ncurses_nl|bool|()|Translate newline and carriage return / line feed
+ncurses_nocbreak|bool|()|Switch terminal to cooked mode
+ncurses_noecho|bool|()|Switch off keyboard input echo
+ncurses_nonl|bool|()|Do not translate newline and carriage return / line feed
+ncurses_noqiflush|int|()|Do not flush on signal characters
+ncurses_noraw|bool|()|Switch terminal out of raw mode
+ncurses_putp|int|(string text)|
+ncurses_qiflush|int|()|Flush on signal characters
+ncurses_raw|bool|()|Switch terminal into raw mode
+ncurses_refresh|int|(int ch)|Refresh screen
+ncurses_resetty|bool|()|Restores saved terminal state
+ncurses_savetty|bool|()|Saves terminal state
+ncurses_scr_dump|int|(string filename)|Dump screen content to file
+ncurses_scr_init|int|(string filename)|Initialize screen from file dump
+ncurses_scrl|int|(int count)|Scroll window content up or down without changing current position
+ncurses_scr_restore|int|(string filename)|Restore screen from file dump
+ncurses_scr_set|int|(string filename)|Inherit screen from file dump
+ncurses_slk_attr|bool|()|Returns current soft label key attribute
+ncurses_slk_attroff|int|(int intarg)|
+ncurses_slk_attron|int|(int intarg)|
+ncurses_slk_attrset|int|(int intarg)|
+ncurses_slk_clear|bool|()|Clears soft labels from screen
+ncurses_slk_color|int|(int intarg)|Sets color for soft label keys
+ncurses_slk_init|bool|(int format)|Initializes soft label key functions
+ncurses_slk_noutrefresh|bool|()|Copies soft label keys to virtual screen
+ncurses_slk_refresh|bool|()|Copies soft label keys to screen
+ncurses_slk_restore|bool|()|Restores soft label keys
+ncurses_slk_touch|bool|()|Fources output when ncurses_slk_noutrefresh is performed
+ncurses_standend|int|()|Stop using 'standout' attribute
+ncurses_standout|int|()|Start using 'standout' attribute
+ncurses_start_color|int|()|Start using colors
+ncurses_termattrs|bool|()|Returns a logical OR of all attribute flags supported by terminal
+ncurses_termname|string|()|Returns terminals (short)-name
+ncurses_timeout|void|(int millisec)|Set timeout for special key sequences
+ncurses_typeahead|int|(int fd)|Specify different filedescriptor for typeahead checking
+ncurses_ungetch|int|(int keycode)|Put a character back into the input stream
+ncurses_ungetmouse|bool|(array mevent)|Pushes mouse event to queue
+ncurses_use_default_colors|bool|()|Assign terminal default colors to color id -1
+ncurses_use_env|void|(bool flag)|Control use of environment information about terminal size
+ncurses_use_extended_names|int|(bool flag)|Control use of extended names in terminfo descriptions
+ncurses_vidattr|int|(int intarg)|
+ncurses_vline|int|(int charattr, int n)|Draw a vertical line at current position using an attributed character and max. n characters long
+ncurses_wrefresh|int|(resource window)|Refresh window on terminal screen
+next|mixed|(array array)|Advance the internal array pointer of an array
+ngettext|string|(string msgid1, string msgid2, int n)|Plural version of gettext
+nl2br|string|(string string)|Inserts HTML line breaks before all newlines in a string
+nl_langinfo|string|(int item)|Query language and locale information
+notes_body|array|(string server, string mailbox, int msg_number)|Open the message msg_number in the specified mailbox on the specified server (leave serv
+notes_copy_db|string|(string from_database_name, string to_database_name)|Create a note using form form_name
+notes_create_db|bool|(string database_name)|Create a Lotus Notes database
+notes_create_note|string|(string database_name, string form_name)|Create a note using form form_name
+notes_drop_db|bool|(string database_name)|Drop a Lotus Notes database
+notes_find_note|bool|(string database_name, string name [, string type])|Returns a note id found in database_name. Specify the name of the note. Leaving type bla
+notes_header_info|object|(string server, string mailbox, int msg_number)|Open the message msg_number in the specified mailbox on the specified server (leave serv
+notes_list_msgs|bool|(string db)|Returns the notes from a selected database_name
+notes_mark_read|string|(string database_name, string user_name, string note_id)|Mark a note_id as read for the User user_name
+notes_mark_unread|string|(string database_name, string user_name, string note_id)|Mark a note_id as unread for the User user_name
+notes_nav_create|bool|(string database_name, string name)|Create a navigator name, in database_name
+notes_search|string|(string database_name, string keywords)|Find notes that match keywords in database_name
+notes_unread|string|(string database_name, string user_name)|Returns the unread note id's for the current User user_name
+notes_version|string|(string database_name)|Get the version Lotus Notes
+number_format|string|(float number [, int decimals [, string dec_point [, string thousands_sep]]])|Format a number with grouped thousands
+ob_clean|void|()|Clean (erase) the output buffer
+ob_end_clean|void|()|Clean (erase) the output buffer and turn off output buffering
+ob_end_flush|void|()|Flush (send) the output buffer and turn off output buffering
+ob_flush|void|()|Flush (send) the output buffer
+ob_get_contents|string|()|Return the contents of the output buffer
+ob_get_length|string|()|Return the length of the output buffer
+ob_get_level|int|()|Return the nesting level of the output buffering mechanism
+ob_gzhandler|string|(string buffer [, int mode])|ob_start callback function to gzip output buffer
+ob_iconv_handler|array|(string contents, int status)|Convert character encoding as output buffer handler
+ob_implicit_flush|void|( [int flag])|Turn implicit flush on/off
+objectbyanchor|object|(array parameter)|Returns the object an anchor belongs to
+ob_start|void|( [string output_callback])|Turn on output buffering
+OCIBindByName|int|(int stmt, string ph_name, mixed & variable, int length [, int type])|Bind a PHP variable to an Oracle Placeholder
+OCICancel|int|(int stmt)|Cancel reading from cursor
+OCICollAppend|string|(object collection, object object)|Coming soon
+OCICollAssignElem|string|(object collection, string ndx, string val)|Coming soon
+OCICollAssign|string|(object collection, object object)|Coming soon
+OCICollGetElem|string|(object collection, string ndx)|Coming soon
+OCICollMax|string|(object collection)|Coming soon
+OCICollSize|string|(object collection)|Coming soon
+OCICollTrim|string|(object collection, int num)|Coming soon
+OCIColumnIsNULL|int|(int stmt, mixed column)|Test whether a result column is &null;
+OCIColumnName|string|(int stmt, int col)|Returns the name of a column
+OCIColumnPrecision|int|(int stmt, int col)|Coming soon
+OCIColumnScale|int|(int stmt, int col)|Coming soon
+OCIColumnSize|int|(int stmt, mixed column)|Return result column size
+OCIColumnType|mixed|(int stmt, int col)|Returns the data type of a column
+OCIColumnTypeRaw|mixed|(int stmt, int col)|Coming soon
+OCICommit|int|(int connection)|Commits outstanding transactions
+OCIDefineByName|int|(int stmt, string Column-Name, mixed variable [, int type])|Use a PHP variable for the define-step during a SELECT
+OCIError|array|( [int stmt|conn|global])|Return the last error of stmt|conn|global
+OCIExecute|int|(int statement [, int mode])|Execute a statement
+OCIFetch|int|(int statement)|Fetches the next row into result-buffer
+OCIFetchInto|int|(int stmt, array & result [, int mode])|Fetches the next row into result-array
+OCIFetchStatement|int|(int stmt, array & variable)|Fetch all rows of result data into an array
+OCIFreeCollection|string|(object lob)|Coming soon
+OCIFreeCursor|int|(int stmt)|Free all resources associated with a cursor
+OCIFreeDesc|int|(object lob)|Deletes a large object descriptor
+OCIFreeStatement|int|(int stmt)|Free all resources associated with a statement
+OCIInternalDebug|void|(int onoff)|Enables or disables internal debug output
+OCILoadLob|string|(object lob)|Coming soon
+OCILogOff|int|(int connection)|Disconnects from Oracle
+OCILogon|int|(string username, string password [, string db])|Establishes a connection to Oracle
+OCINewCollection|string|(int conn, string tdo [, string shema])|Coming soon
+OCINewCursor|int|(int conn)|Return a new cursor (Statement-Handle)
+OCINewDescriptor|string|(int connection [, int type])|Initialize a new empty LOB or FILE descriptor
+OCINLogon|int|(string username, string password [, string db])|Establishes a new connection to Oracle
+OCINumCols|int|(int stmt)|Return the number of result columns in a statement
+OCIParse|int|(int conn, string query)|Parse a query and return a statement
+OCIPLogon|int|(string username, string password [, string db])|Connect to an Oracle database using a persistent connection
+OCIResult|mixed|(int statement, mixed column)|Returns column value for fetched row
+OCIRollback|int|(int connection)|Rolls back outstanding transactions
+OCIRowCount|int|(int statement)|Gets the number of affected rows
+OCISaveLobFile|string|(object lob)|Coming soon
+OCISaveLob|string|(object lob)|Coming soon
+OCIServerVersion|string|(int conn)|Return a string containing server version information
+OCISetPrefetch|int|(int stmt, int rows)|Sets number of rows to be prefetched
+OCIStatementType|string|(int stmt)|Return the type of an OCI statement
+OCIWriteLobToFile|void|(object lob [, string filename [, int start [, int lenght]]])|Coming soon
+octdec|int|(string octal_string)|Octal to decimal
+odbc_autocommit|bool|(resource connection_id [, bool OnOff])|Toggle autocommit behaviour
+odbc_binmode|int|(resource result_id, int mode)|Handling of binary column data
+odbc_close_all|void|()|Close all ODBC connections
+odbc_close|void|(resource connection_id)|Close an ODBC connection
+odbc_columnprivileges|int|(resource connection_id [, string qualifier [, string owner [, string table_name [, string column_name]]]])|Returns a result identifier that can be used to fetch a list of columns and associated privileges
+odbc_columns|int|(resource connection_id [, string qualifier [, string owner [, string table_name [, string column_name]]]])|Lists the column names in specified tables. Returns a result identifier containing the information.
+odbc_commit|bool|(resource connection_id)|Commit an ODBC transaction
+odbc_connect|resource|(string dsn, string user, string password [, int cursor_type])|Connect to a datasource
+odbc_cursor|string|(resource result_id)|Get cursorname
+odbc_do|resource|(resource conn_id, string query)|Synonym for odbc_exec
+odbc_errormsg|string|( [resource connection_id])|Get the last error message
+odbc_error|string|( [resource connection_id])|Get the last error code
+odbc_exec|resource|(resource connection_id, string query_string)|Prepare and execute a SQL statement
+odbc_execute|resource|(resource result_id [, array parameters_array])|Execute a prepared statement
+odbc_fetch_array|array|(resource result [, int rownumber])|Fetch a result row as an associative array
+odbc_fetch_into|bool|(resource result_id [, int rownumber, array result_array])|Fetch one result row into array
+odbc_fetch_object|object|(resource result [, int rownumber])|Fetch a result row as an object
+odbc_fetch_row|bool|(resource result_id [, int row_number])|Fetch a row
+odbc_field_len|int|(resource result_id, int field_number)|Get the length (precision) of a field
+odbc_field_name|string|(resource result_id, int field_number)|Get the columnname
+odbc_field_num|int|(resource result_id, string field_name)|Return column number
+odbc_field_precision|string|(resource result_id, int field_number)|Synonym for odbc_field_len
+odbc_field_scale|string|(resource result_id, int field_number)|Get the scale of a field
+odbc_field_type|string|(resource result_id, int field_number)|Datatype of a field
+odbc_foreignkeys|resource|(resource connection_id, string pk_qualifier, string pk_owner, string pk_table, string fk_qualifier, string fk_owner, string fk_table)|Returns a list of foreign keys in the specified table or a list of foreign keys in other tables that refer to the primary key in the specified table
+odbc_free_result|bool|(resource result_id)|Free resources associated with a result
+odbc_gettypeinfo|int|(resource connection_id [, int data_type])|Returns a result identifier containing information about data types supported by the data source.
+odbc_longreadlen|int|(resource result_id, int length)|Handling of LONG columns
+odbc_next_result|bool|(resource result_id)|Checks if multiple results are avaiable
+odbc_num_fields|int|(resource result_id)|Number of columns in a result
+odbc_num_rows|int|(resource result_id)|Number of rows in a result
+odbc_pconnect|int|(string dsn, string user, string password [, int cursor_type])|Open a persistent database connection
+odbc_prepare|resource|(resource connection_id, string query_string)|Prepares a statement for execution
+odbc_primarykeys|resource|(resource connection_id, string qualifier, string owner, string table)|Returns a result identifier that can be used to fetch the column names that comprise the primary key for a table
+odbc_procedurecolumns|resource|(resource connection_id [, string qualifier [, string owner [, string proc [, string column]]]])|Retrieve information about parameters to procedures
+odbc_procedures|resource|(resource connection_id [, string qualifier [, string owner [, string name]]])|Get the list of procedures stored in a specific data source. Returns a result identifier containing the information.
+odbc_result_all|int|(resource result_id [, string format])|Print result as HTML table
+odbc_result|string|(resource result_id, mixed field)|Get result data
+odbc_rollback|int|(resource connection_id)|Rollback a transaction
+odbc_setoption|int|(resource id, int function, int option, int param)|Adjust ODBC settings. Returns &false; if an error occurs, otherwise &true;.
+odbc_specialcolumns|resource|(resource connection_id, int type, string qualifier, string owner, string table, int scope, int nullable)|Returns either the optimal set of columns that uniquely identifies a row in the table or columns that are automatically updated when any value in the row is updated by a transaction
+odbc_statistics|resource|(resource connection_id, string qualifier, string owner, string table_name, int unique, int accuracy)|Retrieve statistics about a table
+odbc_tableprivileges|int|(resource connection_id [, string qualifier [, string owner [, string name]]])|Lists tables and the privileges associated with each table
+odbc_tables|int|(resource connection_id [, string qualifier [, string owner [, string name [, string types]]]])|Get the list of table names stored in a specific data source. Returns a result identifier containing the information.
+opendir|resource|(string path)|open directory handle
+openlog|int|(string ident, int option, int facility)|Open connection to system logger
+openssl_csr_export|bool|(resource csr, string out [, bool notext])|Exports a CSR to file or a var
+openssl_csr_export_to_file|bool|(resource csr, string outfilename [, bool notext])|Exports a CSR to file or a var
+openssl_csr_new|bool|(array dn, resource privkey [, array extraattribs [, array configargs]])|Generates a privkey and CSR
+openssl_csr_sign|resource|(mixed csr, mixed x509, mixed priv_key, long days)|Signs a cert with another CERT
+openssl_error_string|mixed|()|Return openSSL error message
+openssl_free_key|void|(resource key_identifier)|Free key resource
+openssl_get_privatekey|resource|(mixed key [, string passphrase])|Prepare a PEM formatted private key for use
+openssl_get_publickey|resource|(mixed certificate)|Extract public key from certificate and prepare it for use
+openssl_open|bool|(string sealed_data, string open_data, string env_key, mixed priv_key_id)|Open sealed data
+openssl_pkcs7_decrypt|bool|(string infilename, string outfilename, mixed recipcert, mixed recipkey)|Decrypts an S/MIME encrypted message
+openssl_pkcs7_encrypt|bool|(string infilename, string outfilename, mixed recipcerts, array headers [, long flags])|Encrypt an S/MIME message
+openssl_pkcs7_sign|bool|(string infilename, string outfilename, mixed signcert, mixed privkey, array headers [, long flags [, string extracertsfilename]])|sign an S/MIME message
+openssl_pkcs7_verify|bool|(string filename, int flags [, string outfilename [, array cainfo [, string extracerts]]])|Verifies the signature of an S/MIME signed message
+openssl_pkey_export|bool|(mixed key, mixed out [, string passphrase [, array config_args]])|Gets an exportable representation of a key into a string or file
+openssl_pkey_export_to_file|bool|(mixed key, string outfilename [, string passphrase [, array config_args]])|Gets an exportable representation of a key into a file
+openssl_pkey_new|resource|( [array configargs])|Generates a new private key
+openssl_private_decrypt|bool|(string data, string crypted, mixed key [, int padding])|Decrypts data with private key
+openssl_private_encrypt|bool|(string data, string crypted, mixed key [, int padding])|Encrypts data with private key
+openssl_public_decrypt|bool|(string data, string crypted, resource key [, int padding])|Decrypts data with public key
+openssl_public_encrypt|bool|(string data, string crypted, mixed key [, int padding])|Encrypts data with public key
+openssl_seal|int|(string data, string sealed_data, array env_keys, array pub_key_ids)|Seal (encrypt) data
+openssl_sign|bool|(string data, string signature, mixed priv_key_id)|Generate signature
+openssl_verify|int|(string data, string signature, mixed pub_key_id)|Verify signature
+openssl_x509_check_private_key|bool|(mixed cert, mixed key)|Checks if a private key corresponds to a CERT
+openssl_x509_checkpurpose|bool|(mixed x509cert, int purpose, array cainfo [, string untrustedfile])|Verifies if a certificate can be used for a particular purpose
+openssl_x509_export|bool|(mixed x509, string outfilename [, bool notext])|Exports a CERT to file or a var
+openssl_x509_export_to_file|bool|(mixed x509, string outfilename [, bool notext])|Exports a CERT to file or a var
+openssl_x509_free|void|(resource x509cert)|Free certificate resource
+openssl_x509_parse|array|(mixed x509cert [, bool shortnames])|Parse an X509 certificate and return the information as an array
+openssl_x509_read|resource|(mixed x509certdata)|Parse an X.509 certificate and return a resource identifier for it
+ora_bind|int|(int cursor, string PHP variable name, string SQL parameter name, int length [, int type])|bind a PHP variable to an Oracle parameter
+ora_close|int|(int cursor)|close an Oracle cursor
+Ora_ColumnName|string|(int cursor, int column)|get name of Oracle result column
+Ora_ColumnSize|int|(int cursor, int column)|get size of Oracle result column
+Ora_ColumnType|string|(int cursor, int column)|get type of Oracle result column
+ora_commit|int|(int conn)|commit an Oracle transaction
+ora_commitoff|int|(int conn)|disable automatic commit
+ora_commiton|int|(int conn)|enable automatic commit
+ora_do|int|(int conn, string query)|Parse, Exec, Fetch
+Ora_ErrorCode|int|(int cursor_or_connection)|get Oracle error code
+Ora_Error|string|(int cursor_or_connection)|get Oracle error message
+ora_exec|int|(int cursor)|execute parsed statement on an Oracle cursor
+ora_fetch|int|(int cursor)|fetch a row of data from a cursor
+ora_fetch_into|int|(int cursor, array result [, int flags])|Fetch a row into the specified result array
+ora_getcolumn|mixed|(int cursor, mixed column)|get data from a fetched column
+ora_logoff|int|(int connection)|close an Oracle connection
+ora_logon|int|(string user, string password)|open an Oracle connection
+ora_numcols|int|(int cursor_ind)|Returns the number of columns
+ora_numrows|int|(int cursor_ind)|Returns the number of rows
+ora_open|int|(int connection)|open an Oracle cursor
+ora_parse|int|(int cursor_ind, string sql_statement, int defer)|parse an SQL statement
+ora_plogon|int|(string user, string password)|Open a persistent Oracle connection
+ora_rollback|int|(int connection)|roll back transaction
+ord|int|(string string)|Return ASCII value of character
+overload|void|( [string class_name])|Enable property and method call overloading for a class
+ovrimos_close|void|(int connection)|Closes the connection to ovrimos
+ovrimos_commit|int|(int connection_id)|Commits the transaction
+ovrimos_connect|int|(string host, string db, string user, string password)|Connect to the specified database
+ovrimos_cursor|int|(int result_id)|Returns the name of the cursor
+ovrimos_exec|int|(int connection_id, string query)|Executes an SQL statement
+ovrimos_execute|bool|(int result_id [, array parameters_array])|Executes a prepared SQL statement
+ovrimos_fetch_into|bool|(int result_id, array result_array [, string how [, int rownumber]])|Fetches a row from the result set
+ovrimos_fetch_row|bool|(int result_id [, int how [, int row_number]])|Fetches a row from the result set
+ovrimos_field_len|int|(int result_id, int field_number)|Returns the length of the output column
+ovrimos_field_name|int|(int result_id, int field_number)|Returns the output column name
+ovrimos_field_num|int|(int result_id, string field_name)|Returns the (1-based) index of the output column
+ovrimos_field_type|int|(int result_id, int field_number)|Returns the (numeric) type of the output column
+ovrimos_free_result|bool|(int result_id)|Frees the specified result_id
+ovrimos_longreadlen|int|(int result_id, int length)|Specifies how many bytes are to be retrieved from long datatypes
+ovrimos_num_fields|int|(int result_id)|Returns the number of columns
+ovrimos_num_rows|int|(int result_id)|Returns the number of rows affected by update operations
+ovrimos_prepare|int|(int connection_id, string query)|Prepares an SQL statement
+ovrimos_result_all|bool|(int result_id [, string format])|Prints the whole result set as an HTML table
+ovrimos_result|int|(int result_id, mixed field)|Retrieves the output column
+ovrimos_rollback|int|(int connection_id)|Rolls back the transaction
+pack|string|(string format [, mixed args])|Pack data into binary string.
+parents|array|(array parameter)|Returns parents of an object
+parse_ini_file|array|(string filename [, bool process_sections])|Parse a configuration file
+parse_str|void|(string str [, array arr])|Parses the string into variables
+parse_url|array|(string url)|Parse a URL and return its components
+passthru|void|(string command [, int return_var])|Execute an external program and display raw output
+pathinfo|array|(string path)|Returns information about a file path
+pclose|int|(int fp)|Closes process file pointer
+pcntl_exec|bool|(string path [, array args [, array envs]])|Executes specified program in current process space
+pcntl_fork|int|()|Forks the currently running process
+pcntl_signal|bool|(int signo, mixed handle)|Installs a signal handler
+pcntl_waitpid|int|(int pid, int status, int options)|Waits on or returns the status of a forked child
+pcntl_wexitstatus|int|(int status)|Returns the return code of a terminated child
+pcntl_wifexited|int|(int status)|Returns &true; if status code represents a successful exit
+pcntl_wifsignaled|int|(int status)|Returns &true; if status code represents a termination due to a signal
+pcntl_wifstopped|int|(int status)|Returns &true; if child process is currently stopped
+pcntl_wstopsig|int|(int status)|Returns the signal which caused the child to stop
+pcntl_wtermsig|int|(int status)|Returns the signal which caused the child to terminate
+pdf_add_bookmark|int|(int pdf object, string text [, int parent [, int open]])|Deprecated: Adds annotation
+pdf_add_launchlink|int|(int pdf object, float llx, float lly, float urx, float ury, string filename)|Add a launch annotation for current page
+pdf_add_locallink|int|(int pdf object, float llx, float lly, float urx, float ury, int page, string dest)|Add a link annotation for current page
+pdf_add_note|int|(int pdf object, float llx, float lly, float urx, float ury, string contents, string title, string icon, int open)|Add a note annotation for current page
+pdf_add_pdflink|int|(int pdf object, float llx, float lly, float urx, float ury, string filename, int page, string dest)|Deprecated: Adds bookmark for current page
+pdf_add_thumbnail|int|(int pdf object, int image)|Adds thumbnail for current page
+pdf_add_weblink|int|(int pdf object, float llx, float lly, float urx, float ury, string url)|Adds weblink for current page
+pdf_arc|void|(resource pdf object, float x, float y, float r, float alpha, float beta)|Draws an arc (clockwise)
+pdf_arc|void|(resource pdf object, float x, float y, float r, float alpha, float beta)|Draws an arc (counterclockwise)
+pdf_attach_file|int|(int pdf object, float llx, float lly, float urx, float ury, string filename, string description, string author, string mimetype, string icon)|Adds a file attachement for current page
+pdf_begin_page|void|(int pdf object, float width, float height)|Starts new page
+pdf_begin_pattern|int|(int pdf object, float width, float height, float xstep, float ystep, int painttype)|Starts new pattern
+pdf_begin_template|void|(int pdf object, float width, float height)|Starts new template
+pdf_circle|void|(int pdf object, float x, float y, float r)|Draws a circle
+pdf_clip|void|(int pdf object)|Clips to current path
+pdf_close_image|void|(int pdf object, int image)|Closes an image
+pdf_closepath_fill_stroke|void|(int pdf object)|Closes, fills and strokes current path
+pdf_closepath_stroke|void|(int pdf object)|Closes path and draws line along path
+pdf_closepath|void|(int pdf object)|Closes path
+pdf_close_pdi_page|void|(int pdf object, int pagehandle)|Close the page handle
+pdf_close_pdi|void|(int pdf object, int dochandle)|Close the input PDF document
+pdf_close|void|(int pdf object)|Closes a pdf object
+pdf_concat|void|(int pdf object, float a, float b, float c, float d, float e, float f)|Concatenate a matrix to the CTM
+pdf_continue_text|void|(int pdf object, string text)|Outputs text in next line
+pdf_curveto|void|(int pdf object, float x1, float y1, float x2, float y2, float x3, float y3)|Draws a curve
+pdf_delete|void|(int pdf object)|Deletes a PDF object
+pdf_end_page|void|(int pdf object)|Ends a page
+pdf_end_pattern|void|(int pdf object)|Deprecated: Ends current path
+pdf_end_template|void|(int pdf object)|Finish template
+pdf_fill_stroke|void|(int pdf object)|Fills and strokes current path
+pdf_fill_stroke|void|(int pdf object)|Fills current path
+pdf_findfont|int|(int pdf object, string fontname, string encoding, int embed)|Prepare font for later use with pdf_setfont.
+pdf_get_buffer|string|(int pdf object)|Fetch the buffer containig the generated PDF data.
+pdf_get_image_height|string|(int pdf object, int image)|Deprecated: font handling
+pdf_get_image_width|string|(int pdf object, int image)|Returns width of an image
+pdf_get_majorversion|int|()|Returns the major version number of the PDFlib
+pdf_get_majorversion|int|()|Returns the minor version number of the PDFlib
+pdf_get_parameter|string|(int pdf object, string key [, float modifier])|Gets certain parameters
+pdf_get_pdi_parameter|string|(int pdf object, string key, int doc, int page, int index)|Get some PDI string parameters
+pdf_get_pdi_value|string|(int pdf object, string key, int doc, int page, int index)|Gets some PDI numerical parameters
+pdf_get_value|float|(int pdf object, string key [, float modifier])|Gets certain numerical value
+pdf_initgraphics|void|(int pdf object)|Resets graphic state
+pdf_lineto|void|(int pdf object, float x, float y)|Draws a line
+pdf_makespotcolor|void|(int pdf object, string spotname)|Makes a spotcolor
+pdf_moveto|void|(int pdf object, float x, float y)|Sets current point
+pdf_new|int|()|Creates a new pdf object
+pdf_open_CCITT|int|(int pdf object, string filename, int width, int height, int BitReverse, int k, int Blackls1)|Deprecated: Open a new pdf object
+pdf_open_file|int|(int pdf object [, string filename])|Opens a new pdf object
+pdf_open_image_file|int|(int PDF-document, string imagetype, string filename [, string stringparam [, string intparam]])|Reads an image from a file
+pdf_open_image|int|(int PDF-document, string imagetype, string source, string data, long length, int width, int height, int components, int bpc, string params)|Deprecated: Opens a GIF image
+pdf_open_memory_image|int|(int pdf object, int image)|Deprecated: Opens a JPEG image
+pdf_open_pdi|int|(int pdf object, string filename, string stringparam, int intparam)|Opens a PDF file
+pdf_open_pdi_page|int|(int pdf object, int dochandle, int pagenumber, string pagelabel)|Prepare a page
+pdf_open_tiff|int|(int PDF-document, string filename)|Deprecated: Opens a PNG image
+pdf_place_image|void|(int pdf object, int image, float x, float y, float scale)|Places an image on the page
+pdf_place_pdi_page|void|(int pdf object, int page, float x, float y, float sx, float sy)|Places an image on the page
+pdf_rect|void|(int pdf object, float x, float y, float width, float height)|Draws a rectangle
+pdf_restore|void|(int pdf object)|Restores formerly saved environment
+pdf_rotate|void|(int pdf object, float phi)|Sets rotation
+pdf_save|void|(int pdf object)|Saves the current environment
+pdf_scale|void|(int pdf object, float x-scale, float y-scale)|Sets scaling
+pdf_set_border_color|void|(int pdf object, float red, float green, float blue)|Sets color of border around links and annotations
+pdf_set_border_dash|void|(int pdf object, float black, float white)|Sets dash style of border around links and annotations
+pdf_set_border_style|void|(int pdf object, string style, float width)|Sets style of border around links and annotations
+pdf_setcolor|void|(int pdf object, string type, string colorspace, float c1 [, float c2 [, float c3 [, float c4]]])|Sets fill and stroke color
+pdf_setdash|void|(int pdf object, float b, float w)|Sets dash pattern
+pdf_setflat|void|(int pdf object, float flatness)|Sets flatness
+pdf_setfont|void|(int pdf object, int font, float size)|Set the current font
+pdf_setgray_fill|void|(int pdf object, float gray)|Sets filling color to gray value
+pdf_setgray_stroke|void|(int pdf object, float gray)|Sets drawing color to gray value
+pdf_setgray|void|(int pdf object, float gray)|Sets drawing and filling color to gray value
+pdf_set_horiz_scaling|void|(int pdf object, float scale)|Deprecated: Sets character spacing
+pdf_set_info_author|bool|(int pdfdoc, string author)|Fills the author field of the document
+pdf_set_info_creator|bool|(int pdfdoc, string creator)|Fills the creator field of the document
+pdf_set_info_keywords|bool|(int pdfdoc, string keywords)|Fills the keywords field of the document
+pdf_set_info_subject|bool|(int pdfdoc, string subject)|Fills the subject field of the document
+pdf_set_info_title|bool|(int pdfdoc, string title)|Fills the title field of the document
+pdf_set_info|void|(int pdf object, string key, string value)|Fills a field of the document information
+pdf_setlinecap|void|(int pdf object, int linecap)|Sets linecap parameter
+pdf_setlinejoin|void|(int pdf object, long linejoin)|Sets linejoin parameter
+pdf_setlinewidth|void|(int pdf object, float width)|Sets line width
+pdf_setmatrix|void|(int pdf object, float a, float b, float c, float d, float e, float f)|Sets current transformation matrix
+pdf_setmiterlimit|void|(int pdf object, float miter)|Sets miter limit
+pdf_set_parameter|void|(int pdf object, string key, string value)|Deprecated: Sets distance between text lines
+pdf_setpolydash|void|(int pdf object, float * dasharray)|Sets complicated dash pattern
+pdf_setrgbcolor_fill|void|(int pdf object, float red value, float green value, float blue value)|Sets filling color to rgb color value
+pdf_setrgbcolor_stroke|void|(int pdf object, float red value, float green value, float blue value)|Sets drawing color to rgb color value
+pdf_setrgbcolor|void|(int pdf object, float red value, float green value, float blue value)|Sets drawing and filling color to rgb color value
+pdf_set_text_pos|void|(int pdf object, float x, float y)|Sets text position
+pdf_set_value|void|(int pdf object, string key, float value)|Deprecated: Determines how text is rendered
+pdf_show_boxed|int|(int pdf object, string text, float left, float top, float width, float height, string hmode [, string feature])|Output text in a box
+pdf_show|void|(int pdf object, string text)|Depriciated: Sets spacing between words
+pdf_show_xy|void|(int pdf object, string text, float x, float y)|Output text at given position
+pdf_skew|void|(int pdf object, float alpha, float beta)|Skews the coordinate system
+pdf_stringwidth|float|(int pdf object, string text [, int font [, float size]])|Returns width of text using current font
+pdf_stroke|void|(int pdf object)|Draws line along path
+pdf_translate|void|(int pdf object, float tx, float ty)|Sets origin of coordinate system
+pfpro_cleanup|void|()|Shuts down the Payflow Pro library
+pfpro_init|void|()|Initialises the Payflow Pro library
+pfpro_process|array|(array parameters [, string address [, int port [, int timeout [, string proxy address [, int proxy port [, string proxy logon [, string proxy password]]]]]]])|Process a transaction with Payflow Pro
+pfpro_process_raw|string|(string parameters [, string address [, int port [, int timeout [, string proxy address [, int proxy port [, string proxy logon [, string proxy password]]]]]]])|Process a raw transaction with Payflow Pro
+pfpro_version|string|()|Returns the version of the Payflow Pro software
+pfsockopen|int|(string hostname, int port [, int errno [, string errstr [, int timeout]]])|Open persistent Internet or Unix domain socket connection
+pg_affected_rows|int|(resource result)|Returns number of affected records(tuples)
+pg_cancel_query|bool|(resource connection)|Cancel async query
+pg_client_encoding|string|( [resource connection])|Get the client encoding
+pg_close|bool|(resource connection)|Close a PostgreSQL connection
+pg_connection_busy|bool|(resource connection)|Get connection is busy or not
+pg_connection_reset|bool|(resource connection)|Reset connection (reconnect)
+pg_connection_status|int|(resource connection)|Get connection status
+pg_connect|resource|(string connection_string)|Open a PostgreSQL connection
+pg_convert|array|(resource connection, string table_name, array assoc_array)|Convert associative array value into suitable for SQL statement.
+pg_copy_from|int|(int connection, string table_name, array rows [, string delimiter [, string null_as]])|Copy a table from an array
+pg_copy_to|int|(int connection, string table_name [, string delimiter [, string null_as]])|Copy a table to an array
+pg_dbname|string|(resource connection)|Get the database name
+pg_delete|long|(resource connection, string table_name, array assoc_array [, bool convert])|Delete records.
+pg_end_copy|bool|( [resource connection])|Sync with PostgreSQL backend
+pg_escape_bytea|string|(string data)|Escape binary for bytea type
+pg_escape_string|string|(string data)|Escape string for text/char type
+pg_fetch_array|array|(resource result, int row [, int result_type])|Fetch a row as an array
+pg_fetch_object|object|(resource result, int row [, int result_type])|Fetch a row as an object
+pg_fetch_result|mixed|(resource result, int row_number, mixed field)|Returns values from a result resource
+pg_fetch_row|array|(resource result, int row)|Get a row as an enumerated array
+pg_field_is_null|int|(resource result, int row, mixed field)|Test if a field is &null;
+pg_field_name|string|(resource result, int field_number)|Returns the name of a field
+pg_field_num|int|(resource result, string field_name)|Returns the field number of the named field
+pg_field_prtlen|int|(resource result, int row_number, string field_name)|Returns the printed length
+pg_field_size|int|(resource result, int field_number)|Returns the internal storage size of the named field
+pg_field_type|string|(resource result, int field_number)|Returns the type name for the corresponding field number
+pg_free_result|bool|(resource result)|Free result memory
+pg_get_result|resource|( [resource connection])|Get asynchronous query result
+pg_host|string|(resource connection)|Returns the host name associated with the connection
+pg_insert|bool|(resource connection, string table_name, array assoc_array [, bool convert])|Insert array into table.
+pg_last_error|string|(resource connection)|Get the last error message string of a connection
+pg_last_notice|string|(resource connection)|Returns the last notice message from PostgreSQL server
+pg_last_oid|int|(resource result)|Returns the last object's oid
+pg_lo_close|bool|(resource large_object)|Close a large object
+pg_lo_create|int|(resource connection)|Create a large object
+pg_lo_export|bool|(int oid, string pathname [, resource connection])|Export a large object to file
+pg_lo_import|int|(string pathname [, resource connection])|Import a large object from file
+pg_lo_open|resource|(resource connection, int oid, string mode)|Open a large object
+pg_lo_read_all|int|(resource large_object)|Read a entire large object and send straight to browser
+pg_lo_read|string|(resource large_object, int len)|Read a large object
+pg_lo_seek|bool|(resource large_object, int offset [, int whence])|Seeks position of large object
+pg_lo_tell|int|(resource large_object)|Returns current position of large object
+pg_lo_unlink|bool|(resource connection, int oid)|Delete a large object
+pg_lo_write|int|(resource large_object, string data)|Write a large object
+pg_metadata|array|(resource connection, string table_name)|Get metadata for table.
+pg_num_fields|int|(resource result)|Returns the number of fields
+pg_num_rows|int|(resource result)|Returns the number of rows
+pg_options|string|(resource connection)|Get the options associated with the connection
+pg_pconnect|int|(string connection_string)|Open a persistent PostgreSQL connection
+pg_port|int|(resource connection)|Return the port number associated with the connection
+pg_put_line|bool|( [resource connection, string data])|Send a NULL-terminated string to PostgreSQL backend
+pg_query|resource|(resource connection, string query)|Execute a query
+pg_result_error|string|(resource result)|Get error message associated with result
+pg_result_status|int|(resource result)|Get status of query result
+pg_select|array|(resource connection, string table_name, array assoc_array [, bool convert])|Select records.
+pg_send_query|bool|(resource connection, string query)|Send asynchronous query
+pg_set_client_encoding|int|( [resource connection, string encoding])|Set the client encoding
+pg_trace|bool|(string pathname [, string mode [, resource connection]])|Enable tracing a PostgreSQL connection
+pg_tty|string|(resource connection)|Return the tty name associated with the connection
+pg_untrace|bool|( [resource connection])|Disable tracing of a PostgreSQL connection
+pg_update|long|(resource connection, string table_name, array condition, array data [, bool convert])|Update table.
+phpcredits|void|( [int flag])|Prints out the credits for PHP
+phpinfo|int|( [int what])|Outputs lots of PHP information
+php_logo_guid|string|()|Gets the logo guid
+php_sapi_name|string|()|Returns the type of interface between web server and PHP
+php_uname|string|()|Returns information about the operating system PHP was built on
+phpversion|string|()|Gets the current PHP version
+pi|float|()|Get value of pi
+png2wbmp|int|(string pngname, string wbmpname, int d_height, int d_width, int threshold)|Convert PNG image file to WBMP image file
+popen|int|(string command, string mode)|Opens process file pointer
+posix_ctermid|string|()|Get path name of controlling terminal
+posix_getcwd|string|()|Pathname of current directory
+posix_getegid|int|()|Return the effective group ID of the current process
+posix_geteuid|int|()|Return the effective user ID of the current process
+posix_getgid|int|()|Return the real group ID of the current process
+posix_getgrgid|array|(int gid)|Return info about a group by group id
+posix_getgrnam|array|(string name)|Return info about a group by name
+posix_getgroups|array|()|Return the group set of the current process
+posix_getlogin|string|()|Return login name
+posix_getpgid|int|(int pid)|Get process group id for job control
+posix_getpgrp|int|()|Return the current process group identifier
+posix_getpid|int|()|Return the current process identifier
+posix_getppid|int|()|Return the parent process identifier
+posix_getpwnam|array|(string username)|Return info about a user by username
+posix_getpwuid|array|(int uid)|Return info about a user by user id
+posix_getrlimit|array|()|Return info about system ressource limits
+posix_getsid|int|(int pid)|Get the current sid of the process
+posix_getuid|int|()|Return the real user ID of the current process
+posix_isatty|bool|(int fd)|Determine if a file descriptor is an interactive terminal
+posix_kill|bool|(int pid, int sig)|Send a signal to a process
+posix_mkfifo|bool|(string pathname, int mode)|Create a fifo special file (a named pipe)
+posix_setegid|bool|(int gid)|Set the effective GID of the current process
+posix_seteuid|bool|(int uid)|Set the effective UID of the current process
+posix_setgid|bool|(int gid)|Set the GID of the current process
+posix_setpgid|int|(int pid, int pgid)|set process group id for job control
+posix_setsid|int|()|Make the current process a session leader
+posix_setuid|bool|(int uid)|Set the UID of the current process
+posix_times|array|()|Get process times
+posix_ttyname|string|(int fd)|Determine terminal device name
+posix_uname|array|()|Get system name
+pos|mixed|(array array)|Get the current element from an array
+pow|number|(number base, number exp)|Exponential expression
+preg_grep|array|(string pattern, array input)|Return array entries that match the pattern
+preg_match_all|int|(string pattern, string subject, array matches [, int order])|Perform a global regular expression match
+preg_match|int|(string pattern, string subject [, array matches])|Perform a regular expression match
+preg_quote|string|(string str [, string delimiter])|Quote regular expression characters
+preg_replace_callback|mixed|(mixed pattern, mixed callback, mixed subject [, int limit])|Perform a regular expression search and replace using a callback
+preg_replace|mixed|(mixed pattern, mixed replacement, mixed subject [, int limit])|Perform a regular expression search and replace
+preg_split|array|(string pattern, string subject [, int limit [, int flags]])|Split string by a regular expression
+prev|mixed|(array array)|Rewind the internal array pointer
+printer_abort|void|(resource handle)|Deletes the printer's spool file
+printer_close|void|(resource handle)|Close an open printer connection
+printer_create_brush|mixed|(int style, string color)|Create a new brush
+printer_create_dc|void|(resource handle)|Create a new device context
+printer_create_font|mixed|(string face, int height, int width, int font_weight, bool italic, bool underline, bool strikeout, int orientaton)|Create a new font
+printer_create_pen|mixed|(int style, int width, string color)|Create a new pen
+printer_delete_brush|bool|(resource handle)|Delete a brush
+printer_delete_dc|bool|(resource handle)|Delete a device context
+printer_delete_font|bool|(resource handle)|Delete a font
+printer_delete_pen|bool|(resource handle)|Delete a pen
+printer_draw_bmp|void|(resource handle, string filename, int x, int y)|Draw a bmp
+printer_draw_chord|void|(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)|Draw a chord
+printer_draw_elipse|void|(resource handle, int ul_x, int ul_y, int lr_x, int lr_y)|Draw an ellipse
+printer_draw_line|void|(resource printer_handle, int from_x, int from_y, int to_x, int to_y)|Draw a line
+printer_draw_pie|void|(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)|Draw a pie
+printer_draw_rectangle|void|(resource handle, int ul_x, int ul_y, int lr_x, int lr_y)|Draw a rectangle
+printer_draw_roundrect|void|(resource handle, int ul_x, int ul_y, int lr_x, int lr_y, int width, int height)|Draw a rectangle with rounded corners
+printer_draw_text|void|(resource printer_handle, string text, int x, int y)|Draw text
+printer_end_doc|bool|(resource handle)|Close document
+printer_end_page|bool|(resource handle)|Close active page
+printer_get_option|mixed|(resource handle, string option)|Retrieve printer configuration data
+printer_list|array|(int enumtype [, string name [, int level]])|Return an array of printers attached to the server
+printer_logical_fontheight|int|(resource handle, int height)|Get logical font height
+printer_open|mixed|( [string devicename])|Open connection to a printer
+printer_select_brush|void|(resource printer_handle, resource brush_handle)|Select a brush
+printer_select_font|void|(resource printer_handle, resource font_handle)|Select a font
+printer_select_pen|void|(resource printer_handle, resource pen_handle)|Select a pen
+printer_set_option|bool|(resource handle, int option, mixed value)|Configure the printer connection
+printer_start_doc|bool|(resource handle [, string document])|Start a new document
+printer_start_page|bool|(resource handle)|Start a new page
+printer_write|bool|(resource handle, string content)|Write data to the printer
+printf|void|(string format [, mixed args])|Output a string
+print_r|void|(mixed expression)|Prints human-readable information about a variable
+proc_close|int|(resource process)|Close a process opened by proc_open and return the exit code of that process.
+proc_open|resource|(string cmd, array descriptorspec, array pipes)|Execute a command and open file pointers for input/output
+pspell_add_to_personal|int|(int dictionary_link, string word)|Add the word to a personal wordlist
+pspell_add_to_session|int|(int dictionary_link, string word)|Add the word to the wordlist in the current session
+pspell_check|bool|(int dictionary_link, string word)|Check a word
+pspell_clear_session|int|(int dictionary_link)|Clear the current session
+pspell_config_create|int|(string language [, string spelling [, string jargon [, string encoding]]])|Create a config used to open a dictionary
+pspell_config_ignore|int|(int dictionary_link, int n)|Ignore words less than N characters long
+pspell_config_mode|int|(int dictionary_link, int mode)|Change the mode number of suggestions returned
+pspell_config_personal|int|(int dictionary_link, string file)|Set a file that contains personal wordlist
+pspell_config_repl|int|(int dictionary_link, string file)|Set a file that contains replacement pairs
+pspell_config_runtogether|int|(int dictionary_link, bool flag)|Consider run-together words as valid compounds
+pspell_config_save_repl|int|(int dictionary_link, bool flag)|Determine whether to save a replacement pairs list along with the wordlist
+pspell_new_config|int|(int config)|Load a new dictionary with settings based on a given config
+pspell_new|int|(string language [, string spelling [, string jargon [, string encoding [, int mode]]]])|Load a new dictionary
+pspell_new_personal|int|(string personal, string language [, string spelling [, string jargon [, string encoding [, int mode]]]])|Load a new dictionary with personal wordlist
+pspell_save_wordlist|int|(int dictionary_link)|Save the personal wordlist to a file
+pspell_store_replacement|int|(int dictionary_link, string misspelled, string correct)|Store a replacement pair for a word
+pspell_suggest|array|(int dictionary_link, string word)|Suggest spellings of a word
+putenv|void|(string setting)|Sets the value of an environment variable
+qdom_error|string|()|Returns the error string from the last QDOM operation or FALSE if no errors occured
+qdom_tree|object|()|creates a tree of an xml string
+quoted_printable_decode|string|(string str)|Convert a quoted-printable string to an 8 bit string
+quotemeta|string|(string str)|Quote meta characters
+rad2deg|float|(float number)|Converts the radian number to the equivalent number in degrees
+rand|int|( [int min, int max])|Generate a random value
+range|array|(mixed low, mixed high)|Create an array containing a range of elements
+rawurldecode|string|(string str)|Decode URL-encoded strings
+rawurlencode|string|(string str)|URL-encode according to RFC1738
+readdir|string|(resource dir_handle)|read entry from directory handle
+readfile|int|(string filename [, int use_include_path])|Outputs a file
+readgzfile|int|(string filename [, int use_include_path])|Output a gz-file
+readline_add_history|void|(string line)|Adds a line to the history
+readline_clear_history|bool|()|Clears the history
+readline_completion_function|bool|(string line)|Registers a completion function
+readline_info|mixed|( [string varname [, string newvalue]])|Gets/sets various internal readline variables
+readline_list_history|array|()|Lists the history
+readline_read_history|bool|(string filename)|Reads the history
+readline|string|( [string prompt])|Reads a line
+readline_write_history|bool|(string filename)|Writes the history
+readlink|string|(string path)|Returns the target of a symbolic link
+read|string|()|directory class
+read|string|(string buffer, integer len)|Read content
+realpath|string|(string path)|Returns canonicalized absolute pathname
+reason|object|(void)|Returns reason of error
+recode_file|bool|(string request, resource input, resource output)|Recode from file to file according to recode request
+recode|string|(string request, string string)|Recode a string according to a recode request
+recode_string|string|(string request, string string)|Recode a string according to a recode request
+register_shutdown_function|int|(string func)|Register a function for execution on shutdown
+register_tick_function|void|(string func [, mixed arg])|Register a function for execution on each tick
+remove|bool|(string name)|Removes attribute
+remove|object|(array parameter)|Delete an object
+rename|int|(string oldname, string newname)|Renames a file
+replace|object|(array parameter)|Replaces an object
+reset|mixed|(array array)|Set the internal pointer of an array to its first element
+restore_error_handler|void|()|Restores the previous error handler function
+rewinddir|void|(resource dir_handle)|rewind directory handle
+rewind|int|(int fp)|Rewind the position of a file pointer
+rmdir|bool|(string dirname)|Removes directory
+round|float|(float val [, int precision])|Rounds a float
+rsort|void|(array array [, int sort_flags])|Sort an array in reverse order
+rtrim|string|(string str [, string charlist])|Strip whitespace from the end of a string
+sem_acquire|bool|(int sem_identifier)|Acquire a semaphore
+sem_get|int|(int key [, int max_acquire [, int perm]])|Get a semaphore id
+sem_release|bool|(int sem_identifier)|Release a semaphore
+sem_remove|bool|(int sem_identifier)|Remove a semaphore
+serialize|string|(mixed value)|Generates a storable representation of a value
+sesam_affected_rows|int|(string result_id)|Get number of rows affected by an immediate query
+sesam_commit|bool|()|Commit pending updates to the SESAM database
+sesam_connect|bool|(string catalog, string schema, string user)|Open SESAM database connection
+sesam_diagnostic|array|()|Return status information for last SESAM call
+sesam_disconnect|bool|()|Detach from SESAM connection
+sesam_errormsg|string|()|Returns error message of last SESAM call
+sesam_execimm|string|(string query)|Execute an "immediate" SQL-statement
+sesam_fetch_array|array|(string result_id [, int whence [, int offset]])|Fetch one row as an associative array
+sesam_fetch_result|mixed|(string result_id [, int max_rows])|Return all or part of a query result
+sesam_fetch_row|array|(string result_id [, int whence [, int offset]])|Fetch one row as an array
+sesam_field_array|array|(string result_id)|Return meta information about individual columns in a result
+sesam_field_name|int|(string result_id, int index)|Return one column name of the result set
+sesam_free_result|int|(string result_id)|Releases resources for the query
+sesam_num_fields|int|(string result_id)|Return the number of fields/columns in a result set
+sesam_query|string|(string query [, bool scrollable])|Perform a SESAM SQL query and prepare the result
+sesam_rollback|bool|()|Discard any pending updates to the SESAM database
+sesam_seek_row|bool|(string result_id, int whence [, int offset])|Set scrollable cursor mode for subsequent fetches
+sesam_settransaction|bool|(int isolation_level, int read_only)|Set SESAM transaction parameters
+session_cache_expire|int|( [int new_cache_expire])|Return current cache expire
+session_cache_limiter|string|( [string cache_limiter])|Get and/or set the current cache limiter
+session_decode|bool|(string data)|Decodes session data from a string
+session_destroy|bool|()|Destroys all data registered to a session
+session_encode|string|()|Encodes the current session data as a string
+session_get_cookie_params|array|()|Get the session cookie parameters
+session_id|string|( [string id])|Get and/or set the current session id
+session_is_registered|bool|(string name)|Find out if a variable is registered in a session
+session_module_name|string|( [string module])|Get and/or set the current session module
+session_name|string|( [string name])|Get and/or set the current session name
+session_readonly|void|()|Begin session - reinitializes freezed variables, but no writeback on request end
+session_register|bool|(mixed name [, mixed ...])|Register one or more variables with the current session
+session_save_path|string|( [string path])|Get and/or set the current session save path
+session_set_cookie_params|void|(int lifetime [, string path [, string domain [, bool secure]]])|Set the session cookie parameters
+session_set_save_handler|void|(string open, string close, string read, string write, string destroy, string gc)|Sets user-level session storage functions
+session_start|bool|()|Initialize session data
+session_unregister|bool|(string name)|Unregister a variable from the current session
+session_unset|void|()|Free all session variables
+session_write_close|void|()|Write session data and end session
+setcommitedversion|object|(array parameter)|Commits version other than last version
+setcookie|int|(string name [, string value [, int expire [, string path [, string domain [, int secure]]]]])|Send a cookie
+set_error_handler|string|(string error_handler)|Sets a user-defined error handler function.
+set_file_buffer|int|(int fp, int buffer)|Sets file buffering on the given file pointer
+setlocale|string|(mixed category, string locale)|Set locale information
+set_magic_quotes_runtime|long|(int new_setting)|Sets the current active configuration setting of magic_quotes_runtime
+set_time_limit|void|(int seconds)|Limits the maximum execution time
+settype|bool|(mixed var, string type)|Set the type of a variable
+shell_exec|string|(string cmd)|Execute command via shell and return complete output as string
+shm_attach|int|(int key [, int memsize [, int perm]])|Creates or open a shared memory segment
+shm_detach|int|(int shm_identifier)|Disconnects from shared memory segment
+shm_get_var|mixed|(int id, int variable_key)|Returns a variable from shared memory
+shmop_close|int|(int shmid)|Close shared memory block
+shmop_delete|int|(int shmid)|Delete shared memory block
+shmop_open|int|(int key, string flags, int mode, int size)|Create or open shared memory block
+shmop_read|string|(int shmid, int start, int count)|Read data from shared memory block
+shmop_size|int|(int shmid)|Get size of shared memory block
+shmop_write|int|(int shmid, string data, int offset)|Write data into shared memory block
+shm_put_var|int|(int shm_identifier, int variable_key, mixed variable)|Inserts or updates a variable in shared memory
+shm_remove|int|(int shm_identifier)|Removes shared memory from Unix systems
+shm_remove_var|int|(int id, int variable_key)|Removes a variable from shared memory
+show_source|bool|(string filename [, bool return])|Syntax highlighting of a file
+shuffle|void|(array array)|Shuffle an array
+similar_text|int|(string first, string second [, float percent])|Calculate the similarity between two strings
+sin|float|(float arg)|Sine
+sinh|float|(float arg)|Hyperbolic sine
+sizeof|int|(mixed var)|Get the number of elements in variable
+sleep|void|(int seconds)|Delay execution
+snmp_get_quick_print|bool|()|Fetch the current value of the UCD library's quick_print setting
+snmpget|string|(string hostname, string community, string object_id [, int timeout [, int retries]])|Fetch an SNMP object
+snmprealwalk|array|(string host, string community, string object_id [, int timeout [, int retries]])|Return all objects including their respective object id withing the specified one
+snmpset|bool|(string hostname, string community, string object_id, string type, mixed value [, int timeout [, int retries]])|Set an SNMP object
+snmp_set_quick_print|void|(bool quick_print)|Set the value of quick_print within the UCD SNMP library
+snmpwalk|array|(string hostname, string community, string object_id [, int timeout [, int retries]])|Fetch all the SNMP objects from an agent
+snmpwalkoid|array|(string hostname, string community, string object_id [, int timeout [, int retries]])|Query for a tree of information about a network entity
+socket_accept|int|(resource socket)|Accepts a connection on a socket
+socket_bind|int|(resource socket, string address [, int port])|Binds a name to a socket
+socket_close|bool|(resource socket)|Closes a socket descriptor
+socket_connect|int|(resource socket, string address [, int port])|Initiates a connection on a socket
+socket_create_listen|resource|(int port [, int backlog])|Opens a socket on port to accept connections
+socket_create_pair|bool|(int domain, int type, int protocol, array &fd)|Creates a pair of indistinguishable sockets and stores them in fds.
+socket_create|resource|(int domain, int type, int protocol)|Create a socket (endpoint for communication)
+socket_fd_alloc|resource|()|Allocates a new file descriptor set
+socket_fd_clear|bool|(resource set, mixed socket)|Clears (a) file descriptor(s) from a set
+socket_fd_free|bool|(resource set)|Deallocates a file descriptor set
+socket_fd_isset|bool|(resource set, resource socket)|Checks to see if a file descriptor is set within the file descrirptor set
+socket_fd_set|bool|(resource set, mixed socket)|Adds (a) file descriptor(s) to a set
+socket_fd_zero|bool|(resource set)|Clears a file descriptor set
+socket_getopt|mixed|(resource socket, int level, int optname)|Gets socket options for the socket
+socket_getpeername|bool|(resource socket, string &addr [, int &port])|Given an fd, stores a string representing sa.sin_addr and the value of sa.sin_port into addr and port describing the remote side of a socket
+socket_getsockname|bool|(resource socket, string &addr [, int &port])|Given an fd, stores a string representing sa.sin_addr and the value of sa.sin_port into addr and port describing the local side of a socket
+socket_get_status|array|(resource socketstream)|Returns information about an existing socket stream
+socket_iovec_add|bool|(resource iovec, int iov_len)|Adds a new vector to the scatter/gather array
+socket_iovec_alloc|resource|(int num_vectors)|...]) Builds a 'struct iovec' for use with sendmsg, recvmsg, writev, and readv
+socket_iovec_delete|bool|(resource iovec, int iov_pos)|Deletes a vector from an array of vectors
+socket_iovec_fetch|string|(resource iovec, int iovec_position)|Returns the data held in the iovec specified by iovec_id[iovec_position]
+socket_iovec_free|bool|(resource iovec)|Frees the iovec specified by iovec_id
+socket_iovec_set|bool|(resource iovec, int iovec_position, string new_val)|Sets the data held in iovec_id[iovec_position] to new_val
+socket_last_error|int|(resource socket)|Returns/Clears the last error on the socket
+socket_listen|int|(resource socket, int backlog)|Listens for a connection on a socket
+socket_read|string|(resource socket_des, int length [, int type])|Reads from a socket
+socket_readv|bool|(resource socket, resource iovec_id)|Reads from an fd, using the scatter-gather array defined by iovec_id
+socket_recvfrom|int|(resource socket, string &buf, int len, int flags, string &name [, int &port])|Receives data from a socket, connected or not
+socket_recvmsg|bool|(resource socket, resource iovec, array &control, int &controllen, int &flags, string &addr [, int &port])|Used to receive messages on a socket, whether connection-oriented or not
+socket_recv|string|(resource socket, int len, int flags)|Receives data from a connected socket
+socket_select|int|(resource read_fd, resource write_fd, resource except_fd, int tv_sec [, int tv_usec])|Runs the select() system call on the sets mentioned with a timeout specified by tv_sec and tv_usec
+socket_send|int|(resource socket, string buf, int len, int flags)|Sends data to a connected socket
+socket_sendmsg|bool|(resource socket, resource iovec, int flags, string addr [, int port])|Sends a message to a socket, regardless of whether it is connection-oriented or not
+socket_sendto|int|(resource socket, string buf, int len, int flags, string addr [, int port])|Sends a message to a socket, whether it is connected or not
+socket_set_blocking|int|(int socket descriptor, int mode)|Set blocking/non-blocking mode on a socket
+socket_set_nonblock|bool|(resource socket)|Sets nonblocking mode for file descriptor fd
+socket_setopt|bool|(resource socket, int level, int optname)|Sets socket options for the socket
+socket_set_timeout|bool|(int socket descriptor, int seconds, int microseconds)|Set timeout period on a socket
+socket_shutdown|bool|(resource socket [, int how])|Shuts down a socket for receiving, sending, or both.
+socket_strerror|string|(int errno)|Return a string describing a socket error
+socket_write|int|(resource socket_des, string &buffer, int length)|Write to a socket
+socket_writev|bool|(resource socket, resource iovec_id)|Writes to a file descriptor, fd, using the scatter-gather array defined by iovec_id
+sort|void|(array array [, int sort_flags])|Sort an array
+soundex|string|(string str)|Calculate the soundex key of a string
+split|array|(string pattern, string string [, int limit])|split string into array by regular expression
+spliti|array|(string pattern, string string [, int limit])|Split string into array by regular expression case insensitive
+sprintf|string|(string format [, mixed args])|Return a formatted string
+sql_regcase|string|(string string)|Make regular expression for case insensitive match
+sqrt|float|(float arg)|Square root
+srand|void|(int seed)|Seed the random number generator
+srcanchors|object|(array parameter)|Returns a list of all source anchors
+srcsofdst|object|(array parameter)|Returns source of a destination object
+sscanf|mixed|(string str, string format [, string var1])|Parses input from a string according to a format
+stat|array|(string filename)|Gives information about a file
+strcasecmp|int|(string str1, string str2)|Binary safe case-insensitive string comparison
+strchr|string|(string haystack, string needle)|Find the first occurrence of a character
+strcmp|int|(string str1, string str2)|Binary safe string comparison
+strcoll|int|(string str1, string str2)|Locale based string comparison
+strcspn|int|(string str1, string str2)|Find length of initial segment not matching mask
+strftime|string|(string format [, int timestamp])|Format a local time/date according to locale settings
+stripcslashes|string|(string str)|Un-quote string quoted with addcslashes
+stripslashes|string|(string str)|Un-quote string quoted with addslashes
+strip_tags|string|(string str [, string allowable_tags])|Strip HTML and PHP tags from a string
+stristr|string|(string haystack, string needle)|Case-insensitive strstr
+strlen|int|(string str)|Get string length
+strnatcasecmp|int|(string str1, string str2)|Case insensitive string comparisons using a "natural order" algorithm
+strnatcmp|int|(string str1, string str2)|String comparisons using a "natural order" algorithm
+strncasecmp|int|(string str1, string str2, int len)|Binary safe case-insensitive string comparison of the first n characters
+strncmp|int|(string str1, string str2, int len)|Binary safe string comparison of the first n characters
+str_pad|string|(string input, int pad_length [, string pad_string [, int pad_type]])|Pad a string to a certain length with another string
+strpos|int|(string haystack, string needle [, int offset])|Find position of first occurrence of a string
+strrchr|string|(string haystack, string needle)|Find the last occurrence of a character in a string
+str_repeat|string|(string input, int multiplier)|Repeat a string
+str_replace|mixed|(mixed search, mixed replace, mixed subject)|Replace all occurrences of the search string with the replacement string
+strrev|string|(string string)|Reverse a string
+str_rot13|string|(string str)|Perform the rot13 transform on a string
+strrpos|int|(string haystack, char needle)|Find position of last occurrence of a char in a string
+strspn|int|(string str1, string str2)|Find length of initial segment matching mask
+strstr|string|(string haystack, string needle)|Find first occurrence of a string
+strtok|string|(string arg1, string arg2)|Tokenize string
+strtolower|string|(string str)|Make a string lowercase
+strtotime|int|(string time [, int now])|Parse about any English textual datetime description into a UNIX timestamp
+strtoupper|string|(string string)|Make a string uppercase
+strtr|string|(string str, string from, string to)|Translate certain characters
+strval|string|(mixed var)|Get string value of a variable
+substr_count|int|(string haystack, string needle)|Count the number of substring occurrences
+substr_replace|string|(string string, string replacement, int start [, int length])|Replace text within a portion of a string
+substr|string|(string string, int start [, int length])|Return part of a string
+swf_actiongeturl|void|(string url, string target)|Get a URL from a Shockwave Flash movie
+swf_actiongotoframe|void|(int framenumber)|Play a frame and then stop
+swf_actiongotolabel|void|(string label)|Display a frame with the specified label
+swfaction|new|(string script)|Creates a new Action.
+swf_actionnextframe|void|()|Go foward one frame
+swf_actionplay|void|()|Start playing the flash movie from the current frame
+swf_actionprevframe|void|()|Go backwards one frame
+swf_actionsettarget|void|(string target)|Set the context for actions
+swf_actionstop|void|()|Stop playing the flash movie at the current frame
+swf_actiontogglequality|void|()|Toggle between low and high quality
+swf_actionwaitforframe|void|(int framenumber, int skipcount)|Skip actions if a frame has not been loaded
+swf_addbuttonrecord|void|(int states, int shapeid, int depth)|Controls location, appearance and active area of the current button
+swf_addcolor|void|(float r, float g, float b, float a)|Set the global add color to the rgba value specified
+swfbitmap->getheight|int|()|Returns the bitmap's height.
+swfbitmap->getwidth|int|()|Returns the bitmap's width.
+swfbitmap|new|(string filename [, int alphafilename])|Loads Bitmap object
+swfbutton->addaction|void|(ressource action, int flags)|Adds an action
+swfbutton->addshape|void|(ressource shape, int flags)|Adds a shape to a button
+swfbutton_keypress|int|(string str)|Returns the action flag for keyPress(char)
+swfbutton|new|()|Creates a new Button.
+swfbutton->setaction|void|(ressource action)|Sets the action
+swfbutton->setdown|void|(ressource shape)|Alias for addShape(shape, SWFBUTTON_DOWN))
+swfbutton->sethit|void|(ressource shape)|Alias for addShape(shape, SWFBUTTON_HIT)
+swfbutton->setover|void|(ressource shape)|Alias for addShape(shape, SWFBUTTON_OVER)
+swfbutton->setup|void|(ressource shape)|Alias for addShape(shape, SWFBUTTON_UP)
+swf_closefile|void|( [int return_file])|Close the current Shockwave Flash file
+swf_definebitmap|void|(int objid, string image_name)|Define a bitmap
+swf_definefont|void|(int fontid, string fontname)|Defines a font
+swf_defineline|void|(int objid, float x1, float y1, float x2, float y2, float width)|Define a line
+swf_definepoly|void|(int objid, array coords, int npoints, float width)|Define a polygon
+swf_definerect|void|(int objid, float x1, float y1, float x2, float y2, float width)|Define a rectangle
+swf_definetext|void|(int objid, string str, int docenter)|Define a text string
+swfdisplayitem->addcolor|void|( [int red [, int green [, int blue [, int a]]]])|Adds the given color to this item's color transform.
+swfdisplayitem->moveto|void|(int x, int y)|Moves object in global coordinates.
+swfdisplayitem->move|void|(int dx, int dy)|Moves object in relative coordinates.
+swfdisplayitem->multcolor|void|( [int red [, int green [, int blue [, int a]]]])|Multiplies the item's color transform.
+swfdisplayitem|new|()|Creates a new displayitem object.
+swfdisplayitem->remove|void|()|Removes the object from the movie
+swfdisplayitem->rotateto|void|(float degrees)|Rotates the object in global coordinates.
+swfdisplayitem->rotate|void|(float ddegrees)|Rotates in relative coordinates.
+swfdisplayitem->scaleto|void|(int x, int y)|Scales the object in global coordinates.
+swfdisplayitem->scale|void|(int dx, int dy)|Scales the object in relative coordinates.
+swfdisplayitem->setdepth|void|(float depth)|Sets z-order
+swfdisplayitem->setname|void|(string name)|Sets the object's name
+swfdisplayitem->setratio|void|(float ratio)|Sets the object's ratio.
+swfdisplayitem->skewxto|void|(float degrees)|Sets the X-skew.
+swfdisplayitem->skewx|void|(float ddegrees)|Sets the X-skew.
+swfdisplayitem->skewyto|void|(float degrees)|Sets the Y-skew.
+swfdisplayitem->skewy|void|(float ddegrees)|Sets the Y-skew.
+swf_endbutton|void|()|End the definition of the current button
+swf_enddoaction|void|()|End the current action
+swf_endshape|void|()|Completes the definition of the current shape
+swf_endsymbol|void|()|End the definition of a symbol
+swffill->moveto|void|(int x, int y)|Loads SWFFill object
+swffill->rotateto|void|(float degrees)|Sets fill's rotation
+swffill->scaleto|void|(int x, int y)|Sets fill's scale
+swffill->skewxto|void|(float x)|Sets fill x-skew
+swffill->skewyto|void|(float y)|Sets fill y-skew
+swffont->getwidth|int|(string string)|Returns the string's width
+swffont|new|(string filename)|Loads a font definition
+swf_fontsize|void|(float size)|Change the font size
+swf_fontslant|void|(float slant)|Set the font slant
+swf_fonttracking|void|(float tracking)|Set the current font tracking
+swf_getbitmapinfo|array|(int bitmapid)|Get information about a bitmap
+swf_getfontinfo|array|()|The height in pixels of a capital A and a lowercase x
+swf_getframe|int|()|Get the frame number of the current frame
+swfgradient->addentry|void|(float ratio, int red, int green, int blue [, int a])|Adds an entry to the gradient list.
+swfgradient|new|()|Creates a gradient object
+swf_labelframe|void|(string name)|Label the current frame
+swf_lookat|void|(float view_x, float view_y, float view_z, float reference_x, float reference_y, float reference_z, float twist)|Define a viewing transformation
+swf_modifyobject|void|(int depth, int how)|Modify an object
+swfmorph->getshape1|mixed|()|Gets a handle to the starting shape
+swfmorph->getshape2|mixed|()|Gets a handle to the ending shape
+swfmorph|new|()|Creates a new SWFMorph object.
+swfmovie->add|void|(ressource instance)|Adds any type of data to a movie.
+swfmovie|new|()|Creates a new movie object, representing an SWF version 4 movie.
+swfmovie->nextframe|void|()|Moves to the next frame of the animation.
+swfmovie->output|void|()|Dumps your lovingly prepared movie out.
+swfmovie->remove|void|(resource instance)|Removes the object instance from the display list.
+swfmovie->save|void|(string filename)|Saves your movie in a file.
+swfmovie->setbackground|void|(int red, int green, int blue)|Sets the background color.
+swfmovie->setdimension|void|(int width, int height)|Sets the movie's width and height.
+swfmovie->setframes|void|(string numberofframes)|Sets the total number of frames in the animation.
+swfmovie->setrate|void|(int rate)|Sets the animation's frame rate.
+swfmovie->streammp3|void|(string mp3FileName)|Streams a MP3 file.
+swf_mulcolor|void|(float r, float g, float b, float a)|Sets the global multiply color to the rgba value specified
+swf_nextid|int|()|Returns the next free object id
+swf_oncondition|void|(int transition)|Describe a transition used to trigger an action list
+swf_openfile|void|(string filename, float width, float height, float framerate, float r, float g, float b)|Open a new Shockwave Flash file
+swf_ortho2|void|(float xmin, float xmax, float ymin, float ymax)|Defines 2D orthographic mapping of user coordinates onto the current viewport
+swf_ortho|void|(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)|Defines an orthographic mapping of user coordinates onto the current viewport
+swf_perspective|void|(float fovy, float aspect, float near, float far)|Define a perspective projection transformation
+swf_placeobject|void|(int objid, int depth)|Place an object onto the screen
+swf_polarview|void|(float dist, float azimuth, float incidence, float twist)|Define the viewer's position with polar coordinates
+swf_popmatrix|void|()|Restore a previous transformation matrix
+swf_posround|void|(int round)|Enables or Disables the rounding of the translation when objects are placed or moved
+swf_pushmatrix|void|()|Push the current transformation matrix back unto the stack
+swf_removeobject|void|(int depth)|Remove an object
+swf_rotate|void|(float angle, string axis)|Rotate the current transformation
+swf_scale|void|(float x, float y, float z)|Scale the current transformation
+swf_setfont|void|(int fontid)|Change the current font
+swf_setframe|void|(int framenumber)|Switch to a specified frame
+swfshape->addfill|void|(int red, int green, int blue [, int a])|Adds a solid fill to the shape.
+swf_shapearc|void|(float x, float y, float r, float ang1, float ang2)|Draw a circular arc
+swf_shapecurveto3|void|(float x1, float y1, float x2, float y2, float x3, float y3)|Draw a cubic bezier curve
+swf_shapecurveto|void|(float x1, float y1, float x2, float y2)|Draw a quadratic bezier curve between two points
+swfshape->drawcurveto|void|(int controlx, int controly, int anchorx, int anchory)|Draws a curve.
+swfshape->drawcurve|void|(int controldx, int controldy, int anchordx, int anchordy)|Draws a curve (relative).
+swfshape->drawlineto|void|(int x, int y)|Draws a line.
+swfshape->drawline|void|(int dx, int dy)|Draws a line (relative).
+swf_shapefillbitmapclip|void|(int bitmapid)|Set current fill mode to clipped bitmap
+swf_shapefillbitmaptile|void|(int bitmapid)|Set current fill mode to tiled bitmap
+swf_shapefilloff|void|()|Turns off filling
+swf_shapefillsolid|void|(float r, float g, float b, float a)|Set the current fill style to the specified color
+swf_shapelinesolid|void|(float r, float g, float b, float a, float width)|Set the current line style
+swf_shapelineto|void|(float x, float y)|Draw a line
+swfshape->movepento|void|(int x, int y)|Moves the shape's pen.
+swfshape->movepen|void|(int dx, int dy)|Moves the shape's pen (relative).
+swf_shapemoveto|void|(float x, float y)|Move the current position
+swfshape|new|()|Creates a new shape object.
+swfshape->setleftfill|void|(swfgradient fill)|Sets left rasterizing color.
+swfshape->setline|void|(int width [, int red [, int green [, int blue [, int a]]]])|Sets the shape's line style.
+swfshape->setrightfill|void|(swfgradient fill)|Sets right rasterizing color.
+swf_showframe|void|()|Display the current frame
+swfsprite->add|void|(resource object)|Adds an object to a sprite
+swfsprite|new|()|Creates a movie clip (a sprite)
+swfsprite->nextframe|void|()|Moves to the next frame of the animation.
+swfsprite->remove|void|(ressource object)|Removes an object to a sprite
+swfsprite->setframes|void|(int numberofframes)|Sets the total number of frames in the animation.
+swf_startbutton|void|(int objid, int type)|Start the definition of a button
+swf_startdoaction|void|()|Start a description of an action list for the current frame
+swf_startshape|void|(int objid)|Start a complex shape
+swf_startsymbol|void|(int objid)|Define a symbol
+swftext->addstring|void|(string string)|Computes string's width
+swftext->addstring|void|(string string)|Draws a string
+swftextfield->addstring|void|(string string)|Concatenates the given string to the text field
+swftextfield->align|void|(int alignement)|Sets the text field alignment
+swftextfield|new|( [int flags])|Creates a text field object
+swftextfield->setbounds|void|(int width, int height)|Sets the text field width and height
+swftextfield->setcolor|void|(int red, int green, int blue [, int a])|Sets the color of the text field.
+swftextfield->setfont|void|(string font)|Sets the text field font
+swftextfield->setheight|void|(int height)|Sets the font height of this text field font.
+swftextfield->setindentation|void|(int width)|Sets the indentation of the first line.
+swftextfield->setleftmargin|void|(int width)|Sets the left margin width of the text field.
+swftextfield->setlinespacing|void|(int height)|Sets the line spacing of the text field.
+swftextfield->setmargins|void|(int left, int right)|Sets the margins width of the text field.
+swftextfield->setname|void|(string name)|Sets the variable name
+swftextfield->setrightmargin|void|(int width)|Sets the right margin width of the text field.
+swftext->moveto|void|(int x, int y)|Moves the pen
+swftext|new|()|Creates a new SWFText object.
+swftext->setcolor|void|(int red, int green, int blue [, int a])|Sets the current font color
+swftext->setfont|void|(string font)|Sets the current font
+swftext->setheight|void|(int height)|Sets the current font height
+swftext->setspacing|void|(float spacing)|Sets the current font spacing
+swf_textwidth|float|(string str)|Get the width of a string
+swf_translate|void|(float x, float y, float z)|Translate the current transformations
+swf_viewport|void|(float xmin, float xmax, float ymin, float ymax)|Select an area for future drawing
+sybase_affected_rows|int|( [int link_identifier])|get number of affected rows in last query
+sybase_close|bool|(int link_identifier)|close Sybase connection
+sybase_connect|int|(string servername, string username, string password [, string charset])|open Sybase server connection
+sybase_data_seek|bool|(int result_identifier, int row_number)|move internal row pointer
+sybase_fetch_array|array|(int result)|fetch row as array
+sybase_fetch_field|object|(int result [, int field_offset])|get field information
+sybase_fetch_object|int|(int result)|fetch row as object
+sybase_fetch_row|array|(int result)|get row as enumerated array
+sybase_field_seek|int|(int result, int field_offset)|set field offset
+sybase_free_result|bool|(int result)|free result memory
+sybase_get_last_message|string|()|Returns the last message from the server
+sybase_min_client_severity|void|(int severity)|Sets minimum client severity
+sybase_min_error_severity|void|(int severity)|Sets minimum error severity
+sybase_min_message_severity|void|(int severity)|Sets minimum message severity
+sybase_min_server_severity|void|(int severity)|Sets minimum server severity
+sybase_num_fields|int|(int result)|get number of fields in result
+sybase_num_rows|int|(int result)|get number of rows in result
+sybase_pconnect|int|(string servername, string username, string password [, string charset])|open persistent Sybase connection
+sybase_query|int|(string query, int link_identifier)|send Sybase query
+sybase_result|string|(int result, int row, mixed field)|get result data
+sybase_select_db|bool|(string database_name, int link_identifier)|select Sybase database
+symlink|int|(string target, string link)|Creates a symbolic link
+syslog|int|(int priority, string message)|Generate a system log message
+system|string|(string command [, int return_var])|Execute an external program and display output
+tan|float|(float arg)|Tangent
+tanh|float|(float arg)|Hyperbolic tangent
+tempnam|string|(string dir, string prefix)|Create file with unique file name
+textdomain|string|(string text_domain)|Sets the default domain
+time|int|()|Return current UNIX timestamp
+title|string|(array parameter)|Returns the title attribute
+tmpfile|int|()|Creates a temporary file
+touch|int|(string filename [, int time])|Sets access and modification time of file
+trigger_error|void|(string error_msg [, int error_type])|Generates a user-level error/warning/notice message
+trim|string|(string str [, string charlist])|Strip whitespace from the beginning and end of a string
+type|object|(void)|Returns type of reason
+uasort|void|(array array, function cmp_function)|Sort an array with a user-defined comparison function and maintain index association
+ucfirst|string|(string str)|Make a string's first character uppercase
+ucwords|string|(string str)|Uppercase the first character of each word in a string
+udm_add_search_limit|int|(int agent, int var, string val)|Add various search limits
+udm_alloc_agent|int|(string dbaddr [, string dbmode])|Allocate mnoGoSearch session
+udm_api_version|int|()|Get mnoGoSearch API version.
+udm_cat_list|array|(int agent, string category)|Get all the categories on the same level with the current one.
+udm_cat_path|array|(int agent, string category)|Get the path to the current category.
+udm_check_charset|int|(int agent, string charset)|Check if the given charset is known to mnogosearch
+udm_check_stored|int|(int agent, int link, string doc_id)|Check connection to stored
+udm_clear_search_limits|int|(int agent)|Clear all mnoGoSearch search restrictions
+udm_close_stored|int|(int agent, int link)|Close connection to stored
+udm_crc32|int|(int agent, string str)|Return CRC32 checksum of gived string
+udm_errno|int|(int agent)|Get mnoGoSearch error number
+udm_error|string|(int agent)|Get mnoGoSearch error message
+udm_find|int|(int agent, string query)|Perform search
+udm_free_agent|int|(int agent)|Free mnoGoSearch session
+udm_free_ispell_data|int|(int agent)|Free memory allocated for ispell data
+udm_free_res|int|(int res)|Free mnoGoSearch result
+udm_get_doc_count|int|(int agent)|Get total number of documents in database.
+udm_get_res_field|string|(int res, int row, int field)|Fetch mnoGoSearch result field
+udm_get_res_param|string|(int res, int param)|Get mnoGoSearch result parameters
+udm_load_ispell_data|int|(int agent, int var, string val1, string val2, int flag)|Load ispell data
+udm_open_stored|int|(int agent, string storedaddr)|Open connection to stored
+udm_set_agent_param|int|(int agent, int var, string val)|Set mnoGoSearch agent session parameters
+uksort|void|(array array, function cmp_function)|Sort an array by keys using a user-defined comparison function
+umask|int|(int mask)|Changes the current umask
+uniqid|string|(string prefix [, bool lcg])|Generate a unique id
+unixtojd|int|( [int timestamp])|Convert UNIX timestamp to Julian Day
+unlink|int|(string filename)|Deletes a file
+unlock|object|(array parameter)|Unlocks a locked object
+unpack|array|(string format, string data)|Unpack data from binary string
+unregister_tick_function|void|(string func [, mixed arg])|De-register a function for execution on each tick
+unserialize|mixed|(string str)|Creates a PHP value from a stored representation
+unset|void|(mixed var [, mixed var])|Unset a given variable
+urldecode|string|(string str)|Decodes URL-encoded string
+urlencode|string|(string str)|URL-encodes string
+user_error|void|(string error_msg [, int error_type])|Generates a user-level error/warning/notice message
+userlist|object|(array parameter)|Returns a list of all logged in users
+user|object|(array parameter)|Returns the own user object
+usleep|void|(int micro_seconds)|Delay execution in microseconds
+usort|void|(array array, string cmp_function)|Sort an array by values using a user-defined comparison function
+utf8_decode|string|(string data)|Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1.
+utf8_encode|string|(string data)|encodes an ISO-8859-1 string to UTF-8
+values|array|(void)|Returns all values of the attribute
+value|string|(string name)|Returns value of attribute
+value|string|(void)|Returns value of the attribute
+var_dump|void|(mixed expression [, mixed expression])|Dumps information about a variable
+var_export|mixed|(mixed expression [, bool return])|Outputs or returns a string representation of a variable
+VARIANT::VARIANT|string|( [mixed value [, int type [, int codepage]]])|VARIANT class
+version_compare|int|(string version1, string version2 [, string operator])|Compares two "PHP-standardized" version number strings
+virtual|int|(string filename)|Perform an Apache sub-request
+vpopmail_add_alias_domain|bool|(string domain, string aliasdomain)|Add an alias for a virtual domain
+vpopmail_add_alias_domain_ex|bool|(string olddomain, string newdomain)|Add alias to an existing virtual domain
+vpopmail_add_domain|bool|(string domain, string dir, int uid, int gid)|Add a new virtual domain
+vpopmail_add_domain_ex|bool|(string domain, string passwd [, string quota [, string bounce [, bool apop]]])|Add a new virtual domain
+vpopmail_add_user|bool|(string user, string domain, string password [, string gecos [, bool apop]])|Add a new user to the specified virtual domain
+vpopmail_alias_add|bool|(string user, string domain, string alias)|insert a virtual alias
+vpopmail_alias_del|bool|(string user, string domain)|deletes all virtual aliases of a user
+vpopmail_alias_del_domain|bool|(string domain)|deletes all virtual aliases of a domain
+vpopmail_alias_get_all|array|(string domain)|get all lines of an alias for a domain
+vpopmail_alias_get|array|(string alias, string domain)|get all lines of an alias for a domain
+vpopmail_auth_user|bool|(string user, string domain, string password [, string apop])|Attempt to validate a username/domain/password. Returns true/false
+vpopmail_del_domain|bool|(string domain)|Delete a virtual domain
+vpopmail_del_domain_ex|bool|(string domain)|Delete a virtual domain
+vpopmail_del_user|bool|(string user, string domain)|Delete a user from a virtual domain
+vpopmail_error|string|()|Get text message for last vpopmail error. Returns string
+vpopmail_passwd|bool|(string user, string domain, string password)|Change a virtual user's password
+vpopmail_set_user_quota|bool|(string user, string domain, string quota)|Sets a virtual user's quota
+vprintf|void|(string format, array args)|Output a formatted string
+vsprintf|string|(string format, array args)|Return a formatted string
+w32api_deftype|int|(string typename, string member1_type, string member1_name)|Defines a type for use with other w32api_functions
+w32api_init_dtype|resource|(string typename, mixed val1, mixed val2)|Creates an instance to the data type typename and fills it with the values val1, val2, the function then returns a DYNAPARM which can be passed when invoking a function as a parameter
+w32api_invoke_function|mixed|(string funcname)|Invokes function funcname with the arguments passed after the function name
+w32api_register_function|bool|(string libary, string function_name)|Registers function function_name from library with PHP
+w32api_set_call_method|void|(int method)|Sets the calling method used
+wddx_deserialize|mixed|(string packet)|Add variables to a WDDX packet with the specified ID
+wddx_packet_end|string|(int packet_id)|Ends a WDDX packet with the specified ID
+wddx_packet_start|int|( [string comment])|Starts a new WDDX packet with structure inside it
+wddx_serialize_value|string|(mixed var [, string comment])|Serialize a single value into a WDDX packet
+wddx_serialize_vars|string|(mixed var_name [, mixed ...])|Serialize variables into a WDDX packet
+wordwrap|string|(string str [, int width [, string break [, int cut]]])|Wraps a string to a given number of characters using a string break character.
+xml_error_string|string|(int code)|get XML parser error string
+xml_get_current_byte_index|int|(int parser)|get current byte index for an XML parser
+xml_get_current_column_number|int|(int parser)|Get current column number for an XML parser
+xml_get_current_line_number|int|(int parser)|get current line number for an XML parser
+xml_get_error_code|int|(int parser)|get XML parser error code
+xml_parse|int|(int parser, string data [, int isFinal])|start parsing an XML document
+xml_parse_into_struct|int|(int parser, string data, array &values, array &index)|Parse XML data into an array structure
+xml_parser_create|int|( [string encoding])|create an XML parser
+xml_parser_create_ns|int|( [string encoding [, string sep]])|Create an XML parser
+xml_parser_free|string|(int parser)|Free an XML parser
+xml_parser_get_option|mixed|(int parser, int option)|get options from an XML parser
+xml_parser_set_option|int|(int parser, int option, mixed value)|set options in an XML parser
+xmlrpc_decode|array|(string xml [, string encoding])|Decodes XML into native PHP types
+xmlrpc_decode_request|array|(string xml, string method [, string encoding])|Decodes XML into native PHP types
+xmlrpc_encode_request|string|(string method, mixed params)|Generates XML for a method request
+xmlrpc_encode|string|(mixed value)|Generates XML for a PHP value
+xmlrpc_get_type|string|(mixed value)|Gets xmlrpc type for a PHP value. Especially useful for base64 and datetime strings
+xmlrpc_parse_method_descriptions|array|(string xml)|Decodes XML into a list of method descriptions
+xmlrpc_server_add_introspection_data|int|(resource server, array desc)|Adds introspection documentation
+xmlrpc_server_call_method|mixed|(resource server, string xml, mixed user_data [, array output_options])|Parses XML requests and call methods
+xmlrpc_server_create|resource|()|Creates an xmlrpc server
+xmlrpc_server_destroy|void|(resource server)|Destroys server resources
+xmlrpc_server_register_introspection_callback|bool|(resource server, string function)|Register a PHP function to generate documentation
+xmlrpc_server_register_method|bool|(resource server, string method_name, string function)|Register a PHP function to resource method matching method_name
+xmlrpc_set_type|bool|(string value, string type)|Sets xmlrpc type, base64 or datetime, for a PHP string value
+xml_set_character_data_handler|int|(int parser, string handler)|set up character data handler
+xml_set_default_handler|int|(int parser, string handler)|set up default handler
+xml_set_element_handler|int|(int parser, string startElementHandler, string endElementHandler)|set up start and end element handlers
+xml_set_end_namespace_decl_handler|int|(int pind, string hdl)|Set up character data handler
+xml_set_external_entity_ref_handler|int|(int parser, string handler)|set up external entity reference handler
+xml_set_notation_decl_handler|int|(int parser, string handler)|set up notation declaration handler
+xml_set_object|void|(int parser, object &object)|Use XML Parser within an object
+xml_set_processing_instruction_handler|int|(int parser, string handler)|Set up processing instruction (PI) handler
+xml_set_start_namespace_decl_handler|int|(int pind, string hdl)|Set up character data handler
+xml_set_unparsed_entity_decl_handler|int|(int parser, string handler)|Set up unparsed entity declaration handler
+xpath_eval|array|(object xpath context)|Evaluates the XPath Location Path in the given string
+xpath_eval_expression|array|(object xpath_context)|Evaluates the XPath Location Path in the given string
+xpath_new_context|object|(object dom document)|Creates new xpath context
+xptr_eval|int|( [object xpath_context, string eval_str])|Evaluate the XPtr Location Path in the given string
+xptr_new_context|string|( [object doc_handle])|Create new XPath Context
+xslt_create|resource|()|Create a new XSLT processor.
+xslt_errno|int|(resource xh)|Return a error number
+xslt_error|mixed|(resource xh)|Return a error string
+xslt_free|void|(resource xh)|Free XSLT processor
+xslt_process|mixed|(resource xh, string xml, string xsl [, string result [, array arguments [, array parameters]]])|Perform an XSLT transformation
+xslt_set_base|void|(resource xh, string uri)|Set the base URI for all XSLT transformations
+xslt_set_encoding|void|(resource xh, string encoding)|Set the encoding for the parsing of XML documents
+xslt_set_error_handler|void|(resource xh, mixed handler)|Set an error handler for a XSLT processor
+xslt_set_log|void|(resource xh, mixed log)|Set the log file to write log messages to
+xslt_set_sax_handlers|void|(resource processor, array handlers)|Set the SAX handlers to be called when the XML document gets processed
+xslt_set_sax_handler|void|(resource xh, array handlers)|Set SAX handlers for a XSLT processor
+xslt_set_scheme_handlers|void|(resource processor, array handlers)|Set the scheme handlers for the XSLT processor
+xslt_set_scheme_handler|void|(resource xh, array handlers)|Set Scheme handlers for a XSLT processor
+yaz_addinfo|int|(int id)|Returns additional error information
+yaz_ccl_conf|int|(int id, array config)|Configure CCL parser
+yaz_ccl_parse|int|(int id, string query, array & result)|Invoke CCL Parser
+yaz_close|int|(int id)|Closes a YAZ connection
+yaz_connect|int|(string zurl [, mixed options])|Prepares for a connection and Z-association to a Z39.50 target.
+yaz_database|int|(int id, string databases)|Specifies the databases within a session
+yaz_element|int|(int id, string elementset)|Specifies Element-Set Name for retrieval
+yaz_errno|int|(int id)|Returns error number
+yaz_error|string|(int id)|Returns error description
+yaz_hits|int|(int id)|Returns number of hits for last search
+yaz_itemorder|int|(array args)|Prepares for Z39.50 Item Order with an ILL-Request package
+yaz_present|int|()|Prepares for retrieval (Z39.50 present).
+yaz_range|int|(int id, int start, int number)|Specifies the maximum number of records to retrieve
+yaz_record|int|(int id, int pos, string type)|Returns a record
+yaz_scan|int|(int id, string type, string startterm [, array flags])|Prepares for a scan
+yaz_scan_result|array|(int id [, array & result])|Returns Scan Response result
+yaz_search|int|(int id, string type, string query)|Prepares for a search
+yaz_sort|int|(int id, string criteria)|Sets sorting criteria
+yaz_syntax|int|(int id, string syntax)|Specifies the preferred record syntax for retrieval.
+yaz_wait|int|( [array options])|Wait for Z39.50 requests to complete
+yp_all|void|(string domain, string map, string callback)|Traverse the map and call a function on each entry
+yp_cat|array|(string domain, string map)|Return an array containing the entire map
+yp_errno|int|()|Returns the error code of the previous operation
+yp_err_string|string|()|Returns the error string associated with the previous operation
+yp_first|array|(string domain, string map)|Returns the first key-value pair from the named map
+yp_get_default_domain|int|()|Fetches the machine's default NIS domain
+yp_master|string|(string domain, string map)|Returns the machine name of the master NIS server for a map
+yp_match|string|(string domain, string map, string key)|Returns the matched line
+yp_next|array|(string domain, string map, string key)|Returns the next key-value pair in the named map.
+yp_order|int|(string domain, string map)|Returns the order number for a map
+zend_logo_guid|string|()|Gets the zend guid
+zend_version|string|()|Gets the version of the current Zend engine
+zip_close|void|(resource zip)|Close a Zip File Archive
+zip_entry_close|void|(resource zip_entry)|Close a Directory Entry
+zip_entry_compressedsize|int|(resource zip_entry)|Retrieve the Compressed Size of a Directory Entry
+zip_entry_compressionmethod|string|(resource zip_entry)|Retrieve the Compression Method of a Directory Entry
+zip_entry_filesize|int|(resource zip_entry)|Retrieve the Actual File Size of a Directory Entry
+zip_entry_name|string|(resource zip_entry)|Retrieve the Name of a Directory Entry
+zip_entry_open|bool|(resource zip, resource zip_entry [, string mode])|Open a Directory Entry for Reading
+zip_entry_read|string|(resource zip_entry [, int length])|Read From an Open Directory Entry
+zip_open|resource|(string filename)|Open a Zip File Archive
+zip_read|resource|(resource zip)|Read Next Entry in a Zip File Archive
diff --git a/src/highlighting.c b/src/highlighting.c
index a4125fee6..2b7e9a33a 100644
--- a/src/highlighting.c
+++ b/src/highlighting.c
@@ -29,6 +29,8 @@
static style_set *types[GEANY_MAX_FILE_TYPES] = { NULL };
static gboolean global_c_tags_loaded = FALSE;
+static gboolean global_php_tags_loaded = FALSE;
+static gboolean global_latex_tags_loaded = FALSE;
/* simple wrapper function to print file errors in DEBUG mode */
@@ -371,7 +373,8 @@ static void styleset_c_init(void)
// load global tags file for C autocompletion
if (! app->ignore_global_tags && ! global_c_tags_loaded)
{
- tm_workspace_load_global_tags(GEANY_DATA_DIR G_DIR_SEPARATOR_S "global.tags");
+ // 0 is the langType used in TagManager (see the table in tagmanager/parsers.h)
+ tm_workspace_load_global_tags(GEANY_DATA_DIR G_DIR_SEPARATOR_S "global.tags", 0);
global_c_tags_loaded = TRUE;
}
}
@@ -501,7 +504,9 @@ static void styleset_cpp_init(void)
// load global tags file for C autocompletion
if (! app->ignore_global_tags && ! global_c_tags_loaded)
{
- tm_workspace_load_global_tags(GEANY_DATA_DIR G_DIR_SEPARATOR_S "global.tags");
+ // 0 is the langType used in TagManager (see the table in tagmanager/parsers.h)
+ // C++ is a special case, here we use 0 to have C global tags in C++, too
+ tm_workspace_load_global_tags(GEANY_DATA_DIR G_DIR_SEPARATOR_S "global.tags", 0);
global_c_tags_loaded = TRUE;
}
}
@@ -725,6 +730,14 @@ static void styleset_latex_init(void)
styleset_get_wordchars(config, config_home, GEANY_FILETYPES_LATEX, GEANY_WORDCHARS);
filetypes_get_config(config, config_home, GEANY_FILETYPES_LATEX);
+ // load global tags file for LaTeX autocompletion
+ if (! app->ignore_global_tags && ! global_latex_tags_loaded)
+ {
+ // 8 is the langType used in TagManager (see the table in tagmanager/parsers.h)
+ tm_workspace_load_global_tags(GEANY_DATA_DIR G_DIR_SEPARATOR_S "latex.tags", 8);
+ global_latex_tags_loaded = TRUE;
+ }
+
g_key_file_free(config);
g_key_file_free(config_home);
g_free(f);
@@ -765,6 +778,14 @@ static void styleset_php_init(void)
styleset_get_wordchars(config, config_home, GEANY_FILETYPES_PHP, GEANY_WORDCHARS"$");
filetypes_get_config(config, config_home, GEANY_FILETYPES_PHP);
+ // load global tags file for PHP autocompletion
+ if (! app->ignore_global_tags && ! global_php_tags_loaded)
+ {
+ // 6 is the langType used in TagManager (see the table in tagmanager/parsers.h)
+ tm_workspace_load_global_tags(GEANY_DATA_DIR G_DIR_SEPARATOR_S "php.tags", 6);
+ global_php_tags_loaded = TRUE;
+ }
+
g_key_file_free(config);
g_key_file_free(config_home);
g_free(f);
diff --git a/tagmanager/entry.c b/tagmanager/entry.c
index 194af0475..c79deddb2 100644
--- a/tagmanager/entry.c
+++ b/tagmanager/entry.c
@@ -243,69 +243,7 @@ static long unsigned int updatePseudoTags (FILE *const fp)
* Tag file management
*/
-static boolean isValidTagAddress (const char *const excmd)
-{
- boolean isValid = FALSE;
- if (strchr ("/?", excmd [0]) != NULL)
- isValid = TRUE;
- else
- {
- char *address = xMalloc (strlen (excmd) + 1, char);
- if (sscanf (excmd, "%[^;\n]", address) == 1 &&
- strspn (address,"0123456789") == strlen (address))
- isValid = TRUE;
- eFree (address);
- }
- return isValid;
-}
-
-static boolean isCtagsLine (const char *const line)
-{
- enum fieldList { TAG, TAB1, SRC_FILE, TAB2, EXCMD, NUM_FIELDS };
- boolean ok = FALSE; /* we assume not unless confirmed */
- const size_t fieldLength = strlen (line) + 1;
- char *const fields = xMalloc (NUM_FIELDS * fieldLength, char);
-
- if (fields == NULL)
- error (FATAL, "Cannot analyze tag file");
- else
- {
-#define field(x) (fields + ((size_t) (x) * fieldLength))
-
- const int numFields = sscanf (line, "%[^\t]%[\t]%[^\t]%[\t]%[^\r\n]",
- field (TAG), field (TAB1), field (SRC_FILE),
- field (TAB2), field (EXCMD));
-
- /* There must be exactly five fields: two tab fields containing
- * exactly one tab each, the tag must not begin with "#", and the
- * file name should not end with ";", and the excmd must be
- * accceptable.
- *
- * These conditions will reject tag-looking lines like:
- * int a;
- * #define LABEL
- */
- if (numFields == NUM_FIELDS &&
- strlen (field (TAB1)) == 1 &&
- strlen (field (TAB2)) == 1 &&
- field (TAG) [0] != '#' &&
- field (SRC_FILE) [strlen (field (SRC_FILE)) - 1] != ';' &&
- isValidTagAddress (field (EXCMD)))
- ok = TRUE;
-
- eFree (fields);
- }
- return ok;
-}
-
-static boolean isEtagsLine (const char *const line)
-{
- boolean result = FALSE;
- if (line [0] == '\f')
- result = (boolean) (line [1] == '\n' || line [1] == '\r');
- return result;
-}
static boolean isTagFile (const char *const filename)
{
@@ -320,8 +258,6 @@ static boolean isTagFile (const char *const filename)
if (line == NULL)
ok = TRUE;
- else
- ok = (boolean) (isCtagsLine (line) || isEtagsLine (line));
fclose (fp);
}
return ok;
@@ -389,32 +325,23 @@ extern void openTagFile (void)
"\"%s\" doesn't look like a tag file; I refuse to overwrite it.",
TagFile.name);
- if (Option.etags)
+ if (Option.append && fileExists)
+ {
+ TagFile.fp = fopen (TagFile.name, "r+");
+ if (TagFile.fp != NULL)
{
- if (Option.append && fileExists)
- TagFile.fp = fopen (TagFile.name, "a+b");
- else
- TagFile.fp = fopen (TagFile.name, "w+b");
- }
- else
- {
- if (Option.append && fileExists)
- {
- TagFile.fp = fopen (TagFile.name, "r+");
- if (TagFile.fp != NULL)
- {
- TagFile.numTags.prev = updatePseudoTags (TagFile.fp);
- fclose (TagFile.fp);
- TagFile.fp = fopen (TagFile.name, "a+");
- }
- }
- else
- {
- TagFile.fp = fopen (TagFile.name, "w");
- if (TagFile.fp != NULL)
- addPseudoTags ();
- }
+ TagFile.numTags.prev = updatePseudoTags (TagFile.fp);
+ fclose (TagFile.fp);
+ TagFile.fp = fopen (TagFile.name, "a+");
}
+ }
+ else
+ {
+ TagFile.fp = fopen (TagFile.name, "w");
+ if (TagFile.fp != NULL)
+ addPseudoTags ();
+ }
+
if (TagFile.fp == NULL)
{
error (FATAL | PERROR, "cannot open tag file");
@@ -446,338 +373,11 @@ static int replacementTruncate (const char *const name, const long size)
#endif
-static void sortTagFile (void)
-{
- if (TagFile.numTags.added > 0L)
- {
- if (Option.sorted)
- {
- verbose ("sorting tag file\n");
-#ifdef EXTERNAL_SORT
- externalSortTags (TagsToStdout);
-#else
- internalSortTags (TagsToStdout);
-#endif
- }
- else if (TagsToStdout)
- catFile (tagFileName ());
- }
- if (TagsToStdout)
- remove (tagFileName ()); /* remove temporary file */
-}
-
-static void resizeTagFile (const long newSize)
-{
- int result;
-
-#ifdef USE_REPLACEMENT_TRUNCATE
- result = replacementTruncate (TagFile.name, newSize);
-#else
-# ifdef HAVE_TRUNCATE
- result = truncate (TagFile.name, (off_t) newSize);
-# else
- const int fd = open (TagFile.name, O_RDWR);
-
- if (fd == -1)
- result = -1;
- else
- {
-# ifdef HAVE_FTRUNCATE
- result = ftruncate (fd, (off_t) newSize);
-# else
-# ifdef HAVE_CHSIZE
- result = chsize (fd, newSize);
-# endif
-# endif
- close (fd);
- }
-# endif
-#endif
- if (result == -1)
- fprintf (errout, "Cannot shorten tag file: errno = %d\n", errno);
-}
-
-static void writeEtagsIncludes (FILE *const fp)
-{
- if (Option.etagsInclude)
- {
- unsigned int i;
- for (i = 0 ; i < stringListCount (Option.etagsInclude) ; ++i)
- {
- vString *item = stringListItem (Option.etagsInclude, i);
- fprintf (fp, "\f\n%s,include\n", vStringValue (item));
- }
- }
-}
-
-extern void closeTagFile (const boolean resize)
-{
- long desiredSize, size;
-
- if (Option.etags)
- writeEtagsIncludes (TagFile.fp);
- desiredSize = ftell (TagFile.fp);
- fseek (TagFile.fp, 0L, SEEK_END);
- size = ftell (TagFile.fp);
- fclose (TagFile.fp);
- if (resize && desiredSize < size)
- {
- DebugStatement (
- debugPrintf (DEBUG_STATUS, "shrinking %s from %ld to %ld bytes\n",
- TagFile.name, size, desiredSize); )
- resizeTagFile (desiredSize);
- }
- sortTagFile ();
- eFree (TagFile.name);
- TagFile.name = NULL;
-}
-
-extern void beginEtagsFile (void)
-{
- TagFile.etags.fp = tempFile ("w+b", &TagFile.etags.name);
- TagFile.etags.byteCount = 0;
-}
-
-extern void endEtagsFile (const char *const name)
-{
- const char *line;
-
- fprintf (TagFile.fp, "\f\n%s,%ld\n", name, (long) TagFile.etags.byteCount);
- if (TagFile.etags.fp != NULL)
- {
- rewind (TagFile.etags.fp);
- while ((line = readLine (TagFile.vLine, TagFile.etags.fp)) != NULL)
- fputs (line, TagFile.fp);
- fclose (TagFile.etags.fp);
- remove (TagFile.etags.name);
- eFree (TagFile.etags.name);
- TagFile.etags.fp = NULL;
- TagFile.etags.name = NULL;
- }
-}
/*
* Tag entry management
*/
-/* This function copies the current line out to a specified file. It has no
- * effect on the fileGetc () function. During copying, any '\' characters
- * are doubled and a leading '^' or trailing '$' is also quoted. End of line
- * characters (line feed or carriage return) are dropped.
- */
-static size_t writeSourceLine (FILE *const fp, const char *const line)
-{
- size_t length = 0;
- const char *p;
-
- /* Write everything up to, but not including, a line end character.
- */
- for (p = line ; *p != '\0' ; ++p)
- {
- const int next = *(p + 1);
- const int c = *p;
-
- if (c == CRETURN || c == NEWLINE)
- break;
-
- /* If character is '\', or a terminal '$', then quote it.
- */
- if (c == BACKSLASH || c == (Option.backward ? '?' : '/') ||
- (c == '$' && (next == NEWLINE || next == CRETURN)))
- {
- putc (BACKSLASH, fp);
- ++length;
- }
- putc (c, fp);
- ++length;
- }
- return length;
-}
-
-/* Writes "line", stripping leading and duplicate white space.
- */
-static size_t writeCompactSourceLine (FILE *const fp, const char *const line)
-{
- boolean lineStarted = FALSE;
- size_t length = 0;
- const char *p;
- int c;
-
- /* Write everything up to, but not including, the newline.
- */
- for (p = line, c = *p ; c != NEWLINE && c != '\0' ; c = *++p)
- {
- if (lineStarted || ! isspace (c)) /* ignore leading spaces */
- {
- lineStarted = TRUE;
- if (isspace (c))
- {
- int next;
-
- /* Consume repeating white space.
- */
- while (next = *(p+1) , isspace (next) && next != NEWLINE)
- ++p;
- c = ' '; /* force space character for any white space */
- }
- if (c != CRETURN || *(p + 1) != NEWLINE)
- {
- putc (c, fp);
- ++length;
- }
- }
- }
- return length;
-}
-
-static int writeXrefEntry (const tagEntryInfo *const tag)
-{
- const char *const line =
- readSourceLine (TagFile.vLine, tag->filePosition, NULL);
- int length = fprintf (TagFile.fp, "%-20s %-10s %4lu %-14s ", tag->name,
- tag->kindName, tag->lineNumber, tag->sourceFileName);
-
- length += writeCompactSourceLine (TagFile.fp, line);
- putc (NEWLINE, TagFile.fp);
- ++length;
-
- return length;
-}
-
-/* Truncates the text line containing the tag at the character following the
- * tag, providing a character which designates the end of the tag.
- */
-static void truncateTagLine (char *const line, const char *const token,
- const boolean discardNewline)
-{
- char *p = strstr (line, token);
-
- if (p != NULL)
- {
- p += strlen (token);
- if (*p != '\0' && ! (*p == '\n' && discardNewline))
- ++p; /* skip past character terminating character */
- *p = '\0';
- }
-}
-
-static int writeEtagsEntry (const tagEntryInfo *const tag)
-{
- int length;
-
- if (tag->isFileEntry)
- length = fprintf (TagFile.etags.fp, "\177%s\001%lu,0\n",
- tag->name, tag->lineNumber);
- else
- {
- long seekValue;
- char *const line =
- readSourceLine (TagFile.vLine, tag->filePosition, &seekValue);
-
- if (tag->truncateLine)
- truncateTagLine (line, tag->name, TRUE);
- else
- line [strlen (line) - 1] = '\0';
-
- length = fprintf (TagFile.etags.fp, "%s\177%s\001%lu,%ld\n", line,
- tag->name, tag->lineNumber, seekValue);
- }
- TagFile.etags.byteCount += length;
-
- return length;
-}
-
-static int addExtensionFields (const tagEntryInfo *const tag)
-{
- const char* const kindKey = Option.extensionFields.kindKey ? "kind:" : "";
- int length = fprintf (TagFile.fp, ";\"");
-
- if (tag->kindName != NULL && (
- Option.extensionFields.kindLong || tag->kind == '\0'))
- length += fprintf (TagFile.fp, "\t%s%s", kindKey, tag->kindName);
- else if (tag->kind != '\0' && (
- ! Option.extensionFields.kindLong || tag->kindName == NULL))
- length += fprintf (TagFile.fp, "\t%s%c", kindKey, tag->kind);
-
- if (Option.extensionFields.lineNumber)
- length += fprintf (TagFile.fp, "\tline:%ld", tag->lineNumber);
-
- if (Option.extensionFields.language && tag->language != NULL)
- length += fprintf (TagFile.fp, "\tlanguage:%s", tag->language);
-
- if (Option.extensionFields.scope &&
- tag->extensionFields.scope [0] != NULL &&
- tag->extensionFields.scope [1] != NULL)
- length += fprintf (TagFile.fp, "\t%s:%s",
- tag->extensionFields.scope [0],
- tag->extensionFields.scope [1]);
-
- if (Option.extensionFields.fileScope && tag->isFileScope)
- length += fprintf (TagFile.fp, "\tfile:");
-
- if (Option.extensionFields.inheritance &&
- tag->extensionFields.inheritance != NULL)
- length += fprintf (TagFile.fp, "\tinherits:%s",
- tag->extensionFields.inheritance);
-
- if (Option.extensionFields.access && tag->extensionFields.access != NULL)
- length += fprintf (TagFile.fp, "\taccess:%s",
- tag->extensionFields.access);
-
- if (Option.extensionFields.implementation &&
- tag->extensionFields.implementation != NULL)
- length += fprintf (TagFile.fp, "\timplementation:%s",
- tag->extensionFields.implementation);
-
- if ((Option.extensionFields.argList) &&
- (tag->extensionFields.arglist != NULL))
- length += fprintf(TagFile.fp, "\targlist:%s", tag->extensionFields.arglist);
-
- return length;
-}
-
-static int writePatternEntry (const tagEntryInfo *const tag)
-{
- char *const line = readSourceLine (TagFile.vLine, tag->filePosition, NULL);
- const int searchChar = Option.backward ? '?' : '/';
- boolean newlineTerminated;
- int length = 0;
-
- if (tag->truncateLine)
- truncateTagLine (line, tag->name, FALSE);
- newlineTerminated = (boolean) (line [strlen (line) - 1] == '\n');
-
- length += fprintf (TagFile.fp, "%c^", searchChar);
- length += writeSourceLine (TagFile.fp, line);
- length += fprintf (TagFile.fp, "%s%c", newlineTerminated ? "$":"",
- searchChar);
-
- return length;
-}
-
-
-static int writeLineNumberEntry (const tagEntryInfo *const tag)
-{
- return fprintf (TagFile.fp, "%lu", tag->lineNumber);
-}
-
-static int writeCtagsEntry (const tagEntryInfo *const tag)
-{
- int length = fprintf (TagFile.fp, "%s\t%s\t",
- tag->name, tag->sourceFileName);
-
- if (tag->lineNumberEntry)
- length += writeLineNumberEntry (tag);
- else
- length += writePatternEntry (tag);
-
- if (includeExtensionFlags ())
- length += addExtensionFields (tag);
-
- length += fprintf (TagFile.fp, "\n");
-
- return length;
-}
extern void makeTagEntry (const tagEntryInfo *const tag)
{
@@ -788,18 +388,8 @@ extern void makeTagEntry (const tagEntryInfo *const tag)
{
int length = 0;
- DebugStatement ( debugEntry (tag); )
if (NULL != TagEntryFunction)
length = TagEntryFunction(tag);
- else if (Option.xref)
- {
- if (! tag->isFileEntry)
- length = writeXrefEntry (tag);
- }
- else if (Option.etags)
- length = writeEtagsEntry (tag);
- else
- length = writeCtagsEntry (tag);
++TagFile.numTags.added;
rememberMaxLengths (strlen (tag->name), (size_t) length);
diff --git a/tagmanager/include/tm_source_file.h b/tagmanager/include/tm_source_file.h
index 8aa61f024..bff02e307 100644
--- a/tagmanager/include/tm_source_file.h
+++ b/tagmanager/include/tm_source_file.h
@@ -60,10 +60,11 @@ typedef struct _TMSourceFile
} TMSourceFile;
/*! Initializes a TMSourceFile structure from a file name. */
-gboolean tm_source_file_init(TMSourceFile *source_file, const char *file_name, gboolean update);
+gboolean tm_source_file_init(TMSourceFile *source_file, const char *file_name,
+ gboolean update, const char *name);
/*! Initializes a TMSourceFile structure and returns a pointer to it. */
-TMWorkObject *tm_source_file_new(const char *file_name, gboolean update);
+TMWorkObject *tm_source_file_new(const char *file_name, gboolean update, const char *name);
/*! Destroys the contents of the source file. Note that the tags are owned by the
source file and are also destroyed when the source file is destroyed. If pointers
diff --git a/tagmanager/include/tm_tag.h b/tagmanager/include/tm_tag.h
index 726e5416b..a57cb2eef 100644
--- a/tagmanager/include/tm_tag.h
+++ b/tagmanager/include/tm_tag.h
@@ -174,9 +174,11 @@ gboolean tm_tag_init(TMTag *tag, TMSourceFile *file, const tagEntryInfo *tag_ent
\param tag The TMTag structure to populate
\param file The TMSourceFile struct (assigned to the file member)
\param fp FILE pointer from where the tag line is read
+ \param mode langType - if set to greater than 0, the alternative parser is used and mode represents
+ the langType to use for the tags
\return TRUE on success, FALSE on FAILURE
*/
-gboolean tm_tag_init_from_file(TMTag *tag, TMSourceFile *file, FILE *fp);
+gboolean tm_tag_init_from_file(TMTag *tag, TMSourceFile *file, FILE *fp, gint mode);
/*!
Creates a new tag structure from a tagEntryInfo pointer and a TMSOurceFile pointer
@@ -190,7 +192,7 @@ TMTag *tm_tag_new(TMSourceFile *file, const tagEntryInfo *tag_entry);
/*!
Same as tm_tag_new() except that the tag attributes are read from file
*/
-TMTag *tm_tag_new_from_file(TMSourceFile *file, FILE *fp);
+TMTag *tm_tag_new_from_file(TMSourceFile *file, FILE *fp, gint mode);
/*!
Writes tag information to the given FILE *.
diff --git a/tagmanager/include/tm_workspace.h b/tagmanager/include/tm_workspace.h
index ffc796834..faf07dbf1 100644
--- a/tagmanager/include/tm_workspace.h
+++ b/tagmanager/include/tm_workspace.h
@@ -21,7 +21,7 @@
workspace, though, to use tag manager, unless you need things like global tags
and a place to store all current open projects and individual files. TMWorkspace
is derived from TMWorkObject.
-
+
The following example demonstrates the use of workspace functions to create global tags.
\include tm_global_tags.c
*/
@@ -89,7 +89,8 @@ gboolean tm_workspace_remove_object(TMWorkObject *work_object, gboolean free);
\return TRUE on success, FALSE on failure.
\sa tm_workspace_create_global_tags()
*/
-gboolean tm_workspace_load_global_tags(const char *tags_file);
+gboolean tm_workspace_load_global_tags(const char *tags_file, gint mode);
+//gboolean tm_workspace_load_global_tags(const char *tags_file);
/*! Creates a list of global tags. Ideally, this should be created once during
installations so that all users can use the same file. Thsi is because a full
@@ -130,10 +131,12 @@ void tm_workspace_dump(void);
\param type The tag types to return (TMTagType). Can be a bitmask.
\param attrs The attributes to sort and dedup on (0 terminated integer array).
\param partial Whether partial match is allowed.
+ \param lang Specifies the language(see the table in parsers.h) of the tags to be found,
+ -1 for all
\return Array of matching tags. Do not free() it since it is a static member.
*/
const GPtrArray *tm_workspace_find(const char *name, int type, TMTagAttrType *attrs
- , gboolean partial);
+ , gboolean partial, langType lang);
/*! Returns a list of parent classes for the given class name
\param name Name of the class
diff --git a/tagmanager/parsers.h b/tagmanager/parsers.h
index 9667e0576..49009556c 100644
--- a/tagmanager/parsers.h
+++ b/tagmanager/parsers.h
@@ -33,6 +33,26 @@
TclParser, \
ShParser
+/*
+langType of each parser
+ 0 CParser
+ 1 CppParser
+ 2 JavaParser
+ 3 MakefileParser
+ 4 PascalParser
+ 5 PerlParser
+ 6 PhpParser
+ 7 PythonParser
+ 8 LaTeXParser
+ 9 AsmParser
+10 ConfParser
+11 SqlParser
+12 DocBookParser
+13 CssParser
+14 RubyParser
+15 TclParser
+16 ShParser
+*/
#endif /* _PARSERS_H */
/* vi:set tabstop=8 shiftwidth=4: */
diff --git a/tagmanager/tm_file_entry.c b/tagmanager/tm_file_entry.c
index e262bc210..2622f5502 100644
--- a/tagmanager/tm_file_entry.c
+++ b/tagmanager/tm_file_entry.c
@@ -282,6 +282,6 @@ GList *tm_file_entry_list(TMFileEntry *entry, GList *files)
files = tm_file_entry_list((TMFileEntry *) tmp->data, files);
}
if (!files)
- g_list_reverse(files);
+ files = g_list_reverse(files);
return files;
}
diff --git a/tagmanager/tm_project.c b/tagmanager/tm_project.c
index 4f34e0b16..879b9e9fe 100644
--- a/tagmanager/tm_project.c
+++ b/tagmanager/tm_project.c
@@ -186,7 +186,7 @@ gboolean tm_project_add_file(TMProject *project, const char *file_name
}
if (NULL == source_file)
{
- if (NULL == (source_file = tm_source_file_new(file_name, TRUE)))
+ if (NULL == (source_file = tm_source_file_new(file_name, TRUE, NULL)))
{
g_warning("Unable to create source file for file %s", file_name);
g_free(path);
@@ -375,12 +375,12 @@ gboolean tm_project_open(TMProject *project, gboolean force)
tm_project_set_ignorelist(project);
if (NULL == (fp = fopen(project->work_object.file_name, "r")))
return FALSE;
- while (NULL != (tag = tm_tag_new_from_file(source_file, fp)))
+ while (NULL != (tag = tm_tag_new_from_file(source_file, fp, 0)))
{
if (tm_tag_file_t == tag->type)
{
if (!(source_file = TM_SOURCE_FILE(
- tm_source_file_new(tag->name, FALSE))))
+ tm_source_file_new(tag->name, FALSE, NULL))))
{
#ifdef TM_DEBUG
g_warning("Unable to create source file %s", tag->name);
diff --git a/tagmanager/tm_source_file.c b/tagmanager/tm_source_file.c
index 08cfa3697..f67f711d4 100644
--- a/tagmanager/tm_source_file.c
+++ b/tagmanager/tm_source_file.c
@@ -26,7 +26,7 @@ guint source_file_class_id = 0;
static TMSourceFile *current_source_file = NULL;
gboolean tm_source_file_init(TMSourceFile *source_file, const char *file_name
- , gboolean update)
+ , gboolean update, const char* name)
{
if (0 == source_file_class_id)
source_file_class_id = tm_work_object_register(tm_source_file_free
@@ -39,7 +39,10 @@ gboolean tm_source_file_init(TMSourceFile *source_file, const char *file_name
if (FALSE == tm_work_object_init(&(source_file->work_object),
source_file_class_id, file_name, FALSE))
return FALSE;
- source_file->lang = LANG_AUTO;
+ if (name == NULL)
+ source_file->lang = LANG_AUTO;
+ else
+ source_file->lang = getNamedLanguage(name);
source_file->inactive = FALSE;
if (NULL == LanguageTable)
{
@@ -54,10 +57,10 @@ gboolean tm_source_file_init(TMSourceFile *source_file, const char *file_name
return TRUE;
}
-TMWorkObject *tm_source_file_new(const char *file_name, gboolean update)
+TMWorkObject *tm_source_file_new(const char *file_name, gboolean update, const char *name)
{
TMSourceFile *source_file = g_new(TMSourceFile, 1);
- if (TRUE != tm_source_file_init(source_file, file_name, update))
+ if (TRUE != tm_source_file_init(source_file, file_name, update, name))
{
g_free(source_file);
return NULL;
@@ -92,6 +95,7 @@ gboolean tm_source_file_parse(TMSourceFile *source_file)
{
const char *file_name;
gboolean status = TRUE;
+ int passCount = 0;
if ((NULL == source_file) || (NULL == source_file->work_object.file_name))
{
@@ -99,9 +103,6 @@ gboolean tm_source_file_parse(TMSourceFile *source_file)
return FALSE;
}
-#ifdef TM_DEBUG
- g_message("Parsing %s", source_file->work_object.file_name);
-#endif
file_name = source_file->work_object.file_name;
if (NULL == LanguageTable)
{
@@ -111,43 +112,31 @@ gboolean tm_source_file_parse(TMSourceFile *source_file)
TagEntryFunction = tm_source_file_tags;
}
current_source_file = source_file;
+
if (LANG_AUTO == source_file->lang)
source_file->lang = getFileLanguage (file_name);
- if (source_file->lang == LANG_IGNORE)
+
+ if (source_file->lang < 0 || ! LanguageTable [source_file->lang]->enabled)
+ return status;
+
+ while ((TRUE == status) && (passCount < 3))
{
-#ifdef TM_DEBUG
- g_warning("ignoring %s (unknown language)\n", file_name);
-#endif
- }
- else if (! LanguageTable [source_file->lang]->enabled)
- {
-#ifdef TM_DEBUG
- g_warning("ignoring %s (language disabled)\n", file_name);
-#endif
- }
- else
- {
- int passCount = 0;
- while ((TRUE == status) && (passCount < 3))
+ if (source_file->work_object.tags_array)
+ tm_tags_array_free(source_file->work_object.tags_array, FALSE);
+ if (fileOpen (file_name, source_file->lang))
{
- if (source_file->work_object.tags_array)
- tm_tags_array_free(source_file->work_object.tags_array, FALSE);
- if (fileOpen (file_name, source_file->lang))
- {
- if (LanguageTable [source_file->lang]->parser != NULL)
- LanguageTable [source_file->lang]->parser ();
- else if (LanguageTable [source_file->lang]->parser2 != NULL)
- status = LanguageTable [source_file->lang]->parser2 (passCount);
- fileClose ();
- }
- else
- {
- g_warning("Unable to open %s", file_name);
- return FALSE;
- }
- ++ passCount;
+ if (LanguageTable [source_file->lang]->parser != NULL)
+ LanguageTable [source_file->lang]->parser ();
+ else if (LanguageTable [source_file->lang]->parser2 != NULL)
+ status = LanguageTable [source_file->lang]->parser2 (passCount);
+ fileClose ();
}
- return TRUE;
+ else
+ {
+ g_warning("Unable to open %s", file_name);
+ return FALSE;
+ }
+ ++ passCount;
}
return status;
}
diff --git a/tagmanager/tm_tag.c b/tagmanager/tm_tag.c
index 79e658e79..b5332cea5 100644
--- a/tagmanager/tm_tag.c
+++ b/tagmanager/tm_tag.c
@@ -197,10 +197,12 @@ TMTag *tm_tag_new(TMSourceFile *file, const tagEntryInfo *tag_entry)
TAG_FREE(tag);
return NULL;
}
+ // if I don't do the following, tag->atts.file.lang has an undefined value, which is quite bad
+ tag->atts.file.lang = file->lang;
return tag;
}
-gboolean tm_tag_init_from_file(TMTag *tag, TMSourceFile *file, FILE *fp)
+gboolean tm_tag_init_from_file(TMTag *tag, TMSourceFile *file, FILE *fp, gint mode)
{
guchar buf[BUFSIZ];
guchar *start, *end;
@@ -209,88 +211,121 @@ gboolean tm_tag_init_from_file(TMTag *tag, TMSourceFile *file, FILE *fp)
if ((NULL == fgets((gchar*)buf, BUFSIZ, fp)) || ('\0' == *buf))
return FALSE;
- for (start = end = buf, status = TRUE; (TRUE == status); start = end, ++ end)
+ if (mode == 0)
{
- while ((*end < TA_NAME) && (*end != '\0') && (*end != '\n'))
- ++ end;
- if (('\0' == *end) || ('\n' == *end))
- status = FALSE;
- changed_char = *end;
- *end = '\0';
- if (NULL == tag->name)
+ for (start = end = buf, status = TRUE; (TRUE == status); start = end, ++ end)
{
- if (!isprint(*start))
- return FALSE;
- else
- tag->name = g_strdup((gchar*)start);
- }
- else
- {
- switch (*start)
+ while ((*end < TA_NAME) && (*end != '\0') && (*end != '\n'))
+ ++ end;
+ if (('\0' == *end) || ('\n' == *end))
+ status = FALSE;
+ changed_char = *end;
+ *end = '\0';
+ if (NULL == tag->name)
{
- case TA_LINE:
- tag->atts.entry.line = atol((gchar*)start + 1);
- break;
- case TA_LOCAL:
- tag->atts.entry.local = atoi((gchar*)start + 1);
- break;
- case TA_TYPE:
- tag->type = (TMTagType) atoi((gchar*)start + 1);
- break;
- case TA_ARGLIST:
- tag->atts.entry.arglist = g_strdup((gchar*)start + 1);
- break;
- case TA_SCOPE:
- tag->atts.entry.scope = g_strdup((gchar*)start + 1);
- break;
- case TA_VARTYPE:
- tag->atts.entry.var_type = g_strdup((gchar*)start + 1);
- break;
- case TA_INHERITS:
- tag->atts.entry.inheritance = g_strdup((gchar*)start + 1);
- break;
- case TA_TIME:
- if (tm_tag_file_t != tag->type)
- {
- g_warning("Got time attribute for non-file tag %s", tag->name);
- return FALSE;
- }
- else
- tag->atts.file.timestamp = atol((gchar*)start + 1);
- break;
- case TA_LANG:
- if (tm_tag_file_t != tag->type)
- {
- g_warning("Got lang attribute for non-file tag %s", tag->name);
- return FALSE;
- }
- else
- tag->atts.file.lang = atoi((gchar*)start + 1);
- break;
- case TA_INACTIVE:
- if (tm_tag_file_t != tag->type)
- {
- g_warning("Got inactive attribute for non-file tag %s", tag->name);
- return FALSE;
- }
- else
- tag->atts.file.inactive = (gboolean) atoi((gchar*)start + 1);
- break;
- case TA_ACCESS:
- tag->atts.entry.access = *(start + 1);
- break;
- case TA_IMPL:
- tag->atts.entry.impl = *(start + 1);
- break;
- default:
-#ifdef TM_DEBUG
- g_warning("Unknown attribute %s", start + 1);
-#endif
- break;
+ if (!isprint(*start))
+ return FALSE;
+ else
+ tag->name = g_strdup((gchar*)start);
}
+ else
+ {
+ switch (*start)
+ {
+ case TA_LINE:
+ tag->atts.entry.line = atol((gchar*)start + 1);
+ break;
+ case TA_LOCAL:
+ tag->atts.entry.local = atoi((gchar*)start + 1);
+ break;
+ case TA_TYPE:
+ tag->type = (TMTagType) atoi((gchar*)start + 1);
+ break;
+ case TA_ARGLIST:
+ tag->atts.entry.arglist = g_strdup((gchar*)start + 1);
+ break;
+ case TA_SCOPE:
+ tag->atts.entry.scope = g_strdup((gchar*)start + 1);
+ break;
+ case TA_VARTYPE:
+ tag->atts.entry.var_type = g_strdup((gchar*)start + 1);
+ break;
+ case TA_INHERITS:
+ tag->atts.entry.inheritance = g_strdup((gchar*)start + 1);
+ break;
+ case TA_TIME:
+ if (tm_tag_file_t != tag->type)
+ {
+ g_warning("Got time attribute for non-file tag %s", tag->name);
+ return FALSE;
+ }
+ else
+ tag->atts.file.timestamp = atol((gchar*)start + 1);
+ break;
+ case TA_LANG:
+ if (tm_tag_file_t != tag->type)
+ {
+ g_warning("Got lang attribute for non-file tag %s", tag->name);
+ return FALSE;
+ }
+ else
+ tag->atts.file.lang = atoi((gchar*)start + 1);
+ break;
+ case TA_INACTIVE:
+ if (tm_tag_file_t != tag->type)
+ {
+ g_warning("Got inactive attribute for non-file tag %s", tag->name);
+ return FALSE;
+ }
+ else
+ tag->atts.file.inactive = (gboolean) atoi((gchar*)start + 1);
+ break;
+ case TA_ACCESS:
+ tag->atts.entry.access = *(start + 1);
+ break;
+ case TA_IMPL:
+ tag->atts.entry.impl = *(start + 1);
+ break;
+ default:
+ #ifdef TM_DEBUG
+ g_warning("Unknown attribute %s", start + 1);
+ #endif
+ break;
+ }
+ }
+ *end = changed_char;
}
- *end = changed_char;
}
+ else
+ {
+ // alternative parser for PHP and LaTeX global tags files with the following format
+ // tagname|return value|arglist|description\n
+ gchar **fields;
+ guint field_len;
+ for (start = end = buf, status = TRUE; (TRUE == status); start = end, ++ end)
+ {
+ while ((*end < TA_NAME) && (*end != '\0') && (*end != '\n'))
+ ++ end;
+ if (('\0' == *end) || ('\n' == *end))
+ status = FALSE;
+ //changed_char = *end;
+ *end = '\0';
+ if (NULL == tag->name && !isprint(*start))
+ return FALSE;
+
+ fields = g_strsplit((gchar*)start, "|", -1);
+ field_len = g_strv_length(fields);
+
+ if (field_len >= 1) tag->name = g_strdup(fields[0]);
+ else tag->name = NULL;
+ if (field_len >= 2 && fields[1] != NULL) tag->atts.entry.var_type = g_strdup(fields[1]);
+ if (field_len >= 3 && fields[2] != NULL) tag->atts.entry.arglist = g_strdup(fields[2]);
+ tag->atts.file.lang = mode;
+ tag->type = tm_tag_prototype_t;
+ g_strfreev(fields);
+ }
+ }
+
if (NULL == tag->name)
return FALSE;
if (tm_tag_file_t != tag->type)
@@ -298,12 +333,12 @@ gboolean tm_tag_init_from_file(TMTag *tag, TMSourceFile *file, FILE *fp)
return TRUE;
}
-TMTag *tm_tag_new_from_file(TMSourceFile *file, FILE *fp)
+TMTag *tm_tag_new_from_file(TMSourceFile *file, FILE *fp, gint mode)
{
TMTag *tag;
TAG_NEW(tag);
- if (FALSE == tm_tag_init_from_file(tag, file, fp))
+ if (FALSE == tm_tag_init_from_file(tag, file, fp, mode))
{
TAG_FREE(tag);
return NULL;
diff --git a/tagmanager/tm_workspace.c b/tagmanager/tm_workspace.c
index 1da60064e..a26e7ce96 100644
--- a/tagmanager/tm_workspace.c
+++ b/tagmanager/tm_workspace.c
@@ -133,10 +133,11 @@ gboolean tm_workspace_remove_object(TMWorkObject *w, gboolean free)
return FALSE;
}
-gboolean tm_workspace_load_global_tags(const char *tags_file)
+gboolean tm_workspace_load_global_tags(const char *tags_file, gint mode)
{
FILE *fp;
TMTag *tag;
+ TMTagAttrType attr[] = { tm_tag_attr_name_t, 0 };
if (NULL == (fp = fopen(tags_file, "r")))
return FALSE;
@@ -144,9 +145,14 @@ gboolean tm_workspace_load_global_tags(const char *tags_file)
tm_create_workspace();
if (NULL == theWorkspace->global_tags)
theWorkspace->global_tags = g_ptr_array_new();
- while (NULL != (tag = tm_tag_new_from_file(NULL, fp)))
+ while (NULL != (tag = tm_tag_new_from_file(NULL, fp, mode)))
g_ptr_array_add(theWorkspace->global_tags, tag);
fclose(fp);
+
+ // resort the whole array, because tm_tags_find expects a sorted array and it is not sorted
+ // when global.tags, php.tags and latex.tags are loaded at the same time
+ tm_tags_sort(theWorkspace->global_tags, attr, TRUE);
+
return TRUE;
}
@@ -278,7 +284,7 @@ gboolean tm_workspace_create_global_tags(const char *pre_process, const char **i
g_free(command);
unlink(temp_file);
g_free(temp_file);
- source_file = tm_source_file_new(temp_file2, TRUE);
+ source_file = tm_source_file_new(temp_file2, TRUE, NULL);
if (NULL == source_file)
{
unlink(temp_file2);
@@ -435,7 +441,7 @@ void tm_workspace_dump(void)
}
const GPtrArray *tm_workspace_find(const char *name, int type, TMTagAttrType *attrs
- , gboolean partial)
+ , gboolean partial, langType lang)
{
static GPtrArray *tags = NULL;
TMTag **matches[2], **match;
@@ -460,7 +466,7 @@ const GPtrArray *tm_workspace_find(const char *name, int type, TMTagAttrType *at
{
for (tagIter=0;tagItertype)
+ if ((type & (*match)->type) && (lang == -1 || (*match)->atts.file.lang == lang))
g_ptr_array_add(tags, *match);
if (partial)
{
@@ -498,7 +504,7 @@ const GPtrArray *tm_workspace_get_parents(const gchar *name)
parents = g_ptr_array_new();
else
g_ptr_array_set_size(parents, 0);
- matches = tm_workspace_find(name, tm_tag_class_t, type, FALSE);
+ matches = tm_workspace_find(name, tm_tag_class_t, type, FALSE, -1);
if ((NULL == matches) || (0 == matches->len))
return NULL;
g_ptr_array_add(parents, matches->pdata[0]);
@@ -517,7 +523,7 @@ const GPtrArray *tm_workspace_get_parents(const gchar *name)
}
if (parents->len == j)
{
- matches = tm_workspace_find(*klass, tm_tag_class_t, type, FALSE);
+ matches = tm_workspace_find(*klass, tm_tag_class_t, type, FALSE, -1);
if ((NULL != matches) && (0 < matches->len))
g_ptr_array_add(parents, matches->pdata[0]);
}