added php help to phpsyntax.xml
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / phpsyntax.xml
index a91a0ee..e00ee9e 100644 (file)
@@ -42,31 +42,46 @@ about the given resource and returns this information in a class.
         </phpsyntax>
         <phpsyntax function="apache_note" usage="string apache_note ( string note_name [, string note_value])">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.</phpsyntax>
         <phpsyntax function="apache_sub_req"></phpsyntax>
-        <phpsyntax function="array_count_values"></phpsyntax>
-        <phpsyntax function="array_diff"></phpsyntax>
-        <phpsyntax function="array_filter"></phpsyntax>
-        <phpsyntax function="array_flip"></phpsyntax>
-        <phpsyntax function="array_intersect"></phpsyntax>
-        <phpsyntax function="array_keys"></phpsyntax>
-        <phpsyntax function="array_map"></phpsyntax>
-        <phpsyntax function="array_merge"></phpsyntax>
-        <phpsyntax function="array_merge_recursive"></phpsyntax>
-        <phpsyntax function="array_multisort"></phpsyntax>
-        <phpsyntax function="array_pad"></phpsyntax>
-        <phpsyntax function="array_pop"></phpsyntax>
-        <phpsyntax function="array_push"></phpsyntax>
-        <phpsyntax function="array_rand"></phpsyntax>
-        <phpsyntax function="array_reduce"></phpsyntax>
-        <phpsyntax function="array_reverse"></phpsyntax>
-        <phpsyntax function="array_search"></phpsyntax>
-        <phpsyntax function="array_shift"></phpsyntax>
-        <phpsyntax function="array_slice"></phpsyntax>
-        <phpsyntax function="array_splice"></phpsyntax>
-        <phpsyntax function="array_sum"></phpsyntax>
-        <phpsyntax function="array_unique"></phpsyntax>
-        <phpsyntax function="array_unshift"></phpsyntax>
-        <phpsyntax function="array_values"></phpsyntax>
-        <phpsyntax function="array_walk"></phpsyntax>
+        <phpsyntax function="array" usage="array array ( [mixed ...])">
+Create an array.
+Returns an array of the parameters. The parameters can be given an index with the =&gt; operator. 
+Note: array() is a language construct used to represent literal arrays, and not a regular function. 
+Syntax &quot;index =&gt; values&quot;, separated by commas, define index and values. index may be of type string or numeric. 
+When index is omitted, a integer index is automatically generated, starting at 0. 
+If index is an integer, next generated index will be the biggest integer index + 1. 
+Note that when two identical index are defined, the last overwrite the first. 
+</phpsyntax>
+        <phpsyntax function="array_change_key_case" usage="array array_change_key_case ( array input [, int case])">Returns an array with all string keys lowercased or uppercased</phpsyntax>
+        <phpsyntax function="array_chunk" usage="array array_chunk ( array input, int size [, bool preserve_keys])">Split an array into chunks</phpsyntax>
+        <phpsyntax function="array_count_values" usage="array array_count_values ( array input)">Counts all the values of an array</phpsyntax>
+        <phpsyntax function="array_diff" usage="array array_diff ( array array1, array array2 [, array ...])">Computes the difference of arrays</phpsyntax>
+        <phpsyntax function="array_diff_assoc" usage="array array_diff_assoc ( array array1, array array2 [, array ...])">Computes the difference of arrays with additional index check</phpsyntax>
+        <phpsyntax function="array_fill" usage="array array_fill ( int start_index, int num, mixed value)">Fill an array with values</phpsyntax>
+        <phpsyntax function="array_filter" usage="array array_filter ( array input [, callback function])">Filters elements of an array using a callback function </phpsyntax>
+        <phpsyntax function="array_flip" usage="array array_flip ( array trans)">Exchanges all keys with their associated values in an array</phpsyntax>
+        <phpsyntax function="array_intersect" usage="array array_intersect ( array array1, array array2 [, array ...])">Computes the intersection of arrays</phpsyntax>
+        <phpsyntax function="array_intersect_assoc" usage="array array_intersect_assoc ( array array1, array array2 [, array ...])">Computes the intersection of arrays with additional index check</phpsyntax>
+        <phpsyntax function="array_key_exists" usage="bool array_key_exists ( mixed key, array search)">Checks if the given key or index exists in the array</phpsyntax>
+        <phpsyntax function="array_keys" usage="array array_keys ( array input [, mixed search_value])">Return all the keys of an array</phpsyntax>
+        <phpsyntax function="array_map" usage="array array_map ( callback function, array arr1 [, array arr2...])">Applies the callback to the elements of the given arrays </phpsyntax>
+        <phpsyntax function="array_merge" usage="array array_merge ( array array1, array array2 [, array ...])">Merge two or more arrays</phpsyntax>
+        <phpsyntax function="array_merge_recursive" usage="array array_merge_recursive ( array array1, array array2 [, array ...])">Merge two or more arrays recursively</phpsyntax>
+        <phpsyntax function="array_multisort" usage="bool array_multisort ( array ar1 [, mixed arg [, mixed ... [, array ...]]])">Sort multiple or multi-dimensional arrays</phpsyntax>
+        <phpsyntax function="array_pad" usage="array array_pad ( array input, int pad_size, mixed pad_value)">Pad array to the specified length with a value</phpsyntax>
+        <phpsyntax function="array_pop" usage="mixed array_pop ( array array)">Pop the element off the end of array</phpsyntax>
+        <phpsyntax function="array_push" usage="int array_push ( array array, mixed var [, mixed ...])">Push one or more elements onto the end of array </phpsyntax>
+        <phpsyntax function="array_rand" usage="mixed array_rand ( array input [, int num_req])">Pick one or more random entries out of an array</phpsyntax>
+        <phpsyntax function="array_reduce" usage="mixed array_reduce ( array input, callback function [, int initial])">Iteratively reduce the array to a single value using a callback function </phpsyntax>
+        <phpsyntax function="array_reverse" usage="array array_reverse ( array array [, bool preserve_keys])">Return an array with elements in reverse order </phpsyntax>
+        <phpsyntax function="array_search" usage="mixed array_search ( mixed needle, array haystack [, bool strict])">Searches haystack for needle and returns the key if it is found in the array, FALSE otherwise.</phpsyntax>
+        <phpsyntax function="array_shift" usage="mixed array_shift ( array array)">Shift an element off the beginning of array</phpsyntax>
+        <phpsyntax function="array_slice" usage="array array_slice ( array array, int offset [, int length])">Extract a slice of the array</phpsyntax>
+        <phpsyntax function="array_splice" usage="array array_splice ( array input, int offset [, int length [, array replacement]])">Remove a portion of the array and replace it with something else </phpsyntax>
+        <phpsyntax function="array_sum" usage="mixed array_sum ( array array)">Calculate the sum of values in an array</phpsyntax>
+        <phpsyntax function="array_unique" usage="array array_unique ( array array)">Removes duplicate values from an array</phpsyntax>
+        <phpsyntax function="array_unshift" usage="int array_unshift ( array array, mixed var [, mixed ...])">Prepend one or more elements to the beginning of array </phpsyntax>
+        <phpsyntax function="array_values" usage="array array_values ( array input)">Return all the values of an array</phpsyntax>
+        <phpsyntax function="array_walk" usage="int array_walk ( array array, callback function [, mixed userdata])">Apply a user function to every member of an array </phpsyntax>
         <phpsyntax function="arsort" usage="void arsort ( array array [, int sort_flags])">This function sorts an array such that array indices maintain their correlation with the array elements they are associated with. This is used mainly when sorting associative arrays where the actual element order is significant.</phpsyntax>
         <phpsyntax function="asin" usage="float asin ( float arg)">Returns the arc sine of arg in radians. asin() is the complementary function of sin(), which means that a==sin(asin(a)) for every value of a that is within asin() 's range.</phpsyntax>
         <phpsyntax function="asort" usage="void asort ( array array [, int sort_flags])">This function sorts an array such that array indices maintain their correlation with the array elements they are associated with. This is used mainly when sorting associative arrays where the actual element order is significant.</phpsyntax>
