tal Thu Mar 21 13:51:12 2002 EDT
Modified files:
/phpdoc/he/language types.xml
Log:
Almost finished first section. How the hell am i supposed to translate
'Types Juggling'?!
Index: phpdoc/he/language/types.xml
diff -u phpdoc/he/language/types.xml:1.1 phpdoc/he/language/types.xml:1.2
--- phpdoc/he/language/types.xml:1.1 Thu Mar 21 07:07:49 2002
+++ phpdoc/he/language/types.xml Thu Mar 21 13:51:12 2002
@@ -80,9 +80,9 @@
<note>
<simpara>
- In this manual you'll often find <literal>mixed</literal> parameters.
- This pseudo-type
- indicates multiple possiblities for that parameter.
+ במדריך זה תמצא לעיתים קרובות פרמטרים אשר מסומנים ב-<literal>mixed</literal>,
+ <literal>mixed</literal> הוא לא סוג אמיתי, אלא מילה המציינת שבמקומה יכולים לבוא
+ סוגים שונים.
</simpara>
<!--
@@ -99,31 +99,30 @@
<simpara>
- The type of a variable is usually not set by the programmer;
- rather, it is decided at runtime by PHP depending on the context in
- which that variable is used.
+ בדרך כלל סוג המשתנה אינו נקבע על ידי המתכנת, אלא נקבע על ידי
+ PHP בזמן עיבוד הקובץ, על פי השימוש במשתנה.
</simpara>
<note>
<simpara>
- If you want to check out the type and value of a certain <link
- linkend="language.expressions">expression</link>, use
- <function>var_dump</function>.
+ על מנת לבדוק את סוג וערך המשתנה ב<link linkend="language.expressions">ביטוי</link>
+ יש להשתמש בפונקציה <function>var_dump</function>.
</simpara>
<simpara>
- If you simply want a human-readable representation of the type for
- debugging, use <function>gettype</function>. To check for a certain type,
- do <emphasis>not</emphasis> use <function>gettype</function>, but use the
- <literal>is_<replaceable>type</replaceable></literal> functions.
+ על מנת לקבל את סוג המשתנה בפורמט קריא, למטרות ניפוי באגים,
+ יש להשתמש בפונקציה <function>gettype</function>. כדי לבדוק אם משתנה הוא
+ מסוג מסויים, <emphasis>אין</emphasis> להשתמש בפונקציה <function>gettype</function>
+ אלא בפונקציות <literal>is_<replaceable>type</replaceable></literal>.
</simpara>
<!-- TODO: example(s) would be great -->
</note>
<simpara>
- If you would like to force a variable to be converted to a certain
- type, you may either <link
- linkend="language.types.typecasting">cast</link> the variable or
- use the <function>settype</function> function on it.
+ בשביל לשנות סוג של משתנה, ניתן להשתמש ב<link
+linkend="language.types.typecasting">המרה (cast)</link>
+ או להשתמש בפונקציית <function>settype</function>.
</simpara>
<simpara>
+ משתנים עלולים להתנהג באופן שונה, במצבים מסויימים,
+ על פי הסוג שהם שייכים אליו באותו הזמן. למידע נוסף,
+ ראה הפרק על
Note that a variable may behave in different manners in certain
situations, depending on what type it is at the time. For more
information, see the section on <link