cvs: phpdoc /en/appendices migration53.xml
| From: | Kalle Sommer Nielsen | Date: | Fri, 26 Jun 2009 02:39:14 +0000 |
| Subject: | cvs: phpdoc /en/appendices migration53.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4242@lists.php.net to get a copy of this message | ||
kalle Fri Jun 26 02:39:14 2009 UTC
Modified files:
/phpdoc/en/appendices migration53.xml
Log:
* Move around some misplaced paragraphs to their right section (or better fitting)
* Put .sapi and .other sections into list items
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration53.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc/en/appendices/migration53.xml diff -u phpdoc/en/appendices/migration53.xml:1.21 phpdoc/en/appendices/migration53.xml:1.22 --- phpdoc/en/appendices/migration53.xml:1.21 Thu Jun 25 18:19:27 2009 +++ phpdoc/en/appendices/migration53.xml Fri Jun 26 02:39:14 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <appendix xml:id="migration53" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Migrating from PHP 5.2.x to PHP 5.3.x</title> <para> @@ -393,20 +393,36 @@ <section xml:id="migration53.sapi"> <title>Changes in SAPI modules</title> - <para> - A new SAPI is now available called litespeed. - </para> - <para> - FastCGI is now always enabled and can not be disabled. See <literal>sapi/cgi/CHANGES</literal> - for more details. - </para> - <para> - A new CGI SAPI option, <literal>-T</literal>, can be used to measure execution time of a script - repeated several times. - </para> - <para> - CGI/FastCGI now has support for .htaccess style user-defined &php.ini; files. - </para> + <itemizedlist> + <listitem> + <simpara> + A new SAPI is now available called litespeed. + </simpara> + </listitem> + <listitem> + <simpara> + FastCGI is now always enabled and can not be disabled. See <literal>sapi/cgi/CHANGES</literal> + for more details. + </simpara> + </listitem> + <listitem> + <simpara> + A new CGI SAPI option, <literal>-T</literal>, can be used to measure execution time of a script + repeated several times. + </simpara> + </listitem> + <listitem> + <simpara> + CGI/FastCGI now has support for .htaccess style user-defined &php.ini; files. + </simpara> + </listitem> + <listitem> + <simpara> + The <function>dl</function> function is now disabled by default, + and only available under the cli, cgi and the embed SAPIs. + </simpara> + </listitem> + </itemizedlist> </section> <section xml:id="migration53.deprecated"> @@ -591,6 +607,11 @@ </listitem> <listitem> <simpara> + <function>mail</function> now supports logging of mail sent. + </simpara> + </listitem> + <listitem> + <simpara> <function>nl2br</function> - Added <parameter>is_xhtml</parameter>. </simpara> @@ -619,38 +640,6 @@ - Added <parameter>before_needle</parameter>. </simpara> </listitem> - <listitem> - <simpara> - - <function>fopen</function> got a new mode option - (<literal>n</literal>), which passes will pass - <constant>O_NONBLOCK</constant> to the underlaying - <literal>syscall()</literal> call. - </simpara> - </listitem> - <listitem> - <simpara> - The <function>dl</function> function is now disabled by default, - and only available under the cli, cgi and the embed SAPIs. - </simpara> - </listitem> - <listitem> - <simpara> - Changed <function>opendir</function>, <function>dir</function> and - <function>scandir</function> to use default context when no context - argument is passed. - </simpara> - </listitem> - <listitem> - <simpara> - <function>mail</function> now supports logging of mail sent. - </simpara> - </listitem> - <listitem> - <simpara> - <function>getopt</function> accepts "long options" now on all platforms. - Optional values and <literal>=</literal> as seperator for shortopts are now supported. - </simpara> - </listitem> </itemizedlist> <para><link linkend="book.json">json</link>:</para> @@ -1054,6 +1043,38 @@ </simpara> </listitem> </itemizedlist> + + <para> + The following functions are now natively implemented, meaning they + are always available no matter the operating system: + </para> + <itemizedlist> + <listitem> + <simpara> + <function>acosh</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>asinh</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>atanh</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>expm1</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>log1p</function> + </simpara> + </listitem> + </itemizedlist> </section> <section xml:id="migration53.new-stream-wrappers"> @@ -2146,52 +2167,91 @@ <section xml:id="migration53.other"> <title>Other changes</title> - <para> - <function>SplFileInfo::getpathinfo</function> now returns information about - the path name. - </para> - <para> - <classname>SplObjectStorage</classname> now has <classname>ArrayAccess</classname> - support. It is also now possible to store associative information with objects in - <classname>SplObjectStorage</classname>. - </para> - <para> - In the GD extension, there is now pixelation support available through - the <function>imagefilter</function> function. - </para> - <para> - There is now native support for the following math functions: <function>asinh</function>, - <function>acosh</function>, <function>atanh</function>, <function>log1p</function> and - <function>expm1</function>. - </para> - <para> - <function>var_dump</function> outputs now includes private object members. - </para> - <para> - <function>session_start</function> now returns &false; when the session startup fails. - </para> - <para> - <function>property_exists</function> now checks the existence of a property independent of - accessibility (like <function>method_exists</function>). - </para> - <para> - <link linkend="wrappers">Stream wrappers</link> can now be used by - <link linkend="ini.include-path">include_path</link>. - </para> - <para>The <parameter>initial</parameter> parameter for - <function>array_reduce</function> can now be of any type. - </para> - <para> - The <link linkend="ref.dir">directory functions</link> <function>opendir</function>, - <function>scandir</function> and <function>dir</function> now use the default - context if no context is passed as an argument to them. - </para> - <para> - <function>crypt</function> now has Blowfish and extended DES support, and - <function>crypt</function> features are now 100% portable. PHP has its own - internal crypt implementation which drops into place when support for - <literal>crypt</literal> or <literal>crypt_r</literal> is not found. - </para> + <itemizedlist> + <listitem> + <simpara> + <function>SplFileInfo::getpathinfo</function> now returns information about + the path name. + </simpara> + </listitem> + <listitem> + <simpara> + <classname>SplObjectStorage</classname> now has <classname>ArrayAccess</classname> + support. It is also now possible to store associative information with objects in + <classname>SplObjectStorage</classname>. + </simpara> + </listitem> + <listitem> + <simpara> + In the GD extension, there is now pixelation support available through + the <function>imagefilter</function> function. + </simpara> + </listitem> + <listitem> + <simpara> + <function>var_dump</function> outputs now includes private object members. + </simpara> + </listitem> + <listitem> + <simpara> + <function>session_start</function> now returns &false; when the session startup fails. + </simpara> + </listitem> + <listitem> + <simpara> + <function>property_exists</function> now checks the existence of a property independent of + accessibility (like <function>method_exists</function>). + </simpara> + </listitem> + <listitem> + <simpara> + <link linkend="wrappers">Stream wrappers</link> can now be used by + <link linkend="ini.include-path">include_path</link>. + </simpara> + </listitem> + <listitem> + <simpara> + The <parameter>initial</parameter> parameter for + <function>array_reduce</function> can now be of any type. + </simpara> + </listitem> + <listitem> + <simpara> + The <link linkend="ref.dir">directory functions</link> <function>opendir</function>, + <function>scandir</function> and <function>dir</function> now use the default + context if no context is passed as an argument to them. + </simpara> + </listitem> + <listitem> + <simpara> + <function>crypt</function> now has Blowfish and extended DES support, and + <function>crypt</function> features are now 100% portable. PHP has its own + internal crypt implementation which drops into place when support for + <literal>crypt</literal> or <literal>crypt_r</literal> is not found. + </simpara> + </listitem> + <listitem> + <simpara> + <function>getopt</function> accepts "long options" now on all platforms. + Optional values and <literal>=</literal> as seperator for shortopts are now supported. + </simpara> + </listitem> + <listitem> + <simpara> + - <function>fopen</function> got a new mode option + (<literal>n</literal>), which passes will pass + <constant>O_NONBLOCK</constant> to the underlaying + <literal>syscall()</literal> call. + </simpara> + </listitem> + <listitem> + <simpara> + <function>opendir</function>, <function>dir</function> and + <function>scandir</function> functions will not use the default context + if no context argument is passed. + </simpara> + </listitem> + </itemizedlist> </section> </appendix>
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration53.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc/en/appendices/migration53.xml diff -u phpdoc/en/appendices/migration53.xml:1.21 phpdoc/en/appendices/migration53.xml:1.22 --- phpdoc/en/appendices/migration53.xml:1.21 Thu Jun 25 18:19:27 2009 +++ phpdoc/en/appendices/migration53.xml Fri Jun 26 02:39:14 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <appendix xml:id="migration53" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Migrating from PHP 5.2.x to PHP 5.3.x</title> <para> @@ -393,20 +393,36 @@ <section xml:id="migration53.sapi"> <title>Changes in SAPI modules</title> - <para> - A new SAPI is now available called litespeed. - </para> - <para> - FastCGI is now always enabled and can not be disabled. See <literal>sapi/cgi/CHANGES</literal> - for more details. - </para> - <para> - A new CGI SAPI option, <literal>-T</literal>, can be used to measure execution time of a script - repeated several times. - </para> - <para> - CGI/FastCGI now has support for .htaccess style user-defined &php.ini; files. - </para> + <itemizedlist> + <listitem> + <simpara> + A new SAPI is now available called litespeed. + </simpara> + </listitem> + <listitem> + <simpara> + FastCGI is now always enabled and can not be disabled. See <literal>sapi/cgi/CHANGES</literal> + for more details. + </simpara> + </listitem> + <listitem> + <simpara> + A new CGI SAPI option, <literal>-T</literal>, can be used to measure execution time of a script + repeated several times. + </simpara> + </listitem> + <listitem> + <simpara> + CGI/FastCGI now has support for .htaccess style user-defined &php.ini; files. + </simpara> + </listitem> + <listitem> + <simpara> + The <function>dl</function> function is now disabled by default, + and only available under the cli, cgi and the embed SAPIs. + </simpara> + </listitem> + </itemizedlist> </section> <section xml:id="migration53.deprecated"> @@ -591,6 +607,11 @@ </listitem> <listitem> <simpara> + <function>mail</function> now supports logging of mail sent. + </simpara> + </listitem> + <listitem> + <simpara> <function>nl2br</function> - Added <parameter>is_xhtml</parameter>. </simpara> @@ -619,38 +640,6 @@ - Added <parameter>before_needle</parameter>. </simpara> </listitem> - <listitem> - <simpara> - - <function>fopen</function> got a new mode option - (<literal>n</literal>), which passes will pass - <constant>O_NONBLOCK</constant> to the underlaying - <literal>syscall()</literal> call. - </simpara> - </listitem> - <listitem> - <simpara> - The <function>dl</function> function is now disabled by default, - and only available under the cli, cgi and the embed SAPIs. - </simpara> - </listitem> - <listitem> - <simpara> - Changed <function>opendir</function>, <function>dir</function> and - <function>scandir</function> to use default context when no context - argument is passed. - </simpara> - </listitem> - <listitem> - <simpara> - <function>mail</function> now supports logging of mail sent. - </simpara> - </listitem> - <listitem> - <simpara> - <function>getopt</function> accepts "long options" now on all platforms. - Optional values and <literal>=</literal> as seperator for shortopts are now supported. - </simpara> - </listitem> </itemizedlist> <para><link linkend="book.json">json</link>:</para> @@ -1054,6 +1043,38 @@ </simpara> </listitem> </itemizedlist> + + <para> + The following functions are now natively implemented, meaning they + are always available no matter the operating system: + </para> + <itemizedlist> + <listitem> + <simpara> + <function>acosh</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>asinh</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>atanh</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>expm1</function> + </simpara> + </listitem> + <listitem> + <simpara> + <function>log1p</function> + </simpara> + </listitem> + </itemizedlist> </section> <section xml:id="migration53.new-stream-wrappers"> @@ -2146,52 +2167,91 @@ <section xml:id="migration53.other"> <title>Other changes</title> - <para> - <function>SplFileInfo::getpathinfo</function> now returns information about - the path name. - </para> - <para> - <classname>SplObjectStorage</classname> now has <classname>ArrayAccess</classname> - support. It is also now possible to store associative information with objects in - <classname>SplObjectStorage</classname>. - </para> - <para> - In the GD extension, there is now pixelation support available through - the <function>imagefilter</function> function. - </para> - <para> - There is now native support for the following math functions: <function>asinh</function>, - <function>acosh</function>, <function>atanh</function>, <function>log1p</function> and - <function>expm1</function>. - </para> - <para> - <function>var_dump</function> outputs now includes private object members. - </para> - <para> - <function>session_start</function> now returns &false; when the session startup fails. - </para> - <para> - <function>property_exists</function> now checks the existence of a property independent of - accessibility (like <function>method_exists</function>). - </para> - <para> - <link linkend="wrappers">Stream wrappers</link> can now be used by - <link linkend="ini.include-path">include_path</link>. - </para> - <para>The <parameter>initial</parameter> parameter for - <function>array_reduce</function> can now be of any type. - </para> - <para> - The <link linkend="ref.dir">directory functions</link> <function>opendir</function>, - <function>scandir</function> and <function>dir</function> now use the default - context if no context is passed as an argument to them. - </para> - <para> - <function>crypt</function> now has Blowfish and extended DES support, and - <function>crypt</function> features are now 100% portable. PHP has its own - internal crypt implementation which drops into place when support for - <literal>crypt</literal> or <literal>crypt_r</literal> is not found. - </para> + <itemizedlist> + <listitem> + <simpara> + <function>SplFileInfo::getpathinfo</function> now returns information about + the path name. + </simpara> + </listitem> + <listitem> + <simpara> + <classname>SplObjectStorage</classname> now has <classname>ArrayAccess</classname> + support. It is also now possible to store associative information with objects in + <classname>SplObjectStorage</classname>. + </simpara> + </listitem> + <listitem> + <simpara> + In the GD extension, there is now pixelation support available through + the <function>imagefilter</function> function. + </simpara> + </listitem> + <listitem> + <simpara> + <function>var_dump</function> outputs now includes private object members. + </simpara> + </listitem> + <listitem> + <simpara> + <function>session_start</function> now returns &false; when the session startup fails. + </simpara> + </listitem> + <listitem> + <simpara> + <function>property_exists</function> now checks the existence of a property independent of + accessibility (like <function>method_exists</function>). + </simpara> + </listitem> + <listitem> + <simpara> + <link linkend="wrappers">Stream wrappers</link> can now be used by + <link linkend="ini.include-path">include_path</link>. + </simpara> + </listitem> + <listitem> + <simpara> + The <parameter>initial</parameter> parameter for + <function>array_reduce</function> can now be of any type. + </simpara> + </listitem> + <listitem> + <simpara> + The <link linkend="ref.dir">directory functions</link> <function>opendir</function>, + <function>scandir</function> and <function>dir</function> now use the default + context if no context is passed as an argument to them. + </simpara> + </listitem> + <listitem> + <simpara> + <function>crypt</function> now has Blowfish and extended DES support, and + <function>crypt</function> features are now 100% portable. PHP has its own + internal crypt implementation which drops into place when support for + <literal>crypt</literal> or <literal>crypt_r</literal> is not found. + </simpara> + </listitem> + <listitem> + <simpara> + <function>getopt</function> accepts "long options" now on all platforms. + Optional values and <literal>=</literal> as seperator for shortopts are now supported. + </simpara> + </listitem> + <listitem> + <simpara> + - <function>fopen</function> got a new mode option + (<literal>n</literal>), which passes will pass + <constant>O_NONBLOCK</constant> to the underlaying + <literal>syscall()</literal> call. + </simpara> + </listitem> + <listitem> + <simpara> + <function>opendir</function>, <function>dir</function> and + <function>scandir</function> functions will not use the default context + if no context argument is passed. + </simpara> + </listitem> + </itemizedlist> </section> </appendix>