luk             Wed Apr 17 18:14:04 2002 EDT

  Added files:                 
    /phpdoc/cs  make_chm_index_cs.html 

  Modified files:              
    /phpdoc/cs/language operators.xml 
  Log:
  
  
  
Index: phpdoc/cs/language/operators.xml
diff -u phpdoc/cs/language/operators.xml:1.1 phpdoc/cs/language/operators.xml:1.2
--- phpdoc/cs/language/operators.xml:1.1        Sun Apr 14 15:35:23 2002
+++ phpdoc/cs/language/operators.xml    Wed Apr 17 18:14:04 2002
@@ -79,54 +79,53 @@
     </informalexample>
    </para>
    <para>
-    In addition to the basic assignment operator, there are "combined
-    operators" for all of the binary arithmetic and string operators
-    that allow you to use a value in an expression and then set its
-    value to the result of that expression. For example:
+    Kromě základního operátoru přiřazení existují ještě "kombinované
+    operátory" pro všechny binární aritmetické a řetězové operátory, které
+    umožňují použít hodnotu ve výrazu a pak hodnotu tohoto výrazu přiřadit
+    zpět. Například:
     <informalexample>
      <programlisting role="php">
 <![CDATA[
 $a = 3;
-$a += 5; // sets $a to 8, as if we had said: $a = $a + 5;
-$b = "Hello ";
-$b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!";
+$a += 5; // nastaví $a na hodnotu 8, jako kdybychom řekli: $a = $a + 5;
+$b = "Ahoj ";
+$b .= "tam!"; // nastaví $b na "Ahoj tam!", přesně tak, jako $b = $b . "tam!";
 ]]>
      </programlisting>
     </informalexample>
    </para>
    <para>
-    Note that the assignment copies the original variable to the new
-    one (assignment by value), so changes to one will not affect the
-    other. This may also have relevance if you need to copy something
-    like a large array inside a tight loop. PHP 4 supports assignment
-    by reference, using the <computeroutput>$var =
-    &amp;$othervar;</computeroutput> syntax, but this is not possible
-    in PHP 3. 'Assignment by reference' means that both variables end
-    up pointing at the same data, and nothing is copied anywhere. 
-    To learn more about references, please read <link 
-    linkend="language.references">References explained</link>.
+    Uvědomte si, že přiřazení zkopíruje hodnotu původní proměnné do nové
+    proměnné (přiřazení hodnoty), takže změny jedné z nich se na druhé
+    proměnné neprojeví. To může mít význam také tehdy, když potřebujete
+    zkopírovat něco jako obrovské pole uvnitř krátkého cyklu. PHP 4 podporuje
+    přiřazení odkazem použitím syntaxe
+    <computeroutput>$var = &amp;$othervar;</computeroutput>, ale v PHP 3 to
+    provést nelze. "Přiřazení odkazem" znamená, že  obě proměnné ukazují na
+    tatáž data a nic se nikam nekopíruje. Chcete-li se o odkazech dozvědět
+    více, čtěte prosím
+    <link linkend="language.references">Vysvětlení referencí</link>.
    </para>
   </sect1>
 
   <sect1 id="language.operators.bitwise">
-   <title>Bitwise Operators</title>
+   <title>Bitové operátory</title>
    <simpara>
-    Bitwise operators allow you to turn specific bits within an
-    integer on or off. If both the left- and right-hand parameters are
-    strings, the bitwise operator will operate on the characters in this
-    string.
+    Bitové operátory umožňují "přehodit" konkrétní bit v celočíselné hodnotě
+    (integer) na jedničku nebo nulu. Pokud jsou jak levý, tak pravý parametr
+    řetězce, pracují bitové operátory na znacích v těchto řetezcích.
    </simpara>
    <para>
     <informalexample>
      <programlisting>
 <![CDATA[
 <?php
-    echo 12 ^ 9; // Outputs '5'
+    echo 12 ^ 9; // Vypíše '5'
 
-    echo "12" ^ "9"; // Outputs the Backspace character (ascii 8)
+    echo "12" ^ "9"; // Vypíše znak Backspace (ascii 8)
                      // ('1' (ascii 49)) ^ ('9' (ascii 57)) = #8
 
-    echo "hallo" ^ "hello"; // Outputs the ascii values #0 #4 #0 #0 #0
+    echo "hallo" ^ "hello"; // Vypíše ascii hodnoty #0 #4 #0 #0 #0
                             // 'a' ^ 'e' = #4
 ?>
 ]]>
@@ -135,54 +134,56 @@
    </para>
 
    <table>
-    <title>Bitwise Operators</title>
+    <title>Bitové 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 &amp; $b</entry>
-       <entry>And</entry>
-       <entry>Bits that are set in both $a and $b are set.</entry>
+       <entry>And (log. součin)</entry>
+       <entry>Nastavují se bity, kde je jednička v $a i v $b.</entry>
       </row>
       <row>
        <entry>$a | $b</entry>