@@ -153,12 +168,12 @@ If the open fails, the function returns FALSE, otherwise it returns a pointer to
         <phpsyntax function="checkdnsrr"></phpsyntax>
         <phpsyntax function="chgrp"></phpsyntax>
         <phpsyntax function="chmod"></phpsyntax>
-        <phpsyntax function="chop"></phpsyntax>
+        <phpsyntax function="chop" usage="string chop( string str [, string charlist])">Strip whitespace from the end of a string. This function is an alias of rtrim().</phpsyntax>
         <phpsyntax function="chown"></phpsyntax>
-        <phpsyntax function="chr"></phpsyntax>
+        <phpsyntax function="chr" usage="string chr ( int ascii)">Return a specific character. Returns a one-character string containing the character specified by ascii.</phpsyntax>
         <phpsyntax function="chroot"></phpsyntax>
         <phpsyntax function="chroot"></phpsyntax>
-        <phpsyntax function="chunk_split"></phpsyntax>
+        <phpsyntax function="chunk_split" usage="string chunk_split ( string body [, int chunklen [, string end]])">Split a string into smaller chunks</phpsyntax>
         <phpsyntax function="class_exists" usage="Checks if the class exists">bool class_exists(string classname)</phpsyntax>
         <phpsyntax function="clearstatcache"></phpsyntax>
         <phpsyntax function="close"></phpsyntax>
@@ -169,18 +184,18 @@ If the open fails, the function returns FALSE, otherwise it returns a pointer to
         <phpsyntax function="com_propput"></phpsyntax>
         <phpsyntax function="com_propset"></phpsyntax>
         <phpsyntax function="com_set"></phpsyntax>
-        <phpsyntax function="compact"></phpsyntax>
+        <phpsyntax function="compact" usage="array compact ( mixed varname [, mixed ...])">Create array containing variables and their values </phpsyntax>
         <phpsyntax function="confirm_cybermut_compiled"></phpsyntax>
         <phpsyntax function="confirm_extname_compiled"></phpsyntax>
         <phpsyntax function="connect"></phpsyntax>
         <phpsyntax function="connection_aborted"></phpsyntax>
         <phpsyntax function="connection_status"></phpsyntax>
         <phpsyntax function="constant"></phpsyntax>
