com doc/pt_br: traduzir comparacao entre string e numeros: appendices/migration80/incompatible.xml

[email protected] (Daniel Rodrigues Lima) Thu, 18 Feb 2021 15:09:36 +0000
Newsgroups php.doc.pt-br
Message-ID <[email protected]>
Commit:    712540cc52781d00f9ef8fefa6bec261a66570ec
Author:    Daniel Rodrigues <[email protected]>         Thu, 18 Feb 2021 12:09:36 -0300
Parents:   93d42360683e6a116606ca35dd9a60b8723b2b0f
Branches:  master

Link:       http://git.php.net/?p=doc/pt_br.git;a=commitdiff;h=712540cc52781d00f9ef8fefa6bec261a66570ec

Log:
traduzir comparacao entre string e numeros

Changed paths:
  M  appendices/migration80/incompatible.xml


Diff:
diff --git a/appendices/migration80/incompatible.xml b/appendices/migration80/incompatible.xml
index 79f9149d0..d699dcc81 100644
--- a/appendices/migration80/incompatible.xml
+++ b/appendices/migration80/incompatible.xml
@@ -8,20 +8,20 @@
   <title>PHP Core</title>
 
   <sect3 xml:id="migration80.incompatible.core.string-number-comparision">
-   <title>String to Number Comparison</title>
+   <title>Comparação entre String e Número</title>
 
    <para>
-    Non-strict comparisons between numbers and non-numeric strings now work by casting the number to
-    string and comparing the strings. Comparisons between numbers and numeric strings continue to
-    work as before. Notably, this means that <code>0 == "not-a-number"</code> is considered false
-    now.
+    Comparações não estritas entre números e strings não numéricas, agora funcionam convertendo o número para
+    string e comparando as strings. As comparações entre números e strings numéricas continuam a
+    funcionando como antes. Notavelmente, isso significa que a comparação: <code>0 == "nao-numero"</code> agora é considerada
+    falsa.
     <informaltable>
      <tgroup cols="3">
       <thead>
        <row>
-        <entry>Comparison</entry>
-        <entry>Before</entry>
-        <entry>After</entry>
+        <entry>Comparação</entry>
+        <entry>Antes</entry>
+        <entry>Depois</entry>
        </row>
       </thead>
       <tbody>
@@ -63,7 +63,7 @@
   </sect3>
 
   <sect3 xml:id="migration80.incompatible.core.other">
-   <title>Other incompatible Changes</title>
+   <title>Outras mudanças incompatíveis</title>
 
    <itemizedlist>
     <listitem>
@@ -607,7 +607,7 @@ $array["key"];
  </sect2>
 
  <sect2 xml:id="migration80.incompatible.resource2object">
-  <title>Resource to Object Migration</title>
+  <title>Migração de Resource para Objeto</title>
 
   <para>
    Several &resource;s have been migrated to &object;s.