From 8a13500b1bf4cbaf61f19f6d6bd8c46e1af3b255 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Sat, 22 Sep 2001 01:22:45 +0000 Subject: [PATCH] WS git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58019 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/array.xml | 10 +- functions/calendar.xml | 106 +++++------ functions/cpdf.xml | 28 +-- functions/curl.xml | 8 +- functions/datetime.xml | 146 +++++++-------- functions/dba.xml | 18 +- functions/dbase.xml | 40 ++-- functions/dbx.xml | 12 +- functions/domxml.xml | 30 +-- functions/errorfunc.xml | 142 +++++++------- functions/exec.xml | 18 +- functions/fbsql.xml | 40 ++-- functions/fdf.xml | 4 +- functions/filepro.xml | 13 +- functions/http.xml | 8 +- functions/hw.xml | 167 +++++++++-------- functions/ibase.xml | 20 +- functions/icap.xml | 82 ++++---- functions/image.xml | 8 +- functions/imap.xml | 404 ++++++++++++++++++++-------------------- functions/info.xml | 50 ++--- functions/ingres_ii.xml | 10 +- functions/mail.xml | 14 +- functions/mbstring.xml | 282 ++++++++++++++-------------- 24 files changed, 830 insertions(+), 830 deletions(-) diff --git a/functions/array.xml b/functions/array.xml index 3fb4c38199..7851a12655 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1,5 +1,5 @@ - + Array Functions Arrays @@ -440,8 +440,8 @@ array_keys ($array); // returns array ("color", "size") those still using PHP 3. - Implementation of <function>array_keys</function> for PHP 3 - users + Implementation of <function>array_keys</function> for PHP 3 + users function array_keys ($arr, $term="") { @@ -1566,8 +1566,8 @@ array_values ($array); // returns array ("XL", "gold") those still using PHP 3. - Implementation of <function>array_values</function> for PHP 3 - users + Implementation of <function>array_values</function> for PHP 3 + users function array_values ($arr) { diff --git a/functions/calendar.xml b/functions/calendar.xml index d2c7923b96..5c287ddb1c 100644 --- a/functions/calendar.xml +++ b/functions/calendar.xml @@ -1,5 +1,5 @@ - + Calendar functions Calendar @@ -267,36 +267,36 @@ echo "$gregorian\n"; Calendar modes - - Mode - Meaning - + + Mode + Meaning + - - 0 - Gregorian - abbreviated - - - 1 - Gregorian - - - 2 - Julian - abbreviated - - - 3 - Julian - - - 4 - Jewish - - - 5 - French Republican - + + 0 + Gregorian - abbreviated + + + 1 + Gregorian + + + 2 + Julian - abbreviated + + + 3 + Julian + + + 4 + Jewish + + + 5 + French Republican + @@ -325,32 +325,32 @@ echo "$gregorian\n"; Calendar week modes - - Mode - Meaning - + + Mode + Meaning + - - 0 - - Returns the day number as an int (0=sunday, 1=monday, etc) - - - - 1 - - Returns string containing the day of week - (english-gregorian) - - - - 2 - - Returns a string containing the abbreviated day of week - (english-gregorian) - - + + 0 + + Returns the day number as an int (0=sunday, 1=monday, etc) + + + + 1 + + Returns string containing the day of week + (english-gregorian) + + + + 2 + + Returns a string containing the abbreviated day of week + (english-gregorian) + + diff --git a/functions/cpdf.xml b/functions/cpdf.xml index fddcb32ead..71940df8e5 100644 --- a/functions/cpdf.xml +++ b/functions/cpdf.xml @@ -1,5 +1,5 @@ - + ClibPDF functions ClibPDF @@ -71,7 +71,7 @@ cpdf_begin_text($cpdf); cpdf_set_font($cpdf, "Times-Roman", 30, "WinAnsiEncoding"); cpdf_set_text_rendering($cpdf, 1); cpdf_text($cpdf, "Times Roman outlined", 50, 750); -cpdf_end_text($cpdf); +cpdf_end_text($cpdf); cpdf_moveto($cpdf, 50, 740); cpdf_lineto($cpdf, 330, 740); cpdf_stroke($cpdf); @@ -510,7 +510,7 @@ cpdf_end_text($pdf) - + cpdf_curveto @@ -587,7 +587,7 @@ cpdf_end_text($pdf) - + cpdf_fill @@ -726,7 +726,7 @@ cpdf_end_text($pdf) - + cpdf_import_jpeg @@ -909,7 +909,7 @@ cpdf_end_text($pdf) - + cpdf_output_buffer @@ -972,7 +972,7 @@ cpdf_end_text($pdf) - + cpdf_place_inline_image @@ -1272,7 +1272,7 @@ cpdf_restore($pdf) - + cpdf_set_creator @@ -1297,7 +1297,7 @@ cpdf_restore($pdf) - + cpdf_set_current_page @@ -1356,7 +1356,7 @@ cpdf_restore($pdf) - + cpdf_set_horiz_scaling @@ -1558,7 +1558,7 @@ cpdf_restore($pdf) - + cpdf_set_text_rendering @@ -1727,7 +1727,7 @@ cpdf_restore($pdf) - + cpdf_setgray_fill @@ -1775,7 +1775,7 @@ cpdf_restore($pdf) - + cpdf_setlinecap @@ -1888,7 +1888,7 @@ cpdf_restore($pdf) - + cpdf_setrgbcolor_fill diff --git a/functions/curl.xml b/functions/curl.xml index 648e92b77e..aee1a3d235 100644 --- a/functions/curl.xml +++ b/functions/curl.xml @@ -1,5 +1,5 @@ - + CURL, Client URL Library Functions CURL @@ -174,9 +174,9 @@ curl_close ($ch); - CURLOPT_NOPROGRESS: Set this option to - a non-zero value if you don't want PHP to display a progress - meter for CURL transfers + CURLOPT_NOPROGRESS: Set this option to + a non-zero value if you don't want PHP to display a progress + meter for CURL transfers PHP automatically sets this option to a non-zero parameter, diff --git a/functions/datetime.xml b/functions/datetime.xml index 00217a863c..6956a55b3a 100644 --- a/functions/datetime.xml +++ b/functions/datetime.xml @@ -1,5 +1,5 @@ - + Date and Time functions Date/time @@ -221,9 +221,9 @@ - Z - timezone offset in seconds (i.e. "-43200" to "43200"). The - offset for timezones west of UTC is always negative, and for - those east of UTC is always positive. + Z - timezone offset in seconds (i.e. "-43200" to "43200"). The + offset for timezones west of UTC is always negative, and for + those east of UTC is always positive. @@ -314,52 +314,52 @@ $today = date("H:i:s"); // 17:16:17 - "seconds" - seconds + "seconds" - seconds - "minutes" - minutes + "minutes" - minutes - "hours" - hours + "hours" - hours - "mday" - day of the month + "mday" - day of the month - "wday" - day of the week, numeric : from 0 as Sunday up to 6 as Saturday + "wday" - day of the week, numeric : from 0 as Sunday up to 6 as Saturday - "mon" - month, numeric + "mon" - month, numeric - "year" - year, numeric + "year" - year, numeric - "yday" - day of the year, numeric; i.e. "299" + "yday" - day of the year, numeric; i.e. "299" - "weekday" - day of the week, textual, full; i.e. "Friday" + "weekday" - day of the week, textual, full; i.e. "Friday" - "month" - month, textual, full; i.e. "January" + "month" - month, textual, full; i.e. "January" @@ -399,22 +399,22 @@ echo "$month $mday, $year"; - "sec" - seconds + "sec" - seconds - "usec" - microseconds + "usec" - microseconds - "minuteswest" - minutes west of Greenwich + "minuteswest" - minutes west of Greenwich - "dsttime" - type of dst correction + "dsttime" - type of dst correction @@ -563,47 +563,47 @@ echo gmstrftime ("%b %d %Y %H:%M:%S", mktime (20,0,0,12,31,98))."\n"; - "tm_sec" - seconds + "tm_sec" - seconds - "tm_min" - minutes + "tm_min" - minutes - "tm_hour" - hour + "tm_hour" - hour - "tm_mday" - day of the month + "tm_mday" - day of the month - "tm_mon" - month of the year + "tm_mon" - month of the year - "tm_year" - Years since 1900 + "tm_year" - Years since 1900 - "tm_wday" - Day of the week + "tm_wday" - Day of the week - "tm_yday" - Day of the year + "tm_yday" - Day of the year - "tm_isdst" - Is daylight savings time in effect + "tm_isdst" - Is daylight savings time in effect @@ -790,131 +790,131 @@ echo strftime ("Last day in Feb 2000 is: %d", $lastday); - %a - abbreviated weekday name according to the current locale + %a - abbreviated weekday name according to the current locale - %A - full weekday name according to the current locale + %A - full weekday name according to the current locale - %b - abbreviated month name according to the current locale + %b - abbreviated month name according to the current locale - %B - full month name according to the current locale + %B - full month name according to the current locale - %c - preferred date and time representation for the current - locale + %c - preferred date and time representation for the current + locale - %C - century number (the year divided by 100 and truncated to - an integer, range 00 to 99) + %C - century number (the year divided by 100 and truncated to + an integer, range 00 to 99) - %d - day of the month as a decimal number (range 01 to 31) + %d - day of the month as a decimal number (range 01 to 31) - %D - same as %m/%d/%y + %D - same as %m/%d/%y - %e - day of the month as a decimal number, a single digit is - preceded by a space (range ' 1' to '31') + %e - day of the month as a decimal number, a single digit is + preceded by a space (range ' 1' to '31') - %h - same as %b + %h - same as %b - %H - hour as a decimal number using a 24-hour clock (range 00 - to 23) + %H - hour as a decimal number using a 24-hour clock (range 00 + to 23) - %I - hour as a decimal number using a 12-hour clock (range 01 - to 12) + %I - hour as a decimal number using a 12-hour clock (range 01 + to 12) - %j - day of the year as a decimal number (range 001 to 366) + %j - day of the year as a decimal number (range 001 to 366) - %m - month as a decimal number (range 01 to 12) + %m - month as a decimal number (range 01 to 12) - %M - minute as a decimal number + %M - minute as a decimal number - %n - newline character + %n - newline character - %p - either `am' or `pm' according to the given time value, or - the corresponding strings for the current locale + %p - either `am' or `pm' according to the given time value, or + the corresponding strings for the current locale - %r - time in a.m. and p.m. notation + %r - time in a.m. and p.m. notation - %R - time in 24 hour notation + %R - time in 24 hour notation - %S - second as a decimal number + %S - second as a decimal number - %t - tab character + %t - tab character - %T - current time, equal to %H:%M:%S + %T - current time, equal to %H:%M:%S - %u - weekday as a decimal number [1,7], with 1 representing - Monday + %u - weekday as a decimal number [1,7], with 1 representing + Monday - %U - week number of the current year as a decimal number, - starting with the first Sunday as the first day of the first - week + %U - week number of the current year as a decimal number, + starting with the first Sunday as the first day of the first + week @@ -927,47 +927,47 @@ echo strftime ("Last day in Feb 2000 is: %d", $lastday); - %W - week number of the current year as a decimal number, - starting with the first Monday as the first day of the first - week + %W - week number of the current year as a decimal number, + starting with the first Monday as the first day of the first + week - %w - day of the week as a decimal, Sunday being 0 + %w - day of the week as a decimal, Sunday being 0 - %x - preferred date representation for the current locale - without the time + %x - preferred date representation for the current locale + without the time - %X - preferred time representation for the current locale - without the date + %X - preferred time representation for the current locale + without the date - %y - year as a decimal number without a century (range 00 to - 99) + %y - year as a decimal number without a century (range 00 to + 99) - %Y - year as a decimal number including the century + %Y - year as a decimal number including the century - %Z - time zone or name or abbreviation + %Z - time zone or name or abbreviation - %% - a literal `%' character + %% - a literal `%' character diff --git a/functions/dba.xml b/functions/dba.xml index 740d9f9d77..272f4e2ce9 100644 --- a/functions/dba.xml +++ b/functions/dba.xml @@ -1,5 +1,5 @@ - + Database (dbm-style) abstraction layer functions dba @@ -37,13 +37,13 @@ - Handler - Notes + Handler + Notes - dbm + dbm Dbm is the oldest (original) type of Berkeley DB style databases. You should avoid it, if possible. We do not support @@ -54,7 +54,7 @@ - ndbm + ndbm Ndbm is a newer type and more flexible than dbm. It still has most of the arbitrary limits of dbm (therefore it is @@ -63,7 +63,7 @@ - gdbm + gdbm Gdbm is the GNU database manager. (--with-gdbm) @@ -71,7 +71,7 @@ - db2 + db2 DB2 is Sleepycat Software's DB2. It is described as "a programmatic toolkit that @@ -81,7 +81,7 @@ - db3 + db3 DB3 is Sleepycat Software's DB3. (--with-db3) @@ -89,7 +89,7 @@ - cdb + cdb Cdb is "a fast, reliable, lightweight package for creating and reading constant databases." It is from the author of qmail and diff --git a/functions/dbase.xml b/functions/dbase.xml index cb112cd25a..768b545aa5 100644 --- a/functions/dbase.xml +++ b/functions/dbase.xml @@ -1,5 +1,5 @@ - + dBase functions dBase @@ -56,44 +56,44 @@ L - - Boolean. These do not have a length or precision. - + + Boolean. These do not have a length or precision. + M - - Memo. (Note that these aren't supported by PHP.) These do - not have a length or precision. - + + Memo. (Note that these aren't supported by PHP.) These do + not have a length or precision. + D - - Date (stored as YYYYMMDD). These do not have a length or - precision. - + + Date (stored as YYYYMMDD). These do not have a length or + precision. + N - - Number. These have both a length and a precision (the number - of digits after the decimal point). - + + Number. These have both a length and a precision (the number + of digits after the decimal point). + C - - String. - + + String. + @@ -149,7 +149,7 @@ if (!dbase_create($dbname, $def)) Returns a dbase_identifier for the opened database, or &false; if the database couldn't be opened. - ¬e.sm.uidcheck; + ¬e.sm.uidcheck; diff --git a/functions/dbx.xml b/functions/dbx.xml index 4ab2da1a53..025fd804fc 100644 --- a/functions/dbx.xml +++ b/functions/dbx.xml @@ -1,5 +1,5 @@ - + dbx functions dbx @@ -109,27 +109,27 @@ dbx_close($link); - module DBX_MYSQL : "mysql" + module DBX_MYSQL : "mysql" - module DBX_ODBC : "odbc" + module DBX_ODBC : "odbc" - module DBX_PGSQL : "pgsql" + module DBX_PGSQL : "pgsql" - module DBX_MSSQL : "mssql" + module DBX_MSSQL : "mssql" - module DBX_FBSQL : "fbsql" (CVS only) + module DBX_FBSQL : "fbsql" (CVS only) diff --git a/functions/domxml.xml b/functions/domxml.xml index cb33366bed..1f6c276d7e 100644 --- a/functions/domxml.xml +++ b/functions/domxml.xml @@ -1,5 +1,5 @@ - + DOM XML functions DOM XML @@ -429,7 +429,7 @@ string str - &warn.experimental.func; + &warn.experimental.func; The function parses the XML document in str and returns an object of class "Dom @@ -454,7 +454,7 @@ string filename - &warn.experimental.func; + &warn.experimental.func; The function parses the XML document in the file named filename and returns an object of class @@ -482,7 +482,7 @@ string str - &warn.experimental.func; + &warn.experimental.func; The function parses the XML document in str and returns a tree PHP objects as the @@ -511,7 +511,7 @@ object doc - &warn.experimental.func; + &warn.experimental.func; domxml_root takes one argument, an object of class "Dom document", and returns the root element node. There are actually @@ -577,7 +577,7 @@ print_r($root); string name - &warn.experimental.func; + &warn.experimental.func; Adds a root element node to a dom document and returns the new node. The element name is given in the second parameter. @@ -614,7 +614,7 @@ echo $doc->dumpmem(); resource doc - &warn.experimental.func; + &warn.experimental.func; Creates an XML document from the dom representation. This function usually is called after a building a new dom document from scratch @@ -641,7 +641,7 @@ echo $doc->dumpmem(); resource node - &warn.experimental.func; + &warn.experimental.func; Returns all attributes of a node as array of objects of type "dom attribute". @@ -665,7 +665,7 @@ echo $doc->dumpmem(); string name - &warn.experimental.func; + &warn.experimental.func; Returns the attribute with name name of the given node. @@ -692,7 +692,7 @@ echo $doc->dumpmem(); string value - &warn.experimental.func; + &warn.experimental.func; Sets an attribute with name name of the given node on a value. @@ -733,7 +733,7 @@ echo $doc->dumpmem(); object doc|node - &warn.experimental.func; + &warn.experimental.func; Returns all children of a node as an array of nodes. @@ -774,7 +774,7 @@ $children = $head->children(); string content - &warn.experimental.func; + &warn.experimental.func; Adds a new child of type element to a node and returns it. @@ -796,7 +796,7 @@ $children = $head->children(); string version - &warn.experimental.func; + &warn.experimental.func; Creates a new dom document from scratch and returns it. @@ -821,7 +821,7 @@ $children = $head->children(); object dom document - &warn.experimental.func; + &warn.experimental.func; @@ -845,7 +845,7 @@ $children = $head->children(); object xpath context - &warn.experimental.func; + &warn.experimental.func; diff --git a/functions/errorfunc.xml b/functions/errorfunc.xml index cc59a7d85e..66bc9abb24 100644 --- a/functions/errorfunc.xml +++ b/functions/errorfunc.xml @@ -1,5 +1,5 @@ - + Error Handling and Logging Functions Errors and Logging @@ -171,78 +171,78 @@ error_reporting (E_ALL ^ E_NOTICE); // The same in both PHP 3 and 4 <function>error_reporting</function> bit values - - constant - value - + + constant + value + - - 1 - - E_ERROR - - - - 2 - - E_WARNING - - - - 4 - - E_PARSE - - - - 8 - - E_NOTICE - - - - 16 - - E_CORE_ERROR - - - - 32 - - E_CORE_WARNING - - - - 64 - - E_COMPILE_ERROR - - - - 128 - - E_COMPILE_WARNING - - - - 256 - - E_USER_ERROR - - - - 512 - - E_USER_WARNING - - - - 1024 - - E_USER_NOTICE - - + + 1 + + E_ERROR + + + + 2 + + E_WARNING + + + + 4 + + E_PARSE + + + + 8 + + E_NOTICE + + + + 16 + + E_CORE_ERROR + + + + 32 + + E_CORE_WARNING + + + + 64 + + E_COMPILE_ERROR + + + + 128 + + E_COMPILE_WARNING + + + + 256 + + E_USER_ERROR + + + + 512 + + E_USER_WARNING + + + + 1024 + + E_USER_NOTICE + + diff --git a/functions/exec.xml b/functions/exec.xml index a3e75788c1..402b393042 100644 --- a/functions/exec.xml +++ b/functions/exec.xml @@ -1,5 +1,5 @@ - + Program Execution functions Program Execution @@ -28,13 +28,13 @@ escapeshellarg adds single quotes around a string - and quotes/escapes any existing single quotes allowing you to pass a - string directly to a shell function and having it be treated as a single - safe argument. This function should be used to escape individual - arguments to shell functions coming from user input. The shell functions - include exec, system and the - backtick operator. - A standard use would be: + and quotes/escapes any existing single quotes allowing you to pass a + string directly to a shell function and having it be treated as a single + safe argument. This function should be used to escape individual + arguments to shell functions coming from user input. The shell functions + include exec, system and the + backtick operator. + A standard use would be: @@ -85,7 +85,7 @@ system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quo See also escapeshellarg, exec, - popen, system, and the popen, system, and the backtick operator. diff --git a/functions/fbsql.xml b/functions/fbsql.xml index a913fe041a..9e182c004b 100644 --- a/functions/fbsql.xml +++ b/functions/fbsql.xml @@ -1,5 +1,5 @@ - + FrontBase functions FrontBase @@ -524,46 +524,46 @@ - &false - The exec handler for the host was invalid. This - error will ocour when the link_identifier connects directly to - a database by using a port number. FBExec can be available on the - server but no connection has been made for it. + &false - The exec handler for the host was invalid. This + error will ocour when the link_identifier connects directly to + a database by using a port number. FBExec can be available on the + server but no connection has been made for it. - FBSQL_UNKNOWN - The Status is unknown. + FBSQL_UNKNOWN - The Status is unknown. - FBSQL_STOPPED - The database is not running. Use - fbsql_start_db to start the database. + FBSQL_STOPPED - The database is not running. Use + fbsql_start_db to start the database. - FBSQL_STARTING - The database is starting. + FBSQL_STARTING - The database is starting. - FBSQL_RUNNING - The database is running and can be used to - perform SQL operations. + FBSQL_RUNNING - The database is running and can be used to + perform SQL operations. - FBSQL_STOPPING - The database is stopping. + FBSQL_STOPPING - The database is stopping. - FBSQL_NOEXEC - FBExec is not running on the server and it is not - possible to get the status of the database. + FBSQL_NOEXEC - FBExec is not running on the server and it is not + possible to get the status of the database. - + See also: fbsql_start_db and @@ -870,27 +870,27 @@ fbsql_free_result ($result); - name - column name + name - column name - table - name of the table the column belongs to + table - name of the table the column belongs to - max_length - maximum length of the column + max_length - maximum length of the column - not_null - 1 if the column cannot be &null; + not_null - 1 if the column cannot be &null; - type - the type of the column + type - the type of the column diff --git a/functions/fdf.xml b/functions/fdf.xml index 9194dc758a..2da196fac4 100644 --- a/functions/fdf.xml +++ b/functions/fdf.xml @@ -1,5 +1,5 @@ - + Forms Data Format functions FDF @@ -9,7 +9,7 @@ Forms Data Format (FDF) is a format for handling forms within PDF documents. You should read the documentation at - &spec.pdf.fdf; + &spec.pdf.fdf; for more information on what FDF is and how it is used in general. diff --git a/functions/filepro.xml b/functions/filepro.xml index d42b3191c0..770a3157c9 100644 --- a/functions/filepro.xml +++ b/functions/filepro.xml @@ -1,5 +1,5 @@ - + filePro functions filePro @@ -31,7 +31,7 @@ No locking is done, so you should avoid modifying your filePro database while it may be opened in PHP. - ¬e.sm.uidcheck; + ¬e.sm.uidcheck; @@ -105,7 +105,7 @@ Returns the data from the specified location in the database. - ¬e.sm.uidcheck; + ¬e.sm.uidcheck; @@ -123,8 +123,9 @@ - Returns the number of fields (columns) in the opened filePro - database. + Returns the number of fields (columns) in the opened filePro + database. + See also filepro. @@ -145,7 +146,7 @@ Returns the number of rows in the opened filePro database. - ¬e.sm.uidcheck; + ¬e.sm.uidcheck; See also filepro. diff --git a/functions/http.xml b/functions/http.xml index bff9ab616f..7afa59d841 100644 --- a/functions/http.xml +++ b/functions/http.xml @@ -1,5 +1,5 @@ - + HTTP functions HTTP @@ -233,9 +233,9 @@ setcookie ("TestCookie", "", time() - 3600); setcookie ("TestCookie", "", time() - 3600, "/~rasmus/", ".utoronto.ca", 1); - When deleting a cookie you should assure that the expiration date - is in the past, to trigger the removal mechanism in your browser. - + When deleting a cookie you should assure that the expiration date + is in the past, to trigger the removal mechanism in your browser. + Note that the value portion of the cookie will automatically be urlencoded when you send the cookie, and when it is received, it diff --git a/functions/hw.xml b/functions/hw.xml index 7798244c78..9224ebace4 100644 --- a/functions/hw.xml +++ b/functions/hw.xml @@ -1,5 +1,5 @@ - + Hyperwave functions Hyperwave @@ -122,23 +122,22 @@ replaced by another character, e.g. '_'. to be continued. - The network protocol to communicate - with the Hyperwave server is called HG-CSP - (Hyper-G Client/Server Protocol). It is based on messages to initiate - certain actions, e.g. get object record. In early versions of - the Hyperwave Server two native clients (Harmony, Amadeus) were - provided for communication with the server. Those two disappeared - when Hyperwave was commercialised. As a replacement a so called - wavemaster was provided. The wavemaster is like a protocol converter - from HTTP to HG-CSP. The idea is - to do all the administration of the database and visualisation of - documents by a web interface. The wavemaster implements a set of - placeholders for certain actions to customise the interface. This - set of placeholders is called the PLACE Language. + The network protocol to communicate with the Hyperwave server is called + HG-CSP (Hyper-G Client/Server + Protocol). It is based on messages to initiate certain actions, e.g. get + object record. In early versions of the Hyperwave Server two native + clients (Harmony, Amadeus) were provided for communication with the + server. Those two disappeared when Hyperwave was commercialised. As a + replacement a so called wavemaster was provided. The wavemaster is like a + protocol converter from HTTP to HG-CSP. + The idea is to do all the administration of the database and + visualisation of documents by a web interface. The wavemaster implements + a set of placeholders for certain actions to customise the interface. + This set of placeholders is called the PLACE Language. PLACE lacks a lot of features of a real programming - language and any extension to it only enlarges the list of - placeholders. This has led to the use of JavaScript which IMO does - not make life easier. + language and any extension to it only enlarges the list of placeholders. + This has led to the use of JavaScript which IMO does not make life + easier. Adding Hyperwave support to PHP should fill in the gap of a @@ -155,39 +154,39 @@ - object ID: An unique integer value for each object in the - Hyperwave server. It is also one of the attributes of the - object record (ObjectID). Object ids are often used as an - input parameter to specify an object. + object ID: An unique integer value for each object in the + Hyperwave server. It is also one of the attributes of the + object record (ObjectID). Object ids are often used as an + input parameter to specify an object. - object record: A string with attribute-value pairs of the form - attribute=value. The pairs are separated by a carriage return - from each other. An object record can easily be converted into - an object array with hw_object2array. - Several functions return object records. The names of those - functions end with obj. + object record: A string with attribute-value pairs of the form + attribute=value. The pairs are separated by a carriage return + from each other. An object record can easily be converted into + an object array with hw_object2array. + Several functions return object records. The names of those + functions end with obj. - object array: An associated array with all attributes of an - object. The key is the attribute name. If an attribute occurs - more than once in an object record it will result in another - indexed or associated array. Attributes which are language - depended (like the title, keyword, description) will form an - associated array with the key set to the language - abbreviation. All other multiple attributes will form an - indexed array. PHP functions never return object arrays. + object array: An associated array with all attributes of an + object. The key is the attribute name. If an attribute occurs + more than once in an object record it will result in another + indexed or associated array. Attributes which are language + depended (like the title, keyword, description) will form an + associated array with the key set to the language + abbreviation. All other multiple attributes will form an + indexed array. PHP functions never return object arrays. - hw_document: This is a complete new data type which holds the - actual document, e.g. HTML, PDF etc. It is somewhat optimised - for HTML documents but may be used for any format. + hw_document: This is a complete new data type which holds the + actual document, e.g. HTML, PDF etc. It is somewhat optimised + for HTML documents but may be used for any format. @@ -202,54 +201,54 @@ Hidden - Number of object records with attribute PresentationHints - set to Hidden. - - + Number of object records with attribute PresentationHints + set to Hidden. + + CollectionHead - Number of object records with attribute - PresentationHints set to CollectionHead. - - + Number of object records with attribute + PresentationHints set to CollectionHead. + + FullCollectionHead - Number of object records with attribute - PresentationHints set to FullCollectionHead. - - + Number of object records with attribute + PresentationHints set to FullCollectionHead. + + CollectionHeadNr - Index in array of object records with - attribute PresentationHints set to CollectionHead. - - + Index in array of object records with + attribute PresentationHints set to CollectionHead. + + FullCollectionHeadNr - Index in array of object records with - attribute PresentationHints set to FullCollectionHead. - - + Index in array of object records with + attribute PresentationHints set to FullCollectionHead. + + Total - Total: Number of object records. - - + Total: Number of object records. + + @@ -316,31 +315,31 @@ RewriteEngine on - to return the object itself - - + to return the object itself + + - to allow searching - - + to allow searching + + - to identify yourself - - + to identify yourself + + - to set your profile - - + to set your profile + + - one for each additional function like to show - the object attributes, to show information about users, - to show the status of the server, etc. - - + one for each additional function like to show + the object attributes, to show information about users, + to show the status of the server, etc. + + @@ -351,15 +350,15 @@ RewriteEngine on There are still some things todo: The hw_InsertDocument has to be split into - hw_insertobject and - hw_putdocument. + hw_insertobject and + hw_putdocument. The names of several functions are not fixed, yet. Most functions require the current connection - as its first parameter. This leads to a lot of typing, which - is quite often not necessary if there is just one open - connection. A default connection will - improve this. + as its first parameter. This leads to a lot of typing, which + is quite often not necessary if there is just one open + connection. A default connection will + improve this. Conversion form object record into object array needs to handle any multiple attribute. diff --git a/functions/ibase.xml b/functions/ibase.xml index 9dc08cb3cd..8b60e86100 100644 --- a/functions/ibase.xml +++ b/functions/ibase.xml @@ -1,5 +1,5 @@ - + InterBase functions InterBase @@ -15,16 +15,16 @@ Full support for InterBase 6 was added in PHP 4.0. - - This database uses a single quote (') character for escaping, a - behavior similar to the Sybase database, add to your - php.ini the following directive: - - + + This database uses a single quote (') character for escaping, a + behavior similar to the Sybase database, add to your + php.ini the following directive: + + magic_quotes_sybase = On - - - + + + diff --git a/functions/icap.xml b/functions/icap.xml index d076d6bb76..379c3926bd 100644 --- a/functions/icap.xml +++ b/functions/icap.xml @@ -1,5 +1,5 @@ - + ICAP Functions ICAP @@ -88,43 +88,43 @@ - int id - ID of that event. + int id - ID of that event. - int public - &true; if the event if public, &false; if it is private. + int public - &true; if the event if public, &false; if it is private. - string category - Category string of the event. + string category - Category string of the event. - string title - Title string of the event. + string title - Title string of the event. - string description - Description string of the event. + string description - Description string of the event. - int alarm - number of minutes before the event to send an - alarm/reminder. + int alarm - number of minutes before the event to send an + alarm/reminder. - object start - Object containing a datetime entry. + object start - Object containing a datetime entry. - object end - Object containing a datetime entry. + object end - Object containing a datetime entry. @@ -132,32 +132,32 @@ - int year - year + int year - year - int month - month + int month - month - int mday - day of month + int mday - day of month - int hour - hour + int hour - hour - int min - minutes + int min - minutes - int sec - seconds + int sec - seconds @@ -198,32 +198,32 @@ - int year - year + int year - year - int month - month + int month - month - int mday - day of month + int mday - day of month - int hour - hour + int hour - hour - int min - minutes + int min - minutes - int sec - seconds + int sec - seconds @@ -251,37 +251,37 @@ - int public - 1 if public, 0 if private; + int public - 1 if public, 0 if private; - string caegory - Category string of the event. + string caegory - Category string of the event. - string title - Title string of the event. + string title - Title string of the event. - string description - Description string of the event. + string description - Description string of the event. - int alarm - Number of minutes before the event to sned out an alarm. + int alarm - Number of minutes before the event to sned out an alarm. - datetime start - datetime object of the start of the event. + datetime start - datetime object of the start of the event. - datetime end - datetime object of the end of the event. + datetime end - datetime object of the end of the event. @@ -291,32 +291,32 @@ - int year - year + int year - year - int month - month + int month - month - int mday - day of month + int mday - day of month - int hour - hour + int hour - hour - int min - minutes + int min - minutes - int sec - seconds + int sec - seconds @@ -407,32 +407,32 @@ - int year - year + int year - year - int month - month + int month - month - int mday - day of month + int mday - day of month - int hour - hour + int hour - hour - int min - minutes + int min - minutes - int sec - seconds + int sec - seconds diff --git a/functions/image.xml b/functions/image.xml index 95cff59c0a..f4409f00d2 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -1,5 +1,5 @@ - + Image functions Image @@ -88,9 +88,9 @@ pictures. bits is the number of bits for each color. - If accessing the filename image is impossible, - or if it isn't a valid picture, getimagesize - will return &null; and generate a warning. + If accessing the filename image is impossible, + or if it isn't a valid picture, getimagesize + will return &null; and generate a warning. The optional imageinfo parameter allows diff --git a/functions/imap.xml b/functions/imap.xml index 4a9877e7d5..dda7d04dad 100644 --- a/functions/imap.xml +++ b/functions/imap.xml @@ -1,5 +1,5 @@ - + IMAP, POP3 and NNTP functions IMAP @@ -26,62 +26,62 @@ This document can't go into detail on all the topics touched by - the provided functions. Further information is provided by the - documentation of the c-client library source - (docs/internal.txt). and the following RFC - documents: + the provided functions. Further information is provided by the + documentation of the c-client library source + (docs/internal.txt). and the following RFC + documents: RFC2821: Simple Mail - Transfer Protocol (SMTP). + Transfer Protocol (SMTP). RFC2822: Standard for - ARPA internet text messages. + ARPA internet text messages. RFC2060: Internet - Message Access Protocol (IMAP) Version 4rev1. + Message Access Protocol (IMAP) Version 4rev1. RFC1939: Post - Office Protocol Version 3 (POP3). + Office Protocol Version 3 (POP3). RFC977: Network News - Transfer Protocol (NNTP). + Transfer Protocol (NNTP). RFC2076: Common - Internet Message Headers. + Internet Message Headers. RFC2045 , RFC2046 , RFC2047 , RFC2048 & RFC2049: Multipurpose - Internet Mail Extensions (MIME). + url="&url.rfc;rfc2046.html">RFC2046 , RFC2047 , RFC2048 & RFC2049: Multipurpose + Internet Mail Extensions (MIME). - A detailed overview is also available in the books - Programming Internet Email - by David Wood and Managing - IMAP by Dianna Mullet & Kevin Mullet. + A detailed overview is also available in the books + Programming Internet Email + by David Wood and Managing + IMAP by Dianna Mullet & Kevin Mullet. @@ -278,28 +278,28 @@ imap_close($stream); - FT_UID - The msgno is a UID + FT_UID - The msgno is a UID - FT_PEEK - Do not set the \Seen flag if not already set + FT_PEEK - Do not set the \Seen flag if not already set - FT_INTERNAL - The return string is in internal format, will - not canonicalize to CRLF. + FT_INTERNAL - The return string is in internal format, will + not canonicalize to CRLF. - + imap_body will only return a verbatim copy of the message body. To extract single parts of a multipart MIME-encoded message you have to use imap_fetchstructure to analyze its structure and imap_fetchbody to - extract a copy of a single body component. + extract a copy of a single body component. @@ -335,22 +335,22 @@ imap_close($stream); - Driver - protocol used to access this mailbox: POP3, IMAP, NNTP + Driver - protocol used to access this mailbox: POP3, IMAP, NNTP - Mailbox - the mailbox name + Mailbox - the mailbox name - Nmsgs - number of messages in the mailbox + Nmsgs - number of messages in the mailbox - Recent - number of recent messages in the mailbox + Recent - number of recent messages in the mailbox @@ -800,18 +800,18 @@ imap_close($mbox); - FT_UID - The msg_number is a UID + FT_UID - The msg_number is a UID - FT_PEEK - Do not set the \Seen flag if not already set + FT_PEEK - Do not set the \Seen flag if not already set - FT_INTERNAL - The return string is in "internal" format, - without any attempt to canonicalize CRLF. + FT_INTERNAL - The return string is in "internal" format, + without any attempt to canonicalize CRLF. @@ -901,74 +901,74 @@ FT_PREFETCHTEXT The RFC822.TEXT should be pre-fetched at the - - type - Primary body type - - - encoding - Body transfer encoding - - - ifsubtype - &true; if there is a subtype string - - - subtype - MIME subtype - - - ifdescription - &true; if there is a description string - - - description - Content description string - - - ifid - &true; if there is an identification string - - - id - Identification string - - - lines - Number of lines - - - bytes - Number of bytes - - - ifdisposition - &true; if there is a disposition string - - - disposition - Disposition string - - - ifdparameters - &true; if the dparameters array exists - - - dparameters - Disposition parameter array - - - ifparameters - &true; if the parameters array exists - - - parameters - MIME parameters array - - - parts - Array of objects describing each message part - + + type + Primary body type + + + encoding + Body transfer encoding + + + ifsubtype + &true; if there is a subtype string + + + subtype + MIME subtype + + + ifdescription + &true; if there is a description string + + + description + Content description string + + + ifid + &true; if there is an identification string + + + id + Identification string + + + lines + Number of lines + + + bytes + Number of bytes + + + ifdisposition + &true; if there is a disposition string + + + disposition + Disposition string + + + ifdparameters + &true; if the dparameters array exists + + + dparameters + Disposition parameter array + + + ifparameters + &true; if the parameters array exists + + + parameters + MIME parameters array + + + parts + Array of objects describing each message part + @@ -977,21 +977,21 @@ FT_PREFETCHTEXT The RFC822.TEXT should be pre-fetched at the - dparameters is an array of objects where each object has an - "attribute" and a "value" property. + dparameters is an array of objects where each object has an + "attribute" and a "value" property. - Parameter is an array of objects where each object has an - "attributte" and a "value" property. + Parameter is an array of objects where each object has an + "attributte" and a "value" property. - Parts is an array of objects identical in structure to the - top-level object, with the limitation that it cannot contain - further 'parts' objects. + Parts is an array of objects identical in structure to the + top-level object, with the limitation that it cannot contain + further 'parts' objects. @@ -1120,25 +1120,25 @@ imap_close($mbox); - LATT_NOINFERIORS - This mailbox has no "children" (there are - no mailboxes below this one). + LATT_NOINFERIORS - This mailbox has no "children" (there are + no mailboxes below this one). - LATT_NOSELECT - This is only a container, not a mailbox - you - cannot open it. + LATT_NOSELECT - This is only a container, not a mailbox - you + cannot open it. - LATT_MARKED - This mailbox is marked. Only used by UW-IMAPD. + LATT_MARKED - This mailbox is marked. Only used by UW-IMAPD. - LATT_UNMARKED - This mailbox is not marked. Only used by - UW-IMAPD. + LATT_UNMARKED - This mailbox is not marked. Only used by + UW-IMAPD. @@ -1190,9 +1190,9 @@ imap_close($mbox); - - See also imap_getsubscribed. - + + See also imap_getsubscribed. + @@ -1614,13 +1614,13 @@ echo nl2br(imap_mail_compose($envelope,$body)); - CP_UID - the sequence numbers contain UIDS + CP_UID - the sequence numbers contain UIDS - CP_MOVE - Delete the messages from the current mailbox after - copying + CP_MOVE - Delete the messages from the current mailbox after + copying @@ -1657,7 +1657,7 @@ echo nl2br(imap_mail_compose($envelope,$body)); - CP_UID - the sequence numbers contain UIDS + CP_UID - the sequence numbers contain UIDS @@ -1699,37 +1699,37 @@ echo nl2br(imap_mail_compose($envelope,$body)); - Date - date of last change - + Date + date of last change + - Driver - driver - + Driver + driver + - Mailbox - name of the mailbox - + Mailbox + name of the mailbox + - Nmsgs - number of messages - + Nmsgs + number of messages + - Recent - number of recent messages - + Recent + number of recent messages + - Unread - number of unread messages - + Unread + number of unread messages + - Deleted - number of deleted messages - + Deleted + number of deleted messages + - Size - mailbox size - + Size + mailbox size + @@ -1798,8 +1798,8 @@ $text="=?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= <keld@dkuug.dk>"; $elements=imap_mime_header_decode($text); for($i=0;$i<count($elements);$i++) { - echo "Charset: {$elements[$i]->charset}\n"; - echo "Text: {$elements[$i]->text}\n\n"; + echo "Charset: {$elements[$i]->charset}\n"; + echo "Text: {$elements[$i]->text}\n\n"; } @@ -1927,24 +1927,24 @@ for($i=0;$i<count($elements);$i++) { - OP_READONLY - Open mailbox read-only + OP_READONLY - Open mailbox read-only - OP_ANONYMOUS - Dont use or update a - .newsrc for news (NNTP only) + OP_ANONYMOUS - Dont use or update a + .newsrc for news (NNTP only) - OP_HALFOPEN - For IMAP and NNTP names, open a connection but - dont open a mailbox + OP_HALFOPEN - For IMAP and NNTP names, open a connection but + dont open a mailbox - CL_EXPUNGE - Expunge mailbox automatically upon mailbox close + CL_EXPUNGE - Expunge mailbox automatically upon mailbox close @@ -2135,26 +2135,26 @@ imap_close($mbox); - OP_READONLY - Open mailbox read-only + OP_READONLY - Open mailbox read-only - OP_ANONYMOUS - Dont use or update a - .newsrc for news (NNTP only) + OP_ANONYMOUS - Dont use or update a + .newsrc for news (NNTP only) - OP_HALFOPEN - For IMAP and NNTP names, open a connection but - dont open a mailbox. + OP_HALFOPEN - For IMAP and NNTP names, open a connection but + dont open a mailbox. - CL_EXPUNGE - Expunge mailbox automatically upon mailbox close - (see also imap_delete and - imap_expunge) + CL_EXPUNGE - Expunge mailbox automatically upon mailbox close + (see also imap_delete and + imap_expunge) @@ -2350,124 +2350,124 @@ print imap_rfc822_write_address("hartmut","cvs.php.net","Hartmut Holzgraefe")."\ - ALL - return all messages matching the rest of the criteria + ALL - return all messages matching the rest of the criteria - ANSWERED - match messages with the \\ANSWERED flag set + ANSWERED - match messages with the \\ANSWERED flag set - BCC "string" - match messages with "string" in the Bcc: field + BCC "string" - match messages with "string" in the Bcc: field - BEFORE "date" - match messages with Date: before "date" + BEFORE "date" - match messages with Date: before "date" - BODY "string" - match messages with "string" in the body of the message + BODY "string" - match messages with "string" in the body of the message - CC "string" - match messages with "string" in the Cc: field + CC "string" - match messages with "string" in the Cc: field - DELETED - match deleted messages + DELETED - match deleted messages - FLAGGED - match messages with the \\FLAGGED (sometimes - referred to as Important or Urgent) flag set + FLAGGED - match messages with the \\FLAGGED (sometimes + referred to as Important or Urgent) flag set - FROM "string" - match messages with "string" in the From: field + FROM "string" - match messages with "string" in the From: field - KEYWORD "string" - match messages with "string" as a keyword + KEYWORD "string" - match messages with "string" as a keyword - NEW - match new messages + NEW - match new messages - OLD - match old messages + OLD - match old messages - ON "date" - match messages with Date: matching "date" + ON "date" - match messages with Date: matching "date" - RECENT - match messages with the \\RECENT flag set + RECENT - match messages with the \\RECENT flag set - SEEN - match messages that have been read (the \\SEEN flag is set) + SEEN - match messages that have been read (the \\SEEN flag is set) - SINCE "date" - match messages with Date: after "date" + SINCE "date" - match messages with Date: after "date" - SUBJECT "string" - match messages with "string" in the Subject: + SUBJECT "string" - match messages with "string" in the Subject: - TEXT "string" - match messages with text "string" + TEXT "string" - match messages with text "string" - TO "string" - match messages with "string" in the To: + TO "string" - match messages with "string" in the To: - UNANSWERED - match messages that have not been answered + UNANSWERED - match messages that have not been answered - UNDELETED - match messages that are not deleted + UNDELETED - match messages that are not deleted - UNFLAGGED - match messages that are not flagged + UNFLAGGED - match messages that are not flagged - UNKEYWORD "string" - match messages that do not have the - keyword "string" + UNKEYWORD "string" - match messages that do not have the + keyword "string" - UNSEEN - match messages which have not been read yet + UNSEEN - match messages which have not been read yet @@ -2530,8 +2530,8 @@ print imap_rfc822_write_address("hartmut","cvs.php.net","Hartmut Holzgraefe")."\ $mbox = imap_open ("{your.imap.host:143}", "mailadmin", "password"); if(!imap_set_quota($mbox, "user.kalowsky", 3000)) { - print "Error in setting quota\n"; - return; + print "Error in setting quota\n"; + return; } imap_close($mbox); @@ -2671,37 +2671,37 @@ SE_NOPREFETCH Don't prefetch searched messages. - SA_MESSAGES - set status->messages to the number of messages - in the mailbox + SA_MESSAGES - set status->messages to the number of messages + in the mailbox - SA_RECENT - set status->recent to the number of recent - messages in the mailbox + SA_RECENT - set status->recent to the number of recent + messages in the mailbox - SA_UNSEEN - set status->unseen to the number of unseen (new) - messages in the mailbox + SA_UNSEEN - set status->unseen to the number of unseen (new) + messages in the mailbox - SA_UIDNEXT - set status->uidnext to the next uid to be used in - the mailbox + SA_UIDNEXT - set status->uidnext to the next uid to be used in + the mailbox - SA_UIDVALIDITY - set status->uidvalidity to a constant that - changes when uids for the mailbox may no longer be valid + SA_UIDVALIDITY - set status->uidvalidity to a constant that + changes when uids for the mailbox may no longer be valid - SA_ALL - set all of the above + SA_ALL - set all of the above diff --git a/functions/info.xml b/functions/info.xml index 10f51da2c8..f0867fd999 100644 --- a/functions/info.xml +++ b/functions/info.xml @@ -1,5 +1,5 @@ - + PHP options & information PHP options/info @@ -49,26 +49,26 @@ described in that functions manual page. - The assert_options function and/or - ASSERT_CALLBACK configuration directive allow a callback - function to be set to handle failed assertions. - - - assert callbacks are particularly - useful for building automated test suites because they - allow you to easily capture the code passed to the - assertion, along with information on where the assertion - was made. While this information can be captured via other - methods, using assertions makes it much faster and easier! - - - The callback function should accept three arguments. The first - argument will contain the file the assertion failed in. The second - argument will contain the line the assertion failed on and the - third argument will contain the expression that failed (if any - literal - values such as 1 or "two" will not be passed via this argument) - - + The assert_options function and/or + ASSERT_CALLBACK configuration directive allow a callback + function to be set to handle failed assertions. + + + assert callbacks are particularly + useful for building automated test suites because they + allow you to easily capture the code passed to the + assertion, along with information on where the assertion + was made. While this information can be captured via other + methods, using assertions makes it much faster and easier! + + + The callback function should accept three arguments. The first + argument will contain the file the assertion failed in. The second + argument will contain the line the assertion failed on and the + third argument will contain the expression that failed (if any - literal + values such as 1 or "two" will not be passed via this argument) + + Handle a failed assertion with a custom handler @@ -80,10 +80,10 @@ assert_options (ASSERT_QUIET_EVAL, 1); // Create a handler function function my_assert_handler ($file, $line, $code) { - echo "<hr>Assertion Failed: - File '$file'<br> - Line '$line'<br> - Code '$code'<br><hr>"; + echo "<hr>Assertion Failed: + File '$file'<br> + Line '$line'<br> + Code '$code'<br><hr>"; } // Set up the callback diff --git a/functions/ingres_ii.xml b/functions/ingres_ii.xml index 11c5bd0a81..877b337f5f 100755 --- a/functions/ingres_ii.xml +++ b/functions/ingres_ii.xml @@ -1,5 +1,5 @@ - + Ingres II functions Ingres II @@ -252,22 +252,22 @@ - close (see ingres_close) + close (see ingres_close) - commit (see ingres_commit) + commit (see ingres_commit) - connect (see ingres_connect) + connect (see ingres_connect) - disconnect (see ingres_close) + disconnect (see ingres_close) diff --git a/functions/mail.xml b/functions/mail.xml index f345f3609b..4eb77bd395 100644 --- a/functions/mail.xml +++ b/functions/mail.xml @@ -1,5 +1,5 @@ - + Mail functions Mail @@ -37,12 +37,12 @@ specified in to. Multiple recipients can be specified by putting a comma between each address in to. Email with attachments and special - types of content can be sent using this function. This is - accomplished via MIME-encoding - for more information, see - http://www.zend.com/zend/spotlight/sendmimeemailpart1.php or - RFC 1896 (Visit http://www.rfc-editor.org/). + types of content can be sent using this function. This is + accomplished via MIME-encoding - for more information, see + http://www.zend.com/zend/spotlight/sendmimeemailpart1.php or + RFC 1896 (Visit http://www.rfc-editor.org/). mail returns &true; if the mail diff --git a/functions/mbstring.xml b/functions/mbstring.xml index 309e952ed7..b49a6a68d2 100644 --- a/functions/mbstring.xml +++ b/functions/mbstring.xml @@ -1,5 +1,5 @@ - + Multi-Byte String Functions @@ -46,18 +46,18 @@ - Per byte encoding + Per byte encoding - Single byte characters in range of 00h-7fh - which is compatible with ASCII + Single byte characters in range of 00h-7fh + which is compatible with ASCII - Multi-byte characters without 00h-7fh + Multi-byte characters without 00h-7fh @@ -117,21 +117,21 @@ JIS, SJIS - - : Enable - mbstring functions. This option is - required to use mbstring functions. - + + : Enable + mbstring functions. This option is + required to use mbstring functions. + - - : - Enable HTTP input character encoding conversion using - mbstring conversion engine. If this - feature is enabled, HTTP input character encoding may be - converted to mbstring.internal_encoding - automatically. - + + : + Enable HTTP input character encoding conversion using + mbstring conversion engine. If this + feature is enabled, HTTP input character encoding may be + converted to mbstring.internal_encoding + automatically. + @@ -155,50 +155,50 @@ JIS, SJIS - - HTTP Input - - There is no way to control HTTP input character - conversion from PHP script. To disable HTTP input character - conversion, it has to be done in php.ini. - - - Disable HTTP input conversion in php.ini - - + + HTTP Input + + There is no way to control HTTP input character + conversion from PHP script. To disable HTTP input character + conversion, it has to be done in php.ini. + + + Disable HTTP input conversion in php.ini + + ;; Disable HTTP Input conversion mbstring.http_input = pass - - - - - When using PHP as an Apache module, it is possible to - override PHP ini setting per Virtual Host in - httpd.conf or per directory with - .htaccess. Refer to the Configuration section and - Apache Manual for details. - + + + + + When using PHP as an Apache module, it is possible to + override PHP ini setting per Virtual Host in + httpd.conf or per directory with + .htaccess. Refer to the Configuration section and + Apache Manual for details. + - - HTTP Output - - - There are several ways to enable output character encoding - conversion. One is using php.ini, another - is using ob_start with - mb_output_handler as - ob_start callback function. - - - - For PHP3-i18n users, mbstring's output - conversion differs from PHP3-i18n. Character encoding is - converted using output buffer. - - + + HTTP Output + + + There are several ways to enable output character encoding + conversion. One is using php.ini, another + is using ob_start with + mb_output_handler as + ob_start callback function. + + + + For PHP3-i18n users, mbstring's output + conversion differs from PHP3-i18n. Character encoding is + converted using output buffer. + + @@ -305,35 +305,35 @@ ob_start('mb_output_handler'); - - mbstring.internal_encoding defines default - internal character encoding. - + + mbstring.internal_encoding defines default + internal character encoding. + - - mbstring.http_input defines default HTTP - input character encoding. - + + mbstring.http_input defines default HTTP + input character encoding. + - - mbstring.http_output defines default HTTP - output character encoding. - + + mbstring.http_output defines default HTTP + output character encoding. + - - mbstring.detect_order defines default - character code detection order. See also - mb_detect_order. - + + mbstring.detect_order defines default + character code detection order. See also + mb_detect_order. + - - mbstring.substitute_character defines - character to substitute for invalid character encoding. - + + mbstring.substitute_character defines + character to substitute for invalid character encoding. + @@ -369,7 +369,7 @@ mbstring.internal_encoding = UTF-8 ; Set internal encoding to UTF-8 ;; Note: Script cannot change http_input setting. mbstring.http_input = pass ; No conversion. mbstring.http_input = auto ; Set HTTP input to auto - ; "auto" is expanded to "ASCII,JIS,UTF-8,EUC-JP,SJIS" + ; "auto" is expanded to "ASCII,JIS,UTF-8,EUC-JP,SJIS" mbstring.http_input = SJIS ; Set HTTP2 input to SJIS mbstring.http_input = UTF-8,SJIS,EUC-JP ; Specify order @@ -457,33 +457,33 @@ mbstring.substitute_character = none - Storage for a character can be up to four - bytes + Storage for a character can be up to four + bytes - - A multi-byte character is usually twice of the width compared - to single-byte characters. Wider characters are called - "zen-kaku" - meaning full width, narrower characters are - called "han-kaku" - meaning half width. "zen-kaku" characters - are usually fixed width. - + + A multi-byte character is usually twice of the width compared + to single-byte characters. Wider characters are called + "zen-kaku" - meaning full width, narrower characters are + called "han-kaku" - meaning half width. "zen-kaku" characters + are usually fixed width. + - - Some character encoding defines shift(escape) sequence for - entering/exiting multi-byte character strings. - + + Some character encoding defines shift(escape) sequence for + entering/exiting multi-byte character strings. + - - ISO-2022-JP must be used for SMTP/NNTP. - + + ISO-2022-JP must be used for SMTP/NNTP. + - - "i-mode" web site is supposed to use SJIS. - + + "i-mode" web site is supposed to use SJIS. + @@ -498,23 +498,23 @@ mbstring.substitute_character = none further readings. - - Unicode/UTF/UCS/etc - - - http://www.unicode.org/ - + + Unicode/UTF/UCS/etc + + + http://www.unicode.org/ + - - Japanese/Korean/Chinese character - information - - - - ftp://ftp.ora.com/pub/examples/nutshell/ujip/doc/cjk.inf - - + + Japanese/Korean/Chinese character + information + + + + ftp://ftp.ora.com/pub/examples/nutshell/ujip/doc/cjk.inf + + @@ -540,7 +540,7 @@ mbstring.substitute_character = none language - &warn.experimental.func; + &warn.experimental.func; mb_language sets language. If language is omitted, it returns current @@ -593,7 +593,7 @@ mbstring.substitute_character = none - &warn.experimental.func; + &warn.experimental.func; mb_parse_str parses GET/POST/COOKIE data and sets global variables. Since PHP does not provide raw POST/COOKIE @@ -636,7 +636,7 @@ mbstring.substitute_character = none encoding - &warn.experimental.func; + &warn.experimental.func; mb_internal_encoding sets internal character encoding to encoding If parameter is @@ -693,7 +693,7 @@ echo mb_internal_encoding(); - &warn.experimental.func; + &warn.experimental.func; mb_http_input returns result of HTTP input character encoding detection. @@ -732,7 +732,7 @@ echo mb_internal_encoding(); - &warn.experimental.func; + &warn.experimental.func; If encoding is set, mb_http_output sets HTTP output character @@ -772,7 +772,7 @@ echo mb_internal_encoding(); - &warn.experimental.func; + &warn.experimental.func; mb_detect_order sets automatic character encoding detection order to encoding-list. @@ -870,7 +870,7 @@ echo implode(", ", mb_detect_order()); - &warn.experimental.func; + &warn.experimental.func; mb_substitute_character specifies substitution character when input character encoding is invalid @@ -888,13 +888,13 @@ echo implode(", ", mb_detect_order()); - "none" : no output + "none" : no output - "long" : Output character code value (Example: - U+3000,JIS+7E7E) + "long" : Output character code value (Example: + U+3000,JIS+7E7E) @@ -940,7 +940,7 @@ echo mb_substitute_character(); int status - &warn.experimental.func; + &warn.experimental.func; mb_output_handler is ob_start callback @@ -1012,7 +1012,7 @@ ob_start("mb_output_handler"); string encoding - &warn.experimental.func; + &warn.experimental.func; mb_preferred_mime_name returns MIME charset string for character encoding @@ -1049,7 +1049,7 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)) - &warn.experimental.func; + &warn.experimental.func; mb_strlen returns number of characters in string str having character encoding @@ -1090,7 +1090,7 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)) - &warn.experimental.func; + &warn.experimental.func; mb_strpos returns the numeric position of the first occurrence of needle in the @@ -1147,7 +1147,7 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)) - &warn.experimental.func; + &warn.experimental.func; mb_strrpos returns the numeric position of the last occurrence of needle in the @@ -1200,7 +1200,7 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)) - &warn.experimental.func; + &warn.experimental.func; mb_substr returns the portion of str specified by the @@ -1250,7 +1250,7 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)) - &warn.experimental.func; + &warn.experimental.func; mb_strcut returns the portion of str specified by the @@ -1297,7 +1297,7 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)) - &warn.experimental.func; + &warn.experimental.func; mb_strwidth returns width of string str. @@ -1349,7 +1349,7 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)) - &warn.experimental.func; + &warn.experimental.func; mb_strimwidth truncates string str to specified @@ -1403,7 +1403,7 @@ $str = mb_strimwidth($str, 0, 40, "..>"); - &warn.experimental.func; + &warn.experimental.func; mb_convert_encoding converts character encoding of string str from @@ -1459,7 +1459,7 @@ $str = mb_convert_encoding($str, "EUC-JP", "auto"); - &warn.experimental.func; + &warn.experimental.func; mb_detect_encoding detects character encoding in string str. It returns @@ -1520,7 +1520,7 @@ echo mb_detect_encoding($str, $ary); - &warn.experimental.func; + &warn.experimental.func; mb_convert_kana performs "han-kaku" - "zen-kaku" conversion for string str. It @@ -1599,7 +1599,7 @@ $str = mb_convert_kana($str, "KVa"); - &warn.experimental.func; + &warn.experimental.func; mb_encode_mimeheader converts string str to encoded-word for header field. @@ -1650,7 +1650,7 @@ echo $addr; string str - &warn.experimental.func; + &warn.experimental.func; mb_decode_mimeheader decodes encoded-word string str in MIME header. @@ -1679,7 +1679,7 @@ echo $addr; mixed vars - &warn.experimental.func; + &warn.experimental.func; mb_convert_variables convert character encoding of variables vars in @@ -1738,7 +1738,7 @@ $inputenc = mb_convert_variables($interenc, "ASCII,UTF-8,SJIS-win", $post1, $pos - &warn.experimental.func; + &warn.experimental.func; mb_encode_numericentity converts specified character codes in string str @@ -1819,7 +1819,7 @@ $str = mb_encode_numericentity($str, $convmap, "sjis-win"); - &warn.experimental.func; + &warn.experimental.func; Convert numeric string reference of string str in specified block to character. It @@ -1877,7 +1877,7 @@ $convmap = array ( - &warn.experimental.func; + &warn.experimental.func; mb_send_mail sends email. Headers and message are converted and encoded according to