★ wanayoo — archive 1999 http://www.phpwizard.net/resources/quickref/basic.htmlNouvelle recherche | Portail wanayoo
phpWizard.net - Building Dynamic Websites with PHP
   Projects | Resources | The Book | About |
  Resources
 -Tutorials
 -Quick Reference
 -Link Directory
 -Scriptlets
 +Bookstore
 +Fun Stuff
 Quick Reference: basic

  • int krsort(array array_arg)
    Sort an array reverse by key
  • int ksort(array array_arg)
    Sort an array by key
  • void natsort(array array_arg)
    Sort an array using natural sort
  • void natcasesort(array array_arg)
    Sort an array using case-insensitive natural sort
  • void asort(array array_arg)
    Sort an array and maintain index association
  • void arsort(array array_arg)
    Sort an array in reverse order and maintain index association
  • void sort(array array_arg)
    Sort an array
  • void rsort(array array_arg)
    Sort an array in reverse order
  • void uasort(array array_arg, string cmp_function)
    Sort an array with a user-defined comparison function and maintain index association
  • void uksort(array array_arg, string cmp_function)
    Sort an array by keys using a user-defined comparison function
  • mixed end(array array_arg)
    Advances array argument's internal pointer to the last element and return it
  • mixed prev(array array_arg)
    Move array argument's internal pointer to the previous element and return it
  • mixed next(array array_arg)
    Move array argument's internal pointer to the next element and return it
  • mixed reset(array array_arg)
    Set array argument's internal pointer to the first element and return it
  • mixed current(array array_arg)
    Return the element currently pointed to by the internal array pointer
  • mixed key(array array_arg)
    Return the key of the element currently pointed to by the internal array pointer
  • mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
    Return the lowest value in an array or a series of arguments
  • mixed max(mixed arg1 [, mixed arg2 [, mixed ...]])
    Return the highest value in an array or a series of arguments
  • int array_walk(array input, string funcname [, mixed userdata])
    Apply a user function to every member of an array
  • bool in_array(mixed needle, array haystack [, bool strict])
    Checks if the given value exists in the array
  • void extract(array var_array, int extract_type [, string prefix])
    Imports variables into symbol table from an array
  • array compact(mixed var_names [, mixed ... ])
    Creates a hash containing variables and their values
  • array range(int low, int high)
    Create an array containing the range of integers from low to high (inclusive)
  • int shuffle(array array_arg)
    Randomly shuffle the contents of an array
  • int array_push(array stack, mixed var [, mixed ...])
    Pushes elements onto the end of the array
  • mixed array_pop(array stack)
    Pops an element off the end of the array
  • mixed array_shift(array stack)
    Pops an element off the beginning of the array
  • int array_unshift(array stack, mixed var [, mixed ...])
    Pushes elements onto the beginning of the array
  • array array_splice(array input, int offset [, int length [, array replacement]])
    Removes the elements designated by offset and length and replace them with supplied array
  • array array_slice(array input, int offset [, int length])
    Returns elements specified by offset and length
  • array array_merge(array arr1, array arr2 [, mixed ...])
    Merges elements from passed arrays into one array
  • array array_merge_recursive(array arr1, array arr2 [, mixed ...])
    Recursively merges elements from passed arrays into one array
  • array array_keys(array input [, mixed search_value])
    Return just the keys from the input array, optionally only for the specified search_value
  • array array_values(array input)
    Return just the values from the input array
  • array array_count_values(array input)
    Return the value as key and the frequency of that value in as value
  • array array_reverse(array input)
    Return input as a new array with the order of the entries reversed
  • array array_pad(array input, int pad_size, mixed pad_value)
    Returns a copy of input array padded with pad_value to size pad_size
  • array array_flip(array input)
    Return array with key <-> value flipped
  • array array_unique(array input)
    Removes duplicate values from array
  • array array_intersect(array arr1, array arr2 [, mixed ...])
    Returns the entries of arr1 that have values which are present in all the other arguments
  • array array_diff(array arr1, array arr2 [, mixed ...])
    Returns the entries of arr1 that have values which are not present in any of the others arguments
  • bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC] [, array ar2 [, SORT_ASC|SORT_DESC], ...])
    Sort multiple arrays at once similar to how ORDER BY clause works in SQL
  • mixed array_rand(array input [, int num_req])
    Return key/keys for random entry/entries in the array
  • int assert(string|bool assertion)
    Checks if assertion is false
  • mixed assert_options(int what, mixed value)
    Set/get the various assert flags
  • string base64_encode(string str)
    Encodes string using MIME base64 algorithm
  • string base64_decode(string str)
    Decodes string using MIME base64 algorithm
  • int intval(mixed var [, int base])
    Get the integer value of a variable using the optional base for the conversion
  • double doubleval(mixed var)
    Get the double-precision value of a variable
  • string strval(mixed var)
    Get the string value of a variable
  • string bin2hex(string data)
    Converts the binary representation of data to hex
  • void sleep(int seconds)
    Delay for a given number of seconds
  • void usleep(int micro_seconds)
    Delay for a given number of micro seconds
  • int time(void)
    Return current UNIX timestamp
  • int mktime(int hour, int min, int sec, int mon, int day, int year)
    Get UNIX timestamp for a date
  • int gmmktime(int hour, int min, int sec, int mon, int day, int year)
    Get UNIX timestamp for a GMT date
  • string strftime(string format [, int timestamp])
    Format a local time/date according to locale settings
  • string gmstrftime(string format [, int timestamp])
    Format a GMT/CUT time/date according to locale settings
  • int strtotime(string time, int now)
    Convert string representation of date and time to a timestamp
  • string date(string format [, int timestamp])
    Format a local time/date
  • string gmdate(string format [, int timestamp])
    Format a GMT/CUT date/time
  • array getdate([int timestamp])
    Get date/time information
  • array localtime([int timestamp [, bool associative_array]])
    Returns the results of the C system call localtime as an associative array if the associative_array argument is set to 1 other wise it is a regular array
  • bool checkdate(int month, int day, int year)
    Returns true(1) if it is a valid date
  • void flush(void)
    Flush the output buffer
  • string gettype(mixed var)
    Returns the type of the variable
  • int settype(string var, string type)
    Set the type of the variable
  • array getimagesize(string imagefile [, array info])
    Get the size of an image as 4-element array
  • string htmlspecialchars(string string)
    Convert special characters to HTML entities
  • string htmlentities(string string)
    Convert all applicable characters to HTML entities
  • array get_html_translation_table([int whichone])
    Returns the internal translation table used by htmlspecialchars and htmlentities
  • array iptcparse([int whichone])
    Returns the internal translation table used by htmlspecialchars and htmlentities
  • array iptcembed(string iptcdata, string jpeg_file_name [, int spool])
    Embed binary IPTC data into a JPEG image.
  • void phpinfo([int what])
    Output a page of useful information about PHP and the current request
  • string phpversion(void)
    Return the current PHP version
  • void phpcredits(int)
    Prints the list of people who've contributed to the PHP project
  • void php_logo_guid(int)
    Prints the list of people who've contributed to the PHP project
  • void zend_logo_guid(int)
    Prints the list of people who've contributed to the PHP project
  • void php_sapi_name(int)
    Prints the list of people who've contributed to the PHP project
  • int strnatcmp(string s1, string s2)
    Returns the result of string comparison using 'natural' algorithm
  • int strnatcasecmp(string s1, string s2)
    Returns the result of case-insensitive string comparison using 'natural' algorithm
  • int substr_count(string haystack, string needle)
    Returns the number of times a substring occurs in the string.
  • int strspn(string str, string mask)
    Find length of initial segment consisting entirely of characters found in mask
  • int strcspn(string str, string mask)
    Find length of initial segment consisting entirely of characters not found in mask
  • string strtok([string str,] string token)
    Tokenize a string
  • string strtoupper(string str)
    Make a string uppercase
  • string strtolower(string str)
    Make a string lowercase
  • int strpos(string haystack, string needle [, int offset])
    Find position of first occurrence of a string within another
  • int strrpos(string haystack, string needle)
    Find the last occurrence of a character in a string within another
  • string strrev(string str)
    Reverse a string
  • string hebrev(string str [, int max_chars_per_line])
    Convert logical Hebrew text to visual text
  • string hebrevc(string str [, int max_chars_per_line])
    Convert logical Hebrew text to visual text with newline conversion
  • string nl2br(string str)
    Converts newlines to HTML line breaks
  • string basename(string path)
    Return the filename component of the path
  • string dirname(string path)
    Return the directory name component of the path
  • string stripslashes(string str)
    Strip backslashes from a string
  • string stripcslashes(string str)
    Strip backslashes from a string. Uses C-style conventions
  • string strstr(string haystack, string needle)
    Find first occurrence of a string within another
  • string stristr(string haystack, string needle)
    Find first occurrence of a string within another, case insensitive
  • string strrchr(string haystack, string needle)
    Find the last occurrence of a character in a string within another
  • string substr(string str, int start [, int length])
    Return part of a string
  • string substr_replace(string str, string repl, int start [, int length])
    Replace part of a string with another string
  • string quotemeta(string str)
    Quote meta characters
  • string ucfirst(string str)
    Make a string's first character uppercase
  • string ucwords(string str)
    Uppercase the first character of every word in a string
  • string strtr(string str, string from, string to)
    Translate characters in str using given translation tables
  • string addslashes(string str)
    Escape single quote, double quotes and backslash characters in a string with backslashes
  • string addcslashes(string str, string charlist)
    Escape all chars mentioned in charlist with backslash. It creates octal representations if asked to backslash characters with 8th bit set or with ASCII<32 (except '\n', '\r', '\t' etc...).
  • string chop(string str)
    Remove trailing whitespace
  • string str_replace(string needle, string str, string haystack)
    Replace all occurrences of needle in haystack with str
  • string str_repeat(string input, int mult)
    Returns the input string repeat mult times
  • mixed count_chars(string input [, int mode])
    Returns info about what characters are used in input
  • string chunk_split(string str [, int chunklen [, string ending]])
    Return split line
  • string trim(string str)
    Strip whitespace from the beginning and end of a string
  • string ltrim(string str)
    Strip whitespace from the beginning of a string
  • string strip_tags(string str [, string allowable_tags])
    Strips HTML and PHP tags from a string
  • int similar_text(string str1, string str2 [, double percent])
    Calculates the similarity between two strings
  • array explode(string separator, string str [, int limit])
    Split a string on string separator and return array of components
  • string implode(array src, string glue)
    Join array elements placing glue string between items and return one string
  • string setlocale(string category, string locale)
    Set locale information
  • string soundex(string str)
    Calculate the soundex key of a string
  • int levenshtein(string str1, string str2)
    Calculate Levenshtein distance between two strings
  • string chr(int ascii)
    Convert ASCII code to a character
  • int ord(string character)
    Return ASCII value of character
  • void parse_str(string encoded_string)
    Parses GET/POST/COOKIE data and sets global variables.
  • string str_pad(string input, int pad_length [, string pad_string])
    Returns input string padded on the left or right to specified length with pad_string
  • mixed sscanf(string str,string format, ...)
    implements an ANSI compatible sscanf.
  • mixed fscanf(string str, string format [, string ...])
    Implements a mostly ANSI compatible fscanf()
  • array parse_url(string url)
    Parse a URL and return its components
  • string urlencode(string str)
    URL-encodes string
  • string urldecode(string str)
    Decodes URL-encoded string
  • string rawurlencode(string str)
    URL-encodes string
  • string rawurldecode(string str)
    Decodes URL-encodes string
  • string readlink(string filename)
    Return the target of a symbolic link
  • int linkinfo(string filename)
    Returns the st_dev field of the UNIX C stat structure describing the link
  • int symlink(string target, string link)
    Create a symbolic link
  • int link(string target, string link)
    Create a hard link
  • int unlink(string filename)
    Delete a file
  • int exec(string command [, array output [, int return_value]])
    Execute an external program
  • int system(string command [, int return_value])
    Execute an external program and display output
  • string escapeshellcmd(string command)
    Escape shell metacharacters
  • void passthru(string command [, int return_value])
    Execute an external program and display raw output
  • string shell_exec(strng cmd)
    What excatly is this variant for ???
  • int rand([int min, int max])
    Returns a random number
  • void srand(int seed)
    Seeds random number generator
  • int getrandmax(void)
    Returns the maximum value a random number can have
  • int mt_rand([int min, int max])
    Returns a random number from Mersenne Twister
  • void mt_srand(int seed)
    Seeds Mersenne Twister random number generator
  • int mt_getrandmax(void)
    Returns the maximum value a random number from Mersenne Twister can have
  • int getservbyname(string service, string protocol)
    Returns port associated with service. Protocol must be "tcp" or "udp".
  • string getservbyport(int port, string protocol)
    Returns service name associated with port. Protocol must be "tcp" or "udp".
  • int getprotobyname(string name)
    Returns protocol number associated with name as per /etc/protocols
  • string getprotobynumber(int proto)
    Returns protocol name associated with protocol number proto
  • string gethostbyaddr(string ip_address)
    Get the Internet host name corresponding to a given IP address
  • string gethostbyname(string hostname)
    Get the IP address corresponding to a given Internet host name
  • array gethostbynamel(string hostname)
    Return a list of IP addresses that a given hostname resolves to.
  • int checkdnsrr(string host [, string type])
    Check DNS records corresponding to a given Internet host name or IP address
  • int getmxrr(string hostname, array mxhosts [, array weight])
    Get MX records corresponding to a given Internet host name
  • int getmyuid(void)
    Get PHP script owner's UID
  • int getmypid(void)
    Get current process ID
  • int getmyinode(void)
    Get the inode of the current script being parsed
  • int getlastmod(void)
    Get time of last page modification
  • int abs(int number)
    Return the absolute value of the number
  • int ceil(double number)
    Returns the next highest integer value of the number
  • int floor(double number)
    Returns the next lowest integer value from the number
  • double round(double number [, int precision])
    Returns the number rounded to specified precision.
  • double sin(double number)
    Returns the sine of the number in radians
  • double cos(double number)
    Returns the cosine of the number in radians
  • double tan(double number)
    Returns the tangent of the number in radians
  • double asin(double number)
    Returns the arc sine of the number in radians
  • double acos(double number)
    Return the arc cosine of the number in radians
  • double atan(double number)
    Returns the arc tangent of the number in radians
  • double atan2(double y, double x)
    Returns the arc tangent of y/x, with the resulting quadrant determined by the signs of y and x
  • double pi(void)
    Returns an approximation of pi
  • double pow(double base, double exponent)
    Returns base raised to the power of exponent
  • double exp(double number)
    Returns e raised to the power of the number
  • double log(double number)
    Returns the natural logarithm of the number
  • double log10(double number)
    Returns the base-10 logarithm of the number
  • double sqrt(double number)
    Returns the square root of the number
  • double deg2rad(double number)
    Converts the number in degrees to the radian equivalent
  • double rad2deg(double number)
    Converts the radian number to the equivalent number in degrees
  • int bindec(string binary_number)
    Returns the decimal equivalent of the binary number
  • int hexdec(string hexadimal_number)
    Returns the decimal equivalent of the hexadecimal number
  • int octdec(string octal_number)
    Returns the decimal equivalent of an octal string
  • string decbin(int decimal_number)
    Returns a string containing a binary representation of the number
  • string decoct(int decimal_number)
    Returns a string containing an octal representation of the given number
  • string dechex(int decimal_number)
    Returns a string containing a hexadecimal representation of the given number
  • string base_convert(string number, int frombase, int tobase)
    Converts a number in a string from any base <= 36 to any base <= 36.
  • string number_format(double number [, int num_decimal_places [, string dec_seperator, string thousands_seperator]])
    Formats a number with grouped thousands
  • int ip2long(string ip_address)
    Converts a string containing an (Ipv4) Internet Protocol dotted address into a proper address.
  • string long2ip(int proper_address)
    Converts an (Ipv4) Internet network address into a string in Internet standard dotted format.
  • string getenv(string varname)
    Get the value of an environment variable
  • void putenv(string setting)
    Set the value of an environment variable
  • string microtime(void)
    Returns a string containing the current time in seconds and microseconds
  • array gettimeofday(void)
    Returns the current time as array
  • array getrusage([int who])
    Returns an array of usage statistics
  • string quoted_printable_decode(string str)
    Convert a quoted-printable string to an 8 bit string
  • string convert_cyr_string(string str, string from, string to)
    Convert from one Cyrillic character set to another
  • string get_current_user(void)
    Get the name of the owner of the current PHP script
  • void set_time_limit(int seconds)
    Sets the maximum time a script can run
  • string get_cfg_var(string option_name)
    Get the value of a PHP configuration option
  • int set_magic_quotes_runtime(int new_setting)
    Set the current active configuration setting of magic_quotes_runtime and return previous
  • int get_magic_quotes_gpc(void)
    Get the current active configuration setting of magic_quotes_gpc
  • int get_magic_quotes_runtime(void)
    Get the current active configuration setting of magic_quotes_runtime
  • bool is_resource(mixed var)
    Returns true if variable is a resource
  • bool is_bool(mixed var)
    Returns true if variable is a boolean
  • bool is_long(mixed var)
    Returns true if variable is a long (integer)
  • bool is_double(mixed var)
    Returns true if variable is a double
  • bool is_numeric(mixed value)
    Returns true if value is a number or a numeric string
  • bool is_string(mixed var)
    Returns true if variable is a string
  • bool is_array(mixed var)
    Returns true if variable is an array
  • bool is_object(mixed var)
    Returns true if variable is an object
  • int error_log(string message, int message_type [, string destination] [, string extra_headers])
    Send an error message somewhere
  • mixed call_user_func(string function_name [, mixed parmeter] [, mixed ...])
    Call a user function which is the first parameter
  • mixed call_user_method(string method_name, object object [, mixed parameter] [, mixed ...])
    Call a user method, on a specific object where the first argument is the method name, the second argument is the object and the subsequent arguments are the parameters
  • void var_dump(mixed var)
    Dumps a string representation of variable to output
  • string serialize(mixed variable)
    Returns a string representation of variable (which can later be unserialized)
  • mixed unserialize(string variable_representation)
    Takes a string representation of variable and recreates it
  • void register_shutdown_function(string function_name)
    Register a user-level function to be called on request termination
  • void highlight_file(string file_name)
    Syntax highlight a source file
  • void highlight_string(string string)
    Syntax highlight a string
  • string ini_get(string varname)
    Get a configuration option
  • string ini_set(string varname, string newvalue)
    Set a configuration option, returns false on error and the old value of the configuration option on failure
  • string ini_restore(string varname)
    Restore the value of a configuration option specified by varname
  • string print_r(mixed var)
    Prints out information about the specified variable
  • void setcookie(string name [, string value [, int expires [, string path [, string domain [, string secure]]]]])
    Send a cookie
  • int headers_sent(void)
    Return true if headers have already been sent, false otherwise
  • int connection_aborted(void)
    Returns true if client disconnected
  • int connection_timeout(void)
    Returns true if script timed out
  • int connection_status(void)
    Returns the connection status bitfield
  • int ignore_user_abort(boolean value)
    Set whether we want to ignore a user abort event or not
  • array get_loaded_extensions(void)
    Return an array containing names of loaded extensions
  • bool extension_loaded(string extension_name)
    Returns true if the named extension is loaded
  • array get_extension_funcs(string extension_name)
    Returns an array with the names of functions belonging to the named extension
  • array parse_ini_file(string extension_name)
    Returns an array with the names of functions belonging to the named extension
  • int ereg(string pattern, string string [, array registers])
    Regular expression match
  • string ereg_replace(string pattern, string string [, array registers])
    Replace regular expression
  • int eregi(string pattern, string string [, array registers])
    Case-insensitive regular expression match
  • string eregi_replace(string pattern, string string [, array registers])
    Case insensitive replace regular expression
  • array split(string pattern, string string [, int limit])
    Split string into array by regular expression
  • array spliti(string pattern, string string [, int limit])
    Split string into array by regular expression case-insensitive
  • string sql_regcase(string string)
    Make regular expression for case insensitive match
  • int dl(string extension_filename)
    Load a PHP extension at runtime
  • int pclose(int fp)
    Close a file pointer opened by popen()
  • int popen(string command, string mode)
    Execute a command and open either a read or a write pipe to it
  • int readfile(string filename [, int use_include_path])
    Output a file or a URL
  • int rewind(int fp)
    Rewind the position of a file pointer
  • int rmdir(string dirname)
    Remove a directory
  • int umask([int mask])
    Return or change the umask
  • int fclose(int fp)
    Close an open file pointer
  • int feof(int fp)
    Test for end-of-file on a file pointer
  • string fgetc(int fp)
    Get a character from file pointer
  • string fgets(int fp, int length)
    Get a line from file pointer
  • string fgetss(int fp, int length [, string allowable_tags])
    Get a line from file pointer and strip HTML tags
  • int fread(int fp, int length)
    Binary-safe file read
  • int fopen(string filename, string mode [, int use_include_path])
    Open a file or a URL and return a file pointer
  • int fpassthru(int fp)
    Output all remaining data from a file pointer
  • int ftruncate(int fp)
    Output all remaining data from a file pointer
  • int fstat(int fp)
    Stat() on a filehandle
  • int fseek(int fp, int offset [, int whence])
    Seek on a file pointer
  • int ftell(int fp)
    Get file pointer's read/write position
  • int fflush(int fp)
    Flushes output
  • int fwrite(int fp, string str [, int length])
    Binary-safe file write
  • int mkdir(string pathname, int mode)
    Create a directory
  • int rename(string old_name, string new_name)
    Rename a file
  • int copy(string source_file, string destination_file)
    Copy a file
  • string tempnam(string dir, string prefix)
    Create a unique filename in a directory
  • int tmpfile(void)
    Create a temporary file that will be deleted automatically after use
  • array file(string filename [, int use_include_path])
    Read entire file into an array
  • array fgetcsv(int fp, int length)
    Get line from file pointer and parse for CSV fields
  • bool flock(int fp, int operation [, int wouldblock])
    Portable file locking
  • array get_meta_tags(string filename [, int use_include_path])
    Extracts all meta tag content attributes from a file and returns an array
  • int set_file_buffer(int fp, int buffer)
    Set file write buffer
  • int set_socket_blocking(int socket_descriptor, int mode)
    Set blocking/non-blocking mode on a socket
  • int socket_set_blocking(int socket_descriptor, int mode)
    Set blocking/non-blocking mode on a socket
  • bool socket_set_timeout(int socket_descriptor, int seconds, int microseconds)
    Set timeout on socket read to seconds + microseonds
  • array socket_get_status(resource socket_descriptor)
    Return an array describing socket status
  • string realpath(string path)
    Return the resolved path
  • int fsockopen(string hostname, int port [, int errno [, string errstr [, double timeout]]])
    Open Internet or Unix domain socket connection
  • int pfsockopen(string hostname, int port [, int errno [, string errstr [, double timeout]]])
    Open persistent Internet or Unix domain socket connection
  • string pack(string format, mixed arg1 [, mixed arg2 [, ...]])
    Takes 1 or more arguments and packs them into a binary string according to the format argument
  • array unpack(string format, string input)
    Unpack binary string into named array elements according to format argument
  • object get_browser(string browser_name)
    Get information about the capabilities of a browser
  • string crypt(string str [, string salt])
    Encrypt a string
  • int opendir(string path)
    Open a directory and return a dir_handle
  • void closedir([int dir_handle])
    Close directory connection identified by the dir_handle
  • int chdir(string directory)
    Change the current directory
  • string getcwd(void)
    Gets the current directory
  • void rewinddir([int dir_handle])
    Rewind dir_handle back to the start
  • string readdir([int dir_handle])
    Read directory entry from dir_handle
  • int fileatime(string filename)
    Get last access time of file
  • int filectime(string filename)
    Get inode modification time of file
  • nt filegroup(string filename)
    Get file group
  • int fileinode(string filename)
    Get file inode
  • int filemtime(string filename)
    Get last modification time of file
  • int fileowner(string filename)
    Get file owner
  • int fileperms(string filename)
    Get file permissions
  • int filesize(string filename)
    Get file size
  • string filetype(string filename)
    Get file type
  • bool file_exists(string filename)
    Returns true if filename exists
  • int is_writable(string filename)
    Returns true if file can be written
  • int is_readable(string filename)
    Returns true if file can be read
  • int is_executable(string filename)
    Returns true if file is executable
  • int is_file(string filename)
    Returns true if file is a regular file
  • int is_dir(string filename)
    Returns true if file is directory
  • int is_link(string filename)
    Returns true if file is symbolic link
  • array stat(string filename)
    Give information about a file
  • array lstat(string filename)
    Give information about a file or symbolic link
  • bool chown(string filename, mixed user)
    Change file owner
  • bool chgrp(string filename, mixed group)
    Change file group
  • bool chmod(string filename, int mode)
    Change file mode
  • bool touch(string filename [, int time])
    Set modification time of file
  • void clearstatcache(void)
    Clear file stat cache
  • double diskfreespace(string path)
    Get free diskspace for filesystem that path is on
  • double mail(string path)
    Get free diskspace for filesystem that path is on
  • int ezmlm_hash(string addr)
    Calculate EZMLM list hash value.
  • int openlog(string addr)
    Calculate EZMLM list hash value.
  • int syslog(int priority, string message)
    Generate a system log message
  • int closelog(void)
    Close connection to system logger
  • void define_syslog_variables(void)
    Initializes all syslog-related variables
  • double lcg_value()
    Returns a value from the combined linear congruential generator
  • string metaphone(string text, int phones)
    Break english phrases down into their phonemes
  • void ob_start(void)
    Turn on Output Buffering
  • void ob_end_flush(void)
    Flush (send) the output buffer, and turn off output buffering
  • void ob_end_clean(void)
    Clean (erase) the output buffer, and turn off output buffering
  • string ob_get_contents(void)
    Return the contents of the output buffer
  • void ob_implicit_flush([int flag])
    Turn implicit flush on/off and is equivalent to calling flush() after every output call
  • void usort([int flag])
    Turn implicit flush on/off and is equivalent to calling flush() after every output call
  • void count([int flag])
    Turn implicit flush on/off and is equivalent to calling flush() after every output call


  • Copyright 1998-2000 Tobias Ratschiller.