com doc/pt_br: Translations by @rafaelmamorim - https://github.com/phpdocbrbridge/traducao/pull/4: appendices/migration80/incompatible.xml

From: Date: Sat, 06 Mar 2021 18:22:39 +0000
Subject: com doc/pt_br: Translations by @rafaelmamorim - https://github.com/phpdocbrbridge/traducao/pull/4: appendices/migration80/incompatible.xml
Groups: php.doc.pt-br 
Request: Send a blank email to doc-pt-br+get-7106@lists.php.net to get a copy of this message
Commit: 6464fdd942baa01ca45ce44393b4e491ab1f1b1d Author: André L F S Bacci <alfsb@users.noreply.github.com> Sat, 6 Mar 2021 15:22:39 -0300 Parents: cb44ed79b4b1827e421f276f7ca10147e0bd9310 Branches: master Link: http://git.php.net/?p=doc/pt_br.git;a=commitdiff;h=6464fdd942baa01ca45ce44393b4e491ab1f1b1d Log: Translations by @rafaelmamorim - https://github.com/phpdocbrbridge/traducao/pull/4 Closes GH-4. Changed paths: M appendices/migration80/incompatible.xml

diff --git a/appendices/migration80/incompatible.xml b/appendices/migration80/incompatible.xml index d699dcc81..0a5ff64b5 100644 --- a/appendices/migration80/incompatible.xml +++ b/appendices/migration80/incompatible.xml @@ -68,129 +68,128 @@ <itemizedlist> <listitem> <para> - <literal>match</literal> is now a reserved keyword. + <literal>match</literal> é agora uma palavra reservada. </para> </listitem> <listitem> <para> - Assertion failures now throw by default. If the old behavior is desired, - <code>assert.exception=0</code> can be set in the INI settings. + As falhas de asserção agora são lançadas por padrão. Se o comportamento antigo é desejado, + <code>assert.exception=0</code> pode ser definido nas configurações INI. </para> </listitem> <listitem> <para> - Methods with the same name as the class are no longer interpreted as constructors. The - <link linkend="object.construct">__construct()</link> method should be used instead. + Métodos com o mesmo nome de classe não são mais interpretados como construtor. O + método <link linkend="object.construct">__construct()</link> deve ser utilizado em seu lugar. </para> </listitem> <listitem> <para> - The ability to call non-static methods statically has been removed. Thus - <function>is_callable</function> will fail when checking for a non-static method with a classname - (must check with an object instance). + A capacidade de chamar métodos não estáticos estaticamente foi removida. Por isso + <function>is_callable</function> irá falhar ao verificar um método não estático com + um nome de classe (deve se realizar uma verificação com uma instância de objeto). </para> </listitem> <listitem> <para> - The <code>(real)</code> and <code>(unset)</code> casts have been removed. + Foram removidos os casts <code>(real)</code> e <code>(unset)</code>. </para> </listitem> <listitem> <para> - The <link linkend="ini.track-errors">track_errors</link> ini directive has been removed. This - means that <varname>php_errormsg</varname> is no longer available. The - <function>error_get_last</function> function may be used instead. + A diretiva <link linkend="ini.track-errors">track_errors</link> no php.ini foi removida. Isto + signifca que o <varname>php_errormsg</varname> não está mais disponível. A função + <function>error_get_last</function> deve ser utilizada em seu lugar. </para> </listitem> <listitem> <para> - The ability to define case-insensitive constants has been removed. The third argument to - <function>define</function> may no longer be &true;. + A capacidade de definir constantes que não diferenciam maiúsculas de minúsculas foi removida. O + terceiro argumento para a função <function>define</function> não pode ser mais &true;. </para> </listitem> <listitem> <para> - The ability to specify an autoloader using an <function>__autoload</function> function has been - removed. <function>spl_autoload_register</function> should be used instead. + A capacidade de especificar um auto carregamento utilizando a função <function>__autoload</function> foi + removida. A função <function>spl_autoload_register</function> deve ser utilizada em seu lugar. </para> </listitem> <listitem> <para> - The <parameter>errcontext</parameter> argument for custom error handlers has been removed. + O argumento <parameter>errcontext</parameter> para manipulador de erros personalizados foi removido. </para> </listitem> <listitem> <para> - <function>create_function</function> has been removed. Anonymous functions may be used instead. + <function>create_function</function> foi removido. Ao invés disso, funções anônimas devem ser utilizadas. </para> </listitem> <listitem> <para> - <function>each</function> has been removed. &foreach; or <classname>ArrayIterator</classname> - should be used instead. + A função <function>each</function> foi removida. &foreach; ou <classname>ArrayIterator</classname> + devem ser utilizados em seu lugar. </para> </listitem> <listitem> <para> - The ability to unbind <varname>this</varname> from closures that were created from a method, - using <methodname>Closure::fromCallable</methodname> or - <methodname>ReflectionMethod::getClosure</methodname>, has been removed. + Foi removida a capacidade de desvincular <varname>this</varname> de closures que foram + criados a partir de um método, usando <methodname>Closure::fromCallable</methodname> ou + <methodname>ReflectionMethod::getClosure</methodname>. </para> </listitem> <listitem> <para> - The ability to unbind <varname>this</varname> from proper closures that contain uses of - <varname>this</varname> has also been removed. + A habilidade de desvincular <varname>this</varname> de closures que contêm usos de + <varname>this</varname> também foi removida. </para> </listitem> <listitem> <para> - The ability to use <function>array_key_exists</function> with objects has been removed. + A habilidade de utilizar <function>array_key_exists</function> com objetos foi removida. <function>isset</function> or <function>property_exists</function> may be used instead. </para> </listitem> <listitem> <para> - The behavior of <function>array_key_exists</function> regarding the type of the - <parameter>key</parameter> parameter has been made consistent with <function>isset</function> and - normal array access. All key types now use the usual coercions and array/object keys throw a - <classname>TypeError</classname>. + O comportamento da função <function>array_key_exists</function> com relação ao tipo do parâmetro + <parameter>key</parameter> agora é consistente com a função <function>isset</function> e + acesso normal à array. Todos os tipos de chave agora usam as coerções usuais e as chaves de + array/objeto lançam um <classname>TypeError</classname>. </para> </listitem> <listitem> <para> - Any array that has a number <replaceable>n</replaceable> as its first numeric key will use - <replaceable>n+1</replaceable> for its next implicit key, even if <replaceable>n</replaceable> is - negative. + Qualquer array com número <replaceable>n</replaceable> em sua primeira posição utilizará + <replaceable>n+1</replaceable> em sua próxima chave implícita mesmo se <replaceable>n</replaceable> + for negativo. <!-- RFC: https://wiki.php.net/rfc/negative_array_index --> </para> </listitem> <listitem> <para> - The default error_reporting level is now <constant>E_ALL</constant>. Previously it excluded - <constant>E_NOTICE</constant> and <constant>E_DEPRECATED</constant>. + O nível de error_reporting padrão é <constant>E_ALL</constant>. Anteriormente excluía + <constant>E_NOTICE</constant> e <constant>E_DEPRECATED</constant>. </para> </listitem> <listitem> <para> - <link linkend="ini.display-startup-errors">display_startup_errors</link> is now enabled by - default. + <link linkend="ini.display-startup-errors">display_startup_errors</link> é habilitado agora por + padrão. </para> </listitem> <listitem> <para> - Using <type>parent</type> inside a class that has no parent will now result in a fatal - compile-time error. + Usar <type>parent</type> dentro de uma classe sem pai agora produzirá um erro fatal em tempo de execução. </para> </listitem> <listitem> <para> - The <literal>@</literal> operator will no longer silence fatal errors + O operador <literal>@</literal> não irá mais silenciar erros fatais (<constant>E_ERROR</constant>, <constant>E_CORE_ERROR</constant>, <constant>E_COMPILE_ERROR</constant>, <constant>E_USER_ERROR</constant>, - <constant>E_RECOVERABLE_ERROR</constant>, <constant>E_PARSE</constant>). Error handlers that - expect error_reporting to be <literal>0</literal> when <literal>@</literal> is used, should be - adjusted to use a mask check instead: + <constant>E_RECOVERABLE_ERROR</constant>, <constant>E_PARSE</constant>). Manipuladores de erros que + esperam que error_reporting seja <literal>0</literal> quando <literal>@</literal> é usado, devem + ser ajustados para usar uma verificação de máscara: </para> <para> <programlisting role="php"> @@ -216,15 +215,16 @@ function my_error_handler($err_no, $err_msg, $filename, $linenum) { </programlisting> </para> <para> - Additionally, care should be taken that error messages are not displayed in production - environments, which can result in information leaks. Please ensure that - <code>display_errors=Off</code> is used in conjunction with error logging. + Adicionalmente, cuidados devem ser tomados para que mensagens de erro não sejam mostradas + no ambiente de produção, o que podem resultar em vazamento de informações. Certifique-se + de que a diretiva <code>display_errors=Off</code> seja usada em conjunto com o log de + erros. </para> </listitem> <listitem> <para> - <literal>#[</literal> is no longer interpreted as the start of a comment, - as this syntax is now used for attributes. + <literal>#[</literal> não é mais interpretado como o início de um comentário, + já que esta sintaxe é utilizada agora para atributos. <!-- RFC: https://wiki.php.net/rfc/shorter_attribute_syntax_change --> </para> </listitem> @@ -237,8 +237,8 @@ function my_error_handler($err_no, $err_msg, $filename, $linenum) { </listitem> <listitem> <para> - The precedence of the concatenation operator has changed relative to bitshifts and addition as - well as subtraction. + A precedência dos operadores de concatenação foi modificada em relação ao bitshifts tanto na adição + como na subtração </para> <para> <programlisting role="php"> @@ -257,9 +257,8 @@ echo "Sum:" . ($a + $b); </listitem> <listitem> <para> - Arguments with a default value that resolves to &null; at runtime will no longer implicitly mark - the argument type as nullable. Either an explicit nullable type, or an explicit &null; default - value has to be used instead. + Argumentos com um valor padrão que avaliam para &null; em tempo de execução, não irão mais marcar o tipo do parâmetro como implícito. Um tipo explícito nulo, ou explicitamente &null; como argumento padrão + deve ser usado em seu lugar. </para> <para> <programlisting role="php"> @@ -278,7 +277,7 @@ function test(int $arg = null) {} </listitem> <listitem> <para> - A number of warnings have been converted into <classname>Error</classname> exceptions: + Uma série de avisos foram convertidos para exceções do tipo <classname>Error</classname>: </para> <para> <simplelist> @@ -303,58 +302,57 @@ function test(int $arg = null) {} </simplelist> </para> <para> - A number of notices have been converted into warnings: + Uma série de notificações foram convertidas em avisos: </para> <para> <simplelist> - <member>Attempting to read an undefined variable.</member> - <member>Attempting to read an undefined property.</member> - <member>Attempting to read an undefined array key.</member> - <member>Attempting to read a property of a non-object.</member> - <member>Attempting to access an array index of a non-array.</member> - <member>Attempting to convert an array to string.</member> - <member>Attempting to use a resource as an array key.</member> - <member>Attempting to use null, a boolean, or a float as a string offset.</member> - <member>Attempting to read an out-of-bounds string offset.</member> - <member>Attempting to assign an empty string to a string offset.</member> + <member>Tentativa de leitura em uma variável não definida.</member> + <member>Tentativa de leitura em uma propriedade não definida.</member> + <member>Tentativa de leitura em uma chave de array não definido.</member> + <member>Tentativa de leitura em uma propriedade de um não objeto.</member> + <member>Tentativa de acesso em um índice de array em um não array.</member> + <member>Tentativa de conversão de um array para uma string.</member> + <member>Tentativa de usar um resource como uma chave de array.</member> + <member>Tentativa de usar null, um booleano ou um número de ponto flutuante(float) como uma posinção em uma string.</member> + <member>Tentativa de leitura em uma posição fora dos limites de uma string.</member> + <member>Tentativa de atribuir uma string vazia a uma posição de uma string.</member> </simplelist> <!-- RFC: https://wiki.php.net/rfc/engine_warnings --> </para> </listitem> <listitem> <para> - Attempting to assign multiple bytes to a string offset will now emit a warning. + Tentativa de atribuir multiplos bytes em uma posição de uma string agora emite um aviso. </para> </listitem> <listitem> <para> - Unexpected characters in source files (such as NUL bytes outside of strings) will now result in a - <classname>ParseError</classname> exception instead of a compile warning. + Caracteres inesperados no arquivo fonte (como bytes NUL fora de strings) agora irá resultar em uma + exceção <classname>ParseError</classname> ou invés de um aviso do compilador. </para> </listitem> <listitem> <para> - Uncaught exceptions now go through "clean shutdown", which means that destructors will be called - after an uncaught exception. + As exceções não capturadas agora passam por "desligamento limpo", o que significa que os destrutores são chamados + após uma exceção não detectada. </para> </listitem> <listitem> <para> - The compile time fatal error "Only variables can be passed by reference" has been delayed until - runtime, and converted into an "Argument cannot be passed by reference" - <classname>Error</classname> exception. + O erro fatal de tempo de compilação "Somente variáveis podem ser passadas por referência" foi adiado até o + runtime, e convertido em uma exceção de <classname>Error</classname> "argumento não pode ser passado por referência". </para> </listitem> <listitem> <para> - Some "Only variables should be passed by reference" notices have been converted to "Argument - cannot be passed by reference" exception. + Alguns alertas do tipo "Somente variáveis podem ser passadas por referência" foram convertidas para + exceções do tipo "Argumento deve ser passado por referência" </para> </listitem> <listitem> <para> - The generated name for anonymous classes has changed. It will now include the name of the first - parent or interface: + O nome gerado para classes anônimas foi modificado. Agora, inclui o nome do primeira classe ou + interface: </para> <para> <programlisting role="php"> @@ -371,13 +369,13 @@ new class {}; </programlisting> </para> <para> - The name shown above is still followed by a NUL byte and a unique suffix. + O nome mostrado acima ainda é seguido por um byte NUL e um sufixo exclusivo. </para> </listitem> <listitem> <para> - Non-absolute trait method references in trait alias adaptations are now required to be - unambiguous: + As referências de método de traço não absoluto em adaptações de alias de traço agora precisam ser + inequívocas: </para> <para> <programlisting role="php"> @@ -394,16 +392,15 @@ class X { </programlisting> </para> <para> - If both <code>T1::func()</code> and <code>T2::func()</code> exist, this code was previously - silently accepted, and func was assumed to refer to <code>T1::func</code>. Now it will generate a - fatal error instead, and either <code>T1::func</code> or <code>T2::func</code> needs to be - written explicitly. + Se <code> T1::func()</code> e <code>T2::func()</code> existem, este código anteriormente foi + aceito de forma silenciosa e func assumia referência a <code>T1::func</code>. Agora vai gerar um + erro fatal, e <code>T1::func</code> ou <code>T2::func </code> precisam ser escritos explicitamente. </para> </listitem> <listitem> <para> - The signature of abstract methods defined in traits is now checked against the implementing class - method: + A assinatura de métodos abstratos definido nas características agora é verificada no método de implementação + da classe: </para> <para> <programlisting role="php"> @@ -427,31 +424,32 @@ class MyClass { </listitem> <listitem> <para> - Disabled functions are now treated exactly like non-existent functions. Calling a disabled - function will report it as unknown, and redefining a disabled function is now possible. + Funções desabilitadas agora são tratadas da mesma forma que funções não existentes. Ao chamar + uma função desabilitada será informado que ela é desconhecida, e redefinir uma função + desabilitada é agora possível. </para> </listitem> <listitem> <para> - <literal>data://</literal> stream wrappers are no longer writable, which matches the documented - behavior. + Os stream wrappers <literal>data://</literal> não podem mais ser writable, indo + de encontro ao comportamento documentado. </para> </listitem> <listitem> <para> - The arithmetic and bitwise operators <literal>+</literal>, <literal>-</literal>, + Os operadores aritméticos e bit a bit <literal>+</literal>, <literal>-</literal>, <literal>*</literal>, <literal>/</literal>, <literal>**</literal>, <literal>%</literal>, <literal>&lt;&lt;</literal>, <literal>&gt;&gt;</literal>, <literal>&amp;</literal>, <literal>|</literal>, <literal>^</literal>, <literal>~</literal>, <literal>++</literal>, - <literal>--</literal> will now consistently throw a <classname>TypeError</classname> when one of - the operands is an &array;, &resource; or non-overloaded &object;. The only exception to this is - the array <literal>+</literal> array merge operation, which remains supported. + <literal>--</literal> irá agora apresentar um <classname>TypeError</classname> quando um dos + operandos estiver em um &array;, &resource; ou em um &object; não sobrecarregado. A unica exceção a isto é + a operação de mesclagem de array com <literal>+</literal>, que permanece suportada. <!-- RFC: https://wiki.php.net/rfc/arithmetic_operator_type_checks --> </para> </listitem> <listitem> <para> - Float to string casting will now always behave locale-independently. + A conversão de float para string agora sempre terá o mesmo comportamento, independentemente da localidade. </para> <para> <programlisting role="php"> @@ -467,8 +465,8 @@ echo $f, "\n"; </programlisting> </para> <para> - See <function>printf</function>, <function>number_format</function> and - <methodname>NumberFormatter</methodname> for ways to customize number formatting. + Veja as funções <function>printf</function>, <function>number_format</function> and + <methodname>NumberFormatter</methodname> para customizar a formatação de números. <!-- RFC: https://wiki.php.net/rfc/locale_independent_float_to_string --> </para> </listitem> @@ -494,79 +492,79 @@ $array["key"]; </listitem> <listitem> <para> - Applying the final modifier on a private method will now produce a warning unless that method is - the constructor. + Aplicando o modificador final ou método privado agora irá produzir um aviso a menos que o método + seja o construtor. <!-- FC: https://wiki.php.net/rfc/inheritance_private_methods --> </para> </listitem> <listitem> <para> - If an object constructor <function>exit</function>s, the object destructor will no longer be - called. This matches the behavior when the constructor throws. + Se um objeto construtor chama a função <function>exit</function>, o objeto destrutor não será chamado. + Isto vai de encontro ao comportamento que o contrutor executa. </para> </listitem> <listitem> <para> - Namespaced names can no longer contain whitespace: While <code>Foo\Bar</code> will be recognized - as a namespaced name, <code>Foo \ Bar</code> will not. Conversely, reserved keywords are now - permitted as namespace segments, which may also change the interpretation of code: - <code>new\x</code> is now the same as <code>constant('new\x')</code>, not - <code>new \x()</code>. + Nomes de Namespace não podem mais conter espaços em branco: Enquanto <code>Foo\Bar</code> será reconhecido + como um nome de Namespace, <code>Foo \ Bar</code> não será. Por outro lado, as palavras-chave agora serão + permitidos como segmentos de um namespace, o que permite a mudança na interpretação do código: + <code>new\x</code> agora é o mesmo que <code>constant('new\x')</code>, e não <code>new \x()</code>. <!-- RFC: https://wiki.php.net/rfc/namespaced_names_as_token --> </para> </listitem> <listitem> <para> - Nested ternaries now require explicit parentheses. + Os ternários aninhados agora exigem parênteses explícitos. <!-- RFC: https://wiki.php.net/rfc/ternary_associativity --> </para> </listitem> <listitem> <para> - <function>debug_backtrace</function> and <methodname>Exception::getTrace</methodname> will no - longer provide references to arguments. It will not be possible to change function arguments - through the backtrace. + <function>debug_backtrace</function> e <methodname>Exception::getTrace</methodname> agora não mais + apresentam referencias aos argumentos. Não será possivel mudar os argumentos de uma função + através de um backtrace. </para> </listitem> <listitem> <para> - Numeric string handling has been altered to be more intuitive and less error-prone. Trailing - whitespace is now allowed in numeric strings for consistency with how leading whitespace is - treated. This mostly affects: + O uso de strings numéricas foi modificado para ser mais intuitivo e menos sujeito a erros. Seguindo + os espaços em branco, é permitido agora strings numéricas para tratamento de consistência contendo espaços em branco. + Isso afeta principalmente: </para> <para> <simplelist> - <member>The <function>is_numeric</function> function</member> - <member>String-to-string comparisons</member> - <member>Type declarations</member> - <member>Increment and decrement operations</member> + <member>A funcção <function>is_numeric</function></member> + <member>Comparação string a string </member> + <member>Declaração de tipos</member> + <member>Operações de incremento e decremento</member> </simplelist> </para> + <!-- LEMBRETE: COMO HAVIAM CONVERSAS PARALELAS ME INTERROMPENDO, POSSO TER ERRADO ALGO NESTA TRADUÇÃO --> <para> - The concept of a "leading-numeric string" has been mostly dropped; the cases where this remains - exist in order to ease migration. Strings which emitted an <constant>E_NOTICE</constant> "A non - well-formed numeric value encountered" will now emit an <constant>E_WARNING</constant> "A - non-numeric value encountered" and all strings which emitted an <constant>E_WARNING</constant> "A - non-numeric value encountered" will now throw a - <classname>TypeError</classname>. This mostly affects: + O conceito de um "leading-numeric string" foi praticamente abandonado; os casos onde permanecem + são para facilitar a migração. Strings que emitem um <constant>E_NOTICE</constant> "Um valor + numerico não bem formado foi encontrado" agora emitirá um <constant>E_WARNING</constant> "Um valor + valor não numérico encontrado " e todas as strings que emitiram um <constant>E_WARNING</constant> "Um + valor não numerico encontrado" agora produzirá um erro + <classname>TypeError</classname>. Isso afeta principalmente: </para> <para> <simplelist> - <member>Arithmetic operations</member> - <member>Bitwise operations</member> + <member>Operações aritméticas</member> + <member>Operações bit a bit</member> </simplelist> </para> <para> - This <constant>E_WARNING</constant> to <classname>TypeError</classname> change also affects the - <constant>E_WARNING</constant> "Illegal string offset 'string'" for illegal string offsets. The - behavior of explicit casts to int/float from strings has not been changed. + Esta mudança do <constant>E_WARNING</constant> para <classname>TypeError</classname> também afeta o + <constant>E_WARNING</constant> "Illegal string offset 'string'" para o posicionamente ilegal de strings. O + comportamento de conversões explícitas de strings para int/float não foi alterado. <!-- RFC: https://wiki.php.net/rfc/saner-numeric-strings --> </para> </listitem> <listitem> <para> - Magic Methods will now have their arguments and return types checked if they have them declared. - The signatures should match the following list: + Métodos mágicos agora podem ter argumentos e retornar tipos verificados se eles foram declarados. + As assinaturas devem corresponder à seguinte lista: </para> <para> <simplelist> @@ -590,16 +588,17 @@ $array["key"]; </listitem> <listitem> <para> - <function>call_user_func_array</function> array keys will now be interpreted as parameter names, - instead of being silently ignored. + As chaves do array <function>call_user_func_array</function> agora podem ser interpretadas + como nomes de parãmetros, ao invés de serem silenciosamente ignorados. </para> </listitem> <listitem> <para> - Declaring a function called <literal>assert()</literal> inside a namespace is - no longer allowed, and issues <constant>E_COMPILE_ERROR</constant>. - The <function>assert</function> function is subject to special handling by the engine, - which may lead to inconsistent behavior when defining a namespaced function with the same name. + A declaração da função chamada <literal>assert()</literal> dentro de um namespace não é + mais permitida e gera um <constant>E_COMPILE_ERROR</constant>. + A funçãi <function>assert</function> recebe um tratamento especial pelo motor do PHP, + o que pode levar a comportamentos inconsistentes quando definido como uma função de namespace + com o mesmo nome. </para> </listitem> </itemizedlist> @@ -610,7 +609,7 @@ $array["key"]; <title>Migração de Resource para Objeto</title> <para> - Several &resource;s have been migrated to &object;s. + Diversos &resource;s foram migrados para &object;s. Return value checks using <function>is_resource</function> should be replaced with checks for &false;. </para> <itemizedlist> @@ -710,40 +709,40 @@ $array["key"]; </listitem> <listitem> <para> - <function>sem_get</function> will now return an <classname>SysvSemaphore</classname> object - rather than a &resource;. + <function>sem_get</function> irá retornar agora um objeto <classname>SysvSemaphore</classname> + ao invés de um &resource;. </para> </listitem> <listitem> <para> - <function>shm_attach</function> will now return an <classname>SysvSharedMemory</classname> object - rather than a &resource;. + <function>shm_attach</function> irá retornar agora um objeto <classname>SysvSharedMemory</classname> + ao invés de um &resource;. </para> </listitem> <listitem> <para> - <function>xml_parser_create</function> and <function>xml_parser_create_ns</function> will now - return an <classname>XmlParser</classname> object rather than a &resource;. The - <function>xml_parser_free</function> function no longer has an effect, instead the XmlParser - instance is automatically destroyed if it is no longer referenced. + <function>xml_parser_create</function> e <function>xml_parser_create_ns</function> irão agora + retornar um objeto <classname>XmlParser</classname> tanto quanto um &resource;. A função + <function>xml_parser_free</function> não terá mais esse efeito, ao contrário da instância XmlParser + que é automaticamente destruída, se não for referenciada. </para> </listitem> <listitem> <para> - The <link linkend="book.xmlwriter">XMLWriter</link> functions now accept and return, respectively, - <classname>XMLWriter</classname> objects instead of &resource;s. + A função <link linkend="book.xmlwriter">XMLWriter</link> agora aceita e retorna, respectivamente, + objetos <classname>XMLWriter</classname> ao invés de &resource;s. </para> </listitem> <listitem> <para> - <function>inflate_init</function> will now return an <classname>InflateContext</classname> object - rather than a &resource;. + <function>inflate_init</function> irá agora retornar um objeto <classname>InflateContext</classname> + ao invés de um &resource;. </para> </listitem> <listitem> <para> - <function>deflate_init</function> will now return a <classname>DeflateContext</classname> object - rather than a &resource;. + <function>deflate_init</function> irá agora retornar um objeto <classname>DeflateContext</classname> + ao invés de um &resource;. </para> </listitem> </itemizedlist> @@ -1636,20 +1635,20 @@ echo file_get_contents('http://example.org', false, $ctx); <itemizedlist> <listitem> <para> - <function>gzgetss</function> has been removed. + <function>gzgetss</function> foi removido. </para> </listitem> <listitem> <para> - <link linkend="ini.zlib.output-compression">zlib.output_compression</link> is no longer - automatically disabled for <literal>Content-Type: image/*</literal>. + <link linkend="ini.zlib.output-compression">zlib.output_compression</link> não é mais + desabilitado automaticamente para o <literal>Content-Type: image/*</literal>. </para> </listitem> </itemizedlist> </sect2> <sect2 xml:id="migration80.incompatible.php-test-packs"> - <title>Windows PHP Test Packs</title> + <title>Pacotes de teste para PHP no Windows</title> <para> The test runner has been renamed from <filename>run-test.php</filename> to
« previous php.doc.pt-br (#7106) next »