vrana Fri Mar 23 16:50:25 2007 UTC
Modified files:
/phpdoc/en/reference/url/functions base64-decode.xml
/phpdoc/en/reference/imap/functions imap-open.xml imap-reopen.xml
/phpdoc/en/reference/pgsql/functions pg-escape-bytea.xml
pg-escape-string.xml
/phpdoc/en/reference/ming/swfmovie streammp3.xml
Log:
PHP 5.2 new parameters (bug #40523)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/url/functions/base64-decode.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/url/functions/base64-decode.xml
diff -u phpdoc/en/reference/url/functions/base64-decode.xml:1.10
phpdoc/en/reference/url/functions/base64-decode.xml:1.11
--- phpdoc/en/reference/url/functions/base64-decode.xml:1.10 Sat Feb 3
01:10:51 2007
+++ phpdoc/en/reference/url/functions/base64-decode.xml Fri Mar 23 16:50:25 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="function.base64-decode">
<refnamediv>
<refname>base64_decode</refname>
@@ -11,6 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>base64_decode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>strict</parameter></methodparam>
</methodsynopsis>
<para>
Decodes a base64 encoded <parameter>data</parameter>.
@@ -29,6 +30,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>strict</parameter></term>
+ <listitem>
+ <para>
+ Returns &false; if input contains space or some other separator.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -41,6 +50,28 @@
</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>strict</parameter> added</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imap/functions/imap-open.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/reference/imap/functions/imap-open.xml
diff -u phpdoc/en/reference/imap/functions/imap-open.xml:1.12
phpdoc/en/reference/imap/functions/imap-open.xml:1.13
--- phpdoc/en/reference/imap/functions/imap-open.xml:1.12 Mon Jan 15
00:05:58 2007
+++ phpdoc/en/reference/imap/functions/imap-open.xml Fri Mar 23 16:50:25 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<refentry id="function.imap-open">
<refnamediv>
<refname>imap_open</refname>
@@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>username</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>n_retries</parameter></methodparam>
</methodsynopsis>
<para>
Opens an IMAP stream to a <parameter>mailbox</parameter>.
@@ -245,6 +246,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>n_retries</parameter></term>
+ <listitem>
+ <para>
+ Number of maximum connect attempts
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -254,6 +263,29 @@
Returns an IMAP stream on success or &false; on error.
</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>n_retries</parameter> added</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imap/functions/imap-reopen.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/imap/functions/imap-reopen.xml
diff -u phpdoc/en/reference/imap/functions/imap-reopen.xml:1.11
phpdoc/en/reference/imap/functions/imap-reopen.xml:1.12
--- phpdoc/en/reference/imap/functions/imap-reopen.xml:1.11 Mon Jan 15
00:05:58 2007
+++ phpdoc/en/reference/imap/functions/imap-reopen.xml Fri Mar 23 16:50:25 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.imap-reopen">
<refnamediv>
<refname>imap_reopen</refname>
@@ -12,6 +12,7 @@
<methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>mailbox</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>n_retries</parameter></methodparam>
</methodsynopsis>
<para>
Reopens the specified stream to a new <parameter>mailbox</parameter> on an
@@ -67,6 +68,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>n_retries</parameter></term>
+ <listitem>
+ <para>
+ Number of maximum connect attempts
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -76,6 +85,29 @@
&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>n_retries</parameter> added</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml:1.10
phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml:1.11
--- phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml:1.10 Fri Nov
18 16:25:23 2005
+++ phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml Fri Mar 23
16:50:25 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.61 -->
<refentry id='function.pg-escape-bytea'>
<refnamediv>
@@ -13,6 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>pg_escape_bytea</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
@@ -42,6 +43,17 @@
<para>
<variablelist>
<varlistentry>
+ <term><parameter>connection</parameter></term>
+ <listitem>
+ <para>
+ PostgreSQL database connection resource. When
+ <parameter>connection</parameter> is not present, the default
connection
+ is used. The default connection is the last connection made by
+ <function>pg_connect</function> or <function>pg_pconnect</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><parameter>data</parameter></term>
<listitem>
<para>
@@ -61,6 +73,28 @@
</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>connection</parameter> added</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-escape-string.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/pgsql/functions/pg-escape-string.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-escape-string.xml:1.7
phpdoc/en/reference/pgsql/functions/pg-escape-string.xml:1.8
--- phpdoc/en/reference/pgsql/functions/pg-escape-string.xml:1.7 Fri Nov
18 16:25:23 2005
+++ phpdoc/en/reference/pgsql/functions/pg-escape-string.xml Fri Mar 23
16:50:25 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.61 -->
<refentry id='function.pg-escape-string'>
<refnamediv>
@@ -13,6 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>pg_escape_string</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
@@ -35,6 +36,17 @@
<para>
<variablelist>
<varlistentry>
+ <term><parameter>connection</parameter></term>
+ <listitem>
+ <para>
+ PostgreSQL database connection resource. When
+ <parameter>connection</parameter> is not present, the default
connection
+ is used. The default connection is the last connection made by
+ <function>pg_connect</function> or <function>pg_pconnect</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><parameter>data</parameter></term>
<listitem>
<para>
@@ -53,6 +65,28 @@
</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>connection</parameter> added</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/swfmovie/streammp3.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/ming/swfmovie/streammp3.xml
diff -u phpdoc/en/reference/ming/swfmovie/streammp3.xml:1.1
phpdoc/en/reference/ming/swfmovie/streammp3.xml:1.2
--- phpdoc/en/reference/ming/swfmovie/streammp3.xml:1.1 Sun Jan 21 05:08:11 2007
+++ phpdoc/en/reference/ming/swfmovie/streammp3.xml Fri Mar 23 16:50:25 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.swfmovie.streammp3">
<refnamediv>
<refname>SWFMovie->streamMP3()</refname>
@@ -12,6 +12,7 @@
<methodsynopsis>
<type>void</type><methodname>streamMP3</methodname>
<methodparam><type>mixed</type><parameter>mp3file</parameter></methodparam>
+ <methodparam
choice="opt"><type>float</type><parameter>skip</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
&warn.experimental.func;
@@ -42,6 +43,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>skip</parameter></term>
+ <listitem>
+ <para>
+ Number of seconds to skip.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -53,6 +62,28 @@
</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>skip</parameter> added</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>