-        <phpsyntax function="convert_cyr_string"></phpsyntax>
+        <phpsyntax function="convert_cyr_string" usage="string convert_cyr_string ( string str, string from, string to)">Convert from one Cyrillic character set to another </phpsyntax>
         <phpsyntax function="copy"></phpsyntax>
         <phpsyntax function="cos"></phpsyntax>
-        <phpsyntax function="count"></phpsyntax>
-        <phpsyntax function="count_chars"></phpsyntax>
+        <phpsyntax function="count" usage="int count ( mixed var)">Count elements in a variable</phpsyntax>
+        <phpsyntax function="count_chars" usage="mixed count_chars ( string string [, int mode])">Return information about characters used in a string </phpsyntax>
         <phpsyntax function="cpdf_add_annotation"></phpsyntax>
         <phpsyntax function="cpdf_add_outline"></phpsyntax>
         <phpsyntax function="cpdf_arc"></phpsyntax>
@@ -258,10 +273,9 @@ If the open fails, the function returns FALSE, otherwise it returns a pointer to
         <phpsyntax function="crack_getlastmessage"></phpsyntax>
         <phpsyntax function="crack_opendict"></phpsyntax>
         <phpsyntax function="crash"></phpsyntax>
-        <phpsyntax function="crc32"></phpsyntax>
+        <phpsyntax function="crc32" usage="int crc32 ( string str)">Calculates the crc32 polynomial of a string</phpsyntax>
         <phpsyntax function="create_function" usage="string create_function(string args, string code)">Creates an anonymous function, and returns its name (funny, eh?)</phpsyntax>
-        <phpsyntax function="crypt"></phpsyntax>
-        <phpsyntax function="crypt"></phpsyntax>
+        <phpsyntax function="crypt" usage="string crypt ( string str [, string salt])">One-way string encryption (hashing)</phpsyntax>
         <phpsyntax function="ctype_alnum"></phpsyntax>
         <phpsyntax function="ctype_alpha"></phpsyntax>
         <phpsyntax function="ctype_cntrl"></phpsyntax>
@@ -282,7 +296,7 @@ If the open fails, the function returns FALSE, otherwise it returns a pointer to
         <phpsyntax function="curl_init"></phpsyntax>
         <phpsyntax function="curl_setopt"></phpsyntax>
         <phpsyntax function="curl_version"></phpsyntax>
-        <phpsyntax function="current"></phpsyntax>
+        <phpsyntax function="current" usage="mixed current ( array array)">Return the current element in an array</phpsyntax>
         <phpsyntax function="cv_add"></phpsyntax>
         <phpsyntax function="cv_auth"></phpsyntax>
         <phpsyntax function="cv_command"></phpsyntax>
@@ -395,10 +409,16 @@ Directory class with properties, handle and class and methods read, rewind and c
         <phpsyntax function="drawglyph"></phpsyntax>
         <phpsyntax function="drawline"></phpsyntax>
         <phpsyntax function="drawlineto"></phpsyntax>
-        <phpsyntax function="each"></phpsyntax>
+        <phpsyntax function="each" usage="array each ( array array)">Return the current key and value pair from an array and advance the array cursor</phpsyntax>
+        <phpsyntax function="echo" usage="echo ( string arg1 [, string argn...])">
+Output one or more strings.
+echo() is not actually a function (it is a language construct) so you are not required to use parentheses with it. 
+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. 
+</phpsyntax>
         <phpsyntax function="easter_date"></phpsyntax>
         <phpsyntax function="easter_days"></phpsyntax>
-        <phpsyntax function="end"></phpsyntax>
+        <phpsyntax function="end" usage="mixed end ( array array)">Set the internal pointer of an array to its last element </phpsyntax>
         <phpsyntax function="ereg" usage="int ereg ( string pattern, string string [, array regs])">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. 
 If matches are found for parenthesized substrings of pattern and the function is called with the third argument regs, 
@@ -432,7 +452,7 @@ then explode() will return an array containing string.
 Note: The limit parameter was added in PHP 4.0.1 
         </phpsyntax>
         <phpsyntax function="extension_loaded"></phpsyntax>
-        <phpsyntax function="extract"></phpsyntax>
+        <phpsyntax function="extract" usage="int extract ( array var_array [, int extract_type [, string prefix]])">Import variables into the current symbol table from an array </phpsyntax>
         <phpsyntax function="ezmlm_hash"></phpsyntax>
         <phpsyntax function="ezmlm_hash"></phpsyntax>
         <phpsyntax function="fbsql"></phpsyntax>
@@ -542,6 +562,7 @@ Using Windows shares: On windows, use //computername/share/filename or \\\\compu
         <phpsyntax function="fopenstream"></phpsyntax>
         <phpsyntax function="fpassthru"></phpsyntax>
         <phpsyntax function="fputs"></phpsyntax>
