luk             Wed Apr 24 14:42:36 2002 EDT

  Modified files:              
    /phpdoc/cs/language operators.xml 
  Log:
  
  
  
Index: phpdoc/cs/language/operators.xml
diff -u phpdoc/cs/language/operators.xml:1.3 phpdoc/cs/language/operators.xml:1.4
--- phpdoc/cs/language/operators.xml:1.3        Thu Apr 18 16:28:57 2002
+++ phpdoc/cs/language/operators.xml    Wed Apr 24 14:42:34 2002
@@ -309,38 +309,35 @@
    </para>
    <note>
     <simpara>
-     The @-operator works only on expressions. A simple rule of thumb
-     is: if you can take the value of something, you can prepend the @
-     operator to it. For instance, you can prepend it to variables,
-     function and <function>include</function> calls, constants, and
-     so forth. You cannot prepend it to function or class definitions,
-     or conditional structures such as <literal>if</literal> and
-     <literal>foreach</literal>, and so forth.
+     Oper�tor @ pracuje pouze na v�razech. Plat� jednoduch� pravidlo:
+     m��ete-li z�skat hodnotu n��eho, m��ete p�ed to d�t oper�tor @.
+     To se t�k� nap��klad prom�nn�ch, funkc�, vol�n�
+     <function>include</function> konstant a podobn�. Nem��ete ho p�ed�adit
+     definic�m funkc� nebo t��d a podm�nkov�m struktur�m typu
+     <literal>if</literal> nebo <literal>foreach</literal>.
     </simpara>
    </note>
    <simpara>
-    See also <function>error_reporting</function>.
+    Viz tak� <function>error_reporting</function>.
    </simpara>
    <warning>
     <para>
-     Currently the "@" error-control operator prefix will even disable
-     error reporting for critical errors that will terminate script
-     execution. Among other things, this means that if you use "@" to
-     suppress errors from a certain function and either it isn't
-     available or has been mistyped, the script will die right there
-     with no indication as to why.
+     V sou�asnosti p�ed�azen� oper�toru ��zen� chyb "@" vy�ad� i hl�en�
+     kritick�ch chyb, kter� zp�sob� ukon�en� prov�d�n� skriptu. To mj.
+     znamen�, �e pokud pou�ijete "@" k potla�en� chyb z n�jak� funkce,
+     a tato funkce nen� k dispozici nebo obsahuje chyby, skript zde skon��
+     bez jak�koli indikace, co se stalo.
     </para>
    </warning>
   </sect1>
   
   <sect1 id="language.operators.execution">
-   <title>Execution Operators</title>
+   <title>Prov�d�c� oper�tory</title>
    <para>
