cvs: phpdoc /en language-snippets.ent /en/language/control-structures foreach.xml /en/reference/imap/functions imap-check.xml
| From: | Nilgün Belma Bugüner | Date: | Tue, 21 Apr 2009 08:44:34 +0000 |
| Subject: | cvs: phpdoc /en language-snippets.ent /en/language/control-structures foreach.xml /en/reference/imap/functions imap-check.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3834@lists.php.net to get a copy of this message | ||
nilgun Tue Apr 21 08:44:34 2009 UTC
Modified files:
/phpdoc/en/language/control-structures foreach.xml
/phpdoc/en language-snippets.ent
/phpdoc/en/reference/imap/functions imap-check.xml
Log:
Fixed build
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/foreach.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/language/control-structures/foreach.xml diff -u phpdoc/en/language/control-structures/foreach.xml:1.2 phpdoc/en/language/control-structures/foreach.xml:1.3 --- phpdoc/en/language/control-structures/foreach.xml:1.2 Tue Apr 21 03:18:39 2009 +++ phpdoc/en/language/control-structures/foreach.xml Tue Apr 21 08:44:34 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect1 xml:id="control-structures.foreach" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title><literal>foreach</literal></title> @@ -89,6 +89,7 @@ ?> ]]> + </programlisting> </para> <warning> <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.260&r2=1.261&diff_format=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.260 phpdoc/en/language-snippets.ent:1.261 --- phpdoc/en/language-snippets.ent:1.260 Tue Apr 21 05:48:47 2009 +++ phpdoc/en/language-snippets.ent Tue Apr 21 08:44:34 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.260 $ --> +<!-- $Revision: 1.261 $ --> <!-- Keep 'em sorted --> @@ -8,8 +8,8 @@ <!ENTITY note.bin-safe '<note><simpara>This function is binary-safe.</simpara></note>'> -<!ENTITY note.clearstatcache '<note><simpara>The results of this -function are cached. See <function>clearstatcache</function> for +<!ENTITY note.clearstatcache '<note><simpara>The results of this +function are cached. See <function>clearstatcache</function> for more details.</simpara></note>'> <!ENTITY note.context-support '<note><simpara>Context support was added @@ -36,7 +36,7 @@ <link linkend="ini.auto-detect-line-endings">auto_detect_line_endings</link> run-time configuration option may help resolve the problem.</simpara></note>'> -<!ENTITY note.no-remote '<note><simpara>This function will not work on +<!ENTITY note.no-remote '<note><simpara>This function will not work on <link linkend="features.remote-files">remote files</link> as the file to be examined must be accessible via the server's filesystem.</simpara></note>'> @@ -54,8 +54,8 @@ <!ENTITY note.no-windows.extension '<note><simpara>This extension is not available on Windows platforms.</simpara></note>'> -<!ENTITY note.randomseed '<note><simpara>As of PHP 4.2.0, there is no need -to seed the random number generator with <function>srand</function> or +<!ENTITY note.randomseed '<note><simpara>As of PHP 4.2.0, there is no need +to seed the random number generator with <function>srand</function> or <function>mt_srand</function> as this is now done automatically. </simpara></note>'> @@ -68,7 +68,7 @@ <!ENTITY note.is-superglobal "<note><para>This is a 'superglobal', or automatic global, variable. This simply means that it is available in -all scopes throughout a script. There is no need to do +all scopes throughout a script. There is no need to do <command>global $variable;</command> to access it within functions or methods. </para></note>"> @@ -82,7 +82,7 @@ with this parameter so it can not be used inside an <function>ob_start</function> callback function.</para></note>'> -<!ENTITY note.filesystem-time-res '<note><para>Note that time resolution may differ +<!ENTITY note.filesystem-time-res '<note><para>Note that time resolution may differ from one file system to another.</para></note>'> <!-- Tips --> @@ -95,8 +95,8 @@ URL protocols.</simpara></tip>'> <!ENTITY tip.fopen-wrapper.stat '<tip><simpara>As of PHP 5.0.0, this function -can also be used with <emphasis>some</emphasis> URL wrappers. Refer to -<xref linkend="wrappers"/> for a listing of which wrappers support +can also be used with <emphasis>some</emphasis> URL wrappers. Refer to +<xref linkend="wrappers"/> for a listing of which wrappers support <function>stat</function> family of functionality.</simpara></tip>'> <!ENTITY tip.ob-capture '<tip><simpara>As with anything that outputs @@ -192,34 +192,34 @@ <!ENTITY example.outputs.64bit '<para>Output of the above example on 64 bit machines:</para>'> -<!ENTITY example.outputs.similar '<para>The above example will output +<!ENTITY example.outputs.similar '<para>The above example will output something similar to:</para>'> -<!ENTITY array.resetspointer '<note><simpara>This function will -<function>reset</function> the <type>array</type> pointer after +<!ENTITY array.resetspointer '<note><simpara>This function will +<function>reset</function> the <type>array</type> pointer after use.</simpara></note>'> <!ENTITY seealso.array.sorting 'The <link linkend="array.sorting">comparison of array sorting functions</link>'> <!ENTITY seealso.callback 'information about the <link linkend="language.types.callback">callback</link> type'> -<!ENTITY avail.register-long-arrays 'As of PHP 5.0.0, the long PHP +<!ENTITY avail.register-long-arrays 'As of PHP 5.0.0, the long PHP <link linkend="language.variables.predefined">predefined variable</link> -arrays may be disabled with the +arrays may be disabled with the <link linkend="ini.register-long-arrays">register_long_arrays</link> directive.'> -<!ENTITY ini.shorthandbytes '<simpara>When an <type>integer</type> is used, the -value is measured in bytes. Shorthand notation, as described +<!ENTITY ini.shorthandbytes '<simpara>When an <type>integer</type> is used, the +value is measured in bytes. Shorthand notation, as described in <link linkend="faq.using.shorthandbytes">this FAQ</link>, may also be used. </simpara>'> -<!ENTITY info.deprecated.alias 'For backward compatibility, the following +<!ENTITY info.deprecated.alias 'For backward compatibility, the following deprecated alias may be used: '> <!ENTITY info.function.alias 'This function is an alias of: '> -<!ENTITY info.function.alias.deprecated '<simpara>This function alias is +<!ENTITY info.function.alias.deprecated '<simpara>This function alias is deprecated and only exists for backwards compatibility reasons. The use of this function is not recommended, as it may be removed from PHP in the future. </simpara>'> @@ -232,7 +232,7 @@ on Windows</link>". Although copying DLL files from the PHP folder into the Windows system directory also works (because the system directory is by default in the system's -<literal>PATH</literal>), this is not recommended. +<literal>PATH</literal>), this is not recommended. <emphasis>This extension requires the following files to be in the <literal>PATH</literal>:</emphasis> '> @@ -270,14 +270,14 @@ <!-- Image (GD) Notes --> -<!ENTITY note.config.t1lib '<note><simpara>This function is only available +<!ENTITY note.config.t1lib '<note><simpara>This function is only available if PHP is compiled using <option role="configure">--with-t1lib[=DIR]</option>. </simpara></note>'> -<!ENTITY note.config.jpeg '<note><simpara>JPEG support is only available if +<!ENTITY note.config.jpeg '<note><simpara>JPEG support is only available if PHP was compiled against GD-1.8 or later.</simpara></note>'> -<!ENTITY note.config.wbmp '<note><simpara>WBMP support is only available if +<!ENTITY note.config.wbmp '<note><simpara>WBMP support is only available if PHP was compiled against GD-1.8 or later.</simpara></note>'> <!ENTITY note.bundled.gd '<note><simpara>This function is only available if @@ -292,11 +292,11 @@ <!ENTITY note.gd.notrequired '<note><para>This function does not require the GD image library.</para></note>'> <!ENTITY gd.image.description '<varlistentry><term><parameter> -image</parameter></term><listitem><para>An image resource, returned by one of the image creation functions, +image</parameter></term><listitem><para>An image resource, returned by one of the image creation functions, such as <function>imagecreatetruecolor</function>.</para></listitem></varlistentry>'> <!ENTITY gd.font.description '<varlistentry><term><parameter> -font</parameter></term><listitem><para>Can be 1, 2, 3, 4, 5 for built-in +font</parameter></term><listitem><para>Can be 1, 2, 3, 4, 5 for built-in fonts in latin2 encoding (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with <function>imageloadfont</function>. </para></listitem></varlistentry>'> @@ -310,45 +310,46 @@ <!-- cURL notes --> <!ENTITY curl.ch.description '<varlistentry><term><parameter>ch</parameter> -</term><listitem><para>A cURL handle returned by +</term><listitem><para>A cURL handle returned by <function>curl_init</function>.</para></listitem></varlistentry>'> <!ENTITY curl.mh.description '<varlistentry><term><parameter>mh</parameter> -</term><listitem><para>A cURL multi handle returned by +</term><listitem><para>A cURL multi handle returned by <function>curl_multi_init</function>.</para></listitem></varlistentry>'> <!-- IMAP notes --> <!ENTITY imap.imap-stream.description '<varlistentry><term><parameter> -imap_stream</parameter></term><listitem><para>An IMAP stream returned by +imap_stream</parameter></term><listitem><para>An IMAP stream returned by <function>imap_open</function>.</para></listitem></varlistentry>'> <!ENTITY imap.pattern '<para>Specifies where in the mailbox hierarchy to start searching.</para><para>There are two special characters you can -pass as part of the <parameter>pattern</parameter>: '<literal>*</literal>' -and '<literal>%</literal>'. '<literal>*</literal>' means to return all -mailboxes. If you pass <parameter>pattern</parameter> as '<literal>*</literal>', -you will get a list of the entire mailbox hierarchy. '<literal>%</literal>' -means to return the current level only. '<literal>%</literal>' as the -<parameter>pattern</parameter> parameter will return only the top level -mailboxes; '<literal>~/mail/%</literal>' on <literal>UW_IMAPD</literal> will -return every mailbox in the <filename>~/mail</filename> directory, but none -in subfolders of that directory.</para>'> +pass as part of the <parameter>pattern</parameter>: +'<literal>*</literal>' and '<literal>%</literal>'. +'<literal>*</literal>' means to return all mailboxes. If you pass +<parameter>pattern</parameter> as '<literal>*</literal>', you will +get a list of the entire mailbox hierarchy. +'<literal>%</literal>' +means to return the current level only. +'<literal>%</literal>' as the <parameter>pattern</parameter> +parameter will return only the top level +mailboxes; '<literal>~/mail/%</literal>' on <literal>UW_IMAPD</literal> will return every mailbox in the <filename>~/mail</filename> directory, but none in subfolders of that directory.</para>'> <!-- mbstring notes --> -<!ENTITY note.mbstring.encoding.internal '<note><para>The internal encoding or the -character encoding specified by <function>mb_regex_encoding</function> +<!ENTITY note.mbstring.encoding.internal '<note><para>The internal encoding or the +character encoding specified by <function>mb_regex_encoding</function> will be used as the character encoding for this function.</para></note>'> -<!ENTITY mbstring.encoding.parameter '<para>The <parameter>encoding</parameter> -parameter is the character encoding. If it is omitted, the internal character +<!ENTITY mbstring.encoding.parameter '<para>The <parameter>encoding</parameter> +parameter is the character encoding. If it is omitted, the internal character encoding value will be used.</para>'> <!-- MCVE notes --> <!ENTITY mcve.conn.description '<varlistentry><term><parameter> -conn</parameter></term><listitem><para>An MCVE_CONN resource returned by +conn</parameter></term><listitem><para>An MCVE_CONN resource returned by <function>m_initengine</function>.</para></listitem></varlistentry>'> <!-- memcached notes --> @@ -384,21 +385,21 @@ <!ENTITY date.timezone.errors.description '<para> -Every call to a date/time function will generate a <constant>E_NOTICE</constant> +Every call to a date/time function will generate a <constant>E_NOTICE</constant> if the time zone is not valid, and/or a <constant>E_STRICT</constant> message if using the system settings or the <varname>TZ</varname> environment variable. See also <function>date_default_timezone_set</function></para>'> <!ENTITY date.timezone.errors.changelog '<row><entry>5.1.0</entry><entry><para> -Now issues the <constant>E_STRICT</constant> and <constant>E_NOTICE</constant> +Now issues the <constant>E_STRICT</constant> and <constant>E_NOTICE</constant> time zone errors.</para></entry></row>'> <!ENTITY date.timestamp.description ' <varlistentry><term><parameter>timestamp</parameter></term><listitem><para> -The optional <parameter>timestamp</parameter> parameter is an +The optional <parameter>timestamp</parameter> parameter is an <type>integer</type> Unix timestamp that defaults to the current -local time if a <parameter>timestamp</parameter> is not given. In other -words, it defaults to the value of <function>time</function>. +local time if a <parameter>timestamp</parameter> is not given. In other +words, it defaults to the value of <function>time</function>. </para></listitem></varlistentry>'> <!ENTITY date.datetime.description '<varlistentry><term><parameter>object</parameter></term> @@ -409,7 +410,7 @@ object</parameter></term><listitem><para>Procedural style only: A <classname>DateTimeZone</classname> object returned by <function>timezone_open</function></para></listitem></varlistentry>'> -<!ENTITY date.datetime.retval.changelog '<row><entry>5.3.0</entry><entry>Changed the +<!ENTITY date.datetime.retval.changelog '<row><entry>5.3.0</entry><entry>Changed the return value from &null; to <classname>DateTime</classname>.</entry></row>'> <!-- DomXml Notes --> @@ -418,8 +419,8 @@ <!-- Dom Notes --> -<!ENTITY dom.node.inserted 'This node will not show up in the document unless -it is inserted with (e.g.) <link +<!ENTITY dom.node.inserted 'This node will not show up in the document unless +it is inserted with (e.g.) <link linkend="domnode.appendchild">DOMNode->appendChild()</link>.'> @@ -433,7 +434,7 @@ that is typically created using <function>fopen</function>.</para>'> <!-- GNUPG --> -<!ENTITY gnupg.identifier '<para>The gnupg identifier, from a call to +<!ENTITY gnupg.identifier '<para>The gnupg identifier, from a call to <function>gnupg_init</function> or <classname>gnupg</classname>.</para>'> <!ENTITY gnupg.fingerprint '<para>The fingerprint key.</para>'> @@ -455,8 +456,8 @@ and the <literal>NLS_LANG</literal> environment variable will be used instead. </para>"> -<!ENTITY oci.datatypes '<para>For details on the data type mapping performed by -the oci8 driver, see the <link linkend="oci8.datatypes">datatypes +<!ENTITY oci.datatypes '<para>For details on the data type mapping performed by +the oci8 driver, see the <link linkend="oci8.datatypes">datatypes supported by the driver</link></para>'> <!-- PCNTL Notes --> @@ -478,33 +479,33 @@ <!-- Notes for safe-mode limited functions: --> <!ENTITY note.sm.disabled '<note><simpara>&sm.disabled;</simpara></note>'> -<!ENTITY note.sm.uidcheck '<note><simpara>When <link -linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether -the files or directories being operated upon have the same UID (owner) as the +<!ENTITY note.sm.uidcheck '<note><simpara>When <link +linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether +the files or directories being operated upon have the same UID (owner) as the script that is being executed.</simpara></note>'> -<!ENTITY note.sm.uidcheck.dir '<note><simpara>When <link -linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether -the directory in which the script is operating has the same UID (owner) as the +<!ENTITY note.sm.uidcheck.dir '<note><simpara>When <link +linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether +the directory in which the script is operating has the same UID (owner) as the script that is being executed.</simpara></note>'> -<!ENTITY note.open-basedir.func '<note><para>This function is affected by <link +<!ENTITY note.open-basedir.func '<note><para>This function is affected by <link linkend="ini.open-basedir">open_basedir</link>.</para></note>'> -<!ENTITY note.language-construct '<note><simpara>Because this is a -language construct and not a function, it cannot be called using +<!ENTITY note.language-construct '<note><simpara>Because this is a +language construct and not a function, it cannot be called using <link linkend="functions.variable-functions">variable functions</link></simpara> </note>'> -<!-- Common pieces in features/safe-mode.xml - Jade doesn't allow in-line entities, so I put them here... Though they +<!-- Common pieces in features/safe-mode.xml + Jade doesn't allow in-line entities, so I put them here... Though they should have been inline in safe-mode.xml --> <!ENTITY sm.uidcheck 'Checks whether the files or directories being operated upon have the same UID (owner) as the script that is being executed.'> <!ENTITY warn.sm.exec '<warning><simpara>With <link linkend="features.safe-mode">safe mode</link> enabled, -the command string is escaped with <function>escapeshellcmd</function>. Thus, +the command string is escaped with <function>escapeshellcmd</function>. Thus, <literal>echo y | echo x</literal> becomes <literal>echo y \| echo x</literal>.</simpara></warning>'> <!ENTITY note.exec-path '<note><simpara>When @@ -517,7 +518,7 @@ the script is operating has the same UID (owner) as the script that is being executed.'> -<!ENTITY sm.disabled 'This function is disabled when PHP is running in <link +<!ENTITY sm.disabled 'This function is disabled when PHP is running in <link linkend="features.safe-mode">safe mode</link>.'> <!-- Common pieces in partintro-sections --> @@ -539,7 +540,7 @@ The behaviour of these functions is affected by settings in &php.ini;. </simpara>'> -<!ENTITY ini.php.constants 'For further details and definitions of the +<!ENTITY ini.php.constants 'For further details and definitions of the PHP_INI_* modes, see the <xref linkend="configuration.changes.modes"/>.'> <!-- Used in reference/$extname/constants.xml --> @@ -582,7 +583,7 @@ is bundled with PHP.'> <!ENTITY pecl.info 'Information for installing this PECL extension may be -found in the manual chapter titled <link linkend="install.pecl">Installation +found in the manual chapter titled <link linkend="install.pecl">Installation of PECL extensions</link>. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: '> @@ -597,16 +598,16 @@ <!ENTITY pecl.windows.download ' The <acronym>DLL</acronym> for this <acronym>PECL</acronym> extension -may be downloaded from either the -<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.php.downloads;">PHP Downloads</link> page or from +may be downloaded from either the +<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.php.downloads;">PHP Downloads</link> page or from <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl.win;">&url.pecl.win;</link>'> -<!ENTITY pecl.windows.download.unbundled 'Unbundled <acronym>PECL</acronym> +<!ENTITY pecl.windows.download.unbundled 'Unbundled <acronym>PECL</acronym> extensions may be downloaded from: <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl.win;">&url.pecl.win;</link>'> -<!ENTITY pecl.moved-ver 'This extension has been moved to the -<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl;">PECL</link> repository and is no longer bundled with +<!ENTITY pecl.moved-ver 'This extension has been moved to the +<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl;">PECL</link> repository and is no longer bundled with PHP as of PHP '> <!-- kept for BC --> @@ -629,9 +630,9 @@ <!-- APD Notes --> <!ENTITY apd.debug-level.description '<varlistentry><term><parameter> -debug_level</parameter></term><listitem><para>An integer which is formed by adding +debug_level</parameter></term><listitem><para>An integer which is formed by adding together the <literal>XXX_TRACE</literal> constants.</para><para>It is not recommended -to use <constant>MEMORY_TRACE</constant>. It is very slow and does not appear to be accurate. +to use <constant>MEMORY_TRACE</constant>. It is very slow and does not appear to be accurate. <constant>ASSIGNMENT_TRACE</constant> is not implemented yet.</para><para>To turn on all functional traces (TIMING, FUNCTIONS, ARGS SUMMARY (like strace -c)) use the value 99</para> </listitem></varlistentry>'> @@ -645,21 +646,21 @@ <!-- FBSQL Notes --> <!ENTITY fbsql.link-identifier.description '<varlistentry><term><parameter> link_identifier</parameter></term><listitem><para>A FrontBase link identifier -returned by <function>fbsql_connect</function> or +returned by <function>fbsql_connect</function> or <function>fbsql_pconnect</function>.</para><para>If optional and not specified, the function will try to find an open link to the FrontBase server and if no -such link is found it will try to create one as if +such link is found it will try to create one as if <function>fbsql_connect</function> was called with no arguments.</para> </listitem></varlistentry>'> <!ENTITY fbsql.result.description '<varlistentry><term><parameter> result</parameter></term><listitem><para>A result identifier -returned by <function>fbsql_query</function> or +returned by <function>fbsql_query</function> or <function>fbsql_db_query</function>.</para></listitem></varlistentry>'> <!-- GMP Notes --> <!ENTITY gmp.return 'A GMP number <type>resource</type>.'> -<!ENTITY gmp.parameter '<para>It can be either a GMP number <type>resource</type>, or a +<!ENTITY gmp.parameter '<para>It can be either a GMP number <type>resource</type>, or a numeric string given that it is possible to convert the latter to a number.</para>'> <!-- MySQLi Notes --> @@ -682,7 +683,7 @@ <link linkend="ref.nsapi">NSAPI server module</link> in Netscape/iPlanet/SunONE webservers, too.</para></note>'> -<!ENTITY apache.req.module '<simpara>This function is only supported when PHP +<!ENTITY apache.req.module '<simpara>This function is only supported when PHP is installed as an Apache module.</simpara>'> <!-- SimpleXML Notes --> @@ -704,7 +705,7 @@ value at its default, unless you are interoperating with databases created by other sqlite capable applications.</para>'> -<!ENTITY sqlite.no-unbuffered '<note><para>This function cannot be used with +<!ENTITY sqlite.no-unbuffered '<note><para>This function cannot be used with unbuffered result handles.</para></note>'> <!ENTITY sqlite.param-compat '<note><simpara>Two alternative syntaxes are @@ -738,19 +739,19 @@ <!ENTITY msql.result.description '<varlistentry><term><parameter> result</parameter></term><listitem><para>The result <type>resource</type> that -is being evaluated. This result comes from a call to +is being evaluated. This result comes from a call to <function>msql_query</function>.</para></listitem></varlistentry>'> <!ENTITY msql.field-offset.req.description '<varlistentry><term><parameter> -field_offset</parameter></term><listitem><para>The numerical field offset. The +field_offset</parameter></term><listitem><para>The numerical field offset. The <parameter>field_offset</parameter> starts at <literal>1</literal>.</para></listitem></varlistentry>'> <!-- MySQL Notes --> <!-- The mysql.*.description entities are used in the parameters refsect1 --> <!ENTITY mysql.linkid.description '<varlistentry><term><parameter> -link_identifier</parameter></term><listitem><para>The MySQL connection. If the -link identifier is not specified, the last link opened by +link_identifier</parameter></term><listitem><para>The MySQL connection. If the +link identifier is not specified, the last link opened by <function>mysql_connect</function> is assumed. If no such link is found, it will try to create one as if <function>mysql_connect</function> was called with no arguments. If by chance no connection is found or established, an @@ -759,12 +760,12 @@ <!ENTITY mysql.result.description '<varlistentry><term><parameter> result</parameter></term><listitem><para>The result <type>resource</type> that -is being evaluated. This result comes from a call to +is being evaluated. This result comes from a call to <function>mysql_query</function>.</para></listitem></varlistentry>'> <!ENTITY mysql.field-offset.req.description '<varlistentry><term><parameter> -field_offset</parameter></term><listitem><para>The numerical field offset. The -<parameter>field_offset</parameter> starts at <literal>0</literal>. If +field_offset</parameter></term><listitem><para>The numerical field offset. The +<parameter>field_offset</parameter> starts at <literal>0</literal>. If <parameter>field_offset</parameter> does not exist, an error of level <constant>E_WARNING</constant> is also issued.</para></listitem></varlistentry>'> @@ -777,8 +778,8 @@ using the DB library interface to Sybase, and not with the CT library.</simpara></note>'> <!ENTITY sybase.linkid.description '<varlistentry><term><parameter> -link_identifier</parameter></term><listitem><para>The Sybase connection. If the -link identifier is not specified, the last link opened by +link_identifier</parameter></term><listitem><para>The Sybase connection. If the +link identifier is not specified, the last link opened by <function>sybase_connect</function> is assumed. If no such link is found, it will try to create one as if <function>sybase_connect</function> was called with no arguments. If no connection is found or established, an @@ -803,7 +804,7 @@ <function>cpdf_open</function>.</para></listitem></varlistentry>'> <!-- Xattr entities --> -<!ENTITY xattr.namespace '<para>Extended attributes have two different namespaces: user +<!ENTITY xattr.namespace '<para>Extended attributes have two different namespaces: user and root. The user namespace is available to all users, while the root namespace is available only to users with root privileges. xattr operates on the user namespace by default, but this can be changed with the @@ -957,7 +958,7 @@ <!-- XMLWriter Notes --> <!ENTITY xmlwriter.xmlwriter.description '<varlistentry><term><parameter> -xmlwriter</parameter></term><listitem><para>Only for procedural calls. +xmlwriter</parameter></term><listitem><para>Only for procedural calls. The XMLWriter <type>resource</type> that is being modified. This resource comes from a call to <function>xmlwriter_open_uri</function> or <function>xmlwriter_open_memory</function>.</para></listitem></varlistentry>'> <!-- SOAP notes --> @@ -1045,7 +1046,7 @@ <!ENTITY xmlreader.libxml20620.note '<caution><para>This function is only available when PHP is compiled against libxml 20620 or later.</para></caution>'> <!-- inotify --> -<!ENTITY inotify.instance.description 'Resource returned by +<!ENTITY inotify.instance.description 'Resource returned by <function>inotify_init</function>'> <!-- User streams --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imap/functions/imap-check.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-check.xml diff -u phpdoc/en/reference/imap/functions/imap-check.xml:1.9 phpdoc/en/reference/imap/functions/imap-check.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-check.xml:1.9 Tue Apr 21 05:48:47 2009 +++ phpdoc/en/reference/imap/functions/imap-check.xml Tue Apr 21 08:44:34 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.imap-check" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>imap_check</refname> @@ -12,7 +12,7 @@ <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> </methodsynopsis> <para> - Checks information about the current mailbox. + Checks information about the current mailbox. </para> </refsect1> <refsect1 role="parameters"> @@ -30,34 +30,34 @@ <itemizedlist> <listitem> <simpara> - <constante>Date</constante> - current system time formatted according to <link + <constant>Date</constant> - current system time formatted according to <link xlink:href="&url.rfc;2822">RFC2822</link> </simpara> </listitem> <listitem> <simpara> - <constante>Driver</constante> - protocol used to access this mailbox: + <constant>Driver</constant> - protocol used to access this mailbox: <acronym>POP3</acronym>, <acronym>IMAP</acronym>, <acronym>NNTP</acronym> </simpara> </listitem> <listitem> <simpara> - <constante>Mailbox</constante> - the mailbox name + <constant>Mailbox</constant> - the mailbox name </simpara> </listitem> <listitem> <simpara> - <constante>Nmsgs</constante> - number of messages in the mailbox + <constant>Nmsgs</constant> - number of messages in the mailbox </simpara> </listitem> <listitem> <simpara> - <constante>Recent</constante> - number of recent messages in the mailbox + <constant>Recent</constant> - number of recent messages in the mailbox </simpara> </listitem> </itemizedlist> </para> - <para> + <para> Returns &false; on failure. </para> </refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/foreach.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/language/control-structures/foreach.xml diff -u phpdoc/en/language/control-structures/foreach.xml:1.2 phpdoc/en/language/control-structures/foreach.xml:1.3 --- phpdoc/en/language/control-structures/foreach.xml:1.2 Tue Apr 21 03:18:39 2009 +++ phpdoc/en/language/control-structures/foreach.xml Tue Apr 21 08:44:34 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect1 xml:id="control-structures.foreach" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title><literal>foreach</literal></title> @@ -89,6 +89,7 @@ ?> ]]> + </programlisting> </para> <warning> <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.260&r2=1.261&diff_format=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.260 phpdoc/en/language-snippets.ent:1.261 --- phpdoc/en/language-snippets.ent:1.260 Tue Apr 21 05:48:47 2009 +++ phpdoc/en/language-snippets.ent Tue Apr 21 08:44:34 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.260 $ --> +<!-- $Revision: 1.261 $ --> <!-- Keep 'em sorted --> @@ -8,8 +8,8 @@ <!ENTITY note.bin-safe '<note><simpara>This function is binary-safe.</simpara></note>'> -<!ENTITY note.clearstatcache '<note><simpara>The results of this -function are cached. See <function>clearstatcache</function> for +<!ENTITY note.clearstatcache '<note><simpara>The results of this +function are cached. See <function>clearstatcache</function> for more details.</simpara></note>'> <!ENTITY note.context-support '<note><simpara>Context support was added @@ -36,7 +36,7 @@ <link linkend="ini.auto-detect-line-endings">auto_detect_line_endings</link> run-time configuration option may help resolve the problem.</simpara></note>'> -<!ENTITY note.no-remote '<note><simpara>This function will not work on +<!ENTITY note.no-remote '<note><simpara>This function will not work on <link linkend="features.remote-files">remote files</link> as the file to be examined must be accessible via the server's filesystem.</simpara></note>'> @@ -54,8 +54,8 @@ <!ENTITY note.no-windows.extension '<note><simpara>This extension is not available on Windows platforms.</simpara></note>'> -<!ENTITY note.randomseed '<note><simpara>As of PHP 4.2.0, there is no need -to seed the random number generator with <function>srand</function> or +<!ENTITY note.randomseed '<note><simpara>As of PHP 4.2.0, there is no need +to seed the random number generator with <function>srand</function> or <function>mt_srand</function> as this is now done automatically. </simpara></note>'> @@ -68,7 +68,7 @@ <!ENTITY note.is-superglobal "<note><para>This is a 'superglobal', or automatic global, variable. This simply means that it is available in -all scopes throughout a script. There is no need to do +all scopes throughout a script. There is no need to do <command>global $variable;</command> to access it within functions or methods. </para></note>"> @@ -82,7 +82,7 @@ with this parameter so it can not be used inside an <function>ob_start</function> callback function.</para></note>'> -<!ENTITY note.filesystem-time-res '<note><para>Note that time resolution may differ +<!ENTITY note.filesystem-time-res '<note><para>Note that time resolution may differ from one file system to another.</para></note>'> <!-- Tips --> @@ -95,8 +95,8 @@ URL protocols.</simpara></tip>'> <!ENTITY tip.fopen-wrapper.stat '<tip><simpara>As of PHP 5.0.0, this function -can also be used with <emphasis>some</emphasis> URL wrappers. Refer to -<xref linkend="wrappers"/> for a listing of which wrappers support +can also be used with <emphasis>some</emphasis> URL wrappers. Refer to +<xref linkend="wrappers"/> for a listing of which wrappers support <function>stat</function> family of functionality.</simpara></tip>'> <!ENTITY tip.ob-capture '<tip><simpara>As with anything that outputs @@ -192,34 +192,34 @@ <!ENTITY example.outputs.64bit '<para>Output of the above example on 64 bit machines:</para>'> -<!ENTITY example.outputs.similar '<para>The above example will output +<!ENTITY example.outputs.similar '<para>The above example will output something similar to:</para>'> -<!ENTITY array.resetspointer '<note><simpara>This function will -<function>reset</function> the <type>array</type> pointer after +<!ENTITY array.resetspointer '<note><simpara>This function will +<function>reset</function> the <type>array</type> pointer after use.</simpara></note>'> <!ENTITY seealso.array.sorting 'The <link linkend="array.sorting">comparison of array sorting functions</link>'> <!ENTITY seealso.callback 'information about the <link linkend="language.types.callback">callback</link> type'> -<!ENTITY avail.register-long-arrays 'As of PHP 5.0.0, the long PHP +<!ENTITY avail.register-long-arrays 'As of PHP 5.0.0, the long PHP <link linkend="language.variables.predefined">predefined variable</link> -arrays may be disabled with the +arrays may be disabled with the <link linkend="ini.register-long-arrays">register_long_arrays</link> directive.'> -<!ENTITY ini.shorthandbytes '<simpara>When an <type>integer</type> is used, the -value is measured in bytes. Shorthand notation, as described +<!ENTITY ini.shorthandbytes '<simpara>When an <type>integer</type> is used, the +value is measured in bytes. Shorthand notation, as described in <link linkend="faq.using.shorthandbytes">this FAQ</link>, may also be used. </simpara>'> -<!ENTITY info.deprecated.alias 'For backward compatibility, the following +<!ENTITY info.deprecated.alias 'For backward compatibility, the following deprecated alias may be used: '> <!ENTITY info.function.alias 'This function is an alias of: '> -<!ENTITY info.function.alias.deprecated '<simpara>This function alias is +<!ENTITY info.function.alias.deprecated '<simpara>This function alias is deprecated and only exists for backwards compatibility reasons. The use of this function is not recommended, as it may be removed from PHP in the future. </simpara>'> @@ -232,7 +232,7 @@ on Windows</link>". Although copying DLL files from the PHP folder into the Windows system directory also works (because the system directory is by default in the system's -<literal>PATH</literal>), this is not recommended. +<literal>PATH</literal>), this is not recommended. <emphasis>This extension requires the following files to be in the <literal>PATH</literal>:</emphasis> '> @@ -270,14 +270,14 @@ <!-- Image (GD) Notes --> -<!ENTITY note.config.t1lib '<note><simpara>This function is only available +<!ENTITY note.config.t1lib '<note><simpara>This function is only available if PHP is compiled using <option role="configure">--with-t1lib[=DIR]</option>. </simpara></note>'> -<!ENTITY note.config.jpeg '<note><simpara>JPEG support is only available if +<!ENTITY note.config.jpeg '<note><simpara>JPEG support is only available if PHP was compiled against GD-1.8 or later.</simpara></note>'> -<!ENTITY note.config.wbmp '<note><simpara>WBMP support is only available if +<!ENTITY note.config.wbmp '<note><simpara>WBMP support is only available if PHP was compiled against GD-1.8 or later.</simpara></note>'> <!ENTITY note.bundled.gd '<note><simpara>This function is only available if @@ -292,11 +292,11 @@ <!ENTITY note.gd.notrequired '<note><para>This function does not require the GD image library.</para></note>'> <!ENTITY gd.image.description '<varlistentry><term><parameter> -image</parameter></term><listitem><para>An image resource, returned by one of the image creation functions, +image</parameter></term><listitem><para>An image resource, returned by one of the image creation functions, such as <function>imagecreatetruecolor</function>.</para></listitem></varlistentry>'> <!ENTITY gd.font.description '<varlistentry><term><parameter> -font</parameter></term><listitem><para>Can be 1, 2, 3, 4, 5 for built-in +font</parameter></term><listitem><para>Can be 1, 2, 3, 4, 5 for built-in fonts in latin2 encoding (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with <function>imageloadfont</function>. </para></listitem></varlistentry>'> @@ -310,45 +310,46 @@ <!-- cURL notes --> <!ENTITY curl.ch.description '<varlistentry><term><parameter>ch</parameter> -</term><listitem><para>A cURL handle returned by +</term><listitem><para>A cURL handle returned by <function>curl_init</function>.</para></listitem></varlistentry>'> <!ENTITY curl.mh.description '<varlistentry><term><parameter>mh</parameter> -</term><listitem><para>A cURL multi handle returned by +</term><listitem><para>A cURL multi handle returned by <function>curl_multi_init</function>.</para></listitem></varlistentry>'> <!-- IMAP notes --> <!ENTITY imap.imap-stream.description '<varlistentry><term><parameter> -imap_stream</parameter></term><listitem><para>An IMAP stream returned by +imap_stream</parameter></term><listitem><para>An IMAP stream returned by <function>imap_open</function>.</para></listitem></varlistentry>'> <!ENTITY imap.pattern '<para>Specifies where in the mailbox hierarchy to start searching.</para><para>There are two special characters you can -pass as part of the <parameter>pattern</parameter>: '<literal>*</literal>' -and '<literal>%</literal>'. '<literal>*</literal>' means to return all -mailboxes. If you pass <parameter>pattern</parameter> as '<literal>*</literal>', -you will get a list of the entire mailbox hierarchy. '<literal>%</literal>' -means to return the current level only. '<literal>%</literal>' as the -<parameter>pattern</parameter> parameter will return only the top level -mailboxes; '<literal>~/mail/%</literal>' on <literal>UW_IMAPD</literal> will -return every mailbox in the <filename>~/mail</filename> directory, but none -in subfolders of that directory.</para>'> +pass as part of the <parameter>pattern</parameter>: +'<literal>*</literal>' and '<literal>%</literal>'. +'<literal>*</literal>' means to return all mailboxes. If you pass +<parameter>pattern</parameter> as '<literal>*</literal>', you will +get a list of the entire mailbox hierarchy. +'<literal>%</literal>' +means to return the current level only. +'<literal>%</literal>' as the <parameter>pattern</parameter> +parameter will return only the top level +mailboxes; '<literal>~/mail/%</literal>' on <literal>UW_IMAPD</literal> will return every mailbox in the <filename>~/mail</filename> directory, but none in subfolders of that directory.</para>'> <!-- mbstring notes --> -<!ENTITY note.mbstring.encoding.internal '<note><para>The internal encoding or the -character encoding specified by <function>mb_regex_encoding</function> +<!ENTITY note.mbstring.encoding.internal '<note><para>The internal encoding or the +character encoding specified by <function>mb_regex_encoding</function> will be used as the character encoding for this function.</para></note>'> -<!ENTITY mbstring.encoding.parameter '<para>The <parameter>encoding</parameter> -parameter is the character encoding. If it is omitted, the internal character +<!ENTITY mbstring.encoding.parameter '<para>The <parameter>encoding</parameter> +parameter is the character encoding. If it is omitted, the internal character encoding value will be used.</para>'> <!-- MCVE notes --> <!ENTITY mcve.conn.description '<varlistentry><term><parameter> -conn</parameter></term><listitem><para>An MCVE_CONN resource returned by +conn</parameter></term><listitem><para>An MCVE_CONN resource returned by <function>m_initengine</function>.</para></listitem></varlistentry>'> <!-- memcached notes --> @@ -384,21 +385,21 @@ <!ENTITY date.timezone.errors.description '<para> -Every call to a date/time function will generate a <constant>E_NOTICE</constant> +Every call to a date/time function will generate a <constant>E_NOTICE</constant> if the time zone is not valid, and/or a <constant>E_STRICT</constant> message if using the system settings or the <varname>TZ</varname> environment variable. See also <function>date_default_timezone_set</function></para>'> <!ENTITY date.timezone.errors.changelog '<row><entry>5.1.0</entry><entry><para> -Now issues the <constant>E_STRICT</constant> and <constant>E_NOTICE</constant> +Now issues the <constant>E_STRICT</constant> and <constant>E_NOTICE</constant> time zone errors.</para></entry></row>'> <!ENTITY date.timestamp.description ' <varlistentry><term><parameter>timestamp</parameter></term><listitem><para> -The optional <parameter>timestamp</parameter> parameter is an +The optional <parameter>timestamp</parameter> parameter is an <type>integer</type> Unix timestamp that defaults to the current -local time if a <parameter>timestamp</parameter> is not given. In other -words, it defaults to the value of <function>time</function>. +local time if a <parameter>timestamp</parameter> is not given. In other +words, it defaults to the value of <function>time</function>. </para></listitem></varlistentry>'> <!ENTITY date.datetime.description '<varlistentry><term><parameter>object</parameter></term> @@ -409,7 +410,7 @@ object</parameter></term><listitem><para>Procedural style only: A <classname>DateTimeZone</classname> object returned by <function>timezone_open</function></para></listitem></varlistentry>'> -<!ENTITY date.datetime.retval.changelog '<row><entry>5.3.0</entry><entry>Changed the +<!ENTITY date.datetime.retval.changelog '<row><entry>5.3.0</entry><entry>Changed the return value from &null; to <classname>DateTime</classname>.</entry></row>'> <!-- DomXml Notes --> @@ -418,8 +419,8 @@ <!-- Dom Notes --> -<!ENTITY dom.node.inserted 'This node will not show up in the document unless -it is inserted with (e.g.) <link +<!ENTITY dom.node.inserted 'This node will not show up in the document unless +it is inserted with (e.g.) <link linkend="domnode.appendchild">DOMNode->appendChild()</link>.'> @@ -433,7 +434,7 @@ that is typically created using <function>fopen</function>.</para>'> <!-- GNUPG --> -<!ENTITY gnupg.identifier '<para>The gnupg identifier, from a call to +<!ENTITY gnupg.identifier '<para>The gnupg identifier, from a call to <function>gnupg_init</function> or <classname>gnupg</classname>.</para>'> <!ENTITY gnupg.fingerprint '<para>The fingerprint key.</para>'> @@ -455,8 +456,8 @@ and the <literal>NLS_LANG</literal> environment variable will be used instead. </para>"> -<!ENTITY oci.datatypes '<para>For details on the data type mapping performed by -the oci8 driver, see the <link linkend="oci8.datatypes">datatypes +<!ENTITY oci.datatypes '<para>For details on the data type mapping performed by +the oci8 driver, see the <link linkend="oci8.datatypes">datatypes supported by the driver</link></para>'> <!-- PCNTL Notes --> @@ -478,33 +479,33 @@ <!-- Notes for safe-mode limited functions: --> <!ENTITY note.sm.disabled '<note><simpara>&sm.disabled;</simpara></note>'> -<!ENTITY note.sm.uidcheck '<note><simpara>When <link -linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether -the files or directories being operated upon have the same UID (owner) as the +<!ENTITY note.sm.uidcheck '<note><simpara>When <link +linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether +the files or directories being operated upon have the same UID (owner) as the script that is being executed.</simpara></note>'> -<!ENTITY note.sm.uidcheck.dir '<note><simpara>When <link -linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether -the directory in which the script is operating has the same UID (owner) as the +<!ENTITY note.sm.uidcheck.dir '<note><simpara>When <link +linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether +the directory in which the script is operating has the same UID (owner) as the script that is being executed.</simpara></note>'> -<!ENTITY note.open-basedir.func '<note><para>This function is affected by <link +<!ENTITY note.open-basedir.func '<note><para>This function is affected by <link linkend="ini.open-basedir">open_basedir</link>.</para></note>'> -<!ENTITY note.language-construct '<note><simpara>Because this is a -language construct and not a function, it cannot be called using +<!ENTITY note.language-construct '<note><simpara>Because this is a +language construct and not a function, it cannot be called using <link linkend="functions.variable-functions">variable functions</link></simpara> </note>'> -<!-- Common pieces in features/safe-mode.xml - Jade doesn't allow in-line entities, so I put them here... Though they +<!-- Common pieces in features/safe-mode.xml + Jade doesn't allow in-line entities, so I put them here... Though they should have been inline in safe-mode.xml --> <!ENTITY sm.uidcheck 'Checks whether the files or directories being operated upon have the same UID (owner) as the script that is being executed.'> <!ENTITY warn.sm.exec '<warning><simpara>With <link linkend="features.safe-mode">safe mode</link> enabled, -the command string is escaped with <function>escapeshellcmd</function>. Thus, +the command string is escaped with <function>escapeshellcmd</function>. Thus, <literal>echo y | echo x</literal> becomes <literal>echo y \| echo x</literal>.</simpara></warning>'> <!ENTITY note.exec-path '<note><simpara>When @@ -517,7 +518,7 @@ the script is operating has the same UID (owner) as the script that is being executed.'> -<!ENTITY sm.disabled 'This function is disabled when PHP is running in <link +<!ENTITY sm.disabled 'This function is disabled when PHP is running in <link linkend="features.safe-mode">safe mode</link>.'> <!-- Common pieces in partintro-sections --> @@ -539,7 +540,7 @@ The behaviour of these functions is affected by settings in &php.ini;. </simpara>'> -<!ENTITY ini.php.constants 'For further details and definitions of the +<!ENTITY ini.php.constants 'For further details and definitions of the PHP_INI_* modes, see the <xref linkend="configuration.changes.modes"/>.'> <!-- Used in reference/$extname/constants.xml --> @@ -582,7 +583,7 @@ is bundled with PHP.'> <!ENTITY pecl.info 'Information for installing this PECL extension may be -found in the manual chapter titled <link linkend="install.pecl">Installation +found in the manual chapter titled <link linkend="install.pecl">Installation of PECL extensions</link>. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: '> @@ -597,16 +598,16 @@ <!ENTITY pecl.windows.download ' The <acronym>DLL</acronym> for this <acronym>PECL</acronym> extension -may be downloaded from either the -<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.php.downloads;">PHP Downloads</link> page or from +may be downloaded from either the +<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.php.downloads;">PHP Downloads</link> page or from <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl.win;">&url.pecl.win;</link>'> -<!ENTITY pecl.windows.download.unbundled 'Unbundled <acronym>PECL</acronym> +<!ENTITY pecl.windows.download.unbundled 'Unbundled <acronym>PECL</acronym> extensions may be downloaded from: <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl.win;">&url.pecl.win;</link>'> -<!ENTITY pecl.moved-ver 'This extension has been moved to the -<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl;">PECL</link> repository and is no longer bundled with +<!ENTITY pecl.moved-ver 'This extension has been moved to the +<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl;">PECL</link> repository and is no longer bundled with PHP as of PHP '> <!-- kept for BC --> @@ -629,9 +630,9 @@ <!-- APD Notes --> <!ENTITY apd.debug-level.description '<varlistentry><term><parameter> -debug_level</parameter></term><listitem><para>An integer which is formed by adding +debug_level</parameter></term><listitem><para>An integer which is formed by adding together the <literal>XXX_TRACE</literal> constants.</para><para>It is not recommended -to use <constant>MEMORY_TRACE</constant>. It is very slow and does not appear to be accurate. +to use <constant>MEMORY_TRACE</constant>. It is very slow and does not appear to be accurate. <constant>ASSIGNMENT_TRACE</constant> is not implemented yet.</para><para>To turn on all functional traces (TIMING, FUNCTIONS, ARGS SUMMARY (like strace -c)) use the value 99</para> </listitem></varlistentry>'> @@ -645,21 +646,21 @@ <!-- FBSQL Notes --> <!ENTITY fbsql.link-identifier.description '<varlistentry><term><parameter> link_identifier</parameter></term><listitem><para>A FrontBase link identifier -returned by <function>fbsql_connect</function> or +returned by <function>fbsql_connect</function> or <function>fbsql_pconnect</function>.</para><para>If optional and not specified, the function will try to find an open link to the FrontBase server and if no -such link is found it will try to create one as if +such link is found it will try to create one as if <function>fbsql_connect</function> was called with no arguments.</para> </listitem></varlistentry>'> <!ENTITY fbsql.result.description '<varlistentry><term><parameter> result</parameter></term><listitem><para>A result identifier -returned by <function>fbsql_query</function> or +returned by <function>fbsql_query</function> or <function>fbsql_db_query</function>.</para></listitem></varlistentry>'> <!-- GMP Notes --> <!ENTITY gmp.return 'A GMP number <type>resource</type>.'> -<!ENTITY gmp.parameter '<para>It can be either a GMP number <type>resource</type>, or a +<!ENTITY gmp.parameter '<para>It can be either a GMP number <type>resource</type>, or a numeric string given that it is possible to convert the latter to a number.</para>'> <!-- MySQLi Notes --> @@ -682,7 +683,7 @@ <link linkend="ref.nsapi">NSAPI server module</link> in Netscape/iPlanet/SunONE webservers, too.</para></note>'> -<!ENTITY apache.req.module '<simpara>This function is only supported when PHP +<!ENTITY apache.req.module '<simpara>This function is only supported when PHP is installed as an Apache module.</simpara>'> <!-- SimpleXML Notes --> @@ -704,7 +705,7 @@ value at its default, unless you are interoperating with databases created by other sqlite capable applications.</para>'> -<!ENTITY sqlite.no-unbuffered '<note><para>This function cannot be used with +<!ENTITY sqlite.no-unbuffered '<note><para>This function cannot be used with unbuffered result handles.</para></note>'> <!ENTITY sqlite.param-compat '<note><simpara>Two alternative syntaxes are @@ -738,19 +739,19 @@ <!ENTITY msql.result.description '<varlistentry><term><parameter> result</parameter></term><listitem><para>The result <type>resource</type> that -is being evaluated. This result comes from a call to +is being evaluated. This result comes from a call to <function>msql_query</function>.</para></listitem></varlistentry>'> <!ENTITY msql.field-offset.req.description '<varlistentry><term><parameter> -field_offset</parameter></term><listitem><para>The numerical field offset. The +field_offset</parameter></term><listitem><para>The numerical field offset. The <parameter>field_offset</parameter> starts at <literal>1</literal>.</para></listitem></varlistentry>'> <!-- MySQL Notes --> <!-- The mysql.*.description entities are used in the parameters refsect1 --> <!ENTITY mysql.linkid.description '<varlistentry><term><parameter> -link_identifier</parameter></term><listitem><para>The MySQL connection. If the -link identifier is not specified, the last link opened by +link_identifier</parameter></term><listitem><para>The MySQL connection. If the +link identifier is not specified, the last link opened by <function>mysql_connect</function> is assumed. If no such link is found, it will try to create one as if <function>mysql_connect</function> was called with no arguments. If by chance no connection is found or established, an @@ -759,12 +760,12 @@ <!ENTITY mysql.result.description '<varlistentry><term><parameter> result</parameter></term><listitem><para>The result <type>resource</type> that -is being evaluated. This result comes from a call to +is being evaluated. This result comes from a call to <function>mysql_query</function>.</para></listitem></varlistentry>'> <!ENTITY mysql.field-offset.req.description '<varlistentry><term><parameter> -field_offset</parameter></term><listitem><para>The numerical field offset. The -<parameter>field_offset</parameter> starts at <literal>0</literal>. If +field_offset</parameter></term><listitem><para>The numerical field offset. The +<parameter>field_offset</parameter> starts at <literal>0</literal>. If <parameter>field_offset</parameter> does not exist, an error of level <constant>E_WARNING</constant> is also issued.</para></listitem></varlistentry>'> @@ -777,8 +778,8 @@ using the DB library interface to Sybase, and not with the CT library.</simpara></note>'> <!ENTITY sybase.linkid.description '<varlistentry><term><parameter> -link_identifier</parameter></term><listitem><para>The Sybase connection. If the -link identifier is not specified, the last link opened by +link_identifier</parameter></term><listitem><para>The Sybase connection. If the +link identifier is not specified, the last link opened by <function>sybase_connect</function> is assumed. If no such link is found, it will try to create one as if <function>sybase_connect</function> was called with no arguments. If no connection is found or established, an @@ -803,7 +804,7 @@ <function>cpdf_open</function>.</para></listitem></varlistentry>'> <!-- Xattr entities --> -<!ENTITY xattr.namespace '<para>Extended attributes have two different namespaces: user +<!ENTITY xattr.namespace '<para>Extended attributes have two different namespaces: user and root. The user namespace is available to all users, while the root namespace is available only to users with root privileges. xattr operates on the user namespace by default, but this can be changed with the @@ -957,7 +958,7 @@ <!-- XMLWriter Notes --> <!ENTITY xmlwriter.xmlwriter.description '<varlistentry><term><parameter> -xmlwriter</parameter></term><listitem><para>Only for procedural calls. +xmlwriter</parameter></term><listitem><para>Only for procedural calls. The XMLWriter <type>resource</type> that is being modified. This resource comes from a call to <function>xmlwriter_open_uri</function> or <function>xmlwriter_open_memory</function>.</para></listitem></varlistentry>'> <!-- SOAP notes --> @@ -1045,7 +1046,7 @@ <!ENTITY xmlreader.libxml20620.note '<caution><para>This function is only available when PHP is compiled against libxml 20620 or later.</para></caution>'> <!-- inotify --> -<!ENTITY inotify.instance.description 'Resource returned by +<!ENTITY inotify.instance.description 'Resource returned by <function>inotify_init</function>'> <!-- User streams --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imap/functions/imap-check.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-check.xml diff -u phpdoc/en/reference/imap/functions/imap-check.xml:1.9 phpdoc/en/reference/imap/functions/imap-check.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-check.xml:1.9 Tue Apr 21 05:48:47 2009 +++ phpdoc/en/reference/imap/functions/imap-check.xml Tue Apr 21 08:44:34 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.imap-check" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>imap_check</refname> @@ -12,7 +12,7 @@ <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> </methodsynopsis> <para> - Checks information about the current mailbox. + Checks information about the current mailbox. </para> </refsect1> <refsect1 role="parameters"> @@ -30,34 +30,34 @@ <itemizedlist> <listitem> <simpara> - <constante>Date</constante> - current system time formatted according to <link + <constant>Date</constant> - current system time formatted according to <link xlink:href="&url.rfc;2822">RFC2822</link> </simpara> </listitem> <listitem> <simpara> - <constante>Driver</constante> - protocol used to access this mailbox: + <constant>Driver</constant> - protocol used to access this mailbox: <acronym>POP3</acronym>, <acronym>IMAP</acronym>, <acronym>NNTP</acronym> </simpara> </listitem> <listitem> <simpara> - <constante>Mailbox</constante> - the mailbox name + <constant>Mailbox</constant> - the mailbox name </simpara> </listitem> <listitem> <simpara> - <constante>Nmsgs</constante> - number of messages in the mailbox + <constant>Nmsgs</constant> - number of messages in the mailbox </simpara> </listitem> <listitem> <simpara> - <constante>Recent</constante> - number of recent messages in the mailbox + <constant>Recent</constant> - number of recent messages in the mailbox </simpara> </listitem> </itemizedlist> </para> - <para> + <para> Returns &false; on failure. </para> </refsect1>