cvs: phpdoc /en/language control-structures.xml /en/reference/datetime/functions mktime.xml /en/reference/funchand/functions
register-tick-function.xml /en/reference/info/functions dl.xml /en/reference/mysql/functions mysql-db-query.xml mysql-escape-string.xml
/en/reference/strings/functions setlocale.xml
| From: | Kalle Sommer Nielsen | Date: | Sun, 24 Aug 2008 07:26:27 +0000 |
| Subject: | cvs: phpdoc /en/language control-structures.xml /en/reference/datetime/functions mktime.xml /en/reference/funchand/functions register-tick-function.xml /en/reference/info/functions dl.xml /en/reference/mysql/functions mysql-db-query.xml mysql-escape-string.xml /en/reference/strings/functions setlocale.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2096@lists.php.net to get a copy of this message | ||
kalle Sun Aug 24 07:26:27 2008 UTC
Modified files:
/phpdoc/en/language control-structures.xml
/phpdoc/en/reference/datetime/functions mktime.xml
/phpdoc/en/reference/funchand/functions register-tick-function.xml
/phpdoc/en/reference/info/functions dl.xml
/phpdoc/en/reference/mysql/functions mysql-db-query.xml
mysql-escape-string.xml
/phpdoc/en/reference/strings/functions setlocale.xml
Log:
* Added caution note that ticks are deprecated as of 5.3
* Added note in changelog on the following functions that they will throw an E_DEPRECATED notice
as of 5.3:
* mktime() -- is_dst parameter is deprecated
* register_tick_function()
* mysql_db_query()
* mysql_escape_string()
* setlocale() -- Behavior of passing strings insted of one of the LC_* constants is deprecated
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.164&r2=1.165&diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.164 phpdoc/en/language/control-structures.xml:1.165 --- phpdoc/en/language/control-structures.xml:1.164 Tue Aug 19 23:12:48 2008 +++ phpdoc/en/language/control-structures.xml Sun Aug 24 07:26:25 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.164 $ --> +<!-- $Revision: 1.165 $ --> <chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Control Structures</title> @@ -1155,6 +1155,12 @@ </para> <sect2 xml:id="control-structures.declare.ticks"> <title>Ticks</title> + <caution> + <simpara> + As of PHP 5.3.0 ticks are deprecated and will be removed + in PHP 6.0.0. + </simpara> + </caution> <para>A tick is an event that occurs for every <varname>N</varname> low-level statements executed by the parser within the <literal>declare</literal> block. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc/en/reference/datetime/functions/mktime.xml diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.24 phpdoc/en/reference/datetime/functions/mktime.xml:1.25 --- phpdoc/en/reference/datetime/functions/mktime.xml:1.24 Mon Aug 20 10:14:07 2007 +++ phpdoc/en/reference/datetime/functions/mktime.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> +<!-- $Revision: 1.25 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --> <refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -129,9 +129,7 @@ <refsect1 role="errors"> &reftitle.errors; - - &date.timezone.errors.description; - + &date.timezone.errors.description; </refsect1> <refsect1 role="changelog"> @@ -147,6 +145,13 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + <function>mktime</function> now throws <literal>E_DEPRECATED</literal> notice + if the <parameter>is_dst</parameter> parameter is used. + </entry> + </row> + <row> <entry>3.0.10</entry> <entry>Added <parameter>is_dst</parameter> parameter</entry> </row> @@ -160,9 +165,9 @@ as zero. </entry> </row> - + &date.timezone.errors.changelog; - + </tbody> </tgroup> </informaltable> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/funchand/functions/register-tick-function.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/funchand/functions/register-tick-function.xml diff -u phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.14 phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.15 --- phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.14 Wed Jun 20 22:24:30 2007 +++ phpdoc/en/reference/funchand/functions/register-tick-function.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry xml:id="function.register-tick-function" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>register_tick_function</refname> @@ -79,6 +79,31 @@ </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.3.0</entry> + <entry> + Ticks are now deprecated and <function>register_tick_function</function> + now throws an E_DEPRECATED notice. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="notes"> &reftitle.notes; <warning> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/dl.xml?r1=1.27&r2=1.28&diff_format=u Index: phpdoc/en/reference/info/functions/dl.xml diff -u phpdoc/en/reference/info/functions/dl.xml:1.27 phpdoc/en/reference/info/functions/dl.xml:1.28 --- phpdoc/en/reference/info/functions/dl.xml:1.27 Wed Jun 20 22:24:47 2007 +++ phpdoc/en/reference/info/functions/dl.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.27 $ --> +<!-- $Revision: 1.28 $ --> <refentry xml:id="function.dl" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>dl</refname> @@ -126,6 +126,31 @@ </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.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice on all sapi's + except for CLI, CGI and Embed. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="notes"> &reftitle.notes; <note> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-db-query.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-db-query.xml diff -u phpdoc/en/reference/mysql/functions/mysql-db-query.xml:1.14 phpdoc/en/reference/mysql/functions/mysql-db-query.xml:1.15 --- phpdoc/en/reference/mysql/functions/mysql-db-query.xml:1.14 Fri Nov 23 18:56:56 2007 +++ phpdoc/en/reference/mysql/functions/mysql-db-query.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry xml:id="function.mysql-db-query" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mysql_db_query</refname> @@ -68,6 +68,12 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice. + </entry> + </row> + <row> <entry>4.0.6</entry> <entry> This function is deprecated, do not use this function. Use http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-escape-string.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-escape-string.xml diff -u phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.15 phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.16 --- phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.15 Wed Jun 20 22:25:00 2007 +++ phpdoc/en/reference/mysql/functions/mysql-escape-string.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <refentry xml:id="function.mysql-escape-string" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mysql_escape_string</refname> @@ -62,6 +62,12 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice. + </entry> + </row> + <row> <entry>4.3.0</entry> <entry> This function became deprecated, do not use this function. Instead, http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/setlocale.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc/en/reference/strings/functions/setlocale.xml diff -u phpdoc/en/reference/strings/functions/setlocale.xml:1.30 phpdoc/en/reference/strings/functions/setlocale.xml:1.31 --- phpdoc/en/reference/strings/functions/setlocale.xml:1.30 Wed Jun 20 22:25:29 2007 +++ phpdoc/en/reference/strings/functions/setlocale.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.setlocale"> <refnamediv> <refname>setlocale</refname> @@ -147,6 +147,14 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice if a string is passed + to the <parameter>category</parameter> parameter insted of one of the + <literal>LC_*</literal> constants. + </entry> + </row> + <row> <entry>4.3.0</entry> <entry> Passing multiple locales became possible.
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.164&r2=1.165&diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.164 phpdoc/en/language/control-structures.xml:1.165 --- phpdoc/en/language/control-structures.xml:1.164 Tue Aug 19 23:12:48 2008 +++ phpdoc/en/language/control-structures.xml Sun Aug 24 07:26:25 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.164 $ --> +<!-- $Revision: 1.165 $ --> <chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Control Structures</title> @@ -1155,6 +1155,12 @@ </para> <sect2 xml:id="control-structures.declare.ticks"> <title>Ticks</title> + <caution> + <simpara> + As of PHP 5.3.0 ticks are deprecated and will be removed + in PHP 6.0.0. + </simpara> + </caution> <para>A tick is an event that occurs for every <varname>N</varname> low-level statements executed by the parser within the <literal>declare</literal> block. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc/en/reference/datetime/functions/mktime.xml diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.24 phpdoc/en/reference/datetime/functions/mktime.xml:1.25 --- phpdoc/en/reference/datetime/functions/mktime.xml:1.24 Mon Aug 20 10:14:07 2007 +++ phpdoc/en/reference/datetime/functions/mktime.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> +<!-- $Revision: 1.25 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --> <refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -129,9 +129,7 @@ <refsect1 role="errors"> &reftitle.errors; - - &date.timezone.errors.description; - + &date.timezone.errors.description; </refsect1> <refsect1 role="changelog"> @@ -147,6 +145,13 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + <function>mktime</function> now throws <literal>E_DEPRECATED</literal> notice + if the <parameter>is_dst</parameter> parameter is used. + </entry> + </row> + <row> <entry>3.0.10</entry> <entry>Added <parameter>is_dst</parameter> parameter</entry> </row> @@ -160,9 +165,9 @@ as zero. </entry> </row> - + &date.timezone.errors.changelog; - + </tbody> </tgroup> </informaltable> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/funchand/functions/register-tick-function.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/funchand/functions/register-tick-function.xml diff -u phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.14 phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.15 --- phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.14 Wed Jun 20 22:24:30 2007 +++ phpdoc/en/reference/funchand/functions/register-tick-function.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry xml:id="function.register-tick-function" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>register_tick_function</refname> @@ -79,6 +79,31 @@ </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.3.0</entry> + <entry> + Ticks are now deprecated and <function>register_tick_function</function> + now throws an E_DEPRECATED notice. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="notes"> &reftitle.notes; <warning> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/dl.xml?r1=1.27&r2=1.28&diff_format=u Index: phpdoc/en/reference/info/functions/dl.xml diff -u phpdoc/en/reference/info/functions/dl.xml:1.27 phpdoc/en/reference/info/functions/dl.xml:1.28 --- phpdoc/en/reference/info/functions/dl.xml:1.27 Wed Jun 20 22:24:47 2007 +++ phpdoc/en/reference/info/functions/dl.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.27 $ --> +<!-- $Revision: 1.28 $ --> <refentry xml:id="function.dl" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>dl</refname> @@ -126,6 +126,31 @@ </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.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice on all sapi's + except for CLI, CGI and Embed. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="notes"> &reftitle.notes; <note> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-db-query.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-db-query.xml diff -u phpdoc/en/reference/mysql/functions/mysql-db-query.xml:1.14 phpdoc/en/reference/mysql/functions/mysql-db-query.xml:1.15 --- phpdoc/en/reference/mysql/functions/mysql-db-query.xml:1.14 Fri Nov 23 18:56:56 2007 +++ phpdoc/en/reference/mysql/functions/mysql-db-query.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry xml:id="function.mysql-db-query" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mysql_db_query</refname> @@ -68,6 +68,12 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice. + </entry> + </row> + <row> <entry>4.0.6</entry> <entry> This function is deprecated, do not use this function. Use http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-escape-string.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-escape-string.xml diff -u phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.15 phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.16 --- phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.15 Wed Jun 20 22:25:00 2007 +++ phpdoc/en/reference/mysql/functions/mysql-escape-string.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <refentry xml:id="function.mysql-escape-string" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mysql_escape_string</refname> @@ -62,6 +62,12 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice. + </entry> + </row> + <row> <entry>4.3.0</entry> <entry> This function became deprecated, do not use this function. Instead, http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/setlocale.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc/en/reference/strings/functions/setlocale.xml diff -u phpdoc/en/reference/strings/functions/setlocale.xml:1.30 phpdoc/en/reference/strings/functions/setlocale.xml:1.31 --- phpdoc/en/reference/strings/functions/setlocale.xml:1.30 Wed Jun 20 22:25:29 2007 +++ phpdoc/en/reference/strings/functions/setlocale.xml Sun Aug 24 07:26:26 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.setlocale"> <refnamediv> <refname>setlocale</refname> @@ -147,6 +147,14 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + This function now throws an E_DEPRECATED notice if a string is passed + to the <parameter>category</parameter> parameter insted of one of the + <literal>LC_*</literal> constants. + </entry> + </row> + <row> <entry>4.3.0</entry> <entry> Passing multiple locales became possible.