| ★ wanayoo — archive 1999 http://www.phpwizard.net/resources/quickref/basic.html | Nouvelle recherche | Portail wanayoo |
![]() |
![]() |
|
Sort an array reverse by key Sort an array by key Sort an array using natural sort Sort an array using case-insensitive natural sort Sort an array and maintain index association Sort an array in reverse order and maintain index association Sort an array Sort an array in reverse order Sort an array with a user-defined comparison function and maintain index association Sort an array by keys using a user-defined comparison function Advances array argument's internal pointer to the last element and return it Move array argument's internal pointer to the previous element and return it Move array argument's internal pointer to the next element and return it Set array argument's internal pointer to the first element and return it Return the element currently pointed to by the internal array pointer Return the key of the element currently pointed to by the internal array pointer Return the lowest value in an array or a series of arguments Return the highest value in an array or a series of arguments Apply a user function to every member of an array Checks if the given value exists in the array Imports variables into symbol table from an array Creates a hash containing variables and their values Create an array containing the range of integers from low to high (inclusive) Randomly shuffle the contents of an array Pushes elements onto the end of the array Pops an element off the end of the array Pops an element off the beginning of the array Pushes elements onto the beginning of the array Removes the elements designated by offset and length and replace them with supplied array Returns elements specified by offset and length Merges elements from passed arrays into one array Recursively merges elements from passed arrays into one array Return just the keys from the input array, optionally only for the specified search_value Return just the values from the input array Return the value as key and the frequency of that value in as value Return input as a new array with the order of the entries reversed Returns a copy of input array padded with pad_value to size pad_size Return array with key <-> value flipped Removes duplicate values from array Returns the entries of arr1 that have values which are present in all the other arguments Returns the entries of arr1 that have values which are not present in any of the others arguments Sort multiple arrays at once similar to how ORDER BY clause works in SQL Return key/keys for random entry/entries in the array Checks if assertion is false Set/get the various assert flags Encodes string using MIME base64 algorithm Decodes string using MIME base64 algorithm Get the integer value of a variable using the optional base for the conversion Get the double-precision value of a variable Get the string value of a variable Converts the binary representation of data to hex Delay for a given number of seconds Delay for a given number of micro seconds Return current UNIX timestamp Get UNIX timestamp for a date Get UNIX timestamp for a GMT date Format a local time/date according to locale settings Format a GMT/CUT time/date according to locale settings Convert string representation of date and time to a timestamp Format a local time/date Format a GMT/CUT date/time Get date/time information 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 Returns true(1) if it is a valid date Flush the output buffer Returns the type of the variable Set the type of the variable Get the size of an image as 4-element array Convert special characters to HTML entities Convert all applicable characters to HTML entities Returns the internal translation table used by htmlspecialchars and htmlentities Returns the internal translation table used by htmlspecialchars and htmlentities Embed binary IPTC data into a JPEG image. Output a page of useful information about PHP and the current request Return the current PHP version Prints the list of people who've contributed to the PHP project Prints the list of people who've contributed to the PHP project Prints the list of people who've contributed to the PHP project Prints the list of people who've contributed to the PHP project Returns the result of string comparison using 'natural' algorithm Returns the result of case-insensitive string comparison using 'natural' algorithm Returns the number of times a substring occurs in the string. Find length of initial segment consisting entirely of characters found in mask Find length of initial segment consisting entirely of characters not found in mask Tokenize a string Make a string uppercase Make a string lowercase Find position of first occurrence of a string within another Find the last occurrence of a character in a string within another Reverse a string Convert logical Hebrew text to visual text Convert logical Hebrew text to visual text with newline conversion Converts newlines to HTML line breaks Return the filename component of the path Return the directory name component of the path Strip backslashes from a string Strip backslashes from a string. Uses C-style conventions Find first occurrence of a string within another Find first occurrence of a string within another, case insensitive Find the last occurrence of a character in a string within another Return part of a string Replace part of a string with another string Quote meta characters Make a string's first character uppercase Uppercase the first character of every word in a string Translate characters in str using given translation tables Escape single quote, double quotes and backslash characters in a string with backslashes 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...). Remove trailing whitespace Replace all occurrences of needle in haystack with str Returns the input string repeat mult times Returns info about what characters are used in input Return split line Strip whitespace from the beginning and end of a string Strip whitespace from the beginning of a string Strips HTML and PHP tags from a string Calculates the similarity between two strings Split a string on string separator and return array of components Join array elements placing glue string between items and return one string Set locale information Calculate the soundex key of a string Calculate Levenshtein distance between two strings Convert ASCII code to a character Return ASCII value of character Parses GET/POST/COOKIE data and sets global variables. Returns input string padded on the left or right to specified length with pad_string implements an ANSI compatible sscanf. Implements a mostly ANSI compatible fscanf() Parse a URL and return its components URL-encodes string Decodes URL-encoded string URL-encodes string Decodes URL-encodes string Return the target of a symbolic link Returns the st_dev field of the UNIX C stat structure describing the link Create a symbolic link Create a hard link Delete a file Execute an external program Execute an external program and display output Escape shell metacharacters Execute an external program and display raw output What excatly is this variant for ??? Returns a random number Seeds random number generator Returns the maximum value a random number can have Returns a random number from Mersenne Twister Seeds Mersenne Twister random number generator Returns the maximum value a random number from Mersenne Twister can have Returns port associated with service. Protocol must be "tcp" or "udp". Returns service name associated with port. Protocol must be "tcp" or "udp". Returns protocol number associated with name as per /etc/protocols Returns protocol name associated with protocol number proto Get the Internet host name corresponding to a given IP address Get the IP address corresponding to a given Internet host name Return a list of IP addresses that a given hostname resolves to. Check DNS records corresponding to a given Internet host name or IP address Get MX records corresponding to a given Internet host name Get PHP script owner's UID Get current process ID Get the inode of the current script being parsed Get time of last page modification Return the absolute value of the number Returns the next highest integer value of the number Returns the next lowest integer value from the number Returns the number rounded to specified precision. Returns the sine of the number in radians Returns the cosine of the number in radians Returns the tangent of the number in radians Returns the arc sine of the number in radians Return the arc cosine of the number in radians Returns the arc tangent of the number in radians Returns the arc tangent of y/x, with the resulting quadrant determined by the signs of y and x Returns an approximation of pi Returns base raised to the power of exponent Returns e raised to the power of the number Returns the natural logarithm of the number Returns the base-10 logarithm of the number Returns the square root of the number Converts the number in degrees to the radian equivalent Converts the radian number to the equivalent number in degrees Returns the decimal equivalent of the binary number Returns the decimal equivalent of the hexadecimal number Returns the decimal equivalent of an octal string Returns a string containing a binary representation of the number Returns a string containing an octal representation of the given number Returns a string containing a hexadecimal representation of the given number Converts a number in a string from any base <= 36 to any base <= 36. Formats a number with grouped thousands Converts a string containing an (Ipv4) Internet Protocol dotted address into a proper address. Converts an (Ipv4) Internet network address into a string in Internet standard dotted format. Get the value of an environment variable Set the value of an environment variable Returns a string containing the current time in seconds and microseconds Returns the current time as array Returns an array of usage statistics Convert a quoted-printable string to an 8 bit string Convert from one Cyrillic character set to another Get the name of the owner of the current PHP script Sets the maximum time a script can run Get the value of a PHP configuration option Set the current active configuration setting of magic_quotes_runtime and return previous Get the current active configuration setting of magic_quotes_gpc Get the current active configuration setting of magic_quotes_runtime Returns true if variable is a resource Returns true if variable is a boolean Returns true if variable is a long (integer) Returns true if variable is a double Returns true if value is a number or a numeric string Returns true if variable is a string Returns true if variable is an array Returns true if variable is an object Send an error message somewhere Call a user function which is the first parameter 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 Dumps a string representation of variable to output Returns a string representation of variable (which can later be unserialized) Takes a string representation of variable and recreates it Register a user-level function to be called on request termination Syntax highlight a source file Syntax highlight a string Get a configuration option Set a configuration option, returns false on error and the old value of the configuration option on failure Restore the value of a configuration option specified by varname Prints out information about the specified variable Send a cookie Return true if headers have already been sent, false otherwise Returns true if client disconnected Returns true if script timed out Returns the connection status bitfield Set whether we want to ignore a user abort event or not Return an array containing names of loaded extensions Returns true if the named extension is loaded Returns an array with the names of functions belonging to the named extension Returns an array with the names of functions belonging to the named extension Regular expression match Replace regular expression Case-insensitive regular expression match Case insensitive replace regular expression Split string into array by regular expression Split string into array by regular expression case-insensitive Make regular expression for case insensitive match Load a PHP extension at runtime Close a file pointer opened by popen() Execute a command and open either a read or a write pipe to it Output a file or a URL Rewind the position of a file pointer Remove a directory Return or change the umask Close an open file pointer Test for end-of-file on a file pointer Get a character from file pointer Get a line from file pointer Get a line from file pointer and strip HTML tags Binary-safe file read Open a file or a URL and return a file pointer Output all remaining data from a file pointer Output all remaining data from a file pointer Stat() on a filehandle Seek on a file pointer Get file pointer's read/write position Flushes output Binary-safe file write Create a directory Rename a file Copy a file Create a unique filename in a directory Create a temporary file that will be deleted automatically after use Read entire file into an array Get line from file pointer and parse for CSV fields Portable file locking Extracts all meta tag content attributes from a file and returns an array Set file write buffer Set blocking/non-blocking mode on a socket Set blocking/non-blocking mode on a socket Set timeout on socket read to seconds + microseonds Return an array describing socket status Return the resolved path Open Internet or Unix domain socket connection Open persistent Internet or Unix domain socket connection Takes 1 or more arguments and packs them into a binary string according to the format argument Unpack binary string into named array elements according to format argument Get information about the capabilities of a browser Encrypt a string Open a directory and return a dir_handle Close directory connection identified by the dir_handle Change the current directory Gets the current directory Rewind dir_handle back to the start Read directory entry from dir_handle Get last access time of file Get inode modification time of file Get file group Get file inode Get last modification time of file Get file owner Get file permissions Get file size Get file type Returns true if filename exists Returns true if file can be written Returns true if file can be read Returns true if file is executable Returns true if file is a regular file Returns true if file is directory Returns true if file is symbolic link Give information about a file Give information about a file or symbolic link Change file owner Change file group Change file mode Set modification time of file Clear file stat cache Get free diskspace for filesystem that path is on Get free diskspace for filesystem that path is on Calculate EZMLM list hash value. Calculate EZMLM list hash value. Generate a system log message Close connection to system logger Initializes all syslog-related variables Returns a value from the combined linear congruential generator Break english phrases down into their phonemes Turn on Output Buffering Flush (send) the output buffer, and turn off output buffering Clean (erase) the output buffer, and turn off output buffering Return the contents of the output buffer Turn implicit flush on/off and is equivalent to calling flush() after every output call Turn implicit flush on/off and is equivalent to calling flush() after every output call Turn implicit flush on/off and is equivalent to calling flush() after every output call |
||||||||||||||||||||||||||||||