From 5629aaff66c0127f683188628da3367b2f0be32f Mon Sep 17 00:00:00 2001 From: khartlage Date: Sat, 25 Oct 2003 08:05:45 +0000 Subject: [PATCH] added php help to phpsyntax.xml --- .../sourceforge/phpeclipse/phpeditor/phpsyntax.xml | 4478 ++++++++++---------- 1 files changed, 2239 insertions(+), 2239 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml index 0f4c817..e00ee9e 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml @@ -7,29 +7,29 @@ Invokes a COM module Loads a COM module Return the absolute value of the number - + Return the arc cosine of the arg in radians Returns the inverse hyperbolic cosine of arg - - - - + + + + Returns a string with backslashes before characters that are listed in charlist parameter. It escapes \n, \r etc. in C-like style, characters with ASCII code lower than 32 and higher than 126 are converted to octal representation. - - - + + + Returns a string with backslashes before characters that need to be quoted in database queries etc. These characters are single quote ('), double quote ("), backslash (\) and NUL (the NULL byte). - + Aggregates methods and properties defined in a class to an existing object. Methods and properties with names starting with an underscore character (_) are considered private to the aggregated class and are not used, constructors are also excluded from the aggregation procedure. - + apache_child_terminate() will register the Apache process executing the current PHP request for termination once execution of PHP code it is completed. It may be used to terminate a process after a script with @@ -41,7 +41,7 @@ This performs a partial request for a URI. It goes just far enough to obtain all about the given resource and returns this information in a class. apache_note() is an Apache-specific function which gets and sets values in a request's notes table. If called with one argument, it returns the current value of note note_name. If called with two arguments, it sets the value of note note_name to note_value and returns the previous value of note note_name. - + Create an array. Returns an array of the parameters. The parameters can be given an index with the => operator. @@ -113,8 +113,8 @@ The function returns the result in radians, which is between -PI and PI (inclusi Return the square root of the operand. The optional scale parameter sets the number of digits after the decimal place in the result. Subtracts the right_operand from the left_operand and returns the result in a string. The optional scale parameter is used to set the number of digits after the decimal place in the result. Returns an ASCII string containing the hexadecimal representation of str. The conversion is done byte-wise with the high-nibble first. - - + + Returns the decimal equivalent of the binary number represented by the binary_string argument. @@ -141,274 +141,274 @@ Opens a bzip2 (.bz2) file for reading or writing. filename is the name of the fi If the open fails, the function returns FALSE, otherwise it returns a pointer to the newly opened file. bzread() reads up to length bytes from the bzip2 file pointer referenced by bz. Reading stops when length (uncompressed) bytes have been read or EOF is reached, whichever comes first. If the optional parameter length is not specified, bzread() will read 1024 (uncompressed) bytes at a time. bzwrite() writes the contents of the string data to the bzip2 file stream pointed to by bz. If the optional length argument is given, writing will stop after length (uncompressed) bytes have been written or the end of string is reached, whichever comes first. - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + Strip whitespace from the end of a string. This function is an alias of rtrim(). - + Return a specific character. Returns a one-character string containing the character specified by ascii. - - + + Split a string into smaller chunks bool class_exists(string classname) - - + + void closedir([resource dir_handle]) - - - - - - + + + + + + Create array containing variables and their values - - - - - - + + + + + + Convert from one Cyrillic character set to another - - + + Count elements in a variable Return information about characters used in a string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Calculates the crc32 polynomial of a string Creates an anonymous function, and returns its name (funny, eh?) One-way string encryption (hashing) - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + Return the current element in an array - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Define a new constant - + Check whether a constant exists - - - + + + Directory class with properties, handle and class and methods read, rewind and close. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Return the current key and value pair from an array and advance the array cursor Output one or more strings. @@ -416,8 +416,8 @@ echo() is not actually a function (it is a language construct) so you are not re In fact, if you want to pass more than one parameter to echo, you must not enclose the parameters within parentheses. It is not possible to use echo() in a variable function context. - - + + Set the internal pointer of an array to its last element Note: preg_match(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg(). Searches a string for matches to the regular expression given in pattern. @@ -433,299 +433,299 @@ If no matches are found, $regs will not be altered by ereg(). Searching is case sensitive. Returns TRUE if a match for pattern was found in string, or FALSE if no matches were found or an error occurred. - + This function is identical to ereg() except that this ignores case distinction when matching alphabetic characters. - replace regular expression case insensitive + replace regular expression case insensitive This function is identical to ereg_replace() except that this ignores case distinction when matching alphabetic characters. - - - - - - - + + + + + + + Returns an array of strings, each of which is a substring of string formed by splitting it on boundaries formed by the string separator. If limit is set, the returned array will contain a maximum of limit elements with the last element containing the rest of string. If separator is an empty string (""), explode() will return FALSE. If separator contains a value that is not contained in string, then explode() will return an array containing string. Note: The limit parameter was added in PHP 4.0.1 - + Import variables into the current symbol table from an array - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Checks whether a file exists Returns TRUE if the file specified by filename exists; FALSE otherwise. This function will not work on remote files; the file to be examined must be accessible via the server's filesystem. The results of this function are cached. See clearstatcache() for more details. Using Windows shares: On windows, use //computername/share/filename or \\\\computername\share\filename to check files on network shares. - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + Write a formatted string to a stream - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns the translation table used by htmlspecialchars() and htmlentities() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Send a raw HTTP header header() is used to send raw HTTP headers. See the HTTP/1.1 specification for more information on HTTP headers. The optional replace parameter indicates whether the header should replace a previous similar header, @@ -739,12 +739,12 @@ which will be used to figure out the HTTP status code to send. For example, if you have configured Apache to use a PHP script to handle requests for missing files (using the ErrorDocument directive), you may want to make sure that your script generates the proper status code. - + Convert logical Hebrew text to visual text Convert logical Hebrew text to visual text with newline conversion - - - + + + Convert all HTML entities to their applicable characters Convert all applicable characters to HTML entities @@ -762,686 +762,686 @@ the double-quote character and leaves the single-quote untranslated. If ENT_QUOTES is set, both single and double quotes are translated and if ENT_NOQUOTES is set neither single nor double quotes are translated. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Join array elements with a string Return TRUE if a value exists in an array - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Join array elements with a string - - + + Fetch a key from an associative array Sort an array by key in reverse order Sort an array by key - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Calculate Levenshtein distance between two strings - - - - + + + + Assign variables as if they were an array. Like array(), this is not really a function, but a language construct. list() is used to assign a list of variables in one operation. Note: list() only works on numerical arrays and assumes the numerical indices start at 0. - + Get numeric formatting information - - - - - + + + + + Strip whitespace from the beginning of a string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Calculate the md5 hash of a string Calculates the md5 hash of a given filename - + Calculate the metaphone key of a string - - - - - - + + + + + + Return current UNIX timestamp with microseconds Returns the string "msec sec" where sec is the current time measured in the number of seconds since the Unix Epoch (0:00:00 January 1, 1970 GMT), and msec is the microseconds part. This function is only available on operating systems that support the gettimeofday() system call. Both portions of the string are returned in units of seconds. - - - - - + + + + + Formats a number as a currency string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mysql_affected_rows() returns the number of rows affected by the last INSERT, UPDATE or DELETE query associated with link_identifier. @@ -1462,12 +1462,12 @@ To retrieve the number of rows returned by a SELECT, use mysql_num_rows(). If the last query failed, this function will return -1. - - - - - - + + + + + + Returns TRUE on success or FALSE on failure. @@ -1497,7 +1497,7 @@ Note that this function only returns the error text from the most recently executed MySQL function (not including mysql_error() and mysql_errno()), so if you want to use it, make sure you check the value before calling another MySQL function. - + Returns an array that corresponds to the fetched row, or FALSE if there are no more rows. @@ -1546,38 +1546,38 @@ type - the type of the column unsigned - 1 if the column is unsigned zerofill - 1 if the column is zero-filled - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mysql_query() sends a query to the currently active database on the server that's associated with the specified link identifier. @@ -1589,10 +1589,10 @@ The optional result_mode parameter can be MYSQL_USE_RESULT and MYSQL_STORE_RESUL It defaults to MYSQL_STORE_RESULT, so the result is buffered. See also mysql_unbuffered_query() for the counterpart of this behaviour. - - - - + + + + mysql_unbuffered_query() sends a SQL query query to MySQL, without fetching and buffering the result rows automatically, as mysql_query() does. @@ -1608,418 +1608,418 @@ See also mysql_query() for the counterpart of this behaviour. Sort an array using a case insensitive "natural order" algorithm Sort an array using a "natural order" algorithm - + Advance the internal array pointer of an array - - + + Inserts HTML line breaks before all newlines in a string Query language and locale information - - - - - - - - - - - - - - + + + + + + + + + + + + + + Format a number with grouped thousands - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns the ASCII value of the first character of string. This function complements chr(). - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + Parses the string into variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a string containing the version of the currently running PHP parser. Note: This information is also available in the predefined constant PHP_VERSION. - - - + + + Get the current element from an array - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rewind the internal array pointer Output a string. @@ -2027,156 +2027,156 @@ Outputs arg. Returns TRUE on success or FALSE on failure. print() is not actually a real function (it is a language construct) so you are not required to use parentheses with it. Output a formatted string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Convert a quoted-printable string to an 8 bit string Quote meta characters - - + + Create an array containing a range of elements - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set the internal pointer of an array to its first element - - - - - - - - + + + + + + + + Sort an array in reverse order Strip whitespace from the end of a string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Send a cookie setcookie() defines a cookie to be sent along with the rest of the HTTP headers. Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). @@ -2190,93 +2190,93 @@ If only the name argument is present, the cookie by that name will be deleted fr You may also replace an argument with an empty string ("") in order to skip that argument. Because the expire and secure arguments are integers, they cannot be skipped with an empty string, use a zero (0) instead. - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Set locale information - - - - - - - - - - - - - + + + + + + + + + + + + + Calculate the sha1 hash of a string Calculates the sha1 hash of str using the US Secure Hash Algorithm 1, and returns that hash. The hash is a 40-character hexadecimal number. Calculate the sha1 hash of a file - - - - - - - - - - - - - - + + + + + + + + + + + + + + Shuffle an array - - + + Calculate the similarity between two strings - + Get the number of elements in variable. The sizeof() function is an alias for count(). - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Sort an array. This function sorts an array. Elements will be arranged from lowest to highest when this function has completed. Calculate the soundex key of a string - - + + Return a formatted string - - - + + + Parses input from a string according to a format - + Pad a string to a certain length with another string Repeat a string Replace all occurrences of the search string with the replacement string @@ -2289,396 +2289,396 @@ will return the original version. Randomly shuffles a string Return information about words used in a string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns part of a string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sort an array with a user-defined comparison function and maintain index association - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + Sort an array by keys using a user-defined comparison function - - - - - - - - - - - + + + + + + + + + + + Sort an array by values using a user-defined comparison function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================================================== *Below this are the various PHP-specific keywords * ================================================== - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ========================================================= *Below this are the various PHP-specific variable types * ========================================================= - - - - - - - - - - + + + + + + + + + + =================================================== *Below this are the various PHP-specific constants * =================================================== - - - - - - - + + + + + + + -- 1.7.1