mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
129 lines
4.2 KiB
XML
129 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 87b582706267d69006a8aaaed3b5eda2ccf99c92 Maintainer: leonardolara Status: ready -->
|
|
|
|
<sect1 xml:id="migration72.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Outras alterações</title>
|
|
|
|
<sect2 xml:id="migration72.other-changes.utf8_-functions-to-ext-standard">
|
|
<title>Localização de <function>utf8_encode</function> e <function>utf8_decode</function></title>
|
|
|
|
<para>
|
|
As funções <function>utf8_encode</function> e <function>utf8_decode</function>
|
|
foram movidas para a extensão padrão como funções string, anteriormente
|
|
a extensão <link linkend="book.xml">XML</link> era requerida para que elas estivessem disponíveis.
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration72.other-changes.mail">
|
|
<title>Alterações a <function>mail</function> e <function>mb_send_mail</function></title>
|
|
|
|
<para>
|
|
O parâmetro $additional_headers de <function>mail</function> e
|
|
<function>mb_send_mail</function> agora aceita um <type>array</type>
|
|
ao invés de uma <type>string</type>.
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration72.other-changes.lmdb-support">
|
|
<title>Suporte a LMDB</title>
|
|
|
|
<para>
|
|
A extensão <link linkend="book.dba">DBA</link> agora tem suporte a LMDB.
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration72.other-changes.build-system">
|
|
<title>Alterações ao sistema de construção do PHP</title>
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
Unix: Autoconf 2.64 ou superior agora é requerido para construir o PHP.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
Unix: o argumento de configuração <literal>--with-pdo-oci</literal> não precisa mais
|
|
do número da versão do Oracle Instant Client.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
Unix: o argumento de configuração<literal>--enable-gd-native-ttf</literal> foi
|
|
removido. Não era usado desde o PHP 5.5.0.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
Windows: o argumento de configuração<literal>--with-config-profile</literal> foi
|
|
adicionado. Ele pode ser usado para salvar perfis de configuração específicos, bem parecido com o
|
|
arquivo mágico <filename>config.nice.bat</filename>.
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration72.other-changes.image">
|
|
<title>Alterações à extensão <link linkend="book.image">GD</link></title>
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
<function>imageantialias</function> agora também está disponível se compilada com
|
|
uma biblioteca libgd de sistema.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<function>imagegd</function> armazena imagens truecolor como verdadeiras imagens
|
|
truecolor. Anteriormente, elas eram convertidas para palette.
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration72.other-changes.mcrypt">
|
|
<title>Movendo <link linkend="book.mcrypt">MCrypt</link> para PECL</title>
|
|
|
|
<para>
|
|
A extensão <link linkend="book.mcrypt">MCrypt</link> agora foi movida de dentro
|
|
do núcleo do PHP para a PECL. Dado que a biblioteca mcrypt não tem visto nenhuma atualização
|
|
desde 2007, seu uso é altamente desencorajado. Ao invés dela, as extensões
|
|
<link linkend="book.openssl">OpenSSL</link> ou <link linkend="book.sodium">Sodium</link>
|
|
podem ser usadas.
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 xml:id="migration72.other-changes.session-module-name">
|
|
<title><function>session_module_name</function></title>
|
|
|
|
<para>
|
|
Passar <literal>"user"</literal> para a função <function>session_module_name</function>
|
|
agora emite um erro de nível <constant>E_RECOVERABLE_ERROR</constant>. Anteriormente,
|
|
isto era silenciosamente ignorado.
|
|
</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
|
|
-->
|