cvs: phpdoc /he/appendices reserved.xml
| From: | Sagie Maoz | Date: | Wed, 01 May 2002 16:24:28 +0000 |
| Subject: | cvs: phpdoc /he/appendices reserved.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969345133@lists.php.net to get a copy of this message | ||
n0nick Wed May 1 12:24:28 2002 EDT
Modified files:
/phpdoc/he/appendices reserved.xml
Log:
this file's bigger than i originally thought.. translated ~1/4 so far :O
Index: phpdoc/he/appendices/reserved.xml
diff -u phpdoc/he/appendices/reserved.xml:1.1 phpdoc/he/appendices/reserved.xml:1.2
--- phpdoc/he/appendices/reserved.xml:1.1 Wed May 1 11:58:41 2002
+++ phpdoc/he/appendices/reserved.xml Wed May 1 12:24:28 2002
@@ -1,28 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<appendix id="reserved">
- <title>List of Reserved Words</title>
+ <title>øùéîú îéìéí ùîåøåú</title>
<para>
- The following is a listing of predefined identifiers in PHP. None
- of the identifiers listed here should be used as identifiers in a
- your scripts. These lists include keywords and predefined variable,
- constant, and class names. These lists are neither exhaustive or
- complete.
+ ìäìï øùéîä ùì îæäéí îåâãøéí-îøàù á-PHP. àéï ìäùúîù áàó
àçã îäîæäéí
+ äììå ëîæäéí áúåëðéåú ùìê. øùéîåú àìå îëéìåú îéìåú
îôúç åîùúðéí, ÷áåòéí
+ åùîåú îçì÷åú ä÷áåòéí-îøàù. äøùéîåú äììå àéðï îîöåú
àå îìàåú.
</para>
<sect1 id="reserved.keywords">
- <title>List of Keywords</title>
+ <title>øùéîú îéìåú-îôúç</title>
<simpara>
- These words have special meaning in PHP. Some of them represent things
- which look like functions, some look like constants, and so on--but
- they're not, really: they are language constructs. You cannot use any
- of the following words as constants, class names, or function names.
- Using them as variable names is generally OK, but could lead to confusion.
+ ìîéìéí äàìå îùîòåú îéåçãú á-PHP. çì÷ï îééöâåú ãáøéí
ùðøàéí ëôåð÷öéåú,
+ çì÷í ðøàéí ë÷áåòéí åëåìé -- àê ìîòùä, äï ìà: äï îáðé ùôä.
ìà ðéúï
+ ìäùúîù áàó îäîéìéí äáàåú ë÷áåòéí, ùîåú îçì÷ä àå ùîåú
ôåð÷öéä.
+ äùéîåù áäí ëùîåú îùúðéí äåà áñãø, àê éëåì ìäåáéì
ìáìáåì.
</simpara>
<table>
- <title>PHP Keywords</title>
+ <title>îéìåú îôúç á-PHP</title>
<tgroup cols="4">
<tbody>
<row>
@@ -206,56 +203,54 @@
</sect1>
<sect1 id="reserved.variables">
- <title>Predefined Variables</title>
+ <title>îùúðéí ÷áåòéí îøàù</title>
<sect2 id="reserved.variables.server">
- <title>Server variables: <varname>$_SERVER</varname></title>
+ <title>îùúðé ùøú: <varname>$_SERVER</varname></title>
<note>
<simpara>
- Introduced in 4.1.0. In earlier versions, use
+ äåöâ á-4.1.0. áâøñàåú ÷åãîåú, äùúîù á
<varname>$HTTP_SERVER_VARS</varname>.
</simpara>
</note>
<simpara>
- <varname>$_SERVER</varname> is an array containing information
- such as headers, paths, and script locations. The entries in this
- array are created by the webserver. There is no guarantee that
- every webserver will provide any of these; servers may omit some,
- or provide others not listed here. That said, a large number of
- these variables are accounted for in the <ulink
- url="&url.cgispec;">CGI 1.1 specification</ulink>, so you should
- be able to expect those.
+ <varname>$_SERVER</varname> äåà îòøê äîëéì îéãò ëîå
+ ëåúøåú, ðúéáéí åîé÷åîé úåëðéåú.
+ äòøëéí áîòøê æä ðåöøéí òì-éãé äùøú. àéï òøáåú ìëê ùëì
ùøú
+ éñô÷ àú äòøëéí äììå; ùøúéí òìåìéí ìäùîéè ëîä, àå ìñô÷
àçøéí
+ ùìà øùåîéí ëàï. òí æàú, îñôø øá îäîùúðéí äììå îúåàøéí
á
+ <ulink url="&url.cgispec;">îôøè CGI 1.1</ulink>, ëê ùúðéúï
ìöôåú
+ ìäí.
</simpara>
<simpara>
- This is a 'superglobal', or automatic global, variable. This
- simply means that it is available in all scopes throughout a
- script. You don't need to do a <command>global
- $_SERVER;</command> to access it within functions or methods, as
- you do with <varname>$HTTP_SERVER_VARS</varname>.
+ æäå îùúðä 'ñåôø-âìåáàìé', àå âìåáàìé àåèåîèé.
îùîò, äåà æîéï
+ áëì úçåí ùäåà áúåê úëðéú. àéï öåøê ìòùåú <command>global
+ $_SERVER;</command> ëãé ìâùú àìéå áúåê ôåð÷öéåú àå ùéèåú,
+ ëîå á-<varname>$HTTP_SERVER_VARS</varname>.
</simpara>
<simpara>
- <varname>$HTTP_SERVER_VARS</varname> contains the same
- information, but is not an autoglobal.
+ <varname>$HTTP_SERVER_VARS</varname> îëéì àú àåúå äîéãò, àê
+ àéðå âìåáàìé àåèåîèé.
</simpara>
<simpara>
- If the <link
- linkend="ini.register-globals">register_globals</link> directive
- is set, then these variables will also be made available in the
- global scope of the script; i.e., separate from the
- <varname>$_SERVER</varname> and <varname>$HTTP_SERVER_VARS</varname>
- arrays. For related information, see the security chapter titled
- <link linkend="security.registerglobals">Using Register
- Globals</link>. These individual globals are not autoglobals.
+ àí ääðçéä <link
linkend="ini.register-globals">register_globals</link>
+ îåâãøú, îùúðéí àìä éäéå æîéðéí âí áúçåí äâìåáàìé ùì
äúëðéú;
+ îùîò, áðôøã îäîòøëéí <varname>$_SERVER</varname> å-
+ <varname>$HTTP_SERVER_VARS</varname>. ìîéãò øìååðèé, øàä
+ ôø÷ äàáèçä ùùîå <link linkend="security.registerglobals">ùéîåù
+ á-Register Globals</link>. âìåáàìéí áåããéí àìå àéðí âìåáàìéí
+ àåèåîèééí.
</simpara>
<simpara>
- You may or may not find any of the following elements in
- $_SERVER. Note that few, if any, of these will be available (or
- indeed have any meaning) if running PHP on the command line.
+
+ àúä òìåì ìîöåà àå ìà ìîöåà ëì àçã îäàìîðèéí äáàéí
á-$_SERVER.
+ ùéí ìá ùø÷ ëîä, àí áëìì, îäîùúðéí äììå éäéå æîéðéí
(åúäéä
+ ìäí îùîòåú ëìùäé) àí PHP øõ îùåøú äô÷åãä.
</simpara>
<para>
@@ -264,15 +259,13 @@
<term>'<varname>PHP_SELF</varname>'</term>
<listitem>
<simpara>
- The filename of the currently executing script, relative to
- the document root. For instance,
- <varname>$_SERVER['PHP_SELF']</varname> in a script at the
- address <filename>http://example.com/test.php/foo.bar</filename>
- would be <filename>/test.php/foo.bar</filename>.
+ ùí ä÷åáõ ùì äúñøéè ùøõ ëøâò, éçñé ìùåøù äîñîëéí.
ìãåâîä,
+ <varname>$_SERVER['PHP_SELF']</varname> áúñøéè áëúåáú
+ <filename>http://example.com/test.php/foo.bar</filename>
+ éäéä <filename>/test.php/foo.bar</filename>.
</simpara>
<simpara>
- If PHP is running as a command-line processor, this variable
- is not available.
+ àí PHP øõ ëîòáã îùåøú äô÷åãä, îùúðä æä ìà éäéä æîéï.
</simpara>
</listitem>
</varlistentry>