-       <entry>Or</entry>
-       <entry>Bits that are set in either $a or $b are set.</entry>
+       <entry>Or(log. součet)</entry>
+       <entry>Nastavují se bity, kde je jednička v $a nebo v $b (i v
+       obou současně).</entry>
       </row>
       <row>
        <entry>$a ^ $b</entry>
-       <entry>Xor</entry>
+       <entry>Xor (exkluzívní log. součet)</entry>
        <entry>
-       Bits that are set in $a or $b but not both are set.
+       Nastavují se bity, kde je jednička v $a nebo v $b, ale ne v obou
+        současně.
        </entry>
       </row>
       <row>
        <entry>~ $a</entry>
-       <entry>Not</entry>
+       <entry>Not (negace)</entry>
        <entry>
-       Bits that are set in $a are not set, and vice versa.
+       Tam, kde je nula, bude jednička, a naopak.
        </entry>
       </row>
       <row>
        <entry>$a &lt;&lt; $b</entry>
-       <entry>Shift left</entry>
+       <entry>Posun vlevo</entry>
        <entry>
-       Shift the bits of $a $b steps to the left (each step means
-       "multiply by two")
+        Posune bity v $a o $b kroků (míst) vlevo (každý krok znamená
+        "násobení dvěma").
        </entry>
       </row>
       <row>
        <entry>$a &gt;&gt; $b</entry>
-       <entry>Shift right</entry>
+       <entry>Posun vpravo</entry>
        <entry>
-       Shift the bits of $a $b steps to the right (each step means
-       "divide by two")
+       Posune bity v $a o $b kroků (míst) vpravo (každý krok znamená
+        "dělení dvěma").
        </entry>
       </row>
      </tbody>
@@ -191,79 +192,76 @@
   </sect1>
 
   <sect1 id="language.operators.comparison">
-   <title>Comparison Operators</title>
+   <title>Operátory porovnání</title>
    <simpara>
-    Comparison operators, as their name implies, allow you to compare
-    two values.
+    Operátory porovnání, jak název napovídá, slouží k porovnání dvou hodnot.
    </simpara>
    <table>
-    <title>Comparison Operators</title>
+    <title>Operátory porovnání</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 == $b</entry>
-       <entry>Equal</entry>
-       <entry>&true; if $a is equal to $b.</entry>
+       <entry>Rovnost</entry>
+       <entry>&true;, právě když je $a rovno $b.</entry>
       </row>
       <row>
        <entry>$a === $b</entry>
-       <entry>Identical</entry>
+       <entry>Identita</entry>
        <entry>
-       &true; if $a is equal to $b, and they are of the same
-       type. (PHP 4 only)
+       &true; když je $a rovno $b a navíc tétož typu (pouze PHP 4).
        </entry>
       </row>
       <row>
        <entry>$a != $b</entry>
-       <entry>Not equal</entry>
-       <entry>&true; if $a is not equal to $b.</entry>
+       <entry>Nerovnost</entry>
+       <entry>&true; právě když $a není rovno $b.</entry>
       </row>
       <row>
        <entry>$a &lt;> $b</entry>
-       <entry>Not equal</entry>
-       <entry>&true; if $a is not equal to $b.</entry>
+       <entry>Nerovnost</entry>
+       <entry>&true; právě když $a není rovno $b.</entry>
       </row>
       <row>
        <entry>$a !== $b</entry>
-       <entry>Not identical</entry>
+       <entry>Neidentita</entry>
        <entry>
-       &true; if $a is not equal to $b, or they are not of the same
-       type. (PHP 4 only)
+       &true; když $a není rovno $b nebo nejsou téhož typu (pouze PHP 4).
        </entry>
       </row>
       <row>
        <entry>$a &lt; $b</entry>
-       <entry>Less than</entry>
-       <entry>&true; if $a is strictly less than $b.</entry>
+       <entry>Menší než</entry>
+       <entry>&true; když je $a ostře menší než $b.</entry>
       </row>
       <row>
        <entry>$a &gt; $b</entry>
-       <entry>Greater than</entry>
-       <entry>&true; if $a is strictly greater than $b.</entry>
+       <entry>Větší než</entry>
+       <entry>&true; když je $a ostře větší než $b.</entry>
       </row>
       <row>
        <entry>$a &lt;= $b</entry>
-       <entry>Less than or equal to </entry>
-       <entry>&true; if $a is less than or equal to $b.</entry>
+       <entry>Menší nebo rovno</entry>
+       <entry>&true; když je $a menší nebo rovno $b.</entry>
       </row>
       <row>
        <entry>$a &gt;= $b</entry>
-       <entry>Greater than or equal to </entry>
-       <entry>&true; if $a is greater than or equal to $b.</entry>
+       <entry>Větší nebo rovno</entry>
+       <entry>&true; když je $a větší nebo rovno $b.</entry>
       </row>
      </tbody>
     </tgroup>
    </table>
    <para>
-    Another conditional operator is the "?:" (or ternary) operator,
-    which operates as in C and many other languages.
+    Jiným podmínkovým operátorem je "?:" (ternární) operátor, který funguje
+    stejně jako v C a mnohých jiných jazycích.
     <informalexample>
      <programlisting>
 <![CDATA[
@@ -271,10 +269,10 @@
 ]]>
      </programlisting>
     </informalexample> 
-    This expression evaluates to <replaceable>expr2</replaceable> if
-    <replaceable>expr1</replaceable> evaluates to &true;, and
-    <replaceable>expr3</replaceable> if
-    <replaceable>expr1</replaceable> evaluates to &false;.
+    Výraz je ohodnocen jako hodnota <replaceable>expr2</replaceable> když
+    má <replaceable>expr1</replaceable> hodnotu &true;, a
+    <replaceable>expr3</replaceable> když
+    má <replaceable>expr1</replaceable> hodnotu &false;.
    </para>
   </sect1>
 

Index: phpdoc/cs/make_chm_index_cs.html
+++ phpdoc/cs/make_chm_index_cs.html
<HTML>
<HEAD>
  <TITLE>PHP manuál</TITLE>
  <META NAME="HTTP_EQUIV" CONTENT="text/html; charset=ISO-8859-2">
  <LINK REL="STYLESHEET" HREF="style.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" 
TOPMARGIN="0" LEFTMARGIN="0">
<TABLE BORDER="0" WIDTH="100%" HEIGHT="100%" CELLSPACING="0" CELLPADDING="0">
<TR><TD COLSPAN="3"><DIV CLASS="NAVHEADER"><TABLE BGCOLOR="#CCCCFF" BORDER="0"
CELLPADDING="0" CELLSPACING="0" WIDTH="100%"><TR><TD><TABLE WIDTH="100%" BORDER="0"
CELLPADDING="3" CELLSPACING="0"><TR><TH COLSPAN="3">PHP Manual</TH></TR><TR><TD
COLSPAN="3" ALIGN="center">&nbsp;</TD></TR></TABLE></TD></TR><TR BGCOLOR="#333366">
<TD><IMG SRC="spacer.gif" BORDER="0" WIDTH="1" 
HEIGHT="1"><BR></TD></TR></TABLE></DIV></TD></TR>
<TR><TD><IMG SRC="spacer.gif" WIDTH="10" HEIGHT="1"></TD><TD HEIGHT="100%" 
VALIGN="MIDDLE" WIDTH="100%"><BR>

<P><TABLE ALIGN="CENTER">
<TR><TD ALIGN="CENTER">
<H1 CLASS="title">PHP manuál</H1>
<DIV CLASS="author">Stig S&aelig;ther Bakken</DIV>
<DIV CLASS="author">Alexander Aulbach</DIV>
<DIV CLASS="author">Egon Schmid</DIV>
<DIV CLASS="author">Jim Winstead</DIV>
<DIV CLASS="author">Lars Torben Wilson</DIV>
<DIV CLASS="author">Rasmus Lerdorf</DIV>
<DIV CLASS="author">Andrei Zmievski</DIV>
<DIV CLASS="author">Jouni Ahto</DIV>
<H4 CLASS="EDITEDBY">Upravili:</H4>
<H3 CLASS="editor">Stig S&aelig;ther Bakken</H3>
<H3 CLASS="editor">Egon Schmid</H3>
</TD></TR></TABLE>
<BR><P ALIGN="CENTER">Tento soubor byl vygenerován: [GENTIME]<BR>
Aktuální verzi získáte na adrese
<A HREF="http://www.php.net/docs.php";>http://www.php.net/docs.php</A>.</P>

<BR><P CLASS="copyright" ALIGN="CENTER"><A HREF="copyright.html">Copyright</A> &copy; 
1997,
1998, 1999, 2000, 2001, 2002  the PHP Documentation Group</P>

</TD><TD><IMG SRC="spacer.gif" WIDTH="10" HEIGHT="1"></TD></TR>
<TR><TD COLSPAN="3"><DIV CLASS="NAVFOOTER"><TABLE BGCOLOR="#CCCCFF" BORDER="0"
CELLPADDING="0" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#333366">
<TD><IMG SRC="spacer.gif" BORDER="0" WIDTH="1" HEIGHT="1"><BR></TD></TR>
<TR><TD><TABLE WIDTH="100%" BORDER="0" CELLPADDING="3" CELLSPACING="0">
<TR><TD COLSPAN="3">&nbsp;</TD></TR><TR><TD COLSPAN="3" ALIGN="center">&nbsp;</TD>
</TR></TABLE></TD></TR></TABLE></DIV></TD></TR></TABLE>
</BODY></HTML>

Reply via email to