+        <phpsyntax function="fprintf" usage="int fprintf ( resource handle, string format [, mixed args])">Write a formatted string to a stream</phpsyntax>
         <phpsyntax function="fread"></phpsyntax>
         <phpsyntax function="free_iovec"></phpsyntax>
         <phpsyntax function="frenchtojd"></phpsyntax>
@@ -590,7 +611,7 @@ Using Windows shares: On windows, use //computername/share/filename or \\\\compu
         <phpsyntax function="get_defined_functions"></phpsyntax>
         <phpsyntax function="get_defined_vars"></phpsyntax>
         <phpsyntax function="get_extension_funcs"></phpsyntax>
-        <phpsyntax function="get_html_translation_table"></phpsyntax>
+        <phpsyntax function="get_html_translation_table" usage="string get_html_translation_table ( int table [, int quote_style])">Returns the translation table used by htmlspecialchars() and htmlentities() </phpsyntax>
         <phpsyntax function="get_included_files"></phpsyntax>
         <phpsyntax function="get_loaded_extensions"></phpsyntax>
         <phpsyntax function="get_magic_quotes_gpc"></phpsyntax>
@@ -719,13 +740,28 @@ if you have configured Apache to use a PHP script to handle requests for missing
 (using the ErrorDocument directive), you may want to make sure that your script generates the proper status code. 
         </phpsyntax>
         <phpsyntax function="headers_sent"></phpsyntax>
-        <phpsyntax function="hebrev"></phpsyntax>
-        <phpsyntax function="hebrevc"></phpsyntax>
+        <phpsyntax function="hebrev" usage="string hebrev ( string hebrew_text [, int max_chars_per_line])">Convert logical Hebrew text to visual text</phpsyntax>
+        <phpsyntax function="hebrevc" usage="string hebrevc ( string hebrew_text [, int max_chars_per_line])">Convert logical Hebrew text to visual text with newline conversion </phpsyntax>
         <phpsyntax function="hexdec"></phpsyntax>
         <phpsyntax function="highlight_file"></phpsyntax>
         <phpsyntax function="highlight_string"></phpsyntax>
-        <phpsyntax function="htmlentities"></phpsyntax>
-        <phpsyntax function="htmlspecialchars"></phpsyntax>
+        <phpsyntax function="html_entity_decode" usage="string html_entity_decode ( string string [, int quote_style [, string charset]])">Convert all HTML entities to their applicable characters</phpsyntax>
+        <phpsyntax function="htmlentities" usage="string htmlentities ( string string [, int quote_style [, string charset]])">Convert all applicable characters to HTML entities </phpsyntax>
+        <phpsyntax function="htmlspecialchars" usage="string htmlspecialchars ( string string [, int quote_style [, string charset]])">
+Convert special characters to HTML entities.
+Certain characters have special significance in HTML, 
+and should be represented by HTML entities if they are to preserve their meanings. 
+This function returns a string with some of these conversions made; 
+the translations made are those most useful for everyday web programming. 
+If you require all HTML character entities to be translated, use htmlentities() instead. 
+This function is useful in preventing user-supplied text from containing HTML markup, 
+such as in a message board or guest book application. 
+The optional second argument, quote_style, tells the function what to do with single and double quote characters. 
+The default mode, ENT_COMPAT, is the backwards compatible mode which only translates 
+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. 
+</phpsyntax>
         <phpsyntax function="hw_array2objrec"></phpsyntax>
         <phpsyntax function="hw_changeobject"></phpsyntax>
         <phpsyntax function="hw_children"></phpsyntax>
@@ -1033,8 +1069,8 @@ if you have configured Apache to use a PHP script to handle requests for missing
         <phpsyntax function="imap_utf7_decode"></phpsyntax>
         <phpsyntax function="imap_utf7_encode"></phpsyntax>
         <phpsyntax function="imap_utf8"></phpsyntax>
-        <phpsyntax function="implode"></phpsyntax>
-        <phpsyntax function="in_array"></phpsyntax>
+        <phpsyntax function="implode" usage="string implode ( string glue, array pieces)">Join array elements with a string</phpsyntax>
+        <phpsyntax function="in_array" usage="bool in_array ( mixed needle, array haystack [, bool strict])">Return TRUE if a value exists in an array</phpsyntax>
         <phpsyntax function="ingres_autocommit"></phpsyntax>
         <phpsyntax function="ingres_close"></phpsyntax>
         <phpsyntax function="ingres_commit"></phpsyntax>
@@ -1114,12 +1150,12 @@ if you have configured Apache to use a PHP script to handle requests for missing
         <phpsyntax function="jdtojulian"></phpsyntax>
         <phpsyntax function="jdtounix"></phpsyntax>
         <phpsyntax function="jewishtojd"></phpsyntax>
-        <phpsyntax function="join"></phpsyntax>
+        <phpsyntax function="join" usage="string join ( string glue, array pieces)">Join array elements with a string</phpsyntax>
         <phpsyntax function="jpeg2wbmp"></phpsyntax>
         <phpsyntax function="juliantojd"></phpsyntax>
