* Move around some misplaced paragraphs to their right section (or better fitting)

* Put .sapi and .other sections into list items


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282790 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2009-06-26 02:39:14 +00:00
parent 37c8ec8c6a
commit 3147ee5c8c

View file

@ -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">
@ -589,6 +605,11 @@
- Added <parameter>details</parameter>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>mail</function> now supports logging of mail sent.
</simpara>
</listitem>
<listitem>
<simpara>
<function>nl2br</function>
@ -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>