* comment * PHP calltips for NEDIT based on "funcsummary.txt" from the PHP Documentation Group Date: 2004-11-28 * comment * New versions can be found at http://xmp.net/arno/php-calltips/ * comment * Copyright (c) 2004 by Arno Hollosi and the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/). * language * PHP * version * 1.0 * comment * functions start here class_exists bool class_exists(string classname [, bool autoload]) Checks if the class exists create_function string create_function(string args, string code) Creates an anonymous function, and returns its name (funny, eh?) debug_backtrace array debug_backtrace(void) Return backtrace as array debug_print_backtrace void debug_print_backtrace(void) define bool define(string constant_name, mixed value, case_sensitive=true) Define a new constant defined bool defined(string constant_name) Check whether a constant exists each array each(array arr) Return the currently pointed key..value pair in the passed array, and advance the pointer to the next element error_reporting int error_reporting(int new_error_level=null) Return the current error_reporting level, and if an argument was passed - change to the new level extension_loaded bool extension_loaded(string extension_name) Returns true if the named extension is loaded func_get_arg mixed func_get_arg(int arg_num) Get the $arg_num'th argument that was passed to the function func_get_args array func_get_args() Get an array of the arguments that were passed to the function func_num_args int func_num_args(void) Get the number of arguments that were passed to the function function_exists bool function_exists(string function_name) Checks if the function exists get_class string get_class([object object]) Retrieves the class name get_class_methods array get_class_methods(mixed class) Returns an array of method names for class or class instance. get_class_vars array get_class_vars(string class_name) Returns an array of default properties of the class get_declared_classes array get_declared_classes() Returns an array of all declared classes. get_declared_interfaces array get_declared_interfaces() Returns an array of all declared interfaces. get_defined_constants array get_defined_constants(void) Return an array containing the names and values of all defined constants get_defined_functions array get_defined_functions(void) Returns an array of all defined functions get_defined_vars array get_defined_vars(void) Returns an associative array of names and values of all currently defined variable names (variables in the current scope) get_extension_funcs array get_extension_funcs(string extension_name) Returns an array with the names of functions belonging to the named extension get_included_files array get_included_files(void) Returns an array with the file names that were include_once()'d get_loaded_extensions array get_loaded_extensions(void) Return an array containing names of loaded extensions get_object_vars array get_object_vars(object obj) Returns an array of object properties get_parent_class string get_parent_class(mixed object) Retrieves the parent class name for object or class. get_resource_type string get_resource_type(resource res) Get the resource type name for a given resource interface_exists bool interface_exists(string classname [, bool autoload]) Checks if the class exists is_a bool is_a(object object, string class_name) Returns true if the object is of this class or has this class as one of its parents is_subclass_of bool is_subclass_of(object object, string class_name) Returns true if the object has this class as one of its parents leak void leak(int num_bytes=3) Cause an intentional memory leak, for testing/debugging purposes method_exists bool method_exists(object object, string method) Checks if the class method exists restore_error_handler void restore_error_handler(void) Restores the previously defined error handler function restore_exception_handler void restore_exception_handler(void) Restores the previously defined exception handler function set_error_handler string set_error_handler(string error_handler [, int error_types]) Sets a user-defined error handler function. Returns the previously defined error handler, or false on error set_exception_handler string set_exception_handler(callable exception_handler) Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on error strcasecmp int strcasecmp(string str1, string str2) Binary safe case-insensitive string comparison strcmp int strcmp(string str1, string str2) Binary safe string comparison strlen int strlen(string str) Get string length strncasecmp int strncasecmp(string str1, string str2, int len) Binary safe string comparison strncmp int strncmp(string str1, string str2, int len) Binary safe string comparison trigger_error void trigger_error(string messsage [, int error_type]) Generates a user-level error/warning/notice message zend_version string zend_version(void) Get the version of the Zend Engine ErrorException::getSeverity int ErrorException::getSeverity() Get the exception severity Exception::__clone Exception Exception::__clone() Clone the exception object Exception::__toString string Exception::__toString() Obtain the string representation of the Exception object Exception::getCode int Exception::getCode() Get the exception code Exception::getFile string Exception::getFile() Get the file in which the exception occurred Exception::getLine int Exception::getLine() Get the line in which the exception occurred Exception::getMessage string Exception::getMessage() Get the exception message Exception::getTrace array Exception::getTrace() Get the stack trace for the location in which the exception occurred Exception::getTraceAsString string Exception::getTraceAsString() Obtain the backtrace for the exception as a string (instead of an array) xception::__construct Exception::__construct(string message, int code) Exception constructor rrorException::__construct ErrorException::__construct(string message, int code, int severity [, $filename [, $lineno]]) ErrorException constructor ReflectionClass::getParentClass public ReflectionClass ReflectionClass::getParentClass() Returns the class' parent class, or, if none exists, FALSE ReflectionMethod::getDeclaringClass public ReflectionClass ReflectionMethod::getDeclaringClass() Get the declaring class ReflectionParameter::getClass public ReflectionClass ReflectionParameter::getClass() Returns this parameters's class hint or NULL if there is none ReflectionProperty::getDeclaringClass public ReflectionClass ReflectionProperty::getDeclaringClass() Get the declaring class ReflectionClass::__construct public ReflectionClass::__construct(mixed argument) throws ReflectionException Constructor. Takes a string or an instance as an argument ReflectionClass::getInterfaces public ReflectionClass[] ReflectionClass::getInterfaces() Returns an array of interfaces this class implements ReflectionExtension::getClasses public ReflectionClass[] ReflectionExtension::getClasses() Returns an array containing Reflection_Class objects for all classes of this extension ReflectionExtension::__construct public ReflectionExtension::__construct(string name) Constructor. Throws an Exception in case the given extension does not exist Reflection_Class::getExtension public ReflectionExtension|NULL Reflection_Class::getExtension() Returns NULL or the extension the class belongs to ReflectionFunction::__construct public ReflectionFunction::__construct(string name) Constructor. Throws an Exception in case the given function does not exist ReflectionExtension::getFunctions public ReflectionFunction[] ReflectionExtension::getFunctions() Returns an array of this extension's fuctions ReflectionClass::getConstructor public ReflectionMethod ReflectionClass::getConstructor() Returns the class' constructor if there is one, NULL otherwise ReflectionClass::getMethod public ReflectionMethod ReflectionClass::getMethod(string name) throws ReflectionException Returns the class' method specified by it's name ReflectionMethod::__construct public ReflectionMethod::__construct(mixed class, string name) Constructor. Throws an Exception in case the given method does not exist ReflectionClass::getMethods public ReflectionMethod[] ReflectionClass::getMethods() Returns an array of this class' methods ReflectionObject::__construct public ReflectionObject::__construct(mixed argument) throws ReflectionException Constructor. Takes an instance as an argument ReflectionParameter::__construct public ReflectionParameter::__construct(mixed function, mixed parameter) Constructor. Throws an Exception in case the given method does not exist Reflection_Function::getParameters public ReflectionParameter[] Reflection_Function::getParameters() Returns an array of parameter objects for this function ReflectionClass::getProperty public ReflectionProperty ReflectionClass::getProperty(string name) throws ReflectionException Returns the class' property specified by it's name ReflectionProperty::__construct public ReflectionProperty::__construct(mixed class, string name) Constructor. Throws an Exception in case the given property does not exist ReflectionClass::getProperties public ReflectionProperty[] ReflectionClass::getProperties() Returns an array of this class' properties ReflectionClass::getConstants public array ReflectionClass::getConstants() Returns an associative array containing this class' constants and their values ReflectionClass::getDefaultProperties public array ReflectionClass::getDefaultProperties() Returns an associative array containing copies of all default property values of the class ReflectionClass::getStaticProperties public array ReflectionClass::getStaticProperties() Returns an associative array containing all static property values of the class ReflectionExtension::getClassNames public array ReflectionExtension::getClassNames() Returns an array containing all names of all classes of this extension ReflectionExtension::getConstants public array ReflectionExtension::getConstants() Returns an associative array containing this extension's constants and their values ReflectionExtension::getINIEntries public array ReflectionExtension::getINIEntries() Returns an associative array containing this extension's INI entries and their values ReflectionFunction::getStaticVariables public array ReflectionFunction::getStaticVariables() Returns an associative array containing this function's static variables and their values ReflectionClass::implementsInterface public bool ReflectionClass::implementsInterface(string|reflection_class interface_name) Returns whether this class is a subclass of another class ReflectionClass::isAbstract public bool ReflectionClass::isAbstract() Returns whether this class is abstract ReflectionClass::isFinal public bool ReflectionClass::isFinal() Returns whether this class is final ReflectionClass::isInstance public bool ReflectionClass::isInstance(stdclass object) Returns whether the given object is an instance of this class ReflectionClass::isInstantiable public bool ReflectionClass::isInstantiable() Returns whether this class is instantiable ReflectionClass::isInterface public bool ReflectionClass::isInterface() Returns whether this is an interface or a class ReflectionClass::isInternal public bool ReflectionClass::isInternal() Returns whether this class is an internal class ReflectionClass::isIterateable public bool ReflectionClass::isIterateable() Returns whether this class is iterateable (can be used inside foreach) ReflectionClass::isSubclassOf public bool ReflectionClass::isSubclassOf(string|reflection_class class) Returns whether this class is a subclass of another class ReflectionClass::isUserDefined public bool ReflectionClass::isUserDefined() Returns whether this class is user-defined ReflectionFunction::getNumberOfParameters public bool ReflectionFunction::getNumberOfParameters() Gets the number of required parameters ReflectionFunction::getNumberOfRequiredParameters public bool ReflectionFunction::getNumberOfRequiredParameters() Gets the number of required parameters ReflectionFunction::isInternal public bool ReflectionFunction::isInternal() Returns whether this is an internal function ReflectionFunction::isUserDefined public bool ReflectionFunction::isUserDefined() Returns whether this is an user-defined function ReflectionFunction::returnsReference public bool ReflectionFunction::returnsReference() Gets whether this function returns a reference ReflectionMethod::isAbstract public bool ReflectionMethod::isAbstract() Returns whether this method is abstract ReflectionMethod::isConstructor public bool ReflectionMethod::isConstructor() Returns whether this method is the constructor ReflectionMethod::isDestructor public bool ReflectionMethod::isDestructor() Returns whether this method is static ReflectionMethod::isFinal public bool ReflectionMethod::isFinal() Returns whether this method is final ReflectionMethod::isPrivate public bool ReflectionMethod::isPrivate() Returns whether this method is private ReflectionMethod::isProtected public bool ReflectionMethod::isProtected() Returns whether this method is protected ReflectionMethod::isPublic public bool ReflectionMethod::isPublic() Returns whether this method is public ReflectionMethod::isStatic public bool ReflectionMethod::isStatic() Returns whether this method is static ReflectionParameter::allowsNull public bool ReflectionParameter::allowsNull() Returns whether NULL is allowed as this parameters's value ReflectionParameter::getDefaultValue public bool ReflectionParameter::getDefaultValue() Returns the default value of this parameter or throws an exception ReflectionParameter::isDefaultValueAvailable public bool ReflectionParameter::isDefaultValueAvailable() Returns whether the default value of this parameter is available ReflectionParameter::isOptional public bool ReflectionParameter::isOptional() Returns whether this parameter is an optional parameter ReflectionParameter::isPassedByReference public bool ReflectionParameter::isPassedByReference() Returns whether this parameters is passed to by reference ReflectionProperty::isDefault public bool ReflectionProperty::isDefault() Returns whether this property is default (declared at compilation time). ReflectionProperty::isPrivate public bool ReflectionProperty::isPrivate() Returns whether this property is private ReflectionProperty::isProtected public bool ReflectionProperty::isProtected() Returns whether this property is protected ReflectionProperty::isPublic public bool ReflectionProperty::isPublic() Returns whether this property is public ReflectionProperty::isStatic public bool ReflectionProperty::isStatic() Returns whether this property is static ReflectionClass::getEndLine public int ReflectionClass::getEndLine() Returns the line this class' declaration ends at ReflectionClass::getModifiers public int ReflectionClass::getModifiers() Returns a bitfield of the access modifiers for this class ReflectionClass::getStartLine public int ReflectionClass::getStartLine() Returns the line this class' declaration starts at ReflectionFunction::getEndLine public int ReflectionFunction::getEndLine() Returns the line this function's declaration ends at ReflectionFunction::getStartLine public int ReflectionFunction::getStartLine() Returns the line this function's declaration starts at ReflectionMethod::getModifiers public int ReflectionMethod::getModifiers() Returns a bitfield of the access modifiers for this method ReflectionProperty::getModifiers public int ReflectionProperty::getModifiers() Returns a bitfield of the access modifiers for this property ReflectionClass::getConstant public mixed ReflectionClass::getConstant(string name) Returns the class' constant specified by its name ReflectionFunction::invoke public mixed ReflectionFunction::invoke(mixed* args) Invokes the function ReflectionMethod::invoke public mixed ReflectionMethod::invoke(mixed object, mixed* args) Invokes the function. Pass a ReflectionProperty::getValue public mixed ReflectionProperty::getValue(stdclass object) Returns this property's value Reflection::getModifierNames public static array Reflection::getModifierNames(int modifiers) Returns an array of modifier names Reflection::export public static mixed Reflection::export(Reflector r [, bool return]) Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionClass::export public static mixed ReflectionClass::export(mixed argument, [, bool return]) throws ReflectionException Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionExtension::export public static mixed ReflectionExtension::export(string name, [, bool return]) throws ReflectionException Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionFunction::export public static mixed ReflectionFunction::export(string name, [, bool return]) throws ReflectionException Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionMethod::export public static mixed ReflectionMethod::export(mixed class, string name, [, bool return]) throws ReflectionException Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionObject::export public static mixed ReflectionObject::export(mixed argument, [, bool return]) throws ReflectionException Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionParameter::export public static mixed ReflectionParameter::export(mixed function, mixed parameter, [, bool return]) throws ReflectionException Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionProperty::export public static mixed ReflectionProperty::export(mixed class, string name [, bool return]) throws ReflectionException Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. ReflectionClass::newInstance public stdclass ReflectionClass::newInstance(mixed* args, ...) Returns an instance of this class ReflectionClass::__toString public string ReflectionClass::__toString() Returns a string representation ReflectionClass::getDocComment public string ReflectionClass::getDocComment() Returns the doc comment for this class ReflectionClass::getFileName public string ReflectionClass::getFileName() Returns the filename of the file this class was declared in ReflectionClass::getName public string ReflectionClass::getName() Returns the class' name ReflectionExtension::__toString public string ReflectionExtension::__toString() Returns a string representation ReflectionExtension::getName public string ReflectionExtension::getName() Returns this extension's name ReflectionExtension::getVersion public string ReflectionExtension::getVersion() Returns this extension's version ReflectionFunction::__toString public string ReflectionFunction::__toString() Returns a string representation ReflectionFunction::getDocComment public string ReflectionFunction::getDocComment() Returns the doc comment for this function ReflectionFunction::getFileName public string ReflectionFunction::getFileName() Returns the filename of the file this function was declared in ReflectionFunction::getName public string ReflectionFunction::getName() Returns this function's name ReflectionMethod::__toString public string ReflectionMethod::__toString() Returns a string representation ReflectionParameter::__toString public string ReflectionParameter::__toString() Returns a string representation ReflectionParameter::getName public string ReflectionParameter::getName() Returns this parameters's name ReflectionProperty::__toString public string ReflectionProperty::__toString() Returns a string representation ReflectionProperty::getName public string ReflectionProperty::getName() Returns the class' name ReflectionClass::getExtensionName public string|false ReflectionClass::getExtensionName() Returns false or the name of the extension the class belongs to ReflectionProperty::setValue public void ReflectionProperty::setValue(stdclass object, mixed value) Sets this property's value bcadd string bcadd(string left_operand, string right_operand [, int scale]) Returns the sum of two arbitrary precision numbers bccomp int bccomp(string left_operand, string right_operand [, int scale]) Compares two arbitrary precision numbers bcdiv string bcdiv(string left_operand, string right_operand [, int scale]) Returns the quotient of two arbitrary precision numbers (division) bcmod string bcmod(string left_operand, string right_operand) Returns the modulus of the two arbitrary precision operands bcmul string bcmul(string left_operand, string right_operand [, int scale]) Returns the multiplication of two arbitrary precision numbers bcpow string bcpow(string x, string y [, int scale]) Returns the value of an arbitrary precision number raised to the power of another bcpowmod string bcpowmod(string x, string y, string mod [, int scale]) Returns the value of an arbitrary precision number raised to the power of another reduced by a modulous bcscale bool bcscale(int scale) Sets default scale parameter for all bc math functions bcsqrt string bcsqrt(string operand [, int scale]) Returns the square root of an arbitray precision number bcsub string bcsub(string left_operand, string right_operand [, int scale]) Returns the difference between two arbitrary precision numbers bzcompress string bzcompress(string source [, int blocksize100k [, int workfactor]]) Compresses a string into BZip2 encoded data bzdecompress string bzdecompress(string source [, int small]) Decompresses BZip2 compressed data bzerrno int bzerrno(resource bz) Returns the error number bzerror array bzerror(resource bz) Returns the error number and error string in an associative array bzerrstr string bzerrstr(resource bz) Returns the error string bzopen resource bzopen(string|int file|fp, string mode) Opens a new BZip2 stream bzread string bzread(int bz[, int length]) Reads up to length bytes from a BZip2 stream, or 1024 bytes if length is not specified jdtounix int jdtounix(int jday) Convert Julian Day to UNIX timestamp unixtojd int unixtojd([int timestamp]) Convert UNIX timestamp to Julian Day cal_days_in_month int cal_days_in_month(int calendar, int month, int year) Returns the number of days in a month for a given year and calendar cal_from_jd array cal_from_jd(int jd, int calendar) Converts from Julian Day Count to a supported calendar and return extended information cal_info array cal_info(int calendar) Returns information about a particular calendar cal_to_jd int cal_to_jd(int calendar, int month, int day, int year) Converts from a supported calendar to Julian Day Count frenchtojd int frenchtojd(int month, int day, int year) Converts a french republic calendar date to julian day count gregoriantojd int gregoriantojd(int month, int day, int year) Converts a gregorian calendar date to julian day count jddayofweek mixed jddayofweek(int juliandaycount [, int mode]) Returns name or number of day of week from julian day count jdmonthname string jdmonthname(int juliandaycount, int mode) Returns name of month for julian day count jdtofrench string jdtofrench(int juliandaycount) Converts a julian day count to a french republic calendar date jdtogregorian string jdtogregorian(int juliandaycount) Converts a julian day count to a gregorian calendar date jdtojewish string jdtojewish(int juliandaycount [, bool hebrew [, int fl]]) Converts a julian day count to a jewish calendar date jdtojulian string jdtojulian(int juliandaycount) Convert a julian day count to a julian calendar date jewishtojd int jewishtojd(int month, int day, int year) Converts a jewish calendar date to a julian day count juliantojd int juliantojd(int month, int day, int year) Converts a julian calendar date to julian day count easter_date int easter_date([int year]) Return the timestamp of midnight on Easter of a given year (defaults to current year) easter_days int easter_days([int year, [int method]]) Return the number of days after March 21 that Easter falls on for a given year (defaults to current year) com_create_guid string com_create_guid() Generate a globally unique identifier (GUID) com_event_sink bool com_event_sink(object comobject, object sinkobject [, mixed sinkinterface]) Connect events from a COM object to a PHP object com_get_active_object object com_get_active_object(string progid [, int code_page ]) Returns a handle to an already running instance of a COM object com_load_typelib bool com_load_typelib(string typelib_name [, int case_insensitive]) Loads a Typelibrary and registers its constants com_message_pump bool com_message_pump([int timeoutms]) Process COM messages, sleeping for up to timeoutms milliseconds com_print_typeinfo bool com_print_typeinfo(object comobject | string typelib, string dispinterface, bool wantsink) Print out a PHP class definition for a dispatchable interface COMPersistHelper::GetCurFile string COMPersistHelper::GetCurFile() Determines the filename into which an object will be saved, or false if none is set, via IPersistFile::GetCurFile COMPersistHelper::GetMaxStreamSize int COMPersistHelper::GetMaxStreamSize() Gets maximum stream size required to store the object data, via IPersistStream::GetSizeMax (or IPersistStreamInit::GetSizeMax) COMPersistHelper::InitNew int COMPersistHelper::InitNew() Initializes the object to a default state, via IPersistStreamInit::InitNew COMPersistHelper::LoadFromFile bool COMPersistHelper::LoadFromFile(string filename [, int flags]) Load object data from file, via IPersistFile::Load COMPersistHelper::LoadFromStream mixed COMPersistHelper::LoadFromStream(resource stream) Initializes an object from the stream where it was previously saved, via IPersistStream::Load or OleLoadFromStream COMPersistHelper::SaveToFile bool COMPersistHelper::SaveToFile(string filename [, bool remember]) Persist object data to file, via IPersistFile::Save COMPersistHelper::SaveToStream int COMPersistHelper::SaveToStream(resource stream) Saves the object to a stream, via IPersistStream::Save COMPersistHelper::__construct int COMPersistHelper::__construct([object com_object]) Creates a persistence helper object, usually associated with a com_object variant_abs mixed variant_abs(mixed left) Returns the absolute value of a variant variant_add mixed variant_add(mixed left, mixed right) "Adds" two variant values together and returns the result variant_and mixed variant_and(mixed left, mixed right) performs a bitwise AND operation between two variants and returns the result variant_cast object variant_cast(object variant, int type) Convert a variant into a new variant object of another type variant_cat mixed variant_cat(mixed left, mixed right) concatenates two variant values together and returns the result variant_cmp int variant_cmp(mixed left, mixed right [, int lcid [, int flags]]) Compares two variants variant_date_from_timestamp object variant_date_from_timestamp(int timestamp) Returns a variant date representation of a unix timestamp variant_date_to_timestamp int variant_date_to_timestamp(object variant) Converts a variant date/time value to unix timestamp variant_div mixed variant_div(mixed left, mixed right) Returns the result from dividing two variants variant_eqv mixed variant_eqv(mixed left, mixed right) Performs a bitwise equivalence on two variants variant_fix mixed variant_fix(mixed left) Returns the integer part ? of a variant variant_get_type int variant_get_type(object variant) Returns the VT_XXX type code for a variant variant_idiv mixed variant_idiv(mixed left, mixed right) Converts variants to integers and then returns the result from dividing them variant_imp mixed variant_imp(mixed left, mixed right) Performs a bitwise implication on two variants variant_int mixed variant_int(mixed left) Returns the integer portion of a variant variant_mod mixed variant_mod(mixed left, mixed right) Divides two variants and returns only the remainder variant_mul mixed variant_mul(mixed left, mixed right) multiplies the values of the two variants and returns the result variant_neg mixed variant_neg(mixed left) Performs logical negation on a variant variant_not mixed variant_not(mixed left) Performs bitwise not negation on a variant variant_or mixed variant_or(mixed left, mixed right) Performs a logical disjunction on two variants variant_pow mixed variant_pow(mixed left, mixed right) Returns the result of performing the power function with two variants variant_round mixed variant_round(mixed left, int decimals) Rounds a variant to the specified number of decimal places variant_set void variant_set(object variant, mixed value) Assigns a new value for a variant object variant_set_type void variant_set_type(object variant, int type) Convert a variant into another type. Variant is modified "in-place" variant_sub mixed variant_sub(mixed left, mixed right) subtracts the value of the right variant from the left variant value and returns the result variant_xor mixed variant_xor(mixed left, mixed right) Performs a logical exclusion on two variants cpdf_add_annotation bool cpdf_add_annotation(int pdfdoc, float xll, float yll, float xur, float xur, string title, string text [, int mode]) Sets annotation cpdf_add_outline int cpdf_add_outline(int pdfdoc, int lastoutline, int sublevel, int open, int pagenr, string title) Adds outline cpdf_arc bool cpdf_arc(int pdfdoc, float x, float y, float radius, float start, float end [, int mode]) Draws an arc cpdf_begin_text bool cpdf_begin_text(int pdfdoc) Starts text section cpdf_circle bool cpdf_circle(int pdfdoc, float x, float y, float radius [, int mode]) Draws a circle cpdf_clip bool cpdf_clip(int pdfdoc) Clips to current path cpdf_close bool cpdf_close(int pdfdoc) Closes the pdf document cpdf_closepath bool cpdf_closepath(int pdfdoc) Close path cpdf_closepath_fill_stroke bool cpdf_closepath_fill_stroke(int pdfdoc) Close, fill and stroke current path cpdf_closepath_stroke bool cpdf_closepath_stroke(int pdfdoc) Close path and draw line along path cpdf_continue_text bool cpdf_continue_text(int pdfdoc, string text) Outputs text in next line cpdf_curveto bool cpdf_curveto(int pdfdoc, float x1, float y1, float x2, float y2, float x3, float y3 [, int mode]) Draws a curve cpdf_end_text bool cpdf_end_text(int pdfdoc) Ends text section cpdf_fill bool cpdf_fill(int pdfdoc) Fills current path cpdf_fill_stroke bool cpdf_fill_stroke(int pdfdoc) Fills and stroke current path cpdf_finalize bool cpdf_finalize(int pdfdoc) Creates PDF doc in memory cpdf_finalize_page bool cpdf_finalize_page(int pdfdoc, int pagenr) Ends the page to save memory cpdf_global_set_document_limits bool cpdf_global_set_document_limits(int maxPages, int maxFonts, int maxImages, int maxAnnots, int maxObjects) Sets document settings for all documents cpdf_import_jpeg bool cpdf_import_jpeg(int pdfdoc, string filename, float x, float y, float angle, float width, float height, float x_scale, float y_scale, int gsave [, int mode]) Includes JPEG image cpdf_lineto bool cpdf_lineto(int pdfdoc, float x, float y [, int mode]) Draws a line cpdf_moveto bool cpdf_moveto(int pdfdoc, float x, float y [, int mode]) Sets current point cpdf_newpath bool cpdf_newpath(int pdfdoc) Starts new path cpdf_open int cpdf_open(int compression [, string filename [, array doc_limits]]) Opens a new pdf document cpdf_output_buffer bool cpdf_output_buffer(int pdfdoc) Returns the internal memory stream as string cpdf_page_init bool cpdf_page_init(int pdfdoc, int pagenr, int orientation, int height, int width [, float unit]) Starts page cpdf_place_inline_image bool cpdf_place_inline_image(int pdfdoc, int gdimage, float x, float y, float angle, fload width, float height, int gsave [, int mode]) Includes image cpdf_rect bool cpdf_rect(int pdfdoc, float x, float y, float width, float height [, int mode]) Draws a rectangle cpdf_restore bool cpdf_restore(int pdfdoc) Restores formerly saved enviroment cpdf_rlineto bool cpdf_rlineto(int pdfdoc, float x, float y [, int mode]) Draws a line relative to current point cpdf_rmoveto bool cpdf_rmoveto(int pdfdoc, float x, float y [, int mode]) Sets current point cpdf_rotate bool cpdf_rotate(int pdfdoc, float angle) Sets rotation cpdf_rotate_text bool cpdf_rotate_text(int pdfdoc, float angle) Sets text rotation angle cpdf_save bool cpdf_save(int pdfdoc) Saves current enviroment cpdf_save_to_file bool cpdf_save_to_file(int pdfdoc, string filename) Saves the internal memory stream to a file cpdf_scale bool cpdf_scale(int pdfdoc, float x_scale, float y_scale) Sets scaling cpdf_set_action_url bool cpdf_set_action_url(int pdfdoc, float xll, float yll, float xur, float xur, string url [, int mode]) Sets hyperlink cpdf_set_char_spacing bool cpdf_set_char_spacing(int pdfdoc, float space) Sets character spacing cpdf_set_creator bool cpdf_set_creator(int pdfdoc, string creator) Sets the creator field cpdf_set_current_page bool cpdf_set_current_page(int pdfdoc, int pagenr) Sets page for output cpdf_set_font bool cpdf_set_font(int pdfdoc, string font, float size, string encoding) Selects the current font face, size and encoding cpdf_set_font_directories bool cpdf_set_font_directories(int pdfdoc, string pfmdir, string pfbdir) Sets directories to search when using external fonts cpdf_set_font_map_file bool cpdf_set_font_map_file(int pdfdoc, string filename) Sets fontname to filename translation map when using external fonts cpdf_set_horiz_scaling bool cpdf_set_horiz_scaling(int pdfdoc, float scale) Sets horizontal scaling of text cpdf_set_keywords bool cpdf_set_keywords(int pdfptr, string keywords) Fills the keywords field of the info structure cpdf_set_leading bool cpdf_set_leading(int pdfdoc, float distance) Sets distance between text lines cpdf_set_page_animation bool cpdf_set_page_animation(int pdfdoc, int transition, float duration, float direction, int orientation, int inout) Sets transition between pages cpdf_set_subject bool cpdf_set_subject(int pdfptr, string subject) Fills the subject field of the info structure cpdf_set_text_matrix bool cpdf_set_text_matrix(int pdfdoc, arry matrix) Sets the text matrix cpdf_set_text_pos bool cpdf_set_text_pos(int pdfdoc, float x, float y [, int mode]) Sets the position of text for the next cpdf_show call cpdf_set_text_rendering bool cpdf_set_text_rendering(int pdfdoc, int rendermode) Determines how text is rendered cpdf_set_text_rise bool cpdf_set_text_rise(int pdfdoc, float value) Sets the text rise cpdf_set_title bool cpdf_set_title(int pdfptr, string title) Fills the title field of the info structure cpdf_set_viewer_preferences bool cpdf_set_viewer_preferences(int pdfdoc, array preferences) How to show the document in the viewer cpdf_set_word_spacing bool cpdf_set_word_spacing(int pdfdoc, float space) Sets spacing between words cpdf_setdash bool cpdf_setdash(int pdfdoc, long white, long black) Sets dash pattern cpdf_setflat bool cpdf_setflat(int pdfdoc, float value) Sets flatness cpdf_setgray bool cpdf_setgray(int pdfdoc, float value) Sets drawing and filling color to gray value cpdf_setgray_fill bool cpdf_setgray_fill(int pdfdoc, float value) Sets filling color to gray value cpdf_setgray_stroke bool cpdf_setgray_stroke(int pdfdoc, float value) Sets drawing color to gray value cpdf_setlinecap bool cpdf_setlinecap(int pdfdoc, int value) Sets linecap parameter cpdf_setlinejoin bool cpdf_setlinejoin(int pdfdoc, int value) Sets linejoin parameter cpdf_setlinewidth bool cpdf_setlinewidth(int pdfdoc, float width) Sets line width cpdf_setmiterlimit bool cpdf_setmiterlimit(int pdfdoc, float value) Sets miter limit cpdf_setrgbcolor bool cpdf_setrgbcolor(int pdfdoc, float red, float green, float blue) Sets drawing and filling color to RGB color value cpdf_setrgbcolor_fill bool cpdf_setrgbcolor_fill(int pdfdoc, float red, float green, float blue) Sets filling color to rgb color value cpdf_setrgbcolor_stroke bool cpdf_setrgbcolor_stroke(int pdfdoc, float red, float green, float blue) Sets drawing color to RGB color value cpdf_show bool cpdf_show(int pdfdoc, string text) Output text at current position cpdf_show_xy bool cpdf_show_xy(int pdfdoc, string text, float x-koor, float y-koor [, int mode]) Output text at position cpdf_stringwidth float cpdf_stringwidth(int pdfdoc, string text) Returns width of text in current font cpdf_stroke bool cpdf_stroke(int pdfdoc) Draws line along path path cpdf_text bool cpdf_text(int pdfdoc, string text [, float x-koor, float y-koor [, int mode [, float orientation [, int alignmode]]]]) Outputs text cpdf_translate bool cpdf_translate(int pdfdoc, float x, float y) Sets origin of coordinate system ctype_alnum bool ctype_alnum(mixed c) Checks for alphanumeric character(s) ctype_alpha bool ctype_alpha(mixed c) Checks for alphabetic character(s) ctype_cntrl bool ctype_cntrl(mixed c) Checks for control character(s) ctype_digit bool ctype_digit(mixed c) Checks for numeric character(s) ctype_graph bool ctype_graph(mixed c) Checks for any printable character(s) except space ctype_lower bool ctype_lower(mixed c) Checks for lowercase character(s) ctype_print bool ctype_print(mixed c) Checks for printable character(s) ctype_punct bool ctype_punct(mixed c) Checks for any printable character which is not whitespace or an alphanumeric character ctype_space bool ctype_space(mixed c) Checks for whitespace character(s) ctype_upper bool ctype_upper(mixed c) Checks for uppercase character(s) ctype_xdigit bool ctype_xdigit(mixed c) Checks for character(s) representing a hexadecimal digit curl_close void curl_close(resource ch) Close a CURL session curl_copy_handle resource curl_copy_handle(resource ch) Copy a cURL handle along with all of it's preferences curl_errno int curl_errno(resource ch) Return an integer containing the last error number curl_error string curl_error(resource ch) Return a string contain the last error for the current session curl_exec bool curl_exec(resource ch) Perform a CURL session curl_getinfo mixed curl_getinfo(resource ch, int opt) Get information regarding a specific transfer curl_init resource curl_init([string url]) Initialize a CURL session curl_setopt bool curl_setopt(resource ch, string option, mixed value) Set an option for a CURL transfer curl_version array curl_version([int version]) Return cURL version information. curl_multi_add_handle int curl_multi_add_handle(resource multi, resource ch) Add a normal cURL handle to a cURL multi handle curl_multi_close void curl_multi_close(resource mh) Close a set of cURL handles curl_multi_exec int curl_multi_exec(resource mh, int &still_running) Run the sub-connections of the current cURL handle curl_multi_getcontent string curl_multi_getcontent(resource ch) Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set curl_multi_info_read array curl_multi_info_read(resource mh) Get information about the current transfers curl_multi_init resource curl_multi_init(void) Returns a new cURL multi handle curl_multi_remove_handle int curl_multi_remove_handle(resource mh, resource ch) Remove a multi handle from a set of cURL handles curl_multi_select int curl_multi_select(resource mh[, double timeout]) Get all the sockets associated with the cURL extension, which can then be "selected" dba_close void dba_close(resource handle) Closes database dba_delete bool dba_delete(string key, resource handle) Deletes the entry associated with key If inifile: remove all other key lines dba_exists bool dba_exists(string key, resource handle) Checks, if the specified key exists dba_fetch string dba_fetch(string key, [int skip ,] resource handle) Fetches the data associated with key dba_firstkey string dba_firstkey(resource handle) Resets the internal key pointer and returns the first key dba_handlers array dba_handlers([bool full_info]) List configured database handlers dba_insert bool dba_insert(string key, string value, resource handle) If not inifile: Insert value as key, return false, if key exists already If inifile: Add vakue as key (next instance of key) dba_key_split array|false dba_key_split(string key) Splits an inifile key into an array of the form array(0=>group,1=>value_name) but returns false if input is false or null dba_list array dba_list() List opened databases dba_nextkey string dba_nextkey(resource handle) Returns the next key dba_open resource dba_open(string path, string mode [, string handlername, string ...]) Opens path using the specified handler in mode dba_optimize bool dba_optimize(resource handle) Optimizes (e.g. clean up, vacuum) database dba_popen resource dba_popen(string path, string mode [, string handlername, string ...]) Opens path using the specified handler in mode persistently dba_replace bool dba_replace(string key, string value, resource handle) Inserts value as key, replaces key, if key exists already If inifile: remove all other key lines dba_sync bool dba_sync(resource handle) Synchronizes database dbase_add_record bool dbase_add_record(int identifier, array data) Adds a record to the database dbase_close bool dbase_close(int identifier) Closes an open dBase-format database file dbase_create bool dbase_create(string filename, array fields) Creates a new dBase-format database file dbase_delete_record bool dbase_delete_record(int identifier, int record) Marks a record to be deleted dbase_get_header_info array dbase_get_header_info(int database_handle) dbase_get_record array dbase_get_record(int identifier, int record) Returns an array representing a record from the database dbase_get_record_with_names array dbase_get_record_with_names(int identifier, int record) Returns an associative array representing a record from the database dbase_numfields int dbase_numfields(int identifier) Returns the number of fields (columns) in the database dbase_numrecords int dbase_numrecords(int identifier) Returns the number of records in the database dbase_open int dbase_open(string name, int mode) Opens a dBase-format database file dbase_pack bool dbase_pack(int identifier) Packs the database (deletes records marked for deletion) dbase_replace_record bool dbase_replace_record(int identifier, array data, int recnum) Replaces a record to the database dbx_close int dbx_close(dbx_link_object dbx_link) Returns success or failure dbx_compare int dbx_compare(array row_x, array row_y, string columnname [, int flags]) Returns row_y[columnname] - row_x[columnname], converted to -1, 0 or 1 dbx_connect dbx_link_object dbx_connect(string module_name, string host, string db, string username, string password [, bool persistent]) Returns a dbx_link_object on success and returns 0 on failure dbx_error string dbx_error(dbx_link_object dbx_link) Returns success or failure dbx_escape_string string dbx_escape_string(dbx_link_object dbx_link, string sz) Returns escaped string or NULL on error dbx_fetch_row dbx_row dbx_fetch_row(dbx_query_object dbx_q) Returns a row (index and assoc based on query) on success and returns 0 on failure or no more rows dbx_query dbx_result_object dbx_query(dbx_link_object dbx_link, string sql_statement [, int flags]) Returns a dbx_link_object on success and returns 0 on failure dbx_sort int dbx_sort(object dbx_result, string compare_function_name) Returns 0 on failure, 1 on success dio_close void dio_close(resource fd) Close the file descriptor given by fd dio_fcntl mixed dio_fcntl(resource fd, int cmd[, mixed arg]) Perform a c library fcntl on fd dio_open resource dio_open(string filename, int flags[, int mode]) Open a new filename with specified permissions of flags and creation permissions of mode dio_read string dio_read(resource fd[, int n]) Read n bytes from fd and return them, if n is not specified, read 1k dio_seek int dio_seek(resource fd, int pos, int whence) Seek to pos on fd from whence dio_stat array dio_stat(resource fd) Get stat information about the file descriptor fd dio_tcsetattr mixed dio_tcsetattr(resource fd, array args ) Perform a c library tcsetattr on fd dio_truncate bool dio_truncate(resource fd, int offset) Truncate file descriptor fd to offset bytes dio_write int dio_write(resource fd, string data[, int len]) Write data to fd with optional truncation at length DOMAttr::__construct void DOMAttr::__construct(string name, [string value]); dom_attr_is_id boolean dom_attr_is_id(); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-isId Since: DOM Level 3 DOMCdataSection::__construct void DOMCdataSection::__construct(string value); dom_characterdata_append_data void dom_characterdata_append_data(string arg); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-32791A2F dom_characterdata_delete_data void dom_characterdata_delete_data(long offset, long count); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-7C603781 dom_characterdata_insert_data void dom_characterdata_insert_data(long offset, string arg); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3EDB695F dom_characterdata_replace_data void dom_characterdata_replace_data(long offset, long count, string arg); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-E5CBA7FB dom_characterdata_substring_data string dom_characterdata_substring_data(long offset, long count); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6531BCCF DOMComment::__construct void DOMComment::__construct([string value]); DOMDocument::__construct void DOMDocument::__construct([string version], [string encoding]); dom_document_adopt_node DOMNode dom_document_adopt_node(DOMNode source); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-adoptNode Since: DOM Level 3 dom_document_create_attribute DOMAttr dom_document_create_attribute(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1084891198 dom_document_create_attribute_ns DOMAttr dom_document_create_attribute_ns(string namespaceURI, string qualifiedName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrAttrNS Since: DOM Level 2 dom_document_create_cdatasection DOMCdataSection dom_document_create_cdatasection(string data); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D26C0AF8 dom_document_create_comment DOMComment dom_document_create_comment(string data); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1334481328 dom_document_create_document_fragment DOMDocumentFragment dom_document_create_document_fragment(); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-35CB04B5 dom_document_create_element DOMElement dom_document_create_element(string tagName [, string value]); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-2141741547 dom_document_create_element_ns DOMElement dom_document_create_element_ns(string namespaceURI, string qualifiedName [,string value]); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrElNS Since: DOM Level 2 dom_document_create_entity_reference DOMEntityReference dom_document_create_entity_reference(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-392B75AE dom_document_create_processing_instruction DOMProcessingInstruction dom_document_create_processing_instruction(string target, string data); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-135944439 dom_document_create_text_node DOMText dom_document_create_text_node(string data); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1975348127 dom_document_get_element_by_id DOMElement dom_document_get_element_by_id(string elementId); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBId Since: DOM Level 2 dom_document_get_elements_by_tag_name DOMNodeList dom_document_get_elements_by_tag_name(string tagname); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C9094 dom_document_get_elements_by_tag_name_ns DOMNodeList dom_document_get_elements_by_tag_name_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBTNNS Since: DOM Level 2 dom_document_import_node DOMNode dom_document_import_node(DOMNode importedNode, boolean deep); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Core-Document-importNode Since: DOM Level 2 dom_document_load boolean|DOMNode dom_document_load(string source); URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-load Since: DOM Level 3 dom_document_load_html boolean|DOMNode dom_document_load_html(string source); Since: DOM extended dom_document_load_html_file boolean|DOMNode dom_document_load_html_file(string source); Since: DOM extended dom_document_loadxml boolean|DOMNode dom_document_loadxml(string source); URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-loadXML Since: DOM Level 3 dom_document_normalize_document void dom_document_normalize_document(); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-normalizeDocument Since: DOM Level 3 dom_document_relaxNG_validate_file boolean dom_document_relaxNG_validate_file(string filename); dom_document_relaxNG_validate_xml boolean dom_document_relaxNG_validate_xml(string source); dom_document_rename_node DOMNode dom_document_rename_node(node n, string namespaceURI, string qualifiedName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-renameNode Since: DOM Level 3 dom_document_save long dom_document_save(string file); Convenience method to save to file dom_document_save_html string dom_document_save_html(); Convenience method to output as html dom_document_save_html_file long dom_document_save_html_file(string file); Convenience method to save to file as html dom_document_savexml string dom_document_savexml([node n]); URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-saveXML Since: DOM Level 3 dom_document_schema_validate boolean dom_document_schema_validate(string source); dom_document_schema_validate_file boolean dom_document_schema_validate_file(string filename); dom_document_validate boolean dom_document_validate(); Since: DOM extended dom_document_xinclude int dom_document_xinclude() Substitutues xincludes in a DomDocument DOMDocumentFragment::__construct void DOMDocumentFragment::__construct(); DOMDocumentFragment::appendXML void DOMDocumentFragment::appendXML(string data); dom_domconfiguration_can_set_parameter boolean dom_domconfiguration_can_set_parameter(string name, domuserdata value); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-canSetParameter dom_domconfiguration_get_parameter domdomuserdata dom_domconfiguration_get_parameter(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-getParameter dom_domconfiguration_set_parameter dom_void dom_domconfiguration_set_parameter(string name, domuserdata value); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-property dom_domerrorhandler_handle_error dom_boolean dom_domerrorhandler_handle_error(domerror error); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-ERRORS-DOMErrorHandler-handleError dom_domimplementation_create_document DOMDocument dom_domimplementation_create_document(string namespaceURI, string qualifiedName, DOMDocumentType doctype); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocument Since: DOM Level 2 dom_domimplementation_create_document_type DOMDocumentType dom_domimplementation_create_document_type(string qualifiedName, string publicId, string systemId); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocType Since: DOM Level 2 dom_domimplementation_get_feature DOMNode dom_domimplementation_get_feature(string feature, string version); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementation3-getFeature Since: DOM Level 3 dom_domimplementation_has_feature boolean dom_domimplementation_has_feature(string feature, string version); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-5CED94D7 dom_domimplementationlist_item domdomimplementation dom_domimplementationlist_item(unsigned long index); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementationList-item dom_domimplementationsource_get_domimplementation domdomimplementation dom_domimplementationsource_get_domimplementation(string features); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-getDOMImpl dom_domimplementationsource_get_domimplementations domimplementationlist dom_domimplementationsource_get_domimplementations(string features); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-getDOMImpls dom_domstringlist_item domstring dom_domstringlist_item(unsigned long index); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMStringList-item DOMElement::__construct void DOMElement::__construct(string name, [string value], [string uri]); dom_element_get_attribute string dom_element_get_attribute(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-666EE0F9 dom_element_get_attribute_node DOMAttr dom_element_get_attribute_node(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-217A91B8 dom_element_get_attribute_node_ns DOMAttr dom_element_get_attribute_node_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAtNodeNS Since: DOM Level 2 dom_element_get_attribute_ns string dom_element_get_attribute_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAttrNS Since: DOM Level 2 dom_element_get_elements_by_tag_name DOMNodeList dom_element_get_elements_by_tag_name(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1938918D dom_element_get_elements_by_tag_name_ns DOMNodeList dom_element_get_elements_by_tag_name_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C90942 Since: DOM Level 2 dom_element_has_attribute boolean dom_element_has_attribute(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttr Since: DOM Level 2 dom_element_has_attribute_ns boolean dom_element_has_attribute_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttrNS Since: DOM Level 2 dom_element_remove_attribute void dom_element_remove_attribute(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6D6AC0F9 dom_element_remove_attribute_node DOMAttr dom_element_remove_attribute_node(DOMAttr oldAttr); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D589198 dom_element_remove_attribute_ns void dom_element_remove_attribute_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElRemAtNS Since: DOM Level 2 dom_element_set_attribute void dom_element_set_attribute(string name, string value); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68F082 dom_element_set_attribute_node DOMAttr dom_element_set_attribute_node(DOMAttr newAttr); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-887236154 dom_element_set_attribute_node_ns DOMAttr dom_element_set_attribute_node_ns(DOMAttr newAttr); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAtNodeNS Since: DOM Level 2 dom_element_set_attribute_ns void dom_element_set_attribute_ns(string namespaceURI, string qualifiedName, string value); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAttrNS Since: DOM Level 2 dom_element_set_id_attribute void dom_element_set_id_attribute(string name, boolean isId); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttr Since: DOM Level 3 dom_element_set_id_attribute_node void dom_element_set_id_attribute_node(attr idAttr, boolean isId); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNode Since: DOM Level 3 dom_element_set_id_attribute_ns void dom_element_set_id_attribute_ns(string namespaceURI, string localName, boolean isId); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNS Since: DOM Level 3 DOMEntityReference::__construct void DOMEntityReference::__construct(string name); dom_namednodemap_get_named_item DOMNode dom_namednodemap_get_named_item(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1074577549 dom_namednodemap_get_named_item_ns DOMNode dom_namednodemap_get_named_item_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getNamedItemNS Since: DOM Level 2 dom_namednodemap_item DOMNode dom_namednodemap_item(int index); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-349467F9 dom_namednodemap_remove_named_item DOMNode dom_namednodemap_remove_named_item(string name); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D58B193 dom_namednodemap_remove_named_item_ns DOMNode dom_namednodemap_remove_named_item_ns(string namespaceURI, string localName); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-removeNamedItemNS Since: DOM Level 2 dom_namednodemap_set_named_item DOMNode dom_namednodemap_set_named_item(DOMNode arg); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1025163788 dom_namednodemap_set_named_item_ns DOMNode dom_namednodemap_set_named_item_ns(DOMNode arg); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-setNamedItemNS Since: DOM Level 2 dom_namelist_get_name string dom_namelist_get_name(int index); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getName dom_namelist_get_namespace_uri string dom_namelist_get_namespace_uri(int index); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getNamespaceURI dom_node_append_child DomNode dom_node_append_child(DomNode newChild); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-184E7107 dom_node_clone_node DomNode dom_node_clone_node(boolean deep); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3A0ED0A4 dom_node_compare_document_position short dom_node_compare_document_position(DomNode other); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-compareDocumentPosition Since: DOM Level 3 dom_node_get_feature DomNode dom_node_get_feature(string feature, string version); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getFeature Since: DOM Level 3 dom_node_get_user_data DomUserData dom_node_get_user_data(string key); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getUserData Since: DOM Level 3 dom_node_has_attributes boolean dom_node_has_attributes(); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeHasAttrs Since: DOM Level 2 dom_node_has_child_nodes boolean dom_node_has_child_nodes(); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-810594187 dom_node_insert_before domnode dom_node_insert_before(DomNode newChild, DomNode refChild); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-952280727 dom_node_is_default_namespace boolean dom_node_is_default_namespace(string namespaceURI); URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isDefaultNamespace Since: DOM Level 3 dom_node_is_equal_node boolean dom_node_is_equal_node(DomNode arg); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isEqualNode Since: DOM Level 3 dom_node_is_same_node boolean dom_node_is_same_node(DomNode other); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isSameNode Since: DOM Level 3 dom_node_is_supported boolean dom_node_is_supported(string feature, string version); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Level-2-Core-Node-supports Since: DOM Level 2 dom_node_lookup_namespace_uri string dom_node_lookup_namespace_uri(string prefix); URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI Since: DOM Level 3 dom_node_lookup_prefix string dom_node_lookup_prefix(string namespaceURI); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-lookupNamespacePrefix Since: DOM Level 3 dom_node_normalize void dom_node_normalize(); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-normalize dom_node_remove_child DomNode dom_node_remove_child(DomNode oldChild); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1734834066 dom_node_replace_child DomNode dom_node_replace_child(DomNode newChild, DomNode oldChild); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-785887307 dom_node_set_user_data DomUserData dom_node_set_user_data(string key, DomUserData data, userdatahandler handler); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-setUserData Since: DOM Level 3 dom_nodelist_item DOMNode dom_nodelist_item(int index); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-844377136 dom_import_simplexml somNode dom_import_simplexml(sxeobject node) Get a simplexml_element object from dom to allow for processing DOMProcessingInstruction::__construct void DOMProcessingInstruction::__construct(string name, [string value]); dom_string_extend_find_offset16 int dom_string_extend_find_offset16(int offset32); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset16 dom_string_extend_find_offset32 int dom_string_extend_find_offset32(int offset16); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset32 DOMText::__construct void DOMText::__construct([string value]); dom_text_is_whitespace_in_element_content boolean dom_text_is_whitespace_in_element_content(); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-isWhitespaceInElementContent Since: DOM Level 3 dom_text_replace_whole_text DOMText dom_text_replace_whole_text(string content); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-replaceWholeText Since: DOM Level 3 dom_text_split_text DOMText dom_text_split_text(int offset); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-38853C1D dom_userdatahandler_handle dom_void dom_userdatahandler_handle(unsigned short operation, string key, domobject data, node src, node dst); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-handleUserDataEvent DOMXPath::__construct void DOMXPath::__construct(DOMDocument doc); dom_xpath_query DOMNodeList dom_xpath_query(string expr [,DOMNode context]); dom_xpath_register_ns boolean dom_xpath_register_ns(string prefix, string uri); exif_imagetype int exif_imagetype(string imagefile) Get the type of an image exif_read_data array exif_read_data(string filename [, sections_needed [, sub_arrays[, read_thumbnail]]]) Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails exif_tagname string exif_tagname(index) Get headername for index or false if not defined exif_thumbnail string exif_thumbnail(string filename [, &width, &height [, &imagetype]]) Reads the embedded thumbnail fam_cancel_monitor bool fam_cancel_monitor(resource id, resource monitor_id) Terminate monitoring fam_close void fam_close(resource id) Close FAM connection fam_monitor_collection resource fam_monitor_collection(resource id, string dirname, int depth, string mask) Monitor a collection of files in a directory for changes fam_monitor_directory resource fam_monitor_directory(resource id, string dirname) Monitor a directory for changes fam_monitor_file resource fam_monitor_file(resource id, string filename) Monitor a regular file for changes fam_next_event array fam_next_event(resource id) Get next pending FAM event fam_open resource fam_open([string appname]) Open FAM connection fam_pending int fam_pending(resource id) Check for pending FAM events fam_resume_monitor bool fam_resume_monitor(resource id, resource monitor_id) Resume suspended monitoring fam_suspend_monitor bool fam_suspend_monitor(resource id, resource monitor_id) Temporary suspend monitoring fbsql_affected_rows int fbsql_affected_rows([resource link_identifier]) Get the number of rows affected by the last statement fbsql_autocommit bool fbsql_autocommit(resource link_identifier [, bool OnOff]) Turns on auto-commit fbsql_blob_size int fbsql_blob_size(string blob_handle [, resource link_identifier]) Get the size of a BLOB identified by blob_handle fbsql_change_user int fbsql_change_user(string user, string password [, string database [, resource link_identifier]]) Change the user for a session fbsql_clob_size int fbsql_clob_size(string clob_handle [, resource link_identifier]) Get the size of a CLOB identified by clob_handle fbsql_close bool fbsql_close([resource link_identifier]) Close a connection to a database server fbsql_commit bool fbsql_commit([resource link_identifier]) Commit the transaction fbsql_connect resource fbsql_connect([string hostname [, string username [, string password]]]) Create a connection to a database server fbsql_create_blob string fbsql_create_blob(string blob_data [, resource link_identifier]) Create a BLOB in the database for use with an insert or update statement fbsql_create_clob string fbsql_create_clob(string clob_data [, resource link_identifier]) Create a CLOB in the database for use with an insert or update statement fbsql_create_db bool fbsql_create_db(string database_name [, resource link_identifier]) Create a new database on the server fbsql_data_seek bool fbsql_data_seek(int result, int row_number) Move the internal row counter to the specified row_number fbsql_database string fbsql_database(resource link_identifier [, string database]) Get or set the database name used with a connection fbsql_database_password string fbsql_database_password(resource link_identifier [, string database_password]) Get or set the databsae password used with a connection fbsql_db_query resource fbsql_db_query(string database_name, string query [, resource link_identifier]) Send one or more SQL statements to a specified database on the server fbsql_db_status int fbsql_db_status(string database_name [, resource link_identifier]) Gets the status (Stopped, Starting, Running, Stopping) for a given database fbsql_drop_db int fbsql_drop_db(string database_name [, resource link_identifier]) Drop a database on the server fbsql_errno int fbsql_errno([resource link_identifier]) Returns the last error code fbsql_error string fbsql_error([resource link_identifier]) Returns the last error string fbsql_fetch_array array fbsql_fetch_array(resource result [, int result_type]) Fetches a result row as an array (associative, numeric or both) fbsql_fetch_assoc object fbsql_fetch_assoc(resource result) Detch a row of data. Returns an assoc array fbsql_fetch_field object fbsql_fetch_field(int result [, int field_index]) Get the field properties for a specified field_index fbsql_fetch_lengths array fbsql_fetch_lengths(int result) Returns an array of the lengths of each column in the result set fbsql_fetch_object object fbsql_fetch_object(resource result [, int result_type]) Fetch a row of data. Returns an object fbsql_fetch_row array fbsql_fetch_row(resource result) Fetch a row of data. Returns an indexed array fbsql_field_flags string fbsql_field_flags(int result [, int field_index]) ??? fbsql_field_len mixed fbsql_field_len(int result [, int field_index]) Get the column length for a specified field_index fbsql_field_name string fbsql_field_name(int result [, int field_index]) Get the column name for a specified field_index fbsql_field_seek bool fbsql_field_seek(int result [, int field_index]) ??? fbsql_field_table string fbsql_field_table(int result [, int field_index]) Get the table name for a specified field_index fbsql_field_type string fbsql_field_type(int result [, int field_index]) Get the field type for a specified field_index fbsql_free_result bool fbsql_free_result(resource result) free the memory used to store a result fbsql_get_autostart_info array fbsql_get_autostart_info([resource link_identifier]) ??? fbsql_hostname string fbsql_hostname(resource link_identifier [, string host_name]) Get or set the host name used with a connection fbsql_insert_id int fbsql_insert_id([resource link_identifier]) Get the internal index for the last insert statement fbsql_list_dbs resource fbsql_list_dbs([resource link_identifier]) Retreive a list of all databases on the server fbsql_list_fields resource fbsql_list_fields(string database_name, string table_name [, resource link_identifier]) Retrieve a list of all fields for the specified database.table fbsql_list_tables resource fbsql_list_tables(string database [, int link_identifier]) Retreive a list of all tables from the specifoied database fbsql_next_result bool fbsql_next_result(int result) Switch to the next result if multiple results are available fbsql_num_fields int fbsql_num_fields(int result) Get number of fields in the result set fbsql_num_rows int fbsql_num_rows(int result) Get number of rows fbsql_password string fbsql_password(resource link_identifier [, string password]) Get or set the user password used with a connection fbsql_pconnect resource fbsql_pconnect([string hostname [, string username [, string password]]]) Create a persistant connection to a database server fbsql_query resource fbsql_query(string query [, resource link_identifier [, long batch_size]]) Send one or more SQL statements to the server and execute them fbsql_read_blob string fbsql_read_blob(string blob_handle [, resource link_identifier]) Read the BLOB data identified by blob_handle fbsql_read_clob string fbsql_read_clob(string clob_handle [, resource link_identifier]) Read the CLOB data identified by clob_handle fbsql_result mixed fbsql_result(int result [, int row [, mixed field]]) ??? fbsql_rollback bool fbsql_rollback([resource link_identifier]) Rollback all statments since last commit fbsql_select_db bool fbsql_select_db([string database_name [, resource link_identifier]]) Select the database to open fbsql_set_lob_mode bool fbsql_set_lob_mode(resource result, int lob_mode) Sets the mode for how LOB data re retreived (actual data or a handle) fbsql_set_password bool fbsql_set_password(resource link_identifier, string user, string password, string old_password) Change the password for a given user fbsql_set_transaction void fbsql_set_transaction(resource link_identifier, int locking, int isolation) Sets the transaction locking and isolation fbsql_start_db bool fbsql_start_db(string database_name [, resource link_identifier [, string database_options]]) Start a database on the server fbsql_stop_db bool fbsql_stop_db(string database_name [, resource link_identifier]) Stop a database on the server fbsql_table_name string fbsql_table_name(resource result, int index) Retreive the table name for index after a call to fbsql_list_tables() fbsql_username string fbsql_username(resource link_identifier [, string username]) Get or set the host user used with a connection fbsql_warnings bool fbsql_warnings([int flag]) Enable or disable FrontBase warnings fdf_add_doc_javascript bool fdf_add_doc_javascript(resource fdfdoc, string scriptname, string script) Add javascript code to the fdf file fdf_add_template bool fdf_add_template(resource fdfdoc, int newpage, string filename, string template, int rename) Adds a template into the FDF document fdf_close void fdf_close(resource fdfdoc) Closes the FDF document fdf_create resource fdf_create(void) Creates a new FDF document fdf_enum_values bool fdf_enum_values(resource fdfdoc, callback function [, mixed userdata]) Call a user defined function for each document value fdf_errno int fdf_errno(void) Gets error code for last operation fdf_error string fdf_error([int errno]) Gets error description for error code fdf_get_ap bool fdf_get_ap(resource fdfdoc, string fieldname, int face, string filename) Gets the appearance of a field and creates a PDF document out of it. fdf_get_attachment array fdf_get_attachment(resource fdfdoc, string fieldname, string savepath) Get attached uploaded file fdf_get_encoding string fdf_get_encoding(resource fdf) Gets FDF file encoding scheme fdf_get_file string fdf_get_file(resource fdfdoc) Gets the value of /F key fdf_get_flags int fdf_get_flags(resorce fdfdoc, string fieldname, int whichflags) Gets the flags of a field fdf_get_opt mixed fdf_get_opt(resource fdfdof, string fieldname [, int element]) Gets a value from the opt array of a field fdf_get_status string fdf_get_status(resource fdfdoc) Gets the value of /Status key fdf_get_value string fdf_get_value(resource fdfdoc, string fieldname [, int which]) Gets the value of a field as string fdf_get_version string fdf_get_version([resource fdfdoc]) Gets version number for FDF api or file fdf_header void fdf_header(void) Set FDF specific HTTP headers fdf_next_field_name string fdf_next_field_name(resource fdfdoc [, string fieldname]) Gets the name of the next field name or the first field name fdf_open resource fdf_open(string filename) Opens a new FDF document fdf_open_string resource fdf_open_string(string fdf_data) Opens a new FDF document from string fdf_remove_item bool fdf_remove_item(resource fdfdoc, string fieldname, int item) Sets target frame for form fdf_save bool fdf_save(resource fdfdoc [, string filename]) Writes out the FDF file fdf_save_string string fdf_save_string(resource fdfdoc) Returns the FDF file as a string fdf_set_ap bool fdf_set_ap(resource fdfdoc, string fieldname, int face, string filename, int pagenr) Sets the appearence of a field fdf_set_encoding bool fdf_set_encoding(resource fdf_document, string encoding) Sets FDF encoding (either "Shift-JIS" or "Unicode") fdf_set_file bool fdf_set_file(resource fdfdoc, string filename [, string target_frame]) Sets the value of /F key fdf_set_flags bool fdf_set_flags(resource fdfdoc, string fieldname, int whichflags, int newflags) Sets flags for a field in the FDF document fdf_set_javascript_action bool fdf_set_javascript_action(resource fdfdoc, string fieldname, int whichtrigger, string script) Sets the javascript action for a field fdf_set_on_import_javascript bool fdf_set_on_import_javascript(resource fdfdoc, string script [, bool before_data_import]) Adds javascript code to be executed when Acrobat opens the FDF fdf_set_opt bool fdf_set_opt(resource fdfdoc, string fieldname, int element, string value, string name) Sets a value in the opt array for a field fdf_set_status bool fdf_set_status(resource fdfdoc, string status) Sets the value of /Status key fdf_set_submit_form_action bool fdf_set_submit_form_action(resource fdfdoc, string fieldname, int whichtrigger, string url, int flags) Sets the submit form action for a field fdf_set_target_frame bool fdf_set_target_frame(resource fdfdoc, string target) Sets target frame for form fdf_set_value bool fdf_set_value(resource fdfdoc, string fieldname, mixed value [, int isname]) Sets the value of a field fdf_set_version bool fdf_set_version(resourece fdfdoc, string version) Sets FDF version for a file filepro bool filepro(string directory) Read and verify the map file filepro_fieldcount int filepro_fieldcount(void) Find out how many fields are in a filePro database filepro_fieldname string filepro_fieldname(int fieldnumber) Gets the name of a field filepro_fieldtype string filepro_fieldtype(int field_number) Gets the type of a field filepro_fieldwidth int filepro_fieldwidth(int field_number) Gets the width of a field filepro_retrieve string filepro_retrieve(int row_number, int field_number) Retrieves data from a filePro database filepro_rowcount int filepro_rowcount(void) Find out how many rows are in a filePro database ftp_alloc bool ftp_alloc(resource stream, int size[, &response]) Attempt to allocate space on the remote FTP server ftp_cdup bool ftp_cdup(resource stream) Changes to the parent directory ftp_chdir bool ftp_chdir(resource stream, string directory) Changes directories ftp_chmod int ftp_chmod(resource stream, int mode, string filename) Sets permissions on a file ftp_close bool ftp_close(resource stream) Closes the FTP stream ftp_connect resource ftp_connect(string host [, int port [, int timeout]]) Opens a FTP stream ftp_delete bool ftp_delete(resource stream, string file) Deletes a file ftp_exec bool ftp_exec(resource stream, string command) Requests execution of a program on the FTP server ftp_fget bool ftp_fget(resource stream, resource fp, string remote_file, int mode [, int resumepos]) Retrieves a file from the FTP server and writes it to an open file ftp_fput bool ftp_fput(resource stream, string remote_file, resource fp, int mode [, int startpos]) Stores a file from an open file to the FTP server ftp_get bool ftp_get(resource stream, string local_file, string remote_file, int mode [, int resume_pos]) Retrieves a file from the FTP server and writes it to a local file ftp_get_option mixed ftp_get_option(resource stream, int option) Gets an FTP option ftp_login bool ftp_login(resource stream, string username, string password) Logs into the FTP server ftp_mdtm int ftp_mdtm(resource stream, string filename) Returns the last modification time of the file, or -1 on error ftp_mkdir string ftp_mkdir(resource stream, string directory) Creates a directory and returns the absolute path for the new directory or false on error ftp_nb_continue int ftp_nb_continue(resource stream) Continues retrieving/sending a file nbronously ftp_nb_fget int ftp_nb_fget(resource stream, resource fp, string remote_file, int mode [, int resumepos]) Retrieves a file from the FTP server asynchronly and writes it to an open file ftp_nb_fput int ftp_nb_fput(resource stream, string remote_file, resource fp, int mode [, int startpos]) Stores a file from an open file to the FTP server nbronly ftp_nb_get int ftp_nb_get(resource stream, string local_file, string remote_file, int mode [, int resume_pos]) Retrieves a file from the FTP server nbhronly and writes it to a local file ftp_nb_put int ftp_nb_put(resource stream, string remote_file, string local_file, int mode [, int startpos]) Stores a file on the FTP server ftp_nlist array ftp_nlist(resource stream, string directory) Returns an array of filenames in the given directory ftp_pasv bool ftp_pasv(resource stream, bool pasv) Turns passive mode on or off ftp_put bool ftp_put(resource stream, string remote_file, string local_file, int mode [, int startpos]) Stores a file on the FTP server ftp_pwd string ftp_pwd(resource stream) Returns the present working directory ftp_raw array ftp_raw(resource stream, string command) Sends a literal command to the FTP server ftp_rawlist array ftp_rawlist(resource stream, string directory [, bool recursive]) Returns a detailed listing of a directory as an array of output lines ftp_rename bool ftp_rename(resource stream, string src, string dest) Renames the given file to a new path ftp_rmdir bool ftp_rmdir(resource stream, string directory) Removes a directory ftp_set_option bool ftp_set_option(resource stream, int option, mixed value) Sets an FTP option ftp_site bool ftp_site(resource stream, string cmd) Sends a SITE command to the server ftp_size int ftp_size(resource stream, string filename) Returns the size of the file, or -1 on error ftp_ssl_connect resource ftp_ssl_connect(string host [, int port [, int timeout]]) Opens a FTP-SSL stream ftp_systype string ftp_systype(resource stream) Returns the system type identifier gd_info array gd_info() image2wbmp bool image2wbmp(resource im [, string filename [, int threshold]]) Output WBMP image to browser or file imagealphablending bool imagealphablending(resource im, bool on) Turn alpha blending mode on or off for the given image imageantialias bool imageantialias(resource im, bool on) Should antialiased functions used or not imagearc bool imagearc(resource im, int cx, int cy, int w, int h, int s, int e, int col) Draw a partial ellipse imagechar bool imagechar(resource im, int font, int x, int y, string c, int col) Draw a character imagecharup bool imagecharup(resource im, int font, int x, int y, string c, int col) Draw a character rotated 90 degrees counter-clockwise imagecolorallocate int imagecolorallocate(resource im, int red, int green, int blue) Allocate a color for an image imagecolorallocatealpha int imagecolorallocatealpha(resource im, int red, int green, int blue, int alpha) Allocate a color with an alpha level. Works for true color and palette based images imagecolorat int imagecolorat(resource im, int x, int y) Get the index of the color of a pixel imagecolorclosest int imagecolorclosest(resource im, int red, int green, int blue) Get the index of the closest color to the specified color imagecolorclosestalpha int imagecolorclosestalpha(resource im, int red, int green, int blue, int alpha) Find the closest matching colour with alpha transparency imagecolorclosesthwb int imagecolorclosesthwb(resource 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 imagecolordeallocate bool imagecolordeallocate(resource im, int index) De-allocate a color for an image imagecolorexact int imagecolorexact(resource im, int red, int green, int blue) Get the index of the specified color imagecolorexactalpha int imagecolorexactalpha(resource im, int red, int green, int blue, int alpha) Find exact match for colour with transparency imagecolormatch bool imagecolormatch(resource im1, resource im2) Makes the colors of the palette version of an image more closely match the true color version imagecolorresolve int imagecolorresolve(resource im, int red, int green, int blue) Get the index of the specified color or its closest possible alternative imagecolorresolvealpha int imagecolorresolvealpha(resource im, int red, int green, int blue, int alpha) Resolve/Allocate a colour with an alpha level. Works for true colour and palette based images imagecolorset void imagecolorset(resource im, int col, int red, int green, int blue) Set the color for the specified palette index imagecolorsforindex array imagecolorsforindex(resource im, int col) Get the colors for an index imagecolorstotal int imagecolorstotal(resource im) Find out the number of colors in an image's palette imagecolortransparent int imagecolortransparent(resource im [, int col]) Define a color as transparent imagecopy bool imagecopy(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h) Copy part of an image imagecopymerge bool imagecopymerge(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) Merge one part of an image with another imagecopymergegray bool imagecopymergegray(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) Merge one part of an image with another imagecopyresampled bool imagecopyresampled(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h) Copy and resize part of an image using resampling to help ensure clarity imagecopyresized bool imagecopyresized(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h) Copy and resize part of an image imagecreate resource imagecreate(int x_size, int y_size) Create a new image imagecreatefromgd resource imagecreatefromgd(string filename) Create a new image from GD file or URL imagecreatefromgd2 resource imagecreatefromgd2(string filename) Create a new image from GD2 file or URL imagecreatefromgd2part resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height) Create a new image from a given part of GD2 file or URL imagecreatefromgif resource imagecreatefromgif(string filename) Create a new image from GIF file or URL imagecreatefromjpeg resource imagecreatefromjpeg(string filename) Create a new image from JPEG file or URL imagecreatefrompng resource imagecreatefrompng(string filename) Create a new image from PNG file or URL imagecreatefromstring resource imagecreatefromstring(string image) Create a new image from the image stream in the string imagecreatefromwbmp resource imagecreatefromwbmp(string filename) Create a new image from WBMP file or URL imagecreatefromxbm resource imagecreatefromxbm(string filename) Create a new image from XBM file or URL imagecreatefromxpm resource imagecreatefromxpm(string filename) Create a new image from XPM file or URL imagecreatetruecolor resource imagecreatetruecolor(int x_size, int y_size) Create a new true color image imagedashedline bool imagedashedline(resource im, int x1, int y1, int x2, int y2, int col) Draw a dashed line imagedestroy bool imagedestroy(resource im) Destroy an image imageellipse bool imageellipse(resource im, int cx, int cy, int w, int h, int color) Draw an ellipse imagefill bool imagefill(resource im, int x, int y, int col) Flood fill imagefilledarc bool imagefilledarc(resource im, int cx, int cy, int w, int h, int s, int e, int col, int style) Draw a filled partial ellipse imagefilledellipse bool imagefilledellipse(resource im, int cx, int cy, int w, int h, int color) Draw an ellipse imagefilledpolygon bool imagefilledpolygon(resource im, array point, int num_points, int col) Draw a filled polygon imagefilledrectangle bool imagefilledrectangle(resource im, int x1, int y1, int x2, int y2, int col) Draw a filled rectangle imagefilltoborder bool imagefilltoborder(resource im, int x, int y, int border, int col) Flood fill to specific color imagefilter bool imagefilter(resource src_im, int filtertype, [args] ) Applies Filter an image using a custom angle imagefontheight int imagefontheight(int font) Get font height imagefontwidth int imagefontwidth(int font) Get font width imageftbbox array imageftbbox(int size, int angle, string font_file, string text [, array extrainfo]) Give the bounding box of a text using fonts via freetype2 imagefttext array imagefttext(resource 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 via freetype2 imagegammacorrect bool imagegammacorrect(resource im, float inputgamma, float outputgamma) Apply a gamma correction to a GD image imagegd bool imagegd(resource im [, string filename]) Output GD image to browser or file imagegd2 bool imagegd2(resource im [, string filename, [, int chunk_size, [, int type]]]) Output GD2 image to browser or file imagegif bool imagegif(resource im [, string filename]) Output GIF image to browser or file imageinterlace int imageinterlace(resource im [, int interlace]) Enable or disable interlace imageistruecolor bool imageistruecolor(resource im) return true if the image uses truecolor imagejpeg bool imagejpeg(resource im [, string filename [, int quality]]) Output JPEG image to browser or file imagelayereffect bool imagelayereffect(resource im, int effect) Set the alpha blending flag to use the bundled libgd layering effects imageline bool imageline(resource im, int x1, int y1, int x2, int y2, int col) Draw a line imageloadfont int imageloadfont(string filename) Load a new font imagepalettecopy void imagepalettecopy(resource dst, resource src) Copy the palette from the src image onto the dst image imagepng bool imagepng(resource im [, string filename]) Output PNG image to browser or file imagepolygon bool imagepolygon(resource im, array point, int num_points, int col) Draw a polygon imagepsbbox array imagepsbbox(string text, resource font, int size [, int space, int tightness, int angle]) Return the bounding box needed by a string if rasterized imagepscopyfont int imagepscopyfont(int font_index) Make a copy of a font for purposes like extending or reenconding imagepsencodefont bool imagepsencodefont(resource font_index, string filename) To change a fonts character encoding vector imagepsextendfont bool imagepsextendfont(resource font_index, float extend) Extend or or condense (if extend < 1) a font imagepsfreefont bool imagepsfreefont(resource font_index) Free memory used by a font imagepsloadfont resource imagepsloadfont(string pathname) Load a new font from specified file imagepsslantfont bool imagepsslantfont(resource font_index, float slant) Slant a font imagepstext array imagepstext(resource image, string text, resource font, int size, int xcoord, int ycoord [, int space, int tightness, float angle, int antialias]) Rasterize a string over an image imagerectangle bool imagerectangle(resource im, int x1, int y1, int x2, int y2, int col) Draw a rectangle imagerotate resource imagerotate(resource src_im, float angle, int bgdcolor) Rotate an image using a custom angle imagesavealpha bool imagesavealpha(resource im, bool on) Include alpha channel to a saved image imagesetbrush bool imagesetbrush(resource image, resource brush) Set the brush image to $brush when filling $image with the "IMG_COLOR_BRUSHED" color imagesetpixel bool imagesetpixel(resource im, int x, int y, int col) Set a single pixel imagesetstyle bool imagesetstyle(resource im, array styles) Set the line drawing styles for use with imageline and IMG_COLOR_STYLED. imagesetthickness bool imagesetthickness(resource im, int thickness) Set line thickness for drawing lines, ellipses, rectangles, polygons etc. imagesettile bool imagesettile(resource image, resource tile) Set the tile image to $tile when filling $image with the "IMG_COLOR_TILED" color imagestring bool imagestring(resource im, int font, int x, int y, string str, int col) Draw a string horizontally imagestringup bool imagestringup(resource im, int font, int x, int y, string str, int col) Draw a string vertically - rotated 90 degrees counter-clockwise imagesx int imagesx(resource im) Get image width imagesy int imagesy(resource im) Get image height imagetruecolortopalette void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted) Convert a true colour image to a palette based image with a number of colours, optionally using dithering. imagettfbbox array imagettfbbox(int size, int angle, string font_file, string text) Give the bounding box of a text using TrueType fonts imagettftext array imagettftext(resource im, int size, int angle, int x, int y, int col, string font_file, string text) Write text to the image using a TrueType font imagetypes int imagetypes(void) Return the types of images supported in a bitfield - 1=GIF, 2=JPEG, 4=PNG, 8=WBMP, 16=XPM imagewbmp bool imagewbmp(resource im [, string filename, [, int foreground]]) Output WBMP image to browser or file imagexbm int imagexbm(int im, string filename [, int foreground]) Output XBM image to browser or file jpeg2wbmp bool jpeg2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold) Convert JPEG image to WBMP image png2wbmp bool png2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold) Convert PNG image to WBMP image bind_textdomain_codeset string bind_textdomain_codeset(string domain, string codeset) Specify the character encoding in which the messages from the DOMAIN message catalog will be returned. bindtextdomain string bindtextdomain(string domain_name, string dir) Bind to the text domain domain_name, looking for translations in dir. Returns the current domain dcgettext string dcgettext(string domain_name, string msgid, long category) Return the translation of msgid for domain_name and category, or msgid unaltered if a translation does not exist dcngettext string dcngettext(string domain, string msgid1, string msgid2, int n, int category) Plural version of dcgettext() dgettext string dgettext(string domain_name, string msgid) Return the translation of msgid for domain_name, or msgid unaltered if a translation does not exist dngettext string dngettext(string domain, string msgid1, string msgid2, int count) Plural version of dgettext() gettext string gettext(string msgid) Return the translation of msgid for the current domain, or msgid unaltered if a translation does not exist ngettext string ngettext(string MSGID1, string MSGID2, int N) Plural version of gettext() textdomain string textdomain(string domain) Set the textdomain to "domain". Returns the current domain gmp_abs resource gmp_abs(resource a) Calculates absolute value gmp_add resource gmp_add(resource a, resource b) Add a and b gmp_and resource gmp_and(resource a, resource b) Calculates logical AND of a and b gmp_clrbit void gmp_clrbit(resource &a, int index) Clears bit in a gmp_cmp int gmp_cmp(resource a, resource b) Compares two numbers gmp_com resource gmp_com(resource a) Calculates one's complement of a gmp_div_q resource gmp_div_q(resource a, resource b [, int round]) Divide a by b, returns quotient only gmp_div_qr array gmp_div_qr(resource a, resource b [, int round]) Divide a by b, returns quotient and reminder gmp_div_r resource gmp_div_r(resource a, resource b [, int round]) Divide a by b, returns reminder only gmp_divexact resource gmp_divexact(resource a, resource b) Divide a by b using exact division algorithm gmp_fact resource gmp_fact(int a) Calculates factorial function gmp_gcd resource gmp_gcd(resource a, resource b) Computes greatest common denominator (gcd) of a and b gmp_gcdext array gmp_gcdext(resource a, resource b) Computes G, S, and T, such that AS BT = G = `gcd' (A, B) gmp_hamdist int gmp_hamdist(resource a, resource b) Calculates hamming distance between a and b gmp_init resource gmp_init(mixed number [, int base]) Initializes GMP number gmp_intval int gmp_intval(resource gmpnumber) Gets signed long value of GMP number gmp_invert resource gmp_invert(resource a, resource b) Computes the inverse of a modulo b gmp_jacobi int gmp_jacobi(resource a, resource b) Computes Jacobi symbol gmp_legendre int gmp_legendre(resource a, resource b) Computes Legendre symbol gmp_mod resource gmp_mod(resource a, resource b) Computes a modulo b gmp_mul resource gmp_mul(resource a, resource b) Multiply a and b gmp_neg resource gmp_neg(resource a) Negates a number gmp_or resource gmp_or(resource a, resource b) Calculates logical OR of a and b gmp_perfect_square bool gmp_perfect_square(resource a) Checks if a is an exact square gmp_popcount int gmp_popcount(resource a) Calculates the population count of a gmp_pow resource gmp_pow(resource base, int exp) Raise base to power exp gmp_powm resource gmp_powm(resource base, resource exp, resource mod) Raise base to power exp and take result modulo mod gmp_prob_prime int gmp_prob_prime(resource a[, int reps]) Checks if a is "probably prime" gmp_random resource gmp_random([int limiter]) Gets random number gmp_scan0 int gmp_scan0(resource a, int start) Finds first zero bit gmp_scan1 int gmp_scan1(resource a, int start) Finds first non-zero bit gmp_setbit void gmp_setbit(resource &a, int index[, bool set_clear]) Sets or clear bit in a gmp_sign int gmp_sign(resource a) Gets the sign of the number gmp_sqrt resource gmp_sqrt(resource a) Takes integer part of square root of a gmp_sqrtrem array gmp_sqrtrem(resource a) Square root with remainder gmp_strval string gmp_strval(resource gmpnumber [, int base]) Gets string representation of GMP number gmp_sub resource gmp_sub(resource a, resource b) Subtract b from a gmp_xor resource gmp_xor(resource a, resource b) Calculates logical exclusive OR of a and b iconv string iconv(string in_charset, string out_charset, string str) Returns str converted to the out_charset character set iconv_get_encoding mixed iconv_get_encoding([string type]) Get internal encoding and output encoding for ob_iconv_handler() iconv_mime_decode string iconv_mime_decode(string encoded_string [, int mode, string charset]) Decodes a mime header field iconv_mime_decode_headers array iconv_mime_decode_headers(string headers [, int mode, string charset]) Decodes multiple mime header fields iconv_mime_encode string iconv_mime_encode(string field_name, string field_value [, array preference]) Composes a mime header field with field_name and field_value in a specified scheme iconv_set_encoding bool iconv_set_encoding(string type, string charset) Sets internal encoding and output encoding for ob_iconv_handler() iconv_strlen int iconv_strlen(string str [, string charset]) Returns the character count of str iconv_strpos int iconv_strpos(string haystack, string needle, int offset [, string charset]) Finds position of first occurrence of needle within part of haystack beginning with offset iconv_strrpos int iconv_strrpos(string haystack, string needle [, string charset]) Finds position of last occurrence of needle within part of haystack beginning with offset iconv_substr string iconv_substr(string str, int offset, [int length, string charset]) Returns specified part of a string ob_iconv_handler string ob_iconv_handler(string contents, int status) Returns str in output buffer converted to the iconv.output_encoding character set imap_8bit string imap_8bit(string text) Convert an 8-bit string to a quoted-printable string imap_alerts array imap_alerts(void) Returns an array of all IMAP alerts that have been generated since the last page load or since the last imap_alerts() call, whichever came last. The alert stack is cleared after imap_alerts() is called. imap_append bool imap_append(resource stream_id, string folder, string message [, string options]) Append a new message to a specified mailbox imap_base64 string imap_base64(string text) Decode BASE64 encoded text imap_binary string imap_binary(string text) Convert an 8bit string to a base64 string imap_body string imap_body(resource stream_id, int msg_no [, int options]) Read the message body imap_bodystruct object imap_bodystruct(resource stream_id, int msg_no, int section) Read the structure of a specified body section of a specific message imap_check object imap_check(resource stream_id) Get mailbox properties imap_clearflag_full bool imap_clearflag_full(resource stream_id, string sequence, string flag [, int options]) Clears flags on messages imap_close bool imap_close(resource stream_id [, int options]) Close an IMAP stream imap_createmailbox bool imap_createmailbox(resource stream_id, string mailbox) Create a new mailbox imap_delete bool imap_delete(resource stream_id, int msg_no [, int options]) Mark a message for deletion imap_deletemailbox bool imap_deletemailbox(resource stream_id, string mailbox) Delete a mailbox imap_errors array imap_errors(void) Returns an array of all IMAP errors generated since the last page load, or since the last imap_errors() call, whichever came last. The error stack is cleared after imap_errors() is called. imap_expunge bool imap_expunge(resource stream_id) Permanently delete all messages marked for deletion imap_fetch_overview array imap_fetch_overview(resource stream_id, int msg_no [, int options]) Read an overview of the information in the headers of the given message sequence imap_fetchbody string imap_fetchbody(resource stream_id, int msg_no, int section [, int options]) Get a specific body section imap_fetchheader string imap_fetchheader(resource stream_id, int msg_no [, int options]) Get the full unfiltered header for a message imap_fetchstructure object imap_fetchstructure(resource stream_id, int msg_no [, int options]) Read the full structure of a message imap_get_quota array imap_get_quota(resource stream_id, string qroot) Returns the quota set to the mailbox account qroot imap_get_quotaroot array imap_get_quotaroot(resource stream_id, string mbox) Returns the quota set to the mailbox account mbox imap_getacl array imap_getacl(resource stream_id, string mailbox) Gets the ACL for a given mailbox imap_getmailboxes array imap_getmailboxes(resource stream_id, string ref, string pattern) Reads the list of mailboxes and returns a full array of objects containing name, attributes, and delimiter imap_getsubscribed array imap_getsubscribed(resource stream_id, string ref, string pattern) Return a list of subscribed mailboxes, in the same format as imap_getmailboxes() imap_headerinfo object imap_headerinfo(resource stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]]) Read the headers of the message imap_headers array imap_headers(resource stream_id) Returns headers for all messages in a mailbox imap_last_error string imap_last_error(void) Returns the last error that was generated by an IMAP function. The error stack is NOT cleared after this call. imap_list array imap_list(resource stream_id, string ref, string pattern) Read the list of mailboxes imap_lsub array imap_lsub(resource stream_id, string ref, string pattern) Return a list of subscribed mailboxes imap_mail bool imap_mail(string to, string subject, string message [, string additional_headers [, string cc [, string bcc [, string rpath]]]]) Send an email message imap_mail_compose string imap_mail_compose(array envelope, array body) Create a MIME message based on given envelope and body sections imap_mail_copy bool imap_mail_copy(resource stream_id, int msg_no, string mailbox [, int options]) Copy specified message to a mailbox imap_mail_move bool imap_mail_move(resource stream_id, int msg_no, string mailbox [, int options]) Move specified message to a mailbox imap_mailboxmsginfo object imap_mailboxmsginfo(resource stream_id) Returns info about the current mailbox imap_mime_header_decode array imap_mime_header_decode(string str) Decode mime header element in accordance with RFC 2047 and return array of objects containing 'charset' encoding and decoded 'text' imap_msgno int imap_msgno(resource stream_id, int unique_msg_id) Get the sequence number associated with a UID imap_num_msg int imap_num_msg(resource stream_id) Gives the number of messages in the current mailbox imap_num_recent int imap_num_recent(resource stream_id) Gives the number of recent messages in current mailbox imap_open resource imap_open(string mailbox, string user, string password [, int options]) Open an IMAP stream to a mailbox imap_ping bool imap_ping(resource stream_id) Check if the IMAP stream is still active imap_qprint string imap_qprint(string text) Convert a quoted-printable string to an 8-bit string imap_renamemailbox bool imap_renamemailbox(resource stream_id, string old_name, string new_name) Rename a mailbox imap_reopen bool imap_reopen(resource stream_id, string mailbox [, int options]) Reopen an IMAP stream to a new mailbox imap_rfc822_parse_adrlist array imap_rfc822_parse_adrlist(string address_string, string default_host) Parses an address string imap_rfc822_parse_headers object imap_rfc822_parse_headers(string headers [, string default_host]) Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo() imap_rfc822_write_address string imap_rfc822_write_address(string mailbox, string host, string personal) Returns a properly formatted email address given the mailbox, host, and personal info imap_scan array imap_scan(resource stream_id, string ref, string pattern, string content) Read list of mailboxes containing a certain string imap_search array imap_search(resource stream_id, string criteria [, int options [, string charset]]) Return a list of messages matching the given criteria imap_set_quota bool imap_set_quota(resource stream_id, string qroot, int mailbox_size) Will set the quota for qroot mailbox imap_setacl bool imap_setacl(resource stream_id, string mailbox, string id, string rights) Sets the ACL for a given mailbox imap_setflag_full bool imap_setflag_full(resource stream_id, string sequence, string flag [, int options]) Sets flags on messages imap_sort array imap_sort(resource stream_id, int criteria, int reverse [, int options [, string search_criteria [, string charset]]]) Sort an array of message headers, optionally including only messages that meet specified criteria. imap_status object imap_status(resource stream_id, string mailbox, int options) Get status info from a mailbox imap_subscribe bool imap_subscribe(resource stream_id, string mailbox) Subscribe to a mailbox imap_thread array imap_thread(resource stream_id [, int options]) Return threaded by REFERENCES tree imap_timeout mixed imap_timeout(int timeout_type [, int timeout]) Set or fetch imap timeout imap_uid int imap_uid(resource stream_id, int msg_no) Get the unique message id associated with a standard sequential message number imap_undelete bool imap_undelete(resource stream_id, int msg_no) Remove the delete flag from a message imap_unsubscribe bool imap_unsubscribe(resource stream_id, string mailbox) Unsubscribe from a mailbox imap_utf7_decode string imap_utf7_decode(string buf) Decode a modified UTF-7 string imap_utf7_encode string imap_utf7_encode(string buf) Encode a string in modified UTF-7 imap_utf8 string imap_utf8(string mime_encoded_text) Convert a mime-encoded text to UTF-8 ifx_affected_rows int ifx_affected_rows(resource resultid) Returns the number of rows affected by query identified by resultid ifx_blobinfile_mode bool ifx_blobinfile_mode(int mode) Sets the default blob-mode for all select-queries ifx_byteasvarchar bool ifx_byteasvarchar(int mode) Sets the default byte-mode for all select-queries ifx_close bool ifx_close([resource connid]) Close informix connection ifx_connect resource ifx_connect([string database [, string userid [, string password]]]) Connects to database using userid/password, returns connection id ifx_copy_blob int ifx_copy_blob(int bid) Duplicates the given blob-object ifx_create_blob int ifx_create_blob(int type, int mode, string param) Creates a blob-object ifx_create_char int ifx_create_char(string param) Creates a char-object ifx_do bool ifx_do(resource resultid) Executes a previously prepared query or opens a cursor for it ifx_error string ifx_error([resource connection_id]) Returns the Informix error codes (SQLSTATE & SQLCODE) ifx_errormsg string ifx_errormsg([int errorcode]) Returns the Informix errormessage associated with ifx_fetch_row array ifx_fetch_row(resource resultid [, mixed position]) Fetches the next row or row if using a scroll cursor ifx_fieldproperties array ifx_fieldproperties(resource resultid) Returns an associative for query array with fieldnames as key ifx_fieldtypes array ifx_fieldtypes(resource resultid) Returns an associative array with fieldnames as key for query ifx_free_blob int ifx_free_blob(int bid) Deletes the blob-object ifx_free_char bool ifx_free_char(int bid) Deletes the char-object ifx_free_result bool ifx_free_result(resource resultid) Releases resources for query associated with resultid ifx_get_blob string ifx_get_blob(int bid) Returns the content of the blob-object ifx_get_char string ifx_get_char(int bid) Returns the content of the char-object ifx_getsqlca array ifx_getsqlca(resource resultid) Returns the sqlerrd[] fields of the sqlca struct for query resultid ifx_htmltbl_result int ifx_htmltbl_result(resource resultid [, string htmltableoptions]) Formats all rows of the resultid query into a html table ifx_nullformat bool ifx_nullformat(int mode) Sets the default return value of a NULL-value on a fetch-row ifx_num_fields int ifx_num_fields(resource resultid) Returns the number of columns in query resultid ifx_num_rows int ifx_num_rows(resource resultid) Returns the number of rows already fetched for query identified by resultid ifx_pconnect resource ifx_pconnect([string database [, string userid [, string password]]]) Connects to database using userid/password, returns connection id ifx_prepare resource ifx_prepare(string query, resource connid [, int cursortype] [, array idarray]) Prepare a query on a given connection ifx_query resource ifx_query(string query, resource connid [, int cursortype] [, array idarray]) Perform a query on a given connection ifx_textasvarchar bool ifx_textasvarchar(int mode) Sets the default text-mode for all select-queries ifx_update_blob int ifx_update_blob(int bid, string content) Updates the content of the blob-object ifx_update_char bool ifx_update_char(int bid, string content) Updates the content of the char-object ifxus_close_slob bool ifxus_close_slob(int bid) Deletes the slob-object ifxus_create_slob int ifxus_create_slob(int mode) Creates a slob-object and opens it ifxus_free_slob bool ifxus_free_slob(int bid) Deletes the slob-object ifxus_open_slob int ifxus_open_slob(int bid, int mode) Opens an slob-object ifxus_read_slob string ifxus_read_slob(int bid, int nbytes) Reads nbytes of the slob-object ifxus_seek_slob int ifxus_seek_slob(int bid, int mode, long offset) Sets the current file or seek position of an open slob-object ifxus_tell_slob int ifxus_tell_slob(int bid) Returns the current file or seek position of an open slob-object ifxus_write_slob int ifxus_write_slob(int bid, string content) Writes a string into the slob-object ingres_autocommit bool ingres_autocommit([resource link]) Switch autocommit on or off ingres_close bool ingres_close([resource link]) Close an Ingres II database connection ingres_commit bool ingres_commit([resource link]) Commit a transaction ingres_connect resource ingres_connect([string database [, string username [, string password]]]) Open a connection to an Ingres II database the syntax of database is [node_id::]dbname[/svr_class] ingres_fetch_array array ingres_fetch_array([int result_type [, resource link]]) Fetch a row of result into an array result_type can be II_NUM for enumerated array, II_ASSOC for associative array, or II_BOTH (default) ingres_fetch_object array ingres_fetch_object([int result_type [, resource link]]) Fetch a row of result into an object result_type can be II_NUM for enumerated object, II_ASSOC for associative object, or II_BOTH (default) ingres_fetch_row array ingres_fetch_row([resource link]) Fetch a row of result into an enumerated array ingres_field_length string ingres_field_length(int index [, resource link]) Return the length of a field in a query result index must be >0 and <= ingres_num_fields() ingres_field_name string ingres_field_name(int index [, resource link]) Return the name of a field in a query result index must be >0 and <= ingres_num_fields() ingres_field_nullable string ingres_field_nullable(int index [, resource link]) Return true if the field is nullable and false otherwise index must be >0 and <= ingres_num_fields() ingres_field_precision string ingres_field_precision(int index [, resource link]) Return the precision of a field in a query result index must be >0 and <= ingres_num_fields() ingres_field_scale string ingres_field_scale(int index [, resource link]) Return the scale of a field in a query result index must be >0 and <= ingres_num_fields() ingres_field_type string ingres_field_type(int index [, resource link]) Return the type of a field in a query result index must be >0 and <= ingres_num_fields() ingres_num_fields int ingres_num_fields([resource link]) Return the number of fields returned by the last query ingres_num_rows int ingres_num_rows([resource link]) Return the number of rows affected/returned by the last query ingres_pconnect resource ingres_pconnect([string database [, string username [, string password]]]) Open a persistent connection to an Ingres II database the syntax of database is [node_id::]dbname[/svr_class] ingres_query bool ingres_query(string query [, resource link]) Send a SQL query to Ingres II ingres_rollback bool ingres_rollback([resource link]) Roll back a transaction ibase_blob_add bool ibase_blob_add(resource blob_handle, string data) Add data into created blob ibase_blob_cancel bool ibase_blob_cancel(resource blob_handle) Cancel creating blob ibase_blob_close string ibase_blob_close(resource blob_handle) Close blob ibase_blob_create resource ibase_blob_create([resource link_identifier]) Create blob for adding data ibase_blob_echo bool ibase_blob_echo([ resource link_identifier, ] string blob_id) Output blob contents to browser ibase_blob_get string ibase_blob_get(resource blob_handle, int len) Get len bytes data from open blob ibase_blob_import string ibase_blob_import([ resource link_identifier, ] resource file) Create blob, copy file in it, and close it ibase_blob_info array ibase_blob_info([ resource link_identifier, ] string blob_id) Return blob length and other useful info ibase_blob_open resource ibase_blob_open([ resource link_identifier, ] string blob_id) Open blob for retrieving data parts ibase_free_event_handler bool ibase_free_event_handler(resource event) Frees the event handler set by ibase_set_event_handler() ibase_set_event_handler resource ibase_set_event_handler([resource link_identifier,] callback handler, string event [, string event [, ...]]) Register the callback for handling each of the named events ibase_wait_event string ibase_wait_event([resource link_identifier,] string event [, string event [, ...]]) Waits for any one of the passed Interbase events to be posted by the database, and returns its name ibase_affected_rows int ibase_affected_rows( [ resource link_identifier ] ) Returns the number of rows affected by the previous INSERT, UPDATE or DELETE statement ibase_execute mixed ibase_execute(resource query [, mixed bind_arg [, mixed bind_arg [, ...]]]) Execute a previously prepared query ibase_fetch_assoc array ibase_fetch_assoc(resource result [, int fetch_flags]) Fetch a row from the results of a query ibase_fetch_object object ibase_fetch_object(resource result [, int fetch_flags]) Fetch a object from the results of a query ibase_fetch_row array ibase_fetch_row(resource result [, int fetch_flags]) Fetch a row from the results of a query ibase_field_info array ibase_field_info(resource query_result, int field_number) Get information about a field ibase_free_query bool ibase_free_query(resource query) Free memory used by a query ibase_free_result bool ibase_free_result(resource result) Free the memory used by a result ibase_name_result bool ibase_name_result(resource result, string name) Assign a name to a result for use with ... WHERE CURRENT OF statements ibase_num_fields int ibase_num_fields(resource query_result) Get the number of fields in result ibase_num_params int ibase_num_params(resource query) Get the number of params in a prepared query ibase_num_rows int ibase_num_rows( resource result_identifier ) Return the number of rows that are available in a result ibase_param_info array ibase_param_info(resource query, int field_number) Get information about a parameter ibase_prepare resource ibase_prepare([resource link_identifier, ] string query) Prepare a query for later execution ibase_query mixed ibase_query([resource link_identifier, [ resource link_identifier, ]] string query [, mixed bind_arg [, mixed bind_arg [, ...]]]) Execute a query ibase_add_user bool ibase_add_user(resource service_handle, string user_name, string password [, string first_name [, string middle_name [, string last_name]]]) Add a user to security database ibase_backup mixed ibase_backup(resource service_handle, string source_db, string dest_file [, int options [, bool verbose]]) Initiates a backup task in the service manager and returns immediately ibase_db_info string ibase_db_info(resource service_handle, string db, int action [, int argument]) Request statistics about a database ibase_delete_user bool ibase_delete_user(resource service_handle, string user_name, string password [, string first_name [, string middle_name [, string last_name]]]) Delete a user from security database ibase_maintain_db bool ibase_maintain_db(resource service_handle, string db, int action [, int argument]) Execute a maintenance command on the database server ibase_modify_user bool ibase_modify_user(resource service_handle, string user_name, string password [, string first_name [, string middle_name [, string last_name]]]) Modify a user in security database ibase_restore mixed ibase_restore(resource service_handle, string source_file, string dest_db [, int options [, bool verbose]]) Initiates a restore task in the service manager and returns immediately ibase_server_info string ibase_server_info(resource service_handle, int action) Request information about a database server ibase_service_attach resource ibase_service_attach(string host, string dba_username, string dba_password) Connect to the service manager ibase_service_detach bool ibase_service_detach(resource service_handle) Disconnect from the service manager ibase_close bool ibase_close([resource link_identifier]) Close an InterBase connection ibase_commit bool ibase_commit( resource link_identifier ) Commit transaction ibase_commit_ret bool ibase_commit_ret( resource link_identifier ) Commit transaction and retain the transaction context ibase_connect resource ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]]) Open a connection to an InterBase database ibase_drop_db bool ibase_drop_db([resource link_identifier]) Drop an InterBase database ibase_errcode int ibase_errcode(void) Return error code ibase_errmsg string ibase_errmsg(void) Return error message ibase_gen_id int ibase_gen_id(string generator [, int increment [, resource link_identifier ]]) Increments the named generator and returns its new value ibase_pconnect resource ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]]) Open a persistent connection to an InterBase database ibase_rollback bool ibase_rollback( resource link_identifier ) Rollback transaction ibase_rollback_ret bool ibase_rollback_ret( resource link_identifier ) Rollback transaction and retain the transaction context ibase_trans resource ibase_trans([int trans_args [, resource link_identifier [, ... ], int trans_args [, resource link_identifier [, ... ]] [, ...]]]) Start a transaction over one or several databases ircg_channel_mode bool ircg_channel_mode(int connection, string channel, string mode_spec, string nick) Sets channel mode flags for user ircg_disconnect bool ircg_disconnect(int connection, string reason) Terminate IRC connection ircg_eval_ecmascript_params array ircg_eval_ecmascript_params(string params) Decodes a list of JS-encoded parameters into a native array ircg_fetch_error_msg array ircg_fetch_error_msg(int connection) Returns the error from previous ircg operation ircg_get_username string ircg_get_username(int connection) Gets username for connection ircg_html_encode string ircg_html_encode(string html_text) Encodes HTML preserving output ircg_ignore_add bool ircg_ignore_add(resource connection, string nick) Adds a user to your ignore list on a server ircg_ignore_del bool ircg_ignore_del(int connection, string nick) Removes a user from your ignore list ircg_invite bool ircg_invite(int connection, string channel, string nickname) INVITEs nickname to channel ircg_is_conn_alive bool ircg_is_conn_alive(int connection) Checks connection status ircg_join bool ircg_join(int connection, string channel [, string chan-key]) Joins a channel on a connected server ircg_kick bool ircg_kick(int connection, string channel, string nick, string reason) Kicks user from channel ircg_list bool ircg_list(int connection, string channel) List topic/user count of channel(s) ircg_lookup_format_messages bool ircg_lookup_format_messages(string name) Selects a set of format strings for display of IRC messages ircg_lusers bool ircg_lusers(int connection) IRC network statistics ircg_msg bool ircg_msg(int connection, string recipient, string message [,bool loop-suppress]) Delivers a message to the IRC network ircg_names bool ircg_names( int connection, string channel [, string target]) Queries visible usernames ircg_nick bool ircg_nick(int connection, string newnick) Changes the nickname ircg_nickname_escape string ircg_nickname_escape(string nick) Escapes special characters in nickname to be IRC-compliant ircg_nickname_unescape string ircg_nickname_unescape(string nick) Decodes encoded nickname ircg_notice bool ircg_notice(int connection, string recipient, string message) Sends a one-way communication NOTICE to a target ircg_oper bool ircg_oper(int connection, string name, string password) Elevates privileges to IRC OPER ircg_part bool ircg_part(int connection, string channel) Leaves a channel ircg_pconnect int ircg_pconnect(string username [, string server [, int port [, string format-msg-set-name [, array ctcp-set [, array user-details [, bool bailout-on-trivial]]]]]]) Create a persistent IRC connection ircg_register_format_messages bool ircg_register_format_messages(string name, array messages) Registers a set of format strings for display of IRC messages ircg_set_current bool ircg_set_current(int connection) Sets current connection for output ircg_set_file bool ircg_set_file(int connection, string path) Sets logfile for connection ircg_set_on_die bool ircg_set_on_die(int connection, string host, int port, string data) Sets hostaction to be executed when connection dies ircg_set_on_read_data bool ircg_set_on_read_data(int connection, string host, int port, string data) Set action to be executed when data is received from a HTTP client ircg_topic bool ircg_topic(int connection, string channel, string topic) Sets topic for channel ircg_who bool ircg_who(int connection, string mask [, bool ops_only]) Queries server for WHO information ircg_whois bool ircg_whois( int connection, string nick) Queries user information for nick on server ldap_rebind_proc _ldap_rebind_proc() ldap_8859_to_t61 string ldap_8859_to_t61(string value) Translate 8859 characters to t61 characters ldap_add bool ldap_add(resource link, string dn, array entry) Add entries to LDAP directory ldap_bind bool ldap_bind(resource link [, string dn, string password]) Bind to LDAP directory ldap_compare bool ldap_compare(resource link, string dn, string attr, string value) Determine if an entry has a specific value for one of its attributes ldap_connect resource ldap_connect([string host [, int port]]) Connect to an LDAP server ldap_count_entries int ldap_count_entries(resource link, resource result) Count the number of entries in a search result ldap_delete bool ldap_delete(resource link, string dn) Delete an entry from a directory ldap_dn2ufn string ldap_dn2ufn(string dn) Convert DN to User Friendly Naming format ldap_err2str string ldap_err2str(int errno) Convert error number to error string ldap_errno int ldap_errno(resource link) Get the current ldap error number ldap_error string ldap_error(resource link) Get the current ldap error string ldap_explode_dn array ldap_explode_dn(string dn, int with_attrib) Splits DN into its component parts ldap_first_attribute string ldap_first_attribute(resource link, resource result_entry, int ber) Return first attribute ldap_first_entry resource ldap_first_entry(resource link, resource result) Return first result id ldap_first_reference resource ldap_first_reference(resource link, resource result) Return first reference ldap_free_result bool ldap_free_result(resource result) Free result memory ldap_get_attributes array ldap_get_attributes(resource link, resource result_entry) Get attributes from a search result entry ldap_get_dn string ldap_get_dn(resource link, resource result_entry) Get the DN of a result entry ldap_get_entries array ldap_get_entries(resource link, resource result) Get all result entries ldap_get_option bool ldap_get_option(resource link, int option, mixed retval) Get the current value of various session-wide parameters ldap_get_values array ldap_get_values(resource link, resource result_entry, string attribute) Get all values from a result entry ldap_get_values_len array ldap_get_values_len(resource link, resource result_entry, string attribute) Get all values with lengths from a result entry ldap_list resource ldap_list(resource link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]]) Single-level search ldap_mod_add bool ldap_mod_add(resource link, string dn, array entry) Add attribute values to current ldap_mod_del bool ldap_mod_del(resource link, string dn, array entry) Delete attribute values ldap_mod_replace bool ldap_mod_replace(resource link, string dn, array entry) Replace attribute values with new ones ldap_next_attribute string ldap_next_attribute(resource link, resource result_entry, resource ber) Get the next attribute in result ldap_next_entry resource ldap_next_entry(resource link, resource result_entry) Get next result entry ldap_next_reference resource ldap_next_reference(resource link, resource reference_entry) Get next reference ldap_parse_reference bool ldap_parse_r