-    PHP supports one execution operator: backticks (``). Note that
-    these are not single-quotes! PHP will attempt to execute the
-    contents of the backticks as a shell command; the output will be
-    returned (i.e., it won't simply be dumped to output; it can be
-    assigned to a variable).
+    PHP podporuje jeden prov�d�c� oper�tor: obr�cen� apostrofy (``).
+    Uv�domte si, �e to nejsou oby�ejn� apostrofy! PHP se pokus� prov�st
+    obsah uzav�en� mezi t�mito znaky jako p��kaz shellu; v�stup je vr�cen
+    (tzn. nebude pouze vyps�n na v�stup� m��e b�t p�i�azen prom�nn�).
     <informalexample>
      <programlisting role="php">
 <![CDATA[
@@ -352,83 +349,83 @@
    </para>
    <note>
     <para>
-     The backtick operator is disabled when <link
-     linkend="ini.safe-mode">safe mode</link> is enabled
-     or <function>shell_exec</function> is disabled.
+     Oper�tor m��e b�t vy�azen, pokud je aktivn�
+     <link linkend="ini.safe-mode">bezpe�n� re�im</link> nebo je vypnuto
+     <function>shell_exec</function>.
     </para>
    </note>
    <para>
-    See also <function>escapeshellcmd</function>, <function>exec</function>,
+    Viz tak� <function>escapeshellcmd</function>, <function>exec</function>,
     <function>passthru</function>, <function>popen</function>,
-    <function>shell_exec</function>, and <function>system</function>.
+    <function>shell_exec</function>, a <function>system</function>.
    </para>
   </sect1>
 
   <sect1 id="language.operators.increment">
-   <title>Incrementing/Decrementing Operators</title>
+   <title>Inkrementa�n�/Dekrementa�n� oper�tory</title>
    <para>
-    PHP supports C-style pre- and post-increment and decrement
-    operators.
+    PHP podporuje pre- a post inkrementa�n� a dekrementa�n� oper�tory ve
+    stylu C.
    </para>
    <table>
-    <title>Increment/decrement Operators</title>
+    <title>Inkrementa�n�/dekrementa�n� oper�tory</title>
     <tgroup cols="3">
      <thead>
       <row>
-       <entry>Example</entry>
-       <entry>Name</entry>
-       <entry>Effect</entry>
+       <entry>P��klad</entry>
+       <entry>N�zev</entry>
+       <entry>��inek</entry>
       </row>
      </thead>
      <tbody>
       <row>
        <entry>++$a</entry>
-       <entry>Pre-increment</entry>
-       <entry>Increments $a by one, then returns $a.</entry>
+       <entry>Pre-inkrementace</entry>
+       <entry>Inkrementuje $a o jedni�ku, potom vr�t� $a.</entry>
       </row>
       <row>
        <entry>$a++</entry>
-       <entry>Post-increment</entry>
-       <entry>Returns $a, then increments $a by one.</entry>
+       <entry>Post-inkrementace</entry>
+       <entry>Vr�t� $a, potom inkrementuje $a o jedni�ku.</entry>
       </row>
       <row>
        <entry>--$a</entry>
-       <entry>Pre-decrement</entry>
-       <entry>Decrements $a by one, then returns $a.</entry>
+       <entry>Pre-dekrementace</entry>
+       <entry>Dekrementuje $a o jedni�ku, potom vr�t� $a.</entry>
       </row>
       <row>
        <entry>$a--</entry>
-       <entry>Post-decrement</entry>
-       <entry>Returns $a, then decrements $a by one.</entry>
+       <entry>Post-dekrementace</entry>
+       <entry>Vr�t� $a, potom dkrementuje $a o jedni�ku.</entry>
       </row>
      </tbody>
     </tgroup>
    </table>
    <para>
-    Here's a simple example script:
+    Zde je p��klad jednoduch�ho skriptu:
     <informalexample>
      <programlisting role="php">
 <![CDATA[
 <?php
-echo "<h3&gt;Postincrement</h3&gt;";
+echo "<h3&gt;Postinkrementace</h3&gt;";
 $a = 5;
-echo "Should be 5: " . $a++ . "<br>\n";
-echo "Should be 6: " . $a . "<br>\n";
+echo "M�lo by b�t 5: " . $a++ . "<br>\n";
+echo "M�lo by b�t 6: " . $a . "<br>\n";
 
-echo "<h3>Preincrement</h3>";
+echo "<h3>Preinkrementace</h3>";
 $a = 5;
-echo "Should be 6: " . ++$a . "<br>\n";
-echo "Should be 6: " . $a . "<br>\n";
+echo "M�lo by b�t 6: " . ++$a . "<br>\n";
+echo "M�lo by b�t 6: " . $a . "<br>\n";
 
-echo "<h3>Postdecrement</h3>";
+echo "<h3>Postdekrementace</h3>";
 $a = 5;
-echo "Should be 5: " . $a-- . "<br>\n";
-echo "Should be 4: " . $a . "<br>\n";
+echo "M�lo by b�t 5: " . $a-- . "<br>\n";
+echo "M�lo by b�t: " . $a . "<br>\n";
 
-echo "<h3>Predecrement</h3>";
+echo "<h3>Predekrementace</h3>";
 $a = 5;
-echo "Should be 4: " . --$a . "<br>\n";
-echo "Should be 4: " . $a . "<br>\n";
+echo "M�lo by b�t 4: " . --$a . "<br>\n";
+echo "M�lo by b�t 4: " . $a . "<br>\n";
 ?>
 ]]>
      </programlisting>
@@ -437,62 +434,61 @@
   </sect1>
 
   <sect1 id="language.operators.logical">
-   <title>Logical Operators</title>
+   <title>Logick� oper�tory</title>
 
    <table>
-    <title>Logical Operators</title>
+    <title>Logick� oper�tory</title>
     <tgroup cols="3">
      <thead>
       <row>
-       <entry>Example</entry>
-       <entry>Name</entry>
-       <entry>Result</entry>
+       <entry>P��klad</entry>
+       <entry>N�zev</entry>
+       <entry>V�sledek</entry>
       </row>
      </thead>
      <tbody>
       <row>
        <entry>$a and $b</entry>
        <entry>And</entry>
-       <entry>&true; if both $a and $b are &true;.</entry>
+       <entry>&true; kdy� $a i $b jsou &true;.</entry>
       </row>
       <row>
        <entry>$a or $b</entry>
        <entry>Or</entry>
-       <entry>&true; if either $a or $b is &true;.</entry>
+       <entry>&true; kdy� $a nebo $b je &true;.</entry>
       </row>
       <row>
        <entry>$a xor $b</entry>
        <entry>Xor</entry>
-       <entry>&true; if either $a or $b is &true;, but not both.</entry>
+       <entry>&true; kdy� $a nebo $b je &true;, ale ne oba sou�asn�.</entry>
       </row>
       <row>
        <entry>! $a</entry>
        <entry>Not</entry>
-       <entry>&true; if $a is not &true;.</entry>
+       <entry>&true; kdy� $a nen� &true;.</entry>
       </row>
       <row>
        <entry>$a &amp;&amp; $b</entry>
        <entry>And</entry>
-       <entry>&true; if both $a and $b are &true;.</entry>
+       <entry>&true; kdy� $a i $b jsou &true;.</entry>
       </row>
       <row>
        <entry>$a || $b</entry>
        <entry>Or</entry>
-       <entry>&true; if either $a or $b is &true;.</entry>
+       <entry>&true; kdy� $a nebo $b je &true;.</entry>
       </row>
      </tbody>
     </tgroup>
    </table>
    <simpara>
-    The reason for the two different variations of "and" and "or"
-    operators is that they operate at different precedences. (See
-    <link linkend="language.operators.precedence">Operator
-    Precedence</link>.)
+    D�vodem pro dv� r�zn� varianty oper�tor�  "and" a "or" je to, �e maj�
+    jinou prioritu. (Viz <link linkend="language.operators.precedence">Priorita
+    oper�tor�</link>.)
    </simpara>
   </sect1>
 
   <sect1 id="language.operators.precedence">
-   <title>Operator Precedence</title>
+   <title>Priorita oper�tor�</title>
    <para>
     The precedence of an operator specifies how "tightly" it binds two
     expressions together. For example, in the expression <literal>1 +


Reply via email to