cvs: phpdoc /en/appendices migration51.xml /en/internals2/ze1/zendapi printing.xml /en/language/control-structures include.xml /en/language/types
array.xml /en/reference/datetime/functions date.xml gmdate.xml mktime.xml /en/reference/mysql/functions mysql-real-escape-string.xml
/en/reference/regex book.xml /en/reference/sem/functions shm-put-var.xml /en/reference/var/functions unserialize.xml
| From: | Richard Quadling | Date: | Fri, 26 Jun 2009 07:38:42 +0000 |
| Subject: | cvs: phpdoc /en/appendices migration51.xml /en/internals2/ze1/zendapi printing.xml /en/language/control-structures include.xml /en/language/types array.xml /en/reference/datetime/functions date.xml gmdate.xml mktime.xml /en/reference/mysql/functions mysql-real-escape-string.xml /en/reference/regex book.xml /en/reference/sem/functions shm-put-var.xml /en/reference/var/functions unserialize.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4249@lists.php.net to get a copy of this message | ||
rquadling Fri Jun 26 07:38:42 2009 UTC
Modified files:
/phpdoc/en/appendices migration51.xml
/phpdoc/en/internals2/ze1/zendapi printing.xml
/phpdoc/en/language/control-structures include.xml
/phpdoc/en/language/types array.xml
/phpdoc/en/reference/datetime/functions date.xml gmdate.xml
mktime.xml
/phpdoc/en/reference/mysql/functions mysql-real-escape-string.xml
/phpdoc/en/reference/regex book.xml
/phpdoc/en/reference/sem/functions shm-put-var.xml
/phpdoc/en/reference/var/functions unserialize.xml
Log:
literal => constant for error constants
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration51.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/appendices/migration51.xml diff -u phpdoc/en/appendices/migration51.xml:1.14 phpdoc/en/appendices/migration51.xml:1.15 --- phpdoc/en/appendices/migration51.xml:1.14 Sun Jun 21 09:42:26 2009 +++ phpdoc/en/appendices/migration51.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <appendix xml:id="migration51" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Migrating from PHP 5.0.x to PHP 5.1.x</title> <para> @@ -818,7 +818,7 @@ </section> <!-- end of migration51.databases --> <section xml:id="migration51.errorcheck"> - <title>Checking for <literal>E_STRICT</literal></title> + <title>Checking for <constant>E_STRICT</constant></title> <informalexample> <para> If you only have a single script to check, you can pick up http://cvs.php.net/viewvc.cgi/phpdoc/en/internals2/ze1/zendapi/printing.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/internals2/ze1/zendapi/printing.xml diff -u phpdoc/en/internals2/ze1/zendapi/printing.xml:1.7 phpdoc/en/internals2/ze1/zendapi/printing.xml:1.8 --- phpdoc/en/internals2/ze1/zendapi/printing.xml:1.7 Tue Feb 17 09:49:32 2009 +++ phpdoc/en/internals2/ze1/zendapi/printing.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.7 $ --> + <!-- $Revision: 1.8 $ --> <sect2 xml:id="internals2.ze1.zendapi.printing" xmlns="http://docbook.org/ns/docbook"> <title>Printing Information</title> <para> @@ -47,25 +47,25 @@ <entry colname="col2">Description</entry> </row> <row> - <entry colname="col1"><literal>E_ERROR</literal></entry> + <entry colname="col1"><constant>E_ERROR</constant></entry> <entry colname="col2"> Signals an error and terminates execution of the script immediately.</entry> </row> <row> - <entry colname="col1"><literal>E_WARNING</literal></entry> + <entry colname="col1"><constant>E_WARNING</constant></entry> <entry colname="col2"> Signals a generic warning. Execution continues. </entry> </row> <row> - <entry colname="col1"><literal>E_PARSE</literal></entry> + <entry colname="col1"><constant>E_PARSE</constant></entry> <entry colname="col2"> Signals a parser error. Execution continues. </entry> </row> <row> - <entry colname="col1"><literal>E_NOTICE</literal></entry> + <entry colname="col1"><constant>E_NOTICE</constant></entry> <entry colname="col2"> Signals a notice. Execution continues. Note that by default the display of this type of error messages is turned off in @@ -73,21 +73,21 @@ </entry> </row> <row> - <entry colname="col1"><literal>E_CORE_ERROR</literal></entry> + <entry colname="col1"><constant>E_CORE_ERROR</constant></entry> <entry colname="col2"> Internal error by the core; shouldn't be used by user-written modules. </entry> </row> <row> - <entry colname="col1"><literal>E_COMPILE_ERROR</literal></entry> + <entry colname="col1"><constant>E_COMPILE_ERROR</constant></entry> <entry colname="col2"> Internal error by the compiler; shouldn't be used by user-written modules. </entry> </row> <row> - <entry colname="col1"><literal>E_COMPILE_WARNING</literal></entry> + <entry colname="col1"><constant>E_COMPILE_WARNING</constant></entry> <entry colname="col2"> Internal warning by the compiler; shouldn't be used by user-written modules. http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/include.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/language/control-structures/include.xml diff -u phpdoc/en/language/control-structures/include.xml:1.3 phpdoc/en/language/control-structures/include.xml:1.4 --- phpdoc/en/language/control-structures/include.xml:1.3 Fri Feb 27 20:39:32 2009 +++ phpdoc/en/language/control-structures/include.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <sect1 xml:id="function.include" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title><function>include</function></title> @@ -254,7 +254,7 @@ was successful. Notice the difference between the above examples. The first uses <function>return</function> within the included file while the other does not. If the file can't be included, &false; is returned and - <literal>E_WARNING</literal> is issued. + <constant>E_WARNING</constant> is issued. </simpara> <para> If there are functions defined in the included file, they can be used in the http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types/array.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/language/types/array.xml diff -u phpdoc/en/language/types/array.xml:1.9 phpdoc/en/language/types/array.xml:1.10 --- phpdoc/en/language/types/array.xml:1.9 Sun Jun 21 16:34:09 2009 +++ phpdoc/en/language/types/array.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <sect1 xml:id="language.types.array"> <title>Arrays</title> @@ -476,7 +476,7 @@ </informalexample> <para> - Note that <literal>E_ERROR</literal> is also a valid identifier, just like + Note that <constant>E_ERROR</constant> is also a valid identifier, just like <literal>bar</literal> in the first example. But the last example is in fact the same as writing: </para> @@ -494,7 +494,7 @@ </informalexample> <para> - because <literal>E_ERROR</literal> equals <literal>1</literal>, etc. + because <constant>E_ERROR</constant> equals <literal>1</literal>, etc. </para> <sect4 xml:id="language.types.array.foo-bar.why"> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.46&r2=1.47&diff_format=u Index: phpdoc/en/reference/datetime/functions/date.xml diff -u phpdoc/en/reference/datetime/functions/date.xml:1.46 phpdoc/en/reference/datetime/functions/date.xml:1.47 --- phpdoc/en/reference/datetime/functions/date.xml:1.46 Sat Apr 11 16:42:34 2009 +++ phpdoc/en/reference/datetime/functions/date.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.46 $ --> +<!-- $Revision: 1.47 $ --> <refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>date</refname> @@ -307,7 +307,7 @@ <para> Returns a formatted date string. If a non-numeric value is used for <parameter>timestamp</parameter>, &false; is returned and an - <literal>E_WARNING</literal> level error is emitted. + <constant>E_WARNING</constant> level error is emitted. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/gmdate.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/datetime/functions/gmdate.xml diff -u phpdoc/en/reference/datetime/functions/gmdate.xml:1.13 phpdoc/en/reference/datetime/functions/gmdate.xml:1.14 --- phpdoc/en/reference/datetime/functions/gmdate.xml:1.13 Wed Jun 20 22:24:18 2007 +++ phpdoc/en/reference/datetime/functions/gmdate.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <refentry xml:id="function.gmdate" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>gmdate</refname> @@ -44,7 +44,7 @@ <para> Returns a formatted date string. If a non-numeric value is used for <parameter>timestamp</parameter>, &false; is returned and an - <literal>E_WARNING</literal> level error is emitted. + <constant>E_WARNING</constant> level error is emitted. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.31&r2=1.32&diff_format=u Index: phpdoc/en/reference/datetime/functions/mktime.xml diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.31 phpdoc/en/reference/datetime/functions/mktime.xml:1.32 --- phpdoc/en/reference/datetime/functions/mktime.xml:1.31 Wed Jun 17 08:49:33 2009 +++ phpdoc/en/reference/datetime/functions/mktime.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> +<!-- $Revision: 1.32 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --> <refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -147,7 +147,7 @@ <row> <entry>5.3.0</entry> <entry> - <function>mktime</function> now throws <literal>E_DEPRECATED</literal> notice + <function>mktime</function> now throws <constant>E_DEPRECATED</constant> notice if the <parameter>is_dst</parameter> parameter is used. </entry> </row> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml?r1=1.31&r2=1.32&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml diff -u phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.31 phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.32 --- phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.31 Sat May 16 13:43:53 2009 +++ phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> +<!-- $Revision: 1.32 $ --> <refentry xml:id="function.mysql-real-escape-string" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mysql_real_escape_string</refname> @@ -117,7 +117,7 @@ <para> A MySQL connection is required before using <function>mysql_real_escape_string</function> otherwise an error of - level <literal>E_WARNING</literal> is generated, and &false; is + level <constant>E_WARNING</constant> is generated, and &false; is returned. If <parameter>link_identifier</parameter> isn't defined, the last MySQL connection is used. </para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/regex/book.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/regex/book.xml diff -u phpdoc/en/reference/regex/book.xml:1.4 phpdoc/en/reference/regex/book.xml:1.5 --- phpdoc/en/reference/regex/book.xml:1.4 Wed Dec 10 01:46:03 2008 +++ phpdoc/en/reference/regex/book.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- Purpose: basic.text --> <!-- Membership: core --> @@ -27,7 +27,7 @@ <note> <para> As of PHP 5.3.0 this extension is deprecated, calling any function - provided by this extension will issue an <literal>E_DEPRECATED</literal> + provided by this extension will issue an <constant>E_DEPRECATED</constant> notice. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sem/functions/shm-put-var.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/sem/functions/shm-put-var.xml diff -u phpdoc/en/reference/sem/functions/shm-put-var.xml:1.10 phpdoc/en/reference/sem/functions/shm-put-var.xml:1.11 --- phpdoc/en/reference/sem/functions/shm-put-var.xml:1.10 Tue Nov 4 13:27:52 2008 +++ phpdoc/en/reference/sem/functions/shm-put-var.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.shm-put-var"> <refnamediv> <refname>shm_put_var</refname> @@ -20,7 +20,7 @@ <parameter>variable_key</parameter>. </para> <para> - Warnings (<literal>E_WARNING</literal> level) will be issued if + Warnings (<constant>E_WARNING</constant> level) will be issued if <parameter>shm_identifier</parameter> is not a valid SysV shared memory index or if there was not enough shared memory remaining to complete your request. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/unserialize.xml?r1=1.26&r2=1.27&diff_format=u Index: phpdoc/en/reference/var/functions/unserialize.xml diff -u phpdoc/en/reference/var/functions/unserialize.xml:1.26 phpdoc/en/reference/var/functions/unserialize.xml:1.27 --- phpdoc/en/reference/var/functions/unserialize.xml:1.26 Sun Apr 19 09:46:17 2009 +++ phpdoc/en/reference/var/functions/unserialize.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> +<!-- $Revision: 1.27 $ --> <refentry xml:id="function.unserialize" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>unserialize</refname> @@ -64,7 +64,7 @@ </para> <para> In case the passed string is not unserializeable, &false; is returned and - <literal>E_NOTICE</literal> is issued. + <constant>E_NOTICE</constant> is issued. </para> </refsect1> @@ -163,7 +163,7 @@ the serialized &false; value. It is possible to catch this special case by comparing <parameter>str</parameter> with <literal>serialize(false)</literal> or by catching the issued - <literal>E_NOTICE</literal>. + <constant>E_NOTICE</constant>. </para> </warning> </refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration51.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/appendices/migration51.xml diff -u phpdoc/en/appendices/migration51.xml:1.14 phpdoc/en/appendices/migration51.xml:1.15 --- phpdoc/en/appendices/migration51.xml:1.14 Sun Jun 21 09:42:26 2009 +++ phpdoc/en/appendices/migration51.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <appendix xml:id="migration51" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Migrating from PHP 5.0.x to PHP 5.1.x</title> <para> @@ -818,7 +818,7 @@ </section> <!-- end of migration51.databases --> <section xml:id="migration51.errorcheck"> - <title>Checking for <literal>E_STRICT</literal></title> + <title>Checking for <constant>E_STRICT</constant></title> <informalexample> <para> If you only have a single script to check, you can pick up http://cvs.php.net/viewvc.cgi/phpdoc/en/internals2/ze1/zendapi/printing.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/internals2/ze1/zendapi/printing.xml diff -u phpdoc/en/internals2/ze1/zendapi/printing.xml:1.7 phpdoc/en/internals2/ze1/zendapi/printing.xml:1.8 --- phpdoc/en/internals2/ze1/zendapi/printing.xml:1.7 Tue Feb 17 09:49:32 2009 +++ phpdoc/en/internals2/ze1/zendapi/printing.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.7 $ --> + <!-- $Revision: 1.8 $ --> <sect2 xml:id="internals2.ze1.zendapi.printing" xmlns="http://docbook.org/ns/docbook"> <title>Printing Information</title> <para> @@ -47,25 +47,25 @@ <entry colname="col2">Description</entry> </row> <row> - <entry colname="col1"><literal>E_ERROR</literal></entry> + <entry colname="col1"><constant>E_ERROR</constant></entry> <entry colname="col2"> Signals an error and terminates execution of the script immediately.</entry> </row> <row> - <entry colname="col1"><literal>E_WARNING</literal></entry> + <entry colname="col1"><constant>E_WARNING</constant></entry> <entry colname="col2"> Signals a generic warning. Execution continues. </entry> </row> <row> - <entry colname="col1"><literal>E_PARSE</literal></entry> + <entry colname="col1"><constant>E_PARSE</constant></entry> <entry colname="col2"> Signals a parser error. Execution continues. </entry> </row> <row> - <entry colname="col1"><literal>E_NOTICE</literal></entry> + <entry colname="col1"><constant>E_NOTICE</constant></entry> <entry colname="col2"> Signals a notice. Execution continues. Note that by default the display of this type of error messages is turned off in @@ -73,21 +73,21 @@ </entry> </row> <row> - <entry colname="col1"><literal>E_CORE_ERROR</literal></entry> + <entry colname="col1"><constant>E_CORE_ERROR</constant></entry> <entry colname="col2"> Internal error by the core; shouldn't be used by user-written modules. </entry> </row> <row> - <entry colname="col1"><literal>E_COMPILE_ERROR</literal></entry> + <entry colname="col1"><constant>E_COMPILE_ERROR</constant></entry> <entry colname="col2"> Internal error by the compiler; shouldn't be used by user-written modules. </entry> </row> <row> - <entry colname="col1"><literal>E_COMPILE_WARNING</literal></entry> + <entry colname="col1"><constant>E_COMPILE_WARNING</constant></entry> <entry colname="col2"> Internal warning by the compiler; shouldn't be used by user-written modules. http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/include.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/language/control-structures/include.xml diff -u phpdoc/en/language/control-structures/include.xml:1.3 phpdoc/en/language/control-structures/include.xml:1.4 --- phpdoc/en/language/control-structures/include.xml:1.3 Fri Feb 27 20:39:32 2009 +++ phpdoc/en/language/control-structures/include.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <sect1 xml:id="function.include" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title><function>include</function></title> @@ -254,7 +254,7 @@ was successful. Notice the difference between the above examples. The first uses <function>return</function> within the included file while the other does not. If the file can't be included, &false; is returned and - <literal>E_WARNING</literal> is issued. + <constant>E_WARNING</constant> is issued. </simpara> <para> If there are functions defined in the included file, they can be used in the http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types/array.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/language/types/array.xml diff -u phpdoc/en/language/types/array.xml:1.9 phpdoc/en/language/types/array.xml:1.10 --- phpdoc/en/language/types/array.xml:1.9 Sun Jun 21 16:34:09 2009 +++ phpdoc/en/language/types/array.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <sect1 xml:id="language.types.array"> <title>Arrays</title> @@ -476,7 +476,7 @@ </informalexample> <para> - Note that <literal>E_ERROR</literal> is also a valid identifier, just like + Note that <constant>E_ERROR</constant> is also a valid identifier, just like <literal>bar</literal> in the first example. But the last example is in fact the same as writing: </para> @@ -494,7 +494,7 @@ </informalexample> <para> - because <literal>E_ERROR</literal> equals <literal>1</literal>, etc. + because <constant>E_ERROR</constant> equals <literal>1</literal>, etc. </para> <sect4 xml:id="language.types.array.foo-bar.why"> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.46&r2=1.47&diff_format=u Index: phpdoc/en/reference/datetime/functions/date.xml diff -u phpdoc/en/reference/datetime/functions/date.xml:1.46 phpdoc/en/reference/datetime/functions/date.xml:1.47 --- phpdoc/en/reference/datetime/functions/date.xml:1.46 Sat Apr 11 16:42:34 2009 +++ phpdoc/en/reference/datetime/functions/date.xml Fri Jun 26 07:38:41 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.46 $ --> +<!-- $Revision: 1.47 $ --> <refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>date</refname> @@ -307,7 +307,7 @@ <para> Returns a formatted date string. If a non-numeric value is used for <parameter>timestamp</parameter>, &false; is returned and an - <literal>E_WARNING</literal> level error is emitted. + <constant>E_WARNING</constant> level error is emitted. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/gmdate.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/datetime/functions/gmdate.xml diff -u phpdoc/en/reference/datetime/functions/gmdate.xml:1.13 phpdoc/en/reference/datetime/functions/gmdate.xml:1.14 --- phpdoc/en/reference/datetime/functions/gmdate.xml:1.13 Wed Jun 20 22:24:18 2007 +++ phpdoc/en/reference/datetime/functions/gmdate.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <refentry xml:id="function.gmdate" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>gmdate</refname> @@ -44,7 +44,7 @@ <para> Returns a formatted date string. If a non-numeric value is used for <parameter>timestamp</parameter>, &false; is returned and an - <literal>E_WARNING</literal> level error is emitted. + <constant>E_WARNING</constant> level error is emitted. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.31&r2=1.32&diff_format=u Index: phpdoc/en/reference/datetime/functions/mktime.xml diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.31 phpdoc/en/reference/datetime/functions/mktime.xml:1.32 --- phpdoc/en/reference/datetime/functions/mktime.xml:1.31 Wed Jun 17 08:49:33 2009 +++ phpdoc/en/reference/datetime/functions/mktime.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> +<!-- $Revision: 1.32 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --> <refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -147,7 +147,7 @@ <row> <entry>5.3.0</entry> <entry> - <function>mktime</function> now throws <literal>E_DEPRECATED</literal> notice + <function>mktime</function> now throws <constant>E_DEPRECATED</constant> notice if the <parameter>is_dst</parameter> parameter is used. </entry> </row> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml?r1=1.31&r2=1.32&diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml diff -u phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.31 phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.32 --- phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml:1.31 Sat May 16 13:43:53 2009 +++ phpdoc/en/reference/mysql/functions/mysql-real-escape-string.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> +<!-- $Revision: 1.32 $ --> <refentry xml:id="function.mysql-real-escape-string" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mysql_real_escape_string</refname> @@ -117,7 +117,7 @@ <para> A MySQL connection is required before using <function>mysql_real_escape_string</function> otherwise an error of - level <literal>E_WARNING</literal> is generated, and &false; is + level <constant>E_WARNING</constant> is generated, and &false; is returned. If <parameter>link_identifier</parameter> isn't defined, the last MySQL connection is used. </para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/regex/book.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/regex/book.xml diff -u phpdoc/en/reference/regex/book.xml:1.4 phpdoc/en/reference/regex/book.xml:1.5 --- phpdoc/en/reference/regex/book.xml:1.4 Wed Dec 10 01:46:03 2008 +++ phpdoc/en/reference/regex/book.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- Purpose: basic.text --> <!-- Membership: core --> @@ -27,7 +27,7 @@ <note> <para> As of PHP 5.3.0 this extension is deprecated, calling any function - provided by this extension will issue an <literal>E_DEPRECATED</literal> + provided by this extension will issue an <constant>E_DEPRECATED</constant> notice. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sem/functions/shm-put-var.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/sem/functions/shm-put-var.xml diff -u phpdoc/en/reference/sem/functions/shm-put-var.xml:1.10 phpdoc/en/reference/sem/functions/shm-put-var.xml:1.11 --- phpdoc/en/reference/sem/functions/shm-put-var.xml:1.10 Tue Nov 4 13:27:52 2008 +++ phpdoc/en/reference/sem/functions/shm-put-var.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.shm-put-var"> <refnamediv> <refname>shm_put_var</refname> @@ -20,7 +20,7 @@ <parameter>variable_key</parameter>. </para> <para> - Warnings (<literal>E_WARNING</literal> level) will be issued if + Warnings (<constant>E_WARNING</constant> level) will be issued if <parameter>shm_identifier</parameter> is not a valid SysV shared memory index or if there was not enough shared memory remaining to complete your request. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/unserialize.xml?r1=1.26&r2=1.27&diff_format=u Index: phpdoc/en/reference/var/functions/unserialize.xml diff -u phpdoc/en/reference/var/functions/unserialize.xml:1.26 phpdoc/en/reference/var/functions/unserialize.xml:1.27 --- phpdoc/en/reference/var/functions/unserialize.xml:1.26 Sun Apr 19 09:46:17 2009 +++ phpdoc/en/reference/var/functions/unserialize.xml Fri Jun 26 07:38:42 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> +<!-- $Revision: 1.27 $ --> <refentry xml:id="function.unserialize" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>unserialize</refname> @@ -64,7 +64,7 @@ </para> <para> In case the passed string is not unserializeable, &false; is returned and - <literal>E_NOTICE</literal> is issued. + <constant>E_NOTICE</constant> is issued. </para> </refsect1> @@ -163,7 +163,7 @@ the serialized &false; value. It is possible to catch this special case by comparing <parameter>str</parameter> with <literal>serialize(false)</literal> or by catching the issued - <literal>E_NOTICE</literal>. + <constant>E_NOTICE</constant>. </para> </warning> </refsect1>