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