-        <phpsyntax function="key"></phpsyntax>
-        <phpsyntax function="krsort"></phpsyntax>
-        <phpsyntax function="ksort"></phpsyntax>
+        <phpsyntax function="key" usage="mixed key ( array array)">Fetch a key from an associative array</phpsyntax>
+        <phpsyntax function="krsort" usage="int krsort ( array array [, int sort_flags])">Sort an array by key in reverse order</phpsyntax>
+        <phpsyntax function="ksort" usage="int ksort ( array array [, int sort_flags])">Sort an array by key</phpsyntax>
         <phpsyntax function="labelframe"></phpsyntax>
         <phpsyntax function="labelframe"></phpsyntax>
         <phpsyntax function="lcg_value"></phpsyntax>
@@ -1163,19 +1199,25 @@ if you have configured Apache to use a PHP script to handle requests for missing
         <phpsyntax function="ldap_t61_to_8859"></phpsyntax>
         <phpsyntax function="ldap_unbind"></phpsyntax>
         <phpsyntax function="leak"></phpsyntax>
-        <phpsyntax function="levenshtein"></phpsyntax>
+        <phpsyntax function="levenshtein" usage="int levenshtein ( string str1, string str2) - int levenshtein ( string str1, string str2, int cost_ins, int cost_rep, int cost_del) - int levenshtein ( string str1, string str2, function cost)">Calculate Levenshtein distance between two strings </phpsyntax>
         <phpsyntax function="link"></phpsyntax>
         <phpsyntax function="link"></phpsyntax>
         <phpsyntax function="linkinfo"></phpsyntax>
         <phpsyntax function="linkinfo"></phpsyntax>
+        <phpsyntax function="list" usage="void list ( mixed ...)">
+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. 
+</phpsyntax>
         <phpsyntax function="listen"></phpsyntax>
-        <phpsyntax function="localeconv"></phpsyntax>
+        <phpsyntax function="localeconv" usage="array localeconv ( void)">Get numeric formatting information</phpsyntax>
         <phpsyntax function="localtime"></phpsyntax>
         <phpsyntax function="log"></phpsyntax>
         <phpsyntax function="log10"></phpsyntax>
         <phpsyntax function="long2ip"></phpsyntax>
         <phpsyntax function="lstat"></phpsyntax>
-        <phpsyntax function="ltrim"></phpsyntax>
+        <phpsyntax function="ltrim" usage="string ltrim ( string str [, string charlist])">Strip whitespace from the beginning of a string </phpsyntax>
         <phpsyntax function="magic_quotes_runtime"></phpsyntax>
         <phpsyntax function="mail"></phpsyntax>
         <phpsyntax function="mail"></phpsyntax>
@@ -1254,9 +1296,10 @@ if you have configured Apache to use a PHP script to handle requests for missing
         <phpsyntax function="mcrypt_module_open"></phpsyntax>
         <phpsyntax function="mcrypt_module_self_test"></phpsyntax>
         <phpsyntax function="mcrypt_ofb"></phpsyntax>
-        <phpsyntax function="md5"></phpsyntax>
+        <phpsyntax function="md5" usage="string md5 ( string str)">Calculate the md5 hash of a string</phpsyntax>
+        <phpsyntax function="md5_file" usage="string md5_file ( string filename)">Calculates the md5 hash of a given filename</phpsyntax>
         <phpsyntax function="mdecrypt_generic"></phpsyntax>
-        <phpsyntax function="metaphone"></phpsyntax>
+        <phpsyntax function="metaphone" usage="string metaphone ( string str)">Calculate the metaphone key of a string</phpsyntax>
         <phpsyntax function="method_exists"></phpsyntax>
         <phpsyntax function="mhash"></phpsyntax>
         <phpsyntax function="mhash_count"></phpsyntax>
@@ -1274,6 +1317,7 @@ Both portions of the string are returned in units of seconds.
         <phpsyntax function="ming_setscale"></phpsyntax>
         <phpsyntax function="mkdir"></phpsyntax>
         <phpsyntax function="mktime"></phpsyntax>
+        <phpsyntax function="money_format" usage="string money_format ( string format, float number)">Formats a number as a currency string</phpsyntax>
         <phpsyntax function="move"></phpsyntax>
         <phpsyntax function="move_uploaded_file"></phpsyntax>
         <phpsyntax function="movepen"></phpsyntax>
@@ -1562,13 +1606,14 @@ The optional result_mode parameter can be MYSQL_USE_RESULT and MYSQL_STORE_RESUL
 It defaults to MYSQL_USE_RESULT, so the result is not buffered. 
 See also mysql_query() for the counterpart of this behaviour. 
         </phpsyntax>
-        <phpsyntax function="natcasesort"></phpsyntax>
-        <phpsyntax function="natsort"></phpsyntax>
+        <phpsyntax function="natcasesort" usage="void natcasesort ( array array)">Sort an array using a case insensitive &quot;natural order&quot; algorithm </phpsyntax>
+        <phpsyntax function="natsort" usage="void natsort ( array array)">Sort an array using a "natural order" algorithm </phpsyntax>
         <phpsyntax function="new_xmldoc"></phpsyntax>
