php-doc-en/appendices/migration72/other-changes.xml
Martin Samesch 87b5827062
Typos
2022-04-05 14:00:49 +02:00

128 lines
3.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<sect1 xml:id="migration72.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Other changes</title>
<sect2 xml:id="migration72.other-changes.utf8_-functions-to-ext-standard">
<title>Moving of <function>utf8_encode</function> and <function>utf8_decode</function></title>
<para>
The <function>utf8_encode</function> and <function>utf8_decode</function>
functions have now been moved to the standard extension as string functions, whereas before
the <link linkend="book.xml">XML</link> extension was required for them to be available.
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.mail">
<title>Changes to <function>mail</function> and <function>mb_send_mail</function></title>
<para>
The $additional_headers parameter of <function>mail</function> and
<function>mb_send_mail</function> now also accepts an <type>array</type>
instead of a <type>string</type>.
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.lmdb-support">
<title>LMDB support</title>
<para>
The <link linkend="book.dba">DBA</link> extension now has support for LMDB.
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.build-system">
<title>Changes to the PHP build system</title>
<itemizedlist>
<listitem>
<simpara>
Unix: Autoconf 2.64 or greater is now required to build PHP.
</simpara>
</listitem>
<listitem>
<simpara>
Unix: <literal>--with-pdo-oci</literal> configure argument no longer needs
the version number of the Oracle Instant Client.
</simpara>
</listitem>
<listitem>
<simpara>
Unix: <literal>--enable-gd-native-ttf</literal> configure argument has been
removed. This was not used since PHP 5.5.0.
</simpara>
</listitem>
<listitem>
<simpara>
Windows: <literal>--with-config-profile</literal> configure argument has been
added. This can be used to save specific configures, much like the magical
<filename>config.nice.bat</filename> file.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration72.other-changes.image">
<title>Changes to <link linkend="book.image">GD</link></title>
<itemizedlist>
<listitem>
<simpara>
<function>imageantialias</function> is now also available if compiled with
a system libgd.
</simpara>
</listitem>
<listitem>
<simpara>
<function>imagegd</function> stores truecolor images as real truecolor
images. Formerly, they have been converted to palette.
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration72.other-changes.mcrypt">
<title>Moving <link linkend="book.mcrypt">MCrypt</link> to PECL</title>
<para>
The <link linkend="book.mcrypt">MCrypt</link> extension has now been moved
out of the core to PECL. Given the mcrypt library has not seen any updates
since 2007, its usage is highly discouraged. Instead, either the
<link linkend="book.openssl">OpenSSL</link> or <link linkend="book.sodium">Sodium</link>
extension should be used.
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.session-module-name">
<title><function>session_module_name</function></title>
<para>
Passing <literal>"user"</literal> to <function>session_module_name</function>
now raises an error of level <constant>E_RECOVERABLE_ERROR</constant>. Formerly,
this has been silently ignored.
</para>
</sect2>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->