| PHP - Function Reference - Part03 to end | | Print | |
- string apache_note(string note_name[, string note_value]) 3.0.2
-
Gets and sets Apache request notes
- array apache_request_headers(void) 4.3.0
-
Fetches all HTTP request headers
- array apache_response_headers(void) 4.3.0
-
Fetches all HTTP response headers
- bool apache_setenv(string variable, string value[, bool walk_to_top]) 4.1.0
-
Sets an Apache subprocess_env variable
- array array([mixed var[, ...]]) 3.0
-
Creates an array
- array array_change_key_case(array input[, int case=CASE_LOWER]) 4.1.0
-
Returns an array with all string keys lowercased (or uppercased)
- array array_chunk(array input, int size[, bool preserve_keys]) 4.1.0
-
Splits array into chunks
- array array_count_values(array input) 4.0
-
Returns the value as key and the frequency of that value in input as value
- array array_diff(array arr1, array arr2[, array ...]) 4.0.1
-
Returns the entries of arr1 that have values that are not present in any of the others arguments
- array array_fill(int start_key, int num, mixed val) 4.1.0
-
Creates an array containing num elements starting with index start_key each initialized to val
- array array_filter(array input[, mixed callback]) 4.0.6
-
Filters elements from the array via the callback
- array array_flip(array input) 4.0
-
Returns array with key/value pairs flipped
- array array_intersect(array arr1, array arr2[, array ...]) 4.0.1
-
Returns the entries of arr1 that have values that are present in all the other arguments
- bool array_key_exists(mixed key, array search) 4.1.0
-
Checks if the given key or index exists in the array
- array array_keys(array input[, mixed search_value]) 4.0
-
Returns just the keys from the input array, optionally for only the specified search_value
- array array_map(mixed callback, array input1[, array input2 ,...]) 4.0.6
-
Applies the callback to the elements in the given arrays
- array array_merge(array arr1, array arr2[, array ...]) 4.0
-
Merges elements from passed arrays into one array
- array array_merge_recursive(array arr1, array arr2[, array ...]) 4.0.1
-
Recursively merges elements from passed arrays into one array
- bool array_multisort(array ar1[, SORT_ASC|SORT_DESC[, SORT_REGULAR|SORT_NUMERIC|SORT_STRING]][, array ar2[, SORT_ASC|SORT_DESC[, SORT_REGULAR|SORT_NUMERIC|SORT_STRING]], ...]) 4.0
-
Sorts multiple arrays at once similar to how ORDER BY clause works in SQL
- array array_pad(array input, int pad_size, mixed pad_value) 4.0
-
Returns a copy of input array padded with pad_value to size pad_size
- mixed array_pop(array stack) 4.0
-
Pops an element off the end of the array
- int array_push(array stack, mixed var[, mixed ...]) 4.0
-
Pushes elements onto the end of the array
- mixed array_rand(array input[, int num_req]) 4.0
-
Returns key/keys for random entry/entries in the array
- mixed array_reduce(array input, mixed callback[, int initial]) 4.0.5
-
Iteratively reduces the array to a single value via the callback
- array array_reverse(array input[, bool preserve keys]) 4.0
-
Returns input as a new array with the order of the entries reversed
- mixed array_search(mixed needle, array haystack[, bool strict]) 4.0.5
-
Searches the array for a given value and returns the corresponding key if successful
- mixed array_shift(array stack) 4.0
-
Pops an element off the beginning of the array
- array array_slice(array input, int offset[, int length]) 4.0
-
Returns elements specified by offset and length
- array array_splice(array input, int offset[, int length[, array replacement]]) 4.0
-
Removes the elements designated by offset and length and replaces them with supplied array
- mixed array_sum(array input) 4.0.4
-
Returns the sum of the array entries
- array array_unique(array input) 4.0.1
-
Removes duplicate values from array
- int array_unshift(array stack, mixed var[, mixed ...]) 4.0
-
Pushes elements onto the beginning of the array
- array array_values(array input) 4.0
-
Returns just the values from the input array
- bool array_walk(array input, string funcname[, mixed userdata]) 3.0.3
-
Applies a user function to every member of an array
- bool arsort(array array_arg[, int sort_flags]) 3.0
-
Sorts an array in reverse order and maintains index association
- float asin(float number) 3.0
-
Returns the arc sine of the number in radians
- float asinh(float number) 4.1.0
-
Returns the inverse hyperbolic sine of the number (i.e., the value whose hyperbolic sine is number)
- bool asort(array array_arg[, int sort_flags]) 3.0
-
Sorts an array and maintains index association
- int aspell_check(aspell int, string word) 3.0.7
-
Returns if word is valid
- int aspell_check_raw(aspell int, string word) 3.0.7
-
Returns if word is valid, ignoring case and without trying to trim it in any way
- int aspell_new(string master[, string personal]) 3.0.7
-
Loads a dictionary
- array aspell_suggest(aspell int, string word) 3.0.7
-
Returns an array of spelling suggestions
- int assert(string|bool assertion) 4.0
-
Checks if assertion is false
- mixed assert_options(int what[, mixed value]) 4.0
-
Sets or gets the various assert flags
- float atan(float number) 3.0
-
Returns the arc tangent of the number in radians
- float atan2(float y, float x) 3.0.5
-
Returns the arc tangent of y/x, with the resulting quadrant determined by the signs of y and x
- float atanh(float number) 4.1.0
-
Returns the inverse hyperbolic tangent of the number (i.e., the value whose hyperbolic tangent is number)
- string base64_decode(string str) 3.0
-
Decodes string using MIME base64 algorithm
- string base64_encode(string str) 3.0
-
Encodes string using MIME base64 algorithm
- string base_convert(string number, int frombase, int tobase) 3.0.6
-
Converts a number in a string from any base to any other base (where both bases are less than or equal to 36)
- string basename(string path[, string suffix]) 3.0
-
Returns the filename component of the path
- string bcadd(string left_operand, string right_operand[, int scale]) 3.0
-
Returns the sum of two arbitrary precision numbers
- string bccomp(string left_operand, string right_operand[, int scale]) 3.0
-
Compares two arbitrary precision numbers
- string bcdiv(string left_operand, string right_operand[, int scale]) 3.0
-
Returns the quotient of two arbitrary precision numbers (division)
- string bcmod(string left_operand, string right_operand) 3.0
-
Returns the modulus of the two arbitrary precision operands
- string bcmul(string left_operand, string right_operand[, int scale]) 3.0
-
Returns the product of two arbitrary precision numbers
- string bcpow(string x, string y[, int scale]) 3.0
-
Returns the value of an arbitrary precision number raised to the power of another arbitrary precision number
- string bcscale(int scale) 3.0
-
Sets default scale parameter for all BC math functions
- string bcsqrt(string operand[, int scale]) 3.0
-
Returns the square root of an arbitrary precision number
- string bcsub(string left_operand, string right_operand[, int scale]) 3.0
-
Returns the difference between two arbitrary precision numbers
- string bin2hex(string data) 3.0.9
-
Converts the binary representation of data to hexadecimal
- string bind_textdomain_codeset (string domain, string codeset) 4.1.0
-
Specifies the character encoding in which the messages from the DOMAIN message catalog will be returned
- int bindec(string binary_number) 3.0
-
Returns the decimal equivalent of a binary number
- string bindtextdomain(string domain_name, string dir) 3.0.7
-
Binds to the text domain domain_name, looking for translations in dir; returns the current domain
- break 3.0
-
Language keyword used inside switch statements and loops
- string bzcompress(string source[, int blocksize100k[, int workfactor]]) 4.0.4
-
Compresses a string into BZip2 encoded data
- string bzdecompress(string source[, int small]) 4.0.4
-
Decompresses BZip2 compressed data
- int bzerrno(resource bz) 4.0.4
-
Returns the error number
- array bzerror(resource bz) 4.0.4
-
Returns the error number and error string in an associative array
- string bzerrstr(resource bz) 4.0.4
-
Returns the error string
- resource bzopen(string|int file|fp, string mode) 4.0.4
-
Opens a new BZip2 stream
- string bzread(int bz[, int length]) 4.0.4
-
Reads up to length bytes from a BZip2 stream, or 1,024 bytes if length is not specified
- int cal_days_in_month(int calendar, int month, int year) 4.1.0
-
Returns the number of days in a month for a given year and calendar
- array cal_from_jd(int jd, int calendar) 4.1.0
-
Converts from Julian day count to a supported calendar and returns extended information
- array cal_info(int calendar) 4.1.0
-
Returns information about a particular calendar
- int cal_to_jd(int calendar, int month, int day, int year) 4.1.0
-
Converts from a supported calendar to Julian day count
- mixed call_user_func(string function_name[, mixed parmeter][, mixed ...]) 3.0.3
-
Calls a user function that is the first parameter
- mixed call_user_func_array(string function_name, array parameters) 4.0.4
-
Calls a user function that is the first parameter with the arguments contained in array
- mixed call_user_method(string method_name, mixed object[, mixedparameter][, mixed ...]) 3.0.3
-
Calls a user method on a specific object or class
- mixed call_user_method_array(string method_name, mixed object, array params) 4.0.5
-
Calls a user method on a specific object or class using a parameter array
- case arg: 3.0
-
Language keyword used inside a switch statement
- float ceil(float number) 3.0
-
Returns the next highest integer value of the number
- bool chdir(string directory) 3.0
-
Changes the current directory
- bool checkdate(int month, int day, int year) 3.0
-
Returns true if passed a valid date in the Gregorian calendar
- int checkdnsrr(string host[, string type]) 3.0
-
Checks DNS records corresponding to a given Internet host name or IP address
- bool chgrp(string filename, mixed group) 3.0
-
Changes file group
- bool chmod(string filename, int mode) 3.0
-
Changes file mode
- bool chown (string filename, mixed user) 3.0
-
Changes file owner
- string chr(int ascii) 3.0
-
Converts ASCII code to a character
- bool chroot(string directory) 4.0.5
-
Changes root directory
- string chunk_split(string str[, int chunklen[, string ending]]) 3.0.6
-
Returns split line
- class class_name 3.0
-
Language keyword that defines a class
- bool class_exists(string classname) 4.0
-
Checks if the class exists
- void clearstatcache(void) 3.0
-
Clears file stat cache
- void closedir([resource dir_handle]) 3.0
-
Closes directory connection identified by dir_handle
- bool closelog(void) 3.0
-
Closes connection to system logger
- array compact(mixed var_names[, mixed ...]) 4.0
-
Creates a hash containing variables and their values
- int connection_aborted(void) 3.0.7
-
Returns true if client disconnected
- int connection_status(void) 3.0.7
-
Returns the connection status bitfield
- mixed constant(string const_name) 4.0.4
-
Returns the associated value, given the name of a constant
- continue 3.0
-
Language keyword used inside loops to skip to the next iteration
- bool copy(string source_file, string destination_file) 3.0
-
Copies a file
- float cos(float number) 3.0
-
Returns the cosine of the number in radians
- float cosh(float number) 4.1.0
-
Returns the hyperbolic cosine of the number
- int count(mixed var[, int mode]) 3.0
-
Counts the number of elements in a variable (usually an array)
- mixed count_chars(string input[, int mode]) 4.0
-
Returns information about what characters are used in input
- string crack_check([int dictionary,] string password) 4.0.5
-
Performs an obscure check with the given password
- string crack_closedict([int link_identifier]) 4.0.5
-
Closes an open cracklib dictionary
- string crack_getlastmessage(void) 4.0.5
-
Returns the message from the last obscure check
- string crack_opendict(string dictionary) 4.0.5
-
Opens a new cracklib dictionary
- string crc32(string str) 4.0.1
-
Calculates the crc32 polynomial of a string
- string create_function(string args, string code) 4.0.1
-
Creates an anonymous function and returns its name
- string crypt(string str[, string salt]) 3.0
-
Encrypts a string
- bool ctype_alnum(mixed c) 4.0.4
-
Checks for alphanumeric character(s)
- bool ctype_alpha(mixed c) 4.0.4
-
Checks for alphabetic character(s)
- bool ctype_cntrl(mixed c) 4.0.4
-
Checks for control character(s)
- bool ctype_digit(mixed c) 4.0.4
-
Checks for numeric character(s)
- bool ctype_graph(mixed c) 4.0.4
-
Checks for any printable character(s) except space
- bool ctype_lower(mixed c) 4.0.4
-
Checks for lowercase character(s)
- bool ctype_print(mixed c) 4.0.4
-
Checks for printable character(s)
- bool ctype_punct(mixed c) 4.0.4
-
Checks for any printable character that is not whitespace or an alphanumeric character
- bool ctype_space(mixed c) 4.0.4
-
Checks for whitespace character(s)
- bool ctype_upper(mixed c) 4.0.4
-
Checks for uppercase character(s)
- bool ctype_xdigit(mixed c) 4.0.4
-
Checks for character(s) representing a hexadecimal digit
- void curl_close(resource ch) 4.0.2
-
Closes a CURL session
- int curl_errno(resource ch) 4.0.3
-
Returns an integer containing the last error number
- string curl_error(resource ch) 4.0.3
-
Returns a string contain the last error for the current session
- bool curl_exec(resource ch) 4.0.2
-
Performs a CURL session
- string curl_getinfo(resource ch, int opt) 4.0.4
-
Gets information regarding a specific transfer
- resource curl_init([string url]) 4.0.2
-
Initializes a CURL session
- bool curl_setopt(resource ch, string option, mixed value) 4.0.2
-
Sets an option for a CURL transfer
- string curl_version(void) 4.0.2
-
Returns the CURL version string.
- mixed current(array array_arg) 3.0
-
Returns the element currently pointed to by the internal array pointer
- string date(string format[, int timestamp]) 3.0
-
Formats a local time/date
- void dba_close(int handle) 3.0.8
-
Closes the database
- bool dba_delete(string key, int handle) 3.0.8
-
Deletes the entry associated with key
- bool dba_exists(string key, int handle) 3.0.8
-
Checks if the specified key exists
- string dba_fetch(string key, int handle) 3.0.8
-
Fetches the data associated with key
- string dba_firstkey(int handle) 3.0.8
-
Resets the internal key pointer and returns the first key
- bool dba_insert(string key, string value, int handle) 3.0.8
-
Inserts value as key; returns false if key exists already
- string dba_nextkey(int handle) 3.0.8
-
Returns the next key
- int dba_open(string path, string mode, string handlername[, string ...]) 3.0.8
-
Opens path using the specified handler in specified mode
- bool dba_optimize(int handle) 3.0.8
-
Optimizes database
- int dba_popen(string path, string mode, string handlername[, string ...]) 3.0.8
-
Opens path persistently using the specified handler in specified mode
- bool dba_replace(string key, string value, int handle) 3.0.8
-
Inserts value as key; replaces key if key exists already
- bool dba_sync(int handle) 3.0.8
-
Synchronizes database
- string dblist(void) 3.0
-
Describes the DBM-compatible library being used
- bool dbmclose(int dbm_identifier) 3.0
-
Closes a DBM database
- int dbmdelete(int dbm_identifier, string key) 3.0
-
Deletes the value for a key from a DBM database
- int dbmexists(int dbm_identifier, string key) 3.0
-
Tells if a value exists for a key in a DBM database
- string dbmfetch(int dbm_identifier, string key) 3.0
-
Fetches a value for a key from a DBM database
- string dbmfirstkey(int dbm_identifier) 3.0
-
Retrieves the first key from a DBM database
- int dbminsert(int dbm_identifier, string key, string value) 3.0
-
Inserts a value for a key in a DBM database
- string dbmnextkey(int dbm_identifier, string key) 3.0
-
Retrieves the next key from a DBM database
- int dbmopen(string filename, string mode) 3.0
-
Opens a DBM database
- int dbmreplace(int dbm_identifier, string key, string value) 3.0
-
Replaces the value for a key in a DBM database
- bool dbx_close(dbx_link_object dbx_link) 4.0.6
-
Closes an open connection/database
- int dbx_compare(array row_x, array row_y, string columnname[, int flags]) 4.1.0
-
Compares two rows for sorting purposes
- dbx_link_object dbx_connect(string module_name, string host, string db, string username, string password[, bool persistent]) 4.0.6
-
Opens a connection/database; returns dbx_link_object on success or 0 on failure
- void dbx_error(dbx_link_object dbx_link) 4.0.6
-
Reports the error message of the latest function call in the module
- dbx_result_object dbx_query(dbx_link_object dbx_link, string sql_statement[, long flags]) 4.0.6
-
Sends a query and fetches all results; returns a dbx_link_object on success or 0 on failure
- int dbx_sort(object dbx_result, string compare_function_name) 4.0.6
-
Sorts a result from dbx_query() by a custom sort function
- string dcgettext(string domain_name, string msgid, long category) 3.0.7
-
Returns the translation of msgid for domain_name and category or msgid unaltered if a translation does not exist
- string dcngettext (string domain, string msgid1, string msgid2, int n, int category) 4.1.0
-
Plural version of dcgettext( )
- void debug_zval_dump(mixed var) 4.1.0
-
Dumps a string representation of an internal Zend value to output
- string decbin(int decimal_number) 3.0
-
Returns a string containing a binary representation of the number
- string dechex(int decimal_number) 3.0
-
Returns a string containing a hexadecimal representation of the number
- declare(directive) 4.0.2
-
Language keyword used to mark a block of code; only used for ticks at this point
- string decoct(int decimal_number) 3.0
-
Returns a string containing an octal representation of the number
- default: 3.0
-
Language keyword used inside a switch statement
- bool define(string constant_name, mixed value, case_sensitive=true) 3.0
-
Defines a new constant
- void define_syslog_variables(void) 3.0
-
Initializes all syslog-related variables
- bool defined(string constant_name) 3.0
-
Checks whether a constant exists
- float deg2rad(float number) 3.0.4
-
Converts the number in degrees to the radian equivalent
- string dgettext(string domain_name, string msgid) 3.0.7
-
Returns the translation of msgid for domain_name or msgid unaltered if a translation does not exist
- object dir(string directory) 3.0
-
Directory class with properties for handle and class and methods to read, rewind, and close
- string dirname(string path) 3.0
-
Returns the directory name component of the path
- float disk_free_space(string path) 4.1.0
-
Gets free disk space for filesystem that path is on
- float disk_total_space(string path) 4.1.0
-
Gets total disk space for filesystem that path is on
- int dl(string extension_filename) 3.0
-
Loads a PHP extension at runtime
- string dngettext (string domain, string msgid1, string msgid2, int count) 4.1.0
-
Plural version of dgettext( )
- do 3.0
-
Language keyword that forms the start of a do/while loop
- array each(array arr) 3.0
-
Returns the current key/value pair in the passed array and advances the pointer to the next element
- int easter_date([int year]) 3.0.9
-
Returns the timestamp of midnight on Easter of a given year (defaults to current year)
- int easter_days([int year, [int method]]) 3.0.9
-
Returns the number of days after March 21 that Easter falls on for a given year (defaults to current year)
- echo string arg1[, string argn...] 3.0
-
Outputs one or more strings
- else 3.0
-
Language keyword that reverses the current condition
- elseif(cond) 3.0
-
Language keyword that tests a condition only if current condition was not met
- bool empty(mixed var) 3.0
-
Determines whether a variable is empty
- mixed end(array array_arg) 3.0
-
Advances array argument's internal pointer to the last element and returns it
- enddeclare 4.0.2
-
Language keyword that ends a declare: block
- endfor 3.0
-
Language keyword that ends a for: block
- endforeach 4.0
-
Language keyword that ends a foreach: block
- endif 3.0
-
Language keyword that ends an if: block
- endswitch 3.0
-
Language keyword that ends a switch: block
- endwhile 3.0
-
Language keyword that ends a while: block
- int ereg(string pattern, string string[, array registers]) 3.0
-
Performs a regular expression match
- string ereg_replace(string pattern, string replacement, string string) 3.0
-
Performs a regular expression replacement
- int eregi(string pattern, string string[, array registers]) 3.0
-
Performs a case-insensitive regular expression match
- string eregi_replace(string pattern, string replacement, string string) 3.0
-
Performs a case-insensitive regular expression replacement
- bool error_log(string message, int message_type[, string destination][, string extra_headers]) 3.0
-
Sends an error message somewhere
- int error_reporting(int new_error_level=null) 3.0
-
Returns the current error_reporting level, and, if an argument was passed, changes to the new level
- string escapeshellarg(string arg) 4.0.3
-
Quotes and escapes an argument for use in a shell command
- string escapeshellcmd(string command) 3.0
-
Escapes shell metacharacters
- mixed eval(string code_str) 3.0
-
Evaluates a string as PHP code
- string exec(string command[, array output[, int return_value]]) 3.0
-
Executes an external program
- int exif_imagetype(string imagefile) 4.3.0
-
Gets the type of an image
- array|false exif_read_data(string filename[, sections_needed[, sub_arrays[, read_thumbnail]]]) 4.1.0
-
Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails
- string|false exif_tagname(index) 4.1.0
-
Gets header name for index or false if not defined
- string|false exif_thumbnail(string filename[, &width, &height[, &imagetype]]) 4.1.0
-
Reads the embedded thumbnail
- exit [([mixed status])] 3.0
-
Language keyword that terminates execution of the script and prints status just before exiting
- float exp(float number) 3.0
-
Returns e raised to the power of the number
- array explode(string separator, string str[, int limit]) 3.0
-
Splits a string on string separator and returns an array of components
- float expm1(float number) 4.1.0
-
Returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero
- extends 3.0
-
Language keyword used in a class definition to extend from a parent class
- bool extension_loaded(string extension_name) 3.0.10
-
Returns true if the named extension is loaded
- int extract(array var_array[, int extract_type[, string prefix]]) 3.0.7
-
Imports variables into symbol table from an array
- int ezmlm_hash(string addr) 3.0.17
-
Calculate EZMLM list hash value
- bool fclose(resource fp) 3.0
-
Closes an open file pointer
- bool feof(resource fp) 3.0
-
Tests for end-of-file on a file pointer
- bool fflush(resource fp) 4.0.1
-
Flushes output
- string fgetc(resource fp) 3.0
-
Gets a character from file pointer
- array fgetcsv(resource fp, int length[, string delimiter[, string enclosure]]) 3.0.8
-
Gets a line from file pointer and parses for CSV fields
- string fgets(resource fp[, int length]) 3.0
-
Gets a line from file pointer
- string fgetss(resource fp, int length[, string allowable_tags]) 3.0
-
Gets a line from file pointer and strips HTML tags
- array file(string filename[, bool use_include_path]) 3.0
-
Reads entire file into an array
- bool file_exists(string filename) 3.0
-
Returns true if filename exists
- string file_get_contents(string filename[, bool use_include_path]) 4.3.0
-
Reads the entire file into a string
- resource file_get_wrapper_data(resource fp) 4.3.0
-
Retrieves header/metadata from wrapped file pointer
- bool file_register_wrapper(string protocol, string classname) 4.3.0
-
Registers a custom URL protocol handler class
- int fileatime(string filename) 3.0
-
Gets last access time of file
- int filectime(string filename) 3.0
-
Gets inode modification time of file
- int filegroup(string filename) 3.0
-
Gets file group
- int fileinode(string filename) 3.0
-
Gets file inode
- int filemtime(string filename) 3.0
-
Gets last modification time of file
- int fileowner(string filename) 3.0
-
Gets file owner
- int fileperms(string filename) 3.0
-
Gets file permissions
- int filesize(string filename) 3.0
-
Gets file size
- string filetype(string filename) 3.0
-
Gets file type
- float floatval(mixed var) 4.1.0
-
Gets the float value of a variable
- bool flock(resource fp, int operation[, int &wouldblock]) 3.0.7
-
Provides portable file locking
- float floor(float number) 3.0
-
Returns the next lowest integer value from the number
- void flush(void) 3.0
-
Flushes the output buffer
- float fmod(float x, float y) 4.1.0
-
Returns the remainder of dividing x by y as a float
- bool fnmatch(string pattern, string filename[, int flags]) 4.3.0
-
Matches filename against pattern
- resource fopen(string filename, string mode[, bool use_include_path[, resource context]]) 3.0
-
Opens a file or a URL and returns a file pointer
- for(init; cond; inc) 3.0
-
Language keyword that implements a traditional for loop
- foreach(array as key=>value) 4.0
-
Language keyword that iterates through array and assigns each element to key and value
- int fpassthru(resource fp) 3.0
-
Outputs all remaining data from a file pointer
- string fread(resource fp, int length) 3.0
-
Provides a binary-safe file read
- int frenchtojd(int month, int day, int year) 3.0
-
Converts a French Republic calendar date to Julian day count
- mixed fscanf(string str, string format[, string ...]) 4.0.1
-
Implements a mostly ANSI-compatible fscanf( )
- int fseek(resource fp, int offset[, int whence]) 3.0
-
Seeks on a file pointer
- int fsockopen(string hostname, int port[, int errno[, string errstr[, float timeout]]]) 3.0
-
Opens an Internet or Unix domain socket connection
- int fstat(resource fp) 4.0
-
Performs stat( ) on a filehandle
- int ftell(resource fp) 3.0
-
Gets file pointer's read/write position
- int ftok(string pathname, string proj) 4.1.0
-
Converts a pathname and a project identifier to a System V IPC key
- int ftp_async_continue(resource stream) 4.3.0
-
Continues retrieving/sending a file asynchronously
- bool ftp_async_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos]) 4.3.0
-
Retrieves a file from the FTP server asynchronously and writes it to an open file
- bool ftp_async_fput(resource stream, string remote_file, resource fp, int mode[, int startpos]) 4.3.0
-
Stores a file from an open file to the FTP server asynchronously
- int ftp_async_get(resource stream, string local_file, string remote_file, int mode[, int resume_pos]) 4.3.0
-
Retrieves a file from the FTP server asynchronously and writes it to a local file
- bool ftp_async_put(resource stream, string remote_file, string local_file, int mode[, int startpos]) 4.3.0
-
Stores a file on the FTP server
- bool ftp_cdup(resource stream) 3.0.13
-
Changes to the parent directory
- bool ftp_chdir(resource stream, string directory) 3.0.13
-
Changes directories
- void ftp_close(resource stream) 4.1.0
-
Closes the FTP stream
- resource ftp_connect(string host[, int port[, int timeout)]]) 3.0.13
-
Opens an FTP stream
- bool ftp_delete(resource stream, string file) 3.0.13
-
Deletes a file
- bool ftp_exec(resource stream, string command) 4.0.3
-
Requests execution of a program on the FTP server
- bool ftp_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos]) 3.0.13
-
Retrieves a file from the FTP server and writes it to an open file
- bool ftp_fput(resource stream, string remote_file, resource fp, int mode[, int startpos]) 3.0.13
-
Stores a file from an open file to the FTP server
- bool ftp_get(resource stream, string local_file, string remote_file, int mode[, int resume_pos]) 3.0.13
-
Retrieves a file from the FTP server and writes it to a local file
- mixed ftp_get_option(resource stream, int option) 4.1.0
-
Gets an FTP option
- bool ftp_login(resource stream, string username, string password) 3.0.13
-
Logs into the FTP server
- int ftp_mdtm(resource stream, string filename) 3.0.13
-
Returns the last modification time of the file or -1 on error
- string ftp_mkdir(resource stream, string directory) 3.0.13
-
Creates a directory and returns the absolute path for the new directory or false on error
- array ftp_nlist(resource stream, string directory) 3.0.13
-
Returns an array of filenames in the given directory
- bool ftp_pasv(resource stream, bool pasv) 3.0.13
-
Turns passive mode on or off
- bool ftp_put(resource stream, string remote_file, string local_file, int mode[, int startpos]) 3.0.13
-
Stores a file on the FTP server
- string ftp_pwd(resource stream) 3.0.13
-
Returns the present working directory
- array ftp_rawlist(resource stream, string directory[, bool recursive]) 3.0.13
-
Returns a detailed listing of a directory as an array of output lines
- bool ftp_rename(resource stream, string src, string dest) 3.0.13
-
Renames the given file to a new path
- bool ftp_rmdir(resource stream, string directory) 3.0.13
-
Removes a directory
- bool ftp_set_option(resource stream, int option, mixed value) 4.1.0
-
Sets an FTP option
- bool ftp_site(resource stream, string cmd) 3.0.15
-
Sends a site command to the server
- int ftp_size(resource stream, string filename) 3.0.13
-
Returns the size of the file or -1 on error
- string ftp_systype(resource stream) 3.0.13
-
Returns the system type identifier
- int ftruncate(resource fp, int size) 4.0
-
Truncates file to size length
- mixed func_get_arg(int arg_num) 4.0
-
Gets the specified argument that was passed to the function
- array func_get_args( ) 4.0
-
Gets an array of the arguments that were passed to the function
- int func_num_args(void) 4.0
-
Gets the number of arguments that were passed to the function
- function func_name($arg1, $arg2, ...) 3.0
-
Language keyword used to define a function
- bool function_exists(string function_name) 3.0.7
-
Checks if the function exists
- int fwrite(resource fp, string str[, int length]) 3.0
-
Provides a binary-safe file write
- string get_cfg_var(string option_name) 3.0
-
Gets the value of a PHP configuration option
- string get_class(object object) 4.0
-
Retrieves the class name
- array get_class_methods(mixed class) 4.0
-
Returns an array of method names for class or class instance
- array get_class_vars(string class_name) 4.0
-
Returns an array of default properties of the class
- string get_current_user(void) 3.0
-
Gets the name of the owner of the current PHP script
- array get_declared_classes(void) 4.0
-
Returns an array of all declared classes
- array get_defined_constants(void) 4.1.0
-
Returns an array containing the names and values of all defined constants
- array get_defined_functions(void) 4.0.4
-
Returns an array of all defined functions
- array get_defined_vars(void) 4.0.4
-
Returns an associative array of names and values of all currently defined variable names (variables in the current scope)
- array get_extension_funcs(string extension_name) 4.0
-
Returns an array with the names of functions belonging to the named extension
- array get_html_translation_table([int table[, int quote_style]]) 4.0
-
Returns the internal translation table used by htmlspecialchars() and htmlentities()
- array get_included_files(void) 4.0
-
Returns an array with the filenames that were included with include_once
- array get_loaded_extensions(void) 4.0
-
Returns an array containing names of loaded extensions
- int get_magic_quotes_gpc(void) 3.0.6
-
Gets the active configuration setting of magic_quotes_gpc
- int get_magic_quotes_runtime(void) 3.0.6
-
Gets the active configuration setting of magic_quotes_runtime
- array get_meta_tags(string filename[, bool use_include_path]) 3.0.4
-
Extracts all meta tag content attributes from a file and returns an array
- array get_object_vars(object obj) 4.0
-
Returns an array of object properties
- string get_parent_class(mixed object) 4.0
-
Retrieves the parent class name for object or class
- string get_resource_type(resource res) 4.0.2
-
Gets the resource type name for a given resource
- array getallheaders(void) 3.0
-
An alias for apache_request_headers( )
- mixed getcwd(void) 4.0
-
Gets the current directory
- array getdate([int timestamp]) 3.0
-
Gets date/time information
- string getenv(string varname) 3.0
-
Gets the value of an environment variable
- string gethostbyaddr(string ip_address) 3.0
-
Gets the Internet hostname corresponding to a given IP address
- string gethostbyname(string hostname) 3.0
-
Gets the IP address corresponding to a given Internet hostname
- array gethostbynamel(string hostname) 3.0
-
Returns a list of IP addresses that a given hostname resolves to
- array getimagesize(string imagefile[, array info]) 3.0
-
Gets the size of an image as a four-element array
- int getlastmod(void) 3.0
-
Gets time of last page modification
- int getmxrr(string hostname, array mxhosts[, array weight]) 3.0
-
Gets MX records corresponding to a given Internet hostname
- int getmygid(void) 4.1.0
-
Gets PHP script owner's group ID
- int getmyinode(void) 3.0
-
Gets the inode of the current script being parsed
- int getmypid(void) 3.0
-
Gets current process ID
- int getmyuid(void) 3.0
-
Gets PHP script owner's user ID
- int getprotobyname(string name) 4.0
-
Returns protocol number associated with name as per /etc/protocols
- string getprotobynumber(int proto) 4.0
-
Returns protocol name associated with protocol number proto
- int getrandmax(void) 3.0
-
Returns the maximum value a random number can have
- array getrusage([int who]) 3.0.7
-
Returns an array of usage statistics
- int getservbyname(string service, string protocol) 4.0
-
Returns port associated with service; protocol must be "tcp" or "udp"
- string getservbyport(int port, string protocol) 4.0
-
Returns service name associated with port; protocol must be "tcp" or "udp"
- string gettext(string msgid) 3.0.7
-
Returns the translation of msgid for the current domain or msgid unaltered if a translation does not exist
- array gettimeofday(void) 3.0.7
-
Returns the current time as array
- string gettype(mixed var) 3.0
-
Returns the type of the variable
- array glob(string pattern[, int flags]) 4.3.0
-
Finds pathnames matching a pattern
- global var1[,var2[, ...]] 3.0
-
Language keyword used inside functions to indicate all uses for specified variables will be global
- string gmdate(string format[, int timestamp]) 3.0
-
Formats a GMT/UTC date/time
- int gmmktime(int hour, int min, int sec, int mon, int day, int year) 3.0
-
Gets Unix timestamp for a GMT date
- resource gmp_abs(resource a) 4.0.4
-
Calculates absolute value
- resource gmp_add(resource a, resource b) 4.0.4
-
Adds a and b
- resource gmp_and(resource a, resource b) 4.0.4
-
Calculates logical AND of a and b
- void gmp_clrbit(resource &a, int index) 4.0.4
-
Clears bit in a
- int gmp_cmp(resource a, resource b) 4.0.4
-
Compares two numbers
- resource gmp_com(resource a) 4.0.4
-
Calculates one's complement of a
- resource gmp_div_q(resource a, resource b[, int round]) 4.0.4
-
Divides a by b, returns quotient only
- array gmp_div_qr(resource a, resource b[, int round]) 4.0.4
-
Divides a by b, returns quotient and reminder
- resource gmp_div_r(resource a, resource b[, int round]) 4.0.4
-
Divides a by b, returns reminder only
- resource gmp_divexact(resource a, resource b) 4.0.4
-
Divides a by b using exact division algorithm
- resource gmp_fact(int a) 4.0.4
-
Calculates factorial function
- resource gmp_gcd(resource a, resource b) 4.0.4
-
Computes greatest common denominator (GCD) of a and b
- array gmp_gcdext(resource a, resource b) 4.0.4
-
Computes G, S, and T, such that AS + BT = G, where G is the GCD of a and b
- int gmp_hamdist(resource a, resource b) 4.0.4
-
Calculates hamming distance between a and b
- resource gmp_init(mixed number[, int base]) 4.0.4
-
Initializes GMP number
- int gmp_intval(resource gmpnumber) 4.0.4
-
Gets signed long value of GMP number
- resource gmp_invert(resource a, resource b) 4.0.4
-
Computes the inverse of a modulo b
- int gmp_jacobi(resource a, resource b) 4.0.4
-
Computes Jacobi symbol
- int gmp_legendre(resource a, resource b) 4.0.4
-
Computes Legendre symbol
- resource gmp_mod(resource a, resource b) 4.0.4
-
Computes a modulo b
- resource gmp_mul(resource a, resource b) 4.0.4
-
Multiplies a and b
- resource gmp_neg(resource a) 4.0.4
-
Negates a number
- resource gmp_or(resource a, resource b) 4.0.4
-
Calculates logical OR of a and b
- bool gmp_perfect_square(resource a) 4.0.4
-
Checks if a is an exact square
- int gmp_popcount(resource a) 4.0.4
-
Calculates the population count of a
- resource gmp_pow(resource base, int exp) 4.0.4
-
Raises base to power exp
- resource gmp_powm(resource base, resource exp, resource mod) 4.0.4
-
Raises base to power exp and takes result modulo mod
- int gmp_prob_prime(resource a[, int reps]) 4.0.4
-
Checks if a is "probably prime"
- resource gmp_random([int limiter]) 4.0.4
-
Gets random number
- int gmp_scan0(resource a, int start) 4.0.4
-
Finds first zero bit
- int gmp_scan1(resource a, int start) 4.0.4
-
Finds first nonzero bit
- void gmp_setbit(resource &a, int index[, bool set_clear]) 4.0.4
-
Sets or clears bit in a
- int gmp_sign(resource a) 4.0.4
-
Gets the sign of the number
- resource gmp_sqrt(resource a) 4.0.4
-
Takes integer part of square root of a
- array gmp_sqrtrem(resource a) 4.0.4
-
Takes square root with remainder
- string gmp_strval(resource gmpnumber[, int base]) 4.0.4
-
Gets string representation of GMP number
- resource gmp_sub(resource a, resource b) 4.0.4
-
Subtracts b from a
- resource gmp_xor(resource a, resource b) 4.0.4
-
Calculates logical exclusive OR of a and b
- string gmstrftime(string format[, int timestamp]) 3.0.12
-
Formats a GMT/UCT time/date according to locale settings
- int gregoriantojd(int month, int day, int year) 3.0
-
Converts a Gregorian calendar date to Julian day count
- string gzcompress(string data[, int level]) 4.0.1
-
Gzip-compresses a string
- string gzdeflate(string data[, int level]) 4.0.4
-
Gzip-compresses a string
- string gzencode(string data[, int level[, int encoding_mode]]) 4.0.4
-
Gzip-encodes a string
- array gzfile(string filename[, int use_include_path]) 3.0
-
Reads and uncompresses an entire .gz file into an array
- string gzinflate(string data[, int length]) 4.0.4
-
Unzips a gzip-compressed string
- int gzopen(string filename, string mode[, int use_include_path]) 3.0
-
Opens a .gz file and returns a .gz file pointer
- string gzuncompress(string data, int length) 4.0.1
-
Unzips a gzip-compressed string
- void header(string header[, bool replace, [int http_response_code]]) 3.0
-
Sends a raw HTTP header
- int headers_sent(void) 3.0.8
-
Returns true if headers have already been sent, false otherwise
- string hebrev(string str[, int max_chars_per_line]) 3.0
-
Converts logical Hebrew text to visual text
- string hebrevc(string str[, int max_chars_per_line]) 3.0
-
Converts logical Hebrew text to visual text with newline conversion
- int hexdec(string hexadecimal_number) 3.0
-
Returns the decimal equivalent of the hexadecimal number
- bool highlight_file(string file_name[, bool return] ) 4.0
-
Adds syntax highlighting to a source file
- bool highlight_string(string string[, bool return] ) 4.0
-
Adds syntax highlighting to a string and optionally return it
- string html_entity_decode(string string[, int quote_style][, string charset]) 4.3.0
-
Converts all HTML entities to their applicable characters
- string htmlentities(string string[, int quote_style][, string charset]) 3.0
-
Converts all applicable characters to HTML entities
- string htmlspecialchars(string string[, int quote_style][, string charset]) 3.0
-
Converts special characters to HTML entities
- string iconv(string in_charset, string out_charset, string str) 4.0.5
-
Returns str converted to the out_charset character set
- array iconv_get_encoding([string type]) 4.0.5
-
Gets the internal and output encoding for ob_iconv_handler( )
- bool iconv_set_encoding(string type, string charset) 4.0.5
-
Sets the internal and output encoding for ob_iconv_handler( )
- if(cond) 3.0
-
Language keyword that tests a condition
- int ignore_user_abort(bool value) 3.0.7
-
Sets whether to ignore a user abort event or not
- int image2wbmp(int im[, string filename[, int threshold]]) 4.0.5
-
Outputs WBMP image to browser or file
- array image_type_to_mime_type(int imagetype) 4.3.0
-
Gets the MIME type for imagetype returned by getimagesize(), exif_read_data(), exif_thumbnail(), and exif_imagetype()
- void imagealphablending(resource im, bool on) 4.0.6
-
Turns alpha blending mode on or off for the given image
- int imagearc(int im, int cx, int cy, int w, int h, int s, int e, int col) 3.0
-
Draws a partial ellipse
- int imagechar(int im, int font, int x, int y, string c, int col) 3.0
-
Draws a character
- int imagecharup(int im, int font, int x, int y, string c, int col) 3.0
-
Draws a character rotated 90 degrees counterclockwise
- int imagecolorallocate(int im, int red, int green, int blue) 3.0
-
Allocates a color for an image
- int imagecolorat(int im, int x, int y) 3.0
-
Gets the index of the color of a pixel
- int imagecolorclosest(int im, int red, int green, int blue) 3.0
-
Gets the index of the closest color to the specified color
- int imagecolorclosestalpha(resource im, int red, int green, int blue, int alpha) 4.0.6
-
Finds the closest matching color with alpha transparency
- int imagecolorclosesthwb(int im, int red, int green, int blue) 4.0.1
-
Gets the index of the color that has the hue, white, and blackness nearest to the given color
- int imagecolordeallocate(int im, int index) 3.0.6
-
Deallocates a color for an image
- int imagecolorexact(int im, int red, int green, int blue) 3.0
-
Gets the index of the specified color
- int imagecolorexactalpha(resource im, int red, int green, int blue, int alpha) 4.0.6
-
Finds exact match for color with transparency
- int imagecolorresolve(int im, int red, int green, int blue) 3.0.2
-
Gets the index of the specified color or its closest possible alternative
- int imagecolorresolvealpha(resource im, int red, int green, int blue, int alpha) 4.0.6
-
Resolves/allocates a color with an alpha level; works for true color and palette based images
- int imagecolorset(int im, int col, int red, int green, int blue) 3.0
-
Sets the color for the specified palette index
- array imagecolorsforindex(int im, int col) 3.0
-
Gets the colors for an index
- int imagecolorstotal(int im) 3.0
-
Finds out the number of colors in an image's palette
- int imagecolortransparent(int im[, int col]) 3.0
-
Defines a color as transparent
- int imagecopy(int dst_im, int src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h) 3.0.6
-
Copies part of an image
- int imagecopymerge(int src_im, int dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) 4.0.1
-
Merges one part of an image with another
- int imagecopymergegray(int src_im, int dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) 4.0.6
-
Merges one part of an image with another
- int imagecopyresampled(int dst_im, int 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) 4.0.6
-
Copies and resizes part of an image using resampling to help ensure clarity
- int imagecopyresized(int dst_im, int 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) 3.0
-
Copies and resizes part of an image
- int imagecreate(int x_size, int y_size) 3.0
-
Creates a new image
- int imagecreatefromgd(string filename) 4.1.0
-
Creates a new image from GD file or URL
- int imagecreatefromgd2(string filename) 4.1.0
-
Creates a new image from GD2 file or URL
- int imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height) 4.1.0
-
Creates a new image from a given part of GD2 file or URL
- int imagecreatefromgif(string filename) 3.0
-
Creates a new image from GIF file or URL
- int imagecreatefromjpeg(string filename) 3.0.16
-
Creates a new image from JPEG file or URL
- int imagecreatefrompng(string filename) 3.0.13
-
Creates a new image from PNG file or URL
- int imagecreatefromstring(string image) 4.0.4
-
Creates a new image from the image stream in the string
- int imagecreatefromwbmp(string filename) 4.0.1
-
Creates a new image from WBMP file or URL
- int imagecreatefromxbm(string filename) 4.0.1
-
Creates a new image from XBM file or URL
- int imagecreatefromxpm(string filename) 4.0.1
-
Creates a new image from XPM file or URL
- int imagecreatetruecolor(int x_size, int y_size) 4.0.6
-
Creates a new true color image
- int imagedashedline(int im, int x1, int y1, int x2, int y2, int col) 3.0
-
Draws a dashed line
- int imagedestroy(int im) 3.0
-
Destroys an image
- void imageellipse(resource im, int cx, int cy, int w, int h, int color) 4.0.6
-
Draws an ellipse
- int imagefill(int im, int x, int y, int col) 3.0
-
Performs a flood fill
- int imagefilledarc(int im, int cx, int cy, int w, int h, int s, int e, int col, int style) 4.0.6
-
Draws a filled partial ellipse
- void imagefilledellipse(resource im, int cx, int cy, int w, int h, int color) 4.0.6
-
Draws an ellipse
- int imagefilledpolygon(int im, array point, int num_points, int col) 3.0
-
Draws a filled polygon
- int imagefilledrectangle(int im, int x1, int y1, int x2, int y2, int col) 3.0
-
Draws a filled rectangle
- int imagefilltoborder(int im, int x, int y, int border, int col) 3.0
-
Performs a flood fill to specific color
- int imagefontheight(int font) 3.0
-
Gets font height
- int imagefontwidth(int font) 3.0
-
Gets font width
- array imageftbbox(int size, int angle, string font_file, string text[, array extrainfo]) 4.1.0
-
Gives the bounding box of a text using fonts via freetype2
- array imagefttext(int im, int size, int angle, int x, int y, int col, string font_file, string text, [array extrainfo]) 4.1.0
-
Writes text to the image using fonts via freetype2
- int imagegammacorrect(int im, float inputgamma, float outputgamma) 3.0.13
-
Applies a gamma correction to a GD image
- int imagegd(int im[, string filename]) 4.1.0
-
Outputs GD image to browser or file
- int imagegd2(int im[, string filename]) 4.1.0
-
Outputs GD2 image to browser or file
- int imagegif(int im[, string filename]) 3.0
-
Outputs GIF image to browser or file
- int imageinterlace(int im[, int interlace]) 3.0
-
Enables or disables interlace
- int imagejpeg(int im[, string filename[, int quality]]) 3.0.16
-
Outputs JPEG image to browser or file
- int imageline(int im, int x1, int y1, int x2, int y2, int col) 3.0
-
Draws a line
- int imageloadfont(string filename) 3.0
-
Loads a new font
- int imagepalettecopy(int dst, int src) 4.0.1
-
Copies the palette from the src image onto the dst image
- int imagepng(int im[, string filename]) 3.0.13
-
Outputs PNG image to browser or file
- int imagepolygon(int im, array point, int num_points, int col) 3.0
-
Draws a polygon
- array imagepsbbox(string text, int font, int size[, int space, int tightness, int angle]) 3.0.9
-
Returns the bounding box needed by a string if rasterized
- int imagepscopyfont(int font_index) 3.0.9
-
Makes a copy of a font for purposes like extending or reencoding
- bool imagepsencodefont(int font_index, string filename) 3.0.9
-
Changes a font's character encoding vector
- bool imagepsextendfont(int font_index, float extend) 3.0.9
-
Extends or condenses (if extend is less than 1) a font
- bool imagepsfreefont(int font_index) 3.0.9
-
Frees memory used by a font
- int imagepsloadfont(string pathname) 3.0.9
-
Loads a new font from specified file
- bool imagepsslantfont(int font_index, float slant) 3.0.9
-
Slants a font
- array imagepstext(int image, string text, int font, int size, int xcoord, int ycoord[, int space, int tightness, float angle, int antialias]) 3.0.9
-
Rasterizes a string over an image
- int imagerectangle(int im, int x1, int y1, int x2, int y2, int col) 3.0
-
Draws a rectangle
- int imagesetbrush(resource image, resource brush) 4.0.6
-
Sets the brush image for line drawing
- int imagesetpixel(int im, int x, int y, int col) 3.0
-
Sets a single pixel
- void imagesetstyle(resource im, array styles) 4.0.6
-
Sets the style for line drawing
- void imagesetthickness(resource im, int thickness) 4.0.6
-
Sets line thickness for line drawing
- int imagesettile(resource image, resource tile) 4.0.6
-
Sets the tile image for filling
- int imagestring(int im, int font, int x, int y, string str, int col) 3.0
-
Draws a string horizontally
- int imagestringup(int im, int font, int x, int y, string str, int col) 3.0
-
Draws a string vertically (rotated 90 degrees counterclockwise)
- int imagesx(int im) 3.0
-
Gets image width
- int imagesy(int im) 3.0
-
Gets image height
- void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted) 4.0.6
-
Converts a true color image to a palette-based image with a number of colors, optionally using dithering.
- array imagettfbbox(int size, int angle, string font_file, string text) 3.0.1
-
Gives the bounding box of a text using TrueType fonts
- array imagettftext(int im, int size, int angle, int x, int y, int col, string font_file, string text) 3.0
-
Writes text to the image using a TrueType font
- int imagetypes(void) 3 CVS Only
-
Returns the types of images supported in a bitfield (1=GIF, 2=JPEG, 4=PNG, 8=WBMP, 16=XPM)
- int imagewbmp(int im[, string filename,[, int foreground]]) 3.0.15
-
Outputs WBMP image to browser or file
- string imap_8bit(string text) 3.0
-
Converts an 8-bit string to a quoted-printable string
- array imap_alerts(void) 3.0.12
-
Returns an array of all IMAP alerts generated since the last page load or the last imap_alerts( ) call, whichever came last, and clears the alert stack
- int imap_append(int stream_id, string folder, string message[, string flags]) 3.0
-
Appends a new message to a specified mailbox
- string imap_base64(string text) 3.0
-
Decodes BASE64 encoded text
- string imap_binary(string text) 3.0.2
-
Converts an 8-bit string to a base64 string
- string imap_body(int stream_id, int msg_no[, int options]) 3.0
-
Reads the message body
- object imap_bodystruct(int stream_id, int msg_no, int section) 3.0.4
-
Reads the structure of a specified body section of a specific message
- object imap_check(int stream_id) 3.0
-
Gets mailbox properties
- int imap_clearflag_full(int stream_id, string sequence, string flag[, int options]) 3.0.3
-
Clears flags on messages
- int imap_close(int stream_id[, int options]) 3.0
-
Closes an IMAP stream
- int imap_createmailbox(int stream_id, string mailbox) 3.0
-
Creates a new mailbox
- int imap_delete(int stream_id, int msg_no[, int flags]) 3.0
-
Marks a message for deletion
- int imap_deletemailbox(int stream_id, string mailbox) 3.0
-
Deletes a mailbox
- array imap_errors(void) 3.0.12
-
Returns an array of all IMAP errors generated since the last page load or the last imap_errors( ) call, whichever came last, and clears the error stack
- int imap_expunge(int stream_id) 3.0
-
Permanently deletes all messages marked for deletion
- array imap_fetch_overview(int stream_id, int msg_no[, int flags]) 3.0.4
-
Reads an overview of the information in the headers of the given message sequence
- string imap_fetchbody(int stream_id, int msg_no, int section[, int options]) 3.0
-
Gets a specific body section
- string imap_fetchheader(int stream_id, int msg_no[, int options]) 3.0.3
-
Gets the full unfiltered header for a message
- object imap_fetchstructure(int stream_id, int msg_no[, int options]) 3.0
-
Reads the full structure of a message
- array imap_get_quota(int stream_id, string qroot) 4.0.5
-
Returns the quota set to the mailbox account qroot
- array imap_get_quotaroot(int stream_id, string mbox) 4.3.0
-
Returns the quota set to the mailbox account mbox
- array imap_getmailboxes(int stream_id, string ref, string pattern) 3.0.12
-
Reads the list of mailboxes and returns a full array of objects containing names, attributes, and delimiters
- array imap_getsubscribed(int stream_id, string ref, string pattern) 3.0.12
-
Return a list of subscribed mailboxes in the same format as imap_getmailboxes( )
- object imap_headerinfo(int stream_id, int msg_no[, int from_length[, int subject_length[, string default_host]]]) 3.0
-
Reads the headers of the message
- array imap_headers(int stream_id) 3.0
-
Returns headers for all messages in a mailbox
- string imap_last_error(void) 3.0.12
-
Returns the last error that was generated by an IMAP function; the error stack is not cleared after this call
- array imap_list(int stream_id, string ref, string pattern) 3.0.4
-
Reads the list of mailboxes
- array imap_lsub(int stream_id, string ref, string pattern) 3.0.4
-
Returns a list of subscribed mailboxes
- int imap_mail(string to, string subject, string message[, string additional_headers[, string cc[, string bcc[, string rpath]]]]) 3.0.14
-
Sends an email message
- string imap_mail_compose(array envelope, array body) 3.0.5
-
Creates a MIME message based on given envelope and body sections
- int imap_mail_copy(int stream_id, int msg_no, string mailbox[, int options]) 3.0
-
Copies specified message to a mailbox
- int imap_mail_move(int stream_id, int msg_no, string mailbox[, int options]) 3.0
-
Moves specified message to a mailbox
- object imap_mailboxmsginfo(int stream_id) 3.0.2
-
Returns information about the current mailbox
- array imap_mime_header_decode(string str) 3.0.17
-
Decodes MIME header element in accordance with RFC 2047 and returns an array of objects containing charset encoding and decoded text
- int imap_msgno(int stream_id, int unique_msg_id) 3.0.3
-
Gets the sequence number associated with a user ID
- int imap_num_msg(int stream_id) 3.0
-
Gives the number of messages in the current mailbox
- int imap_num_recent(int stream_id) 3.0
-
Gives the number of recent messages in current mailbox
- int imap_open(string mailbox, string user, string password[, int options]) 3.0
-
Opens an IMAP stream to a mailbox
- int imap_ping(int stream_id) 3.0
-
Checks if the IMAP stream is still active
- string imap_qprint(string text) 3.0
-
Converts a quoted-printable string to an 8-bit string
- int imap_renamemailbox(int stream_id, string old_name, string new_name) 3.0
-
Renames a mailbox
- int imap_reopen(int stream_id, string mailbox[, int options]) 3.0
-
Reopens an IMAP stream to a new mailbox
- array imap_rfc822_parse_adrlist(string address_string, string default_host) 3.0.2
-
Parses an address string
- object imap_rfc822_parse_headers(string headers[, string default_host]) 4.0
-
Parses a set of mail headers contained in a string and return an object similar to imap_headerinfo( )
- string imap_rfc822_write_address(string mailbox, string host, string personal) 3.0.2
-
Returns a properly formatted email address given the mailbox, host, and personal information
- array imap_scan(int stream_id, string ref, string pattern, string content) 3.0.4
-
Reads list of mailboxes containing a certain string
- array imap_search(int stream_id, string criteria[, long flags]) 3.0.12
-
Returns a list of messages matching the given criteria
- int imap_set_quota(int stream_id, string qroot, int mailbox_size) 4.0.5
-
Sets the quota for qroot mailbox
- int imap_setacl(int stream_id, string mailbox, string id, string rights) 4.1.0
-
Sets the ACL for a given mailbox
- int imap_setflag