-        <phpsyntax function="next"></phpsyntax>
+        <phpsyntax function="next" usage="mixed next ( array array)">Advance the internal array pointer of an array </phpsyntax>
         <phpsyntax function="nextframe"></phpsyntax>
         <phpsyntax function="nextframe"></phpsyntax>
-        <phpsyntax function="nl2br"></phpsyntax>
+        <phpsyntax function="nl2br" usage="string nl2br ( string string)">Inserts HTML line breaks before all newlines in a string </phpsyntax>
+        <phpsyntax function="nl_langinfo" usage="string nl_langinfo ( int item)">Query language and locale information </phpsyntax>
         <phpsyntax function="notes_body"></phpsyntax>
         <phpsyntax function="notes_copy_db"></phpsyntax>
         <phpsyntax function="notes_create_db"></phpsyntax>
@@ -1583,7 +1628,7 @@ See also mysql_query() for the counterpart of this behaviour.
         <phpsyntax function="notes_search"></phpsyntax>
         <phpsyntax function="notes_unread"></phpsyntax>
         <phpsyntax function="notes_version"></phpsyntax>
-        <phpsyntax function="number_format"></phpsyntax>
+        <phpsyntax function="number_format" usage="string number_format ( float number [, int decimals [, string dec_point [, string thousands_sep]]])">Format a number with grouped thousands</phpsyntax>
         <phpsyntax function="ob_end_clean"></phpsyntax>
         <phpsyntax function="ob_end_flush"></phpsyntax>
         <phpsyntax function="ob_get_contents"></phpsyntax>
@@ -1734,7 +1779,7 @@ See also mysql_query() for the counterpart of this behaviour.
         <phpsyntax function="orbit_exception_value"></phpsyntax>
         <phpsyntax function="orbit_get_repository_id"></phpsyntax>
         <phpsyntax function="orbit_load_idl"></phpsyntax>
-        <phpsyntax function="ord"></phpsyntax>
+        <phpsyntax function="ord" usage="int ord ( string string)">Returns the ASCII value of the first character of string. This function complements chr(). </phpsyntax>
         <phpsyntax function="output"></phpsyntax>
         <phpsyntax function="ovrimos_close"></phpsyntax>
         <phpsyntax function="ovrimos_close_all"></phpsyntax>
@@ -1759,7 +1804,7 @@ See also mysql_query() for the counterpart of this behaviour.
         <phpsyntax function="ovrimos_rollback"></phpsyntax>
         <phpsyntax function="pack"></phpsyntax>
         <phpsyntax function="parse_ini_file"></phpsyntax>
-        <phpsyntax function="parse_str"></phpsyntax>
+        <phpsyntax function="parse_str" usage="void parse_str ( string str [, array arr])">Parses the string into variables</phpsyntax>
         <phpsyntax function="parse_url"></phpsyntax>
         <phpsyntax function="passthru"></phpsyntax>
         <phpsyntax function="pathinfo"></phpsyntax>
@@ -1936,7 +1981,7 @@ Note: This information is also available in the predefined constant PHP_VERSION.
         <phpsyntax function="pi"></phpsyntax>
         <phpsyntax function="png2wbmp"></phpsyntax>
         <phpsyntax function="popen"></phpsyntax>
-        <phpsyntax function="pos"></phpsyntax>
+        <phpsyntax function="pos" usage="mixed pos ( array array)">Get the current element from an array</phpsyntax>
         <phpsyntax function="posix_ctermid"></phpsyntax>
         <phpsyntax function="posix_getcwd"></phpsyntax>
         <phpsyntax function="posix_getegid"></phpsyntax>
@@ -1975,7 +2020,13 @@ Note: This information is also available in the predefined constant PHP_VERSION.
         <phpsyntax function="preg_replace"></phpsyntax>
         <phpsyntax function="preg_replace_callback"></phpsyntax>
         <phpsyntax function="preg_split"></phpsyntax>
-        <phpsyntax function="prev"></phpsyntax>
+        <phpsyntax function="prev" usage="mixed prev ( array array)">Rewind the internal array pointer</phpsyntax>
+        <phpsyntax function="print" usage="">
+Output a string.
+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. 
+</phpsyntax>
+        <phpsyntax function="printf" usage="void printf ( string format [, mixed args])">Output a formatted string.</phpsyntax>
         <phpsyntax function="print_r"></phpsyntax>
         <phpsyntax function="printer_abort"></phpsyntax>
         <phpsyntax function="printer_close"></phpsyntax>
@@ -2030,11 +2081,11 @@ Note: This information is also available in the predefined constant PHP_VERSION.
         <phpsyntax function="putenv"></phpsyntax>
         <phpsyntax function="qdom_error"></phpsyntax>
         <phpsyntax function="qdom_tree"></phpsyntax>
-        <phpsyntax function="quoted_printable_decode"></phpsyntax>
-        <phpsyntax function="quotemeta"></phpsyntax>
+        <phpsyntax function="quoted_printable_decode" usage="string quoted_printable_decode ( string str)">Convert a quoted-printable string to an 8 bit string </phpsyntax>
+        <phpsyntax function="quotemeta" usage="string quotemeta ( string str)">Quote meta characters</phpsyntax>
         <phpsyntax function="rad2deg"></phpsyntax>
         <phpsyntax function="rand"></phpsyntax>
-        <phpsyntax function="range"></phpsyntax>
+        <phpsyntax function="range" usage="array range ( mixed low, mixed high [, int step])">Create an array containing a range of elements</phpsyntax>
         <phpsyntax function="rawurldecode"></phpsyntax>
         <phpsyntax function="rawurlencode"></phpsyntax>
         <phpsyntax function="read"></phpsyntax>
@@ -2067,7 +2118,7 @@ Note: This information is also available in the predefined constant PHP_VERSION.
         <phpsyntax function="remove"></phpsyntax>
         <phpsyntax function="remove"></phpsyntax>
         <phpsyntax function="rename"></phpsyntax>
-        <phpsyntax function="reset"></phpsyntax>
+        <phpsyntax function="reset" usage="mixed reset ( array array)">Set the internal pointer of an array to its first element</phpsyntax>
         <phpsyntax function="restore_error_handler"></phpsyntax>
         <phpsyntax function="rewind"></phpsyntax>
         <phpsyntax function="rewinddir"></phpsyntax>
@@ -2076,8 +2127,8 @@ Note: This information is also available in the predefined constant PHP_VERSION.
         <phpsyntax function="rotateto"></phpsyntax>
         <phpsyntax function="rotateto"></phpsyntax>
         <phpsyntax function="round"></phpsyntax>
-        <phpsyntax function="rsort"></phpsyntax>
-        <phpsyntax function="rtrim"></phpsyntax>
+        <phpsyntax function="rsort" usage="void rsort ( array array [, int sort_flags])">Sort an array in reverse order</phpsyntax>
+        <phpsyntax function="rtrim" usage="string rtrim ( string str [, string charlist])">Strip whitespace from the end of a string </phpsyntax>
         <phpsyntax function="satellite_caught_exception"></phpsyntax>
         <phpsyntax function="satellite_exception_id"></phpsyntax>
         <phpsyntax function="satellite_exception_value"></phpsyntax>
@@ -2154,7 +2205,7 @@ Because the expire and secure arguments are integers, they cannot be skipped wit
         <phpsyntax function="setleftmargin"></phpsyntax>
         <phpsyntax function="setline"></phpsyntax>
         <phpsyntax function="setlinespacing"></phpsyntax>
-        <phpsyntax function="setlocale"></phpsyntax>
+        <phpsyntax function="setlocale" usage="string setlocale ( mixed category, string locale [, string ...])">Set locale information</phpsyntax>
         <phpsyntax function="setmargins"></phpsyntax>
         <phpsyntax function="setmatrix"></phpsyntax>
         <phpsyntax function="setname"></phpsyntax>
@@ -2168,6 +2219,12 @@ Because the expire and secure arguments are integers, they cannot be skipped wit
         <phpsyntax function="setspacing"></phpsyntax>
         <phpsyntax function="settype"></phpsyntax>
         <phpsyntax function="setup"></phpsyntax>
+        <phpsyntax function="sha1" usage="string sha1 ( string str)">
+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. 
+</phpsyntax>
+        <phpsyntax function="sha1_file" usage="string sha1_file ( string filename)">Calculate the sha1 hash of a file</phpsyntax>
         <phpsyntax function="shell_exec"></phpsyntax>
         <phpsyntax function="shm_attach"></phpsyntax>
         <phpsyntax function="shm_detach"></phpsyntax>
@@ -2182,12 +2239,12 @@ Because the expire and secure arguments are integers, they cannot be skipped wit
         <phpsyntax function="shmop_size"></phpsyntax>
         <phpsyntax function="shmop_write"></phpsyntax>
         <phpsyntax function="show_source"></phpsyntax>
-        <phpsyntax function="shuffle"></phpsyntax>
+        <phpsyntax function="shuffle" usage="void shuffle ( array array)">Shuffle an array</phpsyntax>
         <phpsyntax function="shutdown"></phpsyntax>
         <phpsyntax function="signal"></phpsyntax>
-        <phpsyntax function="similar_text"></phpsyntax>
+        <phpsyntax function="similar_text" usage="int similar_text ( string first, string second [, float percent])">Calculate the similarity between two strings </phpsyntax>
         <phpsyntax function="sin"></phpsyntax>
-        <phpsyntax function="sizeof"></phpsyntax>
+        <phpsyntax function="sizeof" usage="int sizeof ( mixed var)">Get the number of elements in variable. The sizeof() function is an alias for count().</phpsyntax>
         <phpsyntax function="skewx"></phpsyntax>
         <phpsyntax function="skewxto"></phpsyntax>
         <phpsyntax function="skewxto"></phpsyntax>
