didou Sun Jan 28 16:49:31 2007 UTC
Modified files:
/phpdoc/en/reference/soap constants.xml
/phpdoc/en/reference/curl/functions curl-multi-info-read.xml
/phpdoc/en/reference/mbstring/functions mb-encode-mimeheader.xml
/phpdoc/en/reference/info/functions memory-get-peak-usage.xml
memory-get-usage.xml
/phpdoc/en/reference/openssl/functions
openssl-csr-get-public-key.xml
openssl-csr-get-subject.xml
openssl-pkcs7-verify.xml
/phpdoc/en/reference/xmlreader/functions xmlreader-open.xml
xmlreader-xml.xml
Log:
Document missing PHP 5 additions
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/constants.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/soap/constants.xml
diff -u phpdoc/en/reference/soap/constants.xml:1.3
phpdoc/en/reference/soap/constants.xml:1.4
--- phpdoc/en/reference/soap/constants.xml:1.3 Sun Sep 25 09:48:20 2005
+++ phpdoc/en/reference/soap/constants.xml Sun Jan 28 16:49:30 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc.
-->
<section id="soap.constants">
&reftitle.constants;
@@ -172,6 +172,17 @@
</varlistentry>
<varlistentry>
<term>
+ <constant>SOAP_WAIT_ONE_WAY_CALLS</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Added in PHP 5.1.0.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
<constant>UNKNOWN_TYPE</constant>
(<type>integer</type>)
</term>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/curl/functions/curl-multi-info-read.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/curl/functions/curl-multi-info-read.xml
diff -u phpdoc/en/reference/curl/functions/curl-multi-info-read.xml:1.3
phpdoc/en/reference/curl/functions/curl-multi-info-read.xml:1.4
--- phpdoc/en/reference/curl/functions/curl-multi-info-read.xml:1.3 Wed Jan
17 00:14:52 2007
+++ phpdoc/en/reference/curl/functions/curl-multi-info-read.xml Sun Jan 28
16:49:30 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.curl-multi-info-read">
<refnamediv>
<refname>curl_multi_info_read</refname>
@@ -11,6 +11,7 @@
<methodsynopsis>
<type>array</type><methodname>curl_multi_info_read</methodname>
<methodparam><type>resource</type><parameter>mh</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>msgs_in_queue</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
@@ -25,7 +26,31 @@
</variablelist>
</para>
</refsect1>
-
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.2.0</entry>
+ <entry>
+ <parameter>msgs_in_queue</parameter> was added.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml
diff -u phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml:1.7
phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml:1.8
--- phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml:1.7 Thu Jul
20 10:53:57 2006
+++ phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml Sun Jan
28 16:49:30 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/mbstring.xml, last change in rev 1.1 -->
<refentry id="function.mb-encode-mimeheader">
<refnamediv>
@@ -14,6 +14,7 @@
<methodparam
choice="opt"><type>string</type><parameter>charset</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>transfer_encoding</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>linefeed</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>indent</parameter></methodparam>
</methodsynopsis>
<para>
<function>mb_encode_mimeheader</function> encodes a given string
@@ -63,6 +64,9 @@
</para>
</note>
<para>
+ The <parameter>indent</parameter> was added as of PHP 5.
+ </para>
+ <para>
See also <function>mb_decode_mimeheader</function>.
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/memory-get-peak-usage.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/info/functions/memory-get-peak-usage.xml
diff -u phpdoc/en/reference/info/functions/memory-get-peak-usage.xml:1.2
phpdoc/en/reference/info/functions/memory-get-peak-usage.xml:1.3
--- phpdoc/en/reference/info/functions/memory-get-peak-usage.xml:1.2 Tue Jun
6 11:50:45 2006
+++ phpdoc/en/reference/info/functions/memory-get-peak-usage.xml Sun Jan
28 16:49:30 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.memory-get-peak-usage">
<refnamediv>
<refname>memory_get_peak_usage</refname>
@@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>memory_get_peak_usage</methodname>
- <void />
+
<methodparam><type>bool</type><parameter>real_usage</parameter></methodparam>
</methodsynopsis>
<para>
Returns the peak of memory, in bytes, that's been allocated to your PHP
@@ -21,6 +21,9 @@
is compiled with the <literal>--enable-memory-limit</literal>
configuration option.
</para>
+ <para>
+ <parameter>real_usage</parameter> was added as of PHP 5.2.0.
+ </para>
</refsect1>
<refsect1 role="seealso">
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/memory-get-usage.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/info/functions/memory-get-usage.xml
diff -u phpdoc/en/reference/info/functions/memory-get-usage.xml:1.3
phpdoc/en/reference/info/functions/memory-get-usage.xml:1.4
--- phpdoc/en/reference/info/functions/memory-get-usage.xml:1.3 Tue Jun 6
11:31:44 2006
+++ phpdoc/en/reference/info/functions/memory-get-usage.xml Sun Jan 28
16:49:30 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.memory-get-usage">
<refnamediv>
<refname>memory_get_usage</refname>
@@ -9,7 +9,7 @@
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>memory_get_usage</methodname>
- <void />
+
<methodparam><type>bool</type><parameter>real_usage</parameter></methodparam>
</methodsynopsis>
<para>
Returns the amount of memory, in bytes, that's currently being
@@ -21,6 +21,9 @@
configuration option.
</para>
<para>
+ <parameter>real_usage</parameter> was added as of PHP 5.2.0.
+ </para>
+ <para>
<example>
<title>A <function>memory_get_usage</function> example</title>
<programlisting role="php">
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openssl/functions/openssl-csr-get-public-key.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/openssl/functions/openssl-csr-get-public-key.xml
diff -u
phpdoc/en/reference/openssl/functions/openssl-csr-get-public-key.xml:1.1
phpdoc/en/reference/openssl/functions/openssl-csr-get-public-key.xml:1.2
--- phpdoc/en/reference/openssl/functions/openssl-csr-get-public-key.xml:1.1
Sun Jan 28 02:27:25 2007
+++ phpdoc/en/reference/openssl/functions/openssl-csr-get-public-key.xml
Sun Jan 28 16:49:30 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.openssl-csr-get-public-key">
<refnamediv>
<refname>openssl_csr_get_public_key</refname>
@@ -11,6 +11,7 @@
<methodsynopsis>
<type>mixed</type><methodname>openssl_csr_get_public_key</methodname>
<methodparam><type>mixed</type><parameter>csr</parameter></methodparam>
+
<methodparam><type>bool</type><parameter>use_shortnames</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openssl/functions/openssl-csr-get-subject.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/openssl/functions/openssl-csr-get-subject.xml
diff -u phpdoc/en/reference/openssl/functions/openssl-csr-get-subject.xml:1.1
phpdoc/en/reference/openssl/functions/openssl-csr-get-subject.xml:1.2
--- phpdoc/en/reference/openssl/functions/openssl-csr-get-subject.xml:1.1
Sun Jan 28 02:27:25 2007
+++ phpdoc/en/reference/openssl/functions/openssl-csr-get-subject.xml Sun Jan
28 16:49:31 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.openssl-csr-get-subject">
<refnamediv>
<refname>openssl_csr_get_subject</refname>
@@ -11,6 +11,7 @@
<methodsynopsis>
<type>mixed</type><methodname>openssl_csr_get_subject</methodname>
<methodparam><type>mixed</type><parameter>csr</parameter></methodparam>
+
<methodparam><type>bool</type><parameter>use_shortnames</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openssl/functions/openssl-pkcs7-verify.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/openssl/functions/openssl-pkcs7-verify.xml
diff -u phpdoc/en/reference/openssl/functions/openssl-pkcs7-verify.xml:1.5
phpdoc/en/reference/openssl/functions/openssl-pkcs7-verify.xml:1.6
--- phpdoc/en/reference/openssl/functions/openssl-pkcs7-verify.xml:1.5 Fri Jun
24 09:11:42 2005
+++ phpdoc/en/reference/openssl/functions/openssl-pkcs7-verify.xml Sun Jan
28 16:49:31 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/openssl.xml, last change in rev 1.4 -->
<refentry id="function.openssl-pkcs7-verify">
<refnamediv>
@@ -15,6 +15,7 @@
<methodparam
choice="opt"><type>string</type><parameter>outfilename</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>cainfo</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>extracerts</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>content</parameter></methodparam>
</methodsynopsis>
<para>
<function>openssl_pkcs7_verify</function> reads the S/MIME message
@@ -43,6 +44,11 @@
If the <parameter>extracerts</parameter> is specified, it is the filename
of a file containing a bunch of certificates to use as untrusted CAs.
</para>
+ <para>
+ You can specify a filename with <parameter>content</parameter> that will
+ be filled with the verified data, but with the signature information
+ stripped. This was added as of PHP 5.1.0.
+ </para>
</refsect1>
</refentry>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlreader/functions/xmlreader-open.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/xmlreader/functions/xmlreader-open.xml
diff -u phpdoc/en/reference/xmlreader/functions/xmlreader-open.xml:1.1
phpdoc/en/reference/xmlreader/functions/xmlreader-open.xml:1.2
--- phpdoc/en/reference/xmlreader/functions/xmlreader-open.xml:1.1 Tue Jul
19 02:42:46 2005
+++ phpdoc/en/reference/xmlreader/functions/xmlreader-open.xml Sun Jan 28
16:49:31 2007
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.xmlreader-open">
<refnamediv>
<refname>XMLReader->open()</refname>
<refpurpose>Set the URI containing the XML to parse</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<classsynopsis>
@@ -13,12 +14,15 @@
<type>bool</type>
<methodname>open</methodname>
<methodparam><type>string</type><parameter>URI</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Set the URI containing the XML document to be parsed.
</para>
</refsect1>
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
@@ -31,15 +35,58 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>encoding</parameter></term>
+ <listitem>
+ <para>
+ The document encoding or &null;.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>options</parameter></term>
+ <listitem>
+ <para>
+ A bitmask of the XMLReader Options constants.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.2.0</entry>
+ <entry>
+ <parameter>encoding</parameter> and <parameter>options</parameter>
+ were added.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlreader/functions/xmlreader-xml.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/xmlreader/functions/xmlreader-xml.xml
diff -u phpdoc/en/reference/xmlreader/functions/xmlreader-xml.xml:1.2
phpdoc/en/reference/xmlreader/functions/xmlreader-xml.xml:1.3
--- phpdoc/en/reference/xmlreader/functions/xmlreader-xml.xml:1.2 Sat Jul
23 22:27:49 2005
+++ phpdoc/en/reference/xmlreader/functions/xmlreader-xml.xml Sun Jan 28
16:49:31 2007
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.xmlreader-xml">
<refnamediv>
<refname>XMLReader->XML()</refname>
<refpurpose>Set the data containing the XML to parse</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<classsynopsis>
@@ -13,12 +14,15 @@
<type>bool</type>
<methodname>open</methodname>
<methodparam><type>string</type><parameter>source</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Set the data containing the XML to parse.
</para>
</refsect1>
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
@@ -31,15 +35,58 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>encoding</parameter></term>
+ <listitem>
+ <para>
+ The document encoding or &null;.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>options</parameter></term>
+ <listitem>
+ <para>
+ A bitmask of the XMLReader Options constants.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.2.0</entry>
+ <entry>
+ <parameter>encoding</parameter> and <parameter>options</parameter>
+ were added.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>