@@ -2210,19 +2267,28 @@ Because the expire and secure arguments are integers, they cannot be skipped wit
         <phpsyntax function="socket_set_timeout"></phpsyntax>
         <phpsyntax function="socket_set_timeout"></phpsyntax>
         <phpsyntax function="socketpair"></phpsyntax>
-        <phpsyntax function="sort"></phpsyntax>
-        <phpsyntax function="soundex"></phpsyntax>
+        <phpsyntax function="sort" usage="void sort ( array array [, int sort_flags])">Sort an array. This function sorts an array. Elements will be arranged from lowest to highest when this function has completed.</phpsyntax>
+        <phpsyntax function="soundex" usage="string soundex ( string str)">Calculate the soundex key of a string</phpsyntax>
         <phpsyntax function="split"></phpsyntax>
         <phpsyntax function="spliti"></phpsyntax>
-        <phpsyntax function="sprintf"></phpsyntax>
+        <phpsyntax function="sprintf" usage="string sprintf ( string format [, mixed args])">Return a formatted string</phpsyntax>
         <phpsyntax function="sql_regcase"></phpsyntax>
         <phpsyntax function="sqrt"></phpsyntax>
         <phpsyntax function="srand"></phpsyntax>
-        <phpsyntax function="sscanf"></phpsyntax>
+        <phpsyntax function="sscanf" usage="mixed sscanf ( string str, string format [, string var1])">Parses input from a string according to a format </phpsyntax>
         <phpsyntax function="stat"></phpsyntax>
-        <phpsyntax function="str_pad"></phpsyntax>
-        <phpsyntax function="str_repeat"></phpsyntax>
-        <phpsyntax function="str_replace"></phpsyntax>
+        <phpsyntax function="str_pad" usage="string str_pad ( string input, int pad_length [, string pad_string [, int pad_type]])">Pad a string to a certain length with another string </phpsyntax>
+        <phpsyntax function="str_repeat" usage="string str_repeat ( string input, int multiplier)">Repeat a string</phpsyntax>
+        <phpsyntax function="str_replace" usage="mixed str_replace ( mixed search, mixed replace, mixed subject)">Replace all occurrences of the search string with the replacement string </phpsyntax>
+        <phpsyntax function="str_rot13" usage="string str_rot13 ( string str)">
+Perform the rot13 transform on a string.
+This function performs the ROT13 encoding on the str argument and returns the resulting string. 
+The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched. 
+Encoding and decoding are done by the same function, passing an encoded string as argument 
+will return the original version. 
+</phpsyntax>
+        <phpsyntax function="str_shuffle" usage="string str_shuffle ( string str)">Randomly shuffles a string</phpsyntax> 
+        <phpsyntax function="str_word_count" usage="mixed str_word_count ( string string [, int format])">Return information about words used in a string </phpsyntax>
         <phpsyntax function="strcasecmp"></phpsyntax>
         <phpsyntax function="strchr"></phpsyntax>
         <phpsyntax function="strcmp"></phpsyntax>
@@ -2387,7 +2453,7 @@ Because the expire and secure arguments are integers, they cannot be skipped wit
         <phpsyntax function="touch"></phpsyntax>
         <phpsyntax function="trigger_error"></phpsyntax>
         <phpsyntax function="trim"></phpsyntax>
-        <phpsyntax function="uasort"></phpsyntax>
+        <phpsyntax function="uasort" usage="void uasort ( array array, callback cmp_function)">Sort an array with a user-defined comparison function and maintain index association </phpsyntax>
         <phpsyntax function="ucfirst"></phpsyntax>
         <phpsyntax function="ucwords"></phpsyntax>
         <phpsyntax function="udm_add_search_limit"></phpsyntax>
@@ -2405,7 +2471,7 @@ Because the expire and secure arguments are integers, they cannot be skipped wit
         <phpsyntax function="udm_get_res_param"></phpsyntax>
         <phpsyntax function="udm_load_ispell_data"></phpsyntax>
         <phpsyntax function="udm_set_agent_param"></phpsyntax>
-        <phpsyntax function="uksort"></phpsyntax>
+        <phpsyntax function="uksort" usage="void uksort ( array array, callback cmp_function)">Sort an array by keys using a user-defined comparison function </phpsyntax>
         <phpsyntax function="umask"></phpsyntax>
         <phpsyntax function="uniqid"></phpsyntax>
         <phpsyntax function="unixtojd"></phpsyntax>
@@ -2417,7 +2483,7 @@ Because the expire and secure arguments are integers, they cannot be skipped wit
         <phpsyntax function="urlencode"></phpsyntax>
         <phpsyntax function="user_error"></phpsyntax>
         <phpsyntax function="usleep"></phpsyntax>
-        <phpsyntax function="usort"></phpsyntax>
+        <phpsyntax function="usort" usage="void usort ( array array, callback cmp_function)">Sort an array by values using a user-defined comparison function</phpsyntax>
         <phpsyntax function="utf8_decode"></phpsyntax>
         <phpsyntax function="utf8_encode"></phpsyntax>
         <phpsyntax function="var_dump"></phpsyntax>