cvs: phpdoc /en language-snippets.ent /en/language control-structures.xml /en/reference/strings/functions echo.xml print.xml
/en/reference/var/functions empty.xml isset.xml unset.xml

From: Date: Sun, 04 May 2003 17:13:07 +0000
Subject: cvs: phpdoc /en language-snippets.ent /en/language control-structures.xml /en/reference/strings/functions echo.xml print.xml
/en/reference/var/functions empty.xml isset.xml unset.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353169@lists.php.net to get a copy of this message
alindeman Sun May 4 13:13:07 2003 EDT Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/language control-structures.xml /phpdoc/en/reference/strings/functions echo.xml print.xml /phpdoc/en/reference/var/functions empty.xml isset.xml unset.xml Log: adding note to language constructs Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.47 phpdoc/en/language-snippets.ent:1.48 --- phpdoc/en/language-snippets.ent:1.47 Thu May 1 17:52:56 2003 +++ phpdoc/en/language-snippets.ent Sun May 4 13:13:06 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.47 $ --> +<!-- $Revision: 1.48 $ --> <!ENTITY warn.experimental '<warning><simpara>This extension is <emphasis>EXPERIMENTAL</emphasis>. The behaviour of this extension -- @@ -119,6 +119,11 @@ linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether the directory in which you are about to operate has the same UID (owner) as the script that is being executed.</simpara></note>'> + +<!ENTITY note.language-construct '<note><simpara>Because this is a +language construct and not a function, it cannot be called using +<link linkend="functions.variable-functions">variables functions</link></simpara> +</note>'> <!-- Common pieces in features/safe-mode.xml Jade doesn't allow in-line entities, so I put them here... Though they Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.69 phpdoc/en/language/control-structures.xml:1.70 --- phpdoc/en/language/control-structures.xml:1.69 Wed Mar 5 02:02:43 2003 +++ phpdoc/en/language/control-structures.xml Sun May 4 13:13:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.69 $ --> +<!-- $Revision: 1.70 $ --> <chapter id="control-structures"> <title>Control Structures</title> @@ -1031,6 +1031,7 @@ The <function>require</function> statement includes and evaluates the specific file. </simpara> + &note.language-construct; <simpara> <function>require</function> includes and evaluates a specific file. Detailed information on how this inclusion works is described in the @@ -1096,6 +1097,7 @@ The <function>include</function> statement includes and evaluates the specified file. </simpara> + &note.language-construct; <simpara> The documentation below also applies to <function>require</function>. The two constructs are identical in every way except how they handle Index: phpdoc/en/reference/strings/functions/echo.xml diff -u phpdoc/en/reference/strings/functions/echo.xml:1.8 phpdoc/en/reference/strings/functions/echo.xml:1.9 --- phpdoc/en/reference/strings/functions/echo.xml:1.8 Sun May 4 12:33:57 2003 +++ phpdoc/en/reference/strings/functions/echo.xml Sun May 4 13:13:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.echo"> <refnamediv> @@ -21,9 +21,9 @@ language construct) so you are not required to use parentheses with it. In fact, if you want to pass more than one parameter to echo, you must not enclose the parameters within parentheses. - It is not possible to use <function>echo</function> in a - <link linkend="functions.variable-functions">variable function</link> - context. + </para> + &note.language-construct; + <para> <example> <title><function>echo</function> examples</title> <programlisting role="php"> Index: phpdoc/en/reference/strings/functions/print.xml diff -u phpdoc/en/reference/strings/functions/print.xml:1.6 phpdoc/en/reference/strings/functions/print.xml:1.7 --- phpdoc/en/reference/strings/functions/print.xml:1.6 Sun May 4 12:33:57 2003 +++ phpdoc/en/reference/strings/functions/print.xml Sun May 4 13:13:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.print"> <refnamediv> @@ -20,6 +20,7 @@ language construct) so you are not required to use parentheses with it. </para> + &note.language-construct; <example> <title><function>print</function> examples</title> <programlisting role="php"> Index: phpdoc/en/reference/var/functions/empty.xml diff -u phpdoc/en/reference/var/functions/empty.xml:1.3 phpdoc/en/reference/var/functions/empty.xml:1.4 --- phpdoc/en/reference/var/functions/empty.xml:1.3 Tue Jan 21 14:10:29 2003 +++ phpdoc/en/reference/var/functions/empty.xml Sun May 4 13:13:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> <refentry id="function.empty"> <refnamediv> @@ -17,6 +17,7 @@ <function>empty</function> is a language construct. </para> </note> + &note.language-construct; <para> This is the opposite of <literal>(boolean) <parameter>var</parameter></literal>, Index: phpdoc/en/reference/var/functions/isset.xml diff -u phpdoc/en/reference/var/functions/isset.xml:1.7 phpdoc/en/reference/var/functions/isset.xml:1.8 --- phpdoc/en/reference/var/functions/isset.xml:1.7 Sat Nov 16 05:50:29 2002 +++ phpdoc/en/reference/var/functions/isset.xml Sun May 4 13:13:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> <refentry id="function.isset"> <refnamediv> @@ -19,6 +19,7 @@ <function>isset</function> is a language construct. </para> </note> + &note.language-construct; <simpara> Returns &true; if <parameter>var</parameter> exists; &false; otherwise. </simpara> Index: phpdoc/en/reference/var/functions/unset.xml diff -u phpdoc/en/reference/var/functions/unset.xml:1.2 phpdoc/en/reference/var/functions/unset.xml:1.3 --- phpdoc/en/reference/var/functions/unset.xml:1.2 Wed Apr 17 02:44:59 2002 +++ phpdoc/en/reference/var/functions/unset.xml Sun May 4 13:13:07 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> <refentry id="function.unset"> <refnamediv> @@ -19,6 +19,7 @@ <function>unset</function> is a language construct. </para> </note> + &note.language-construct; <para> <function>unset</function> destroys the specified variables. Note that in PHP 3, <function>unset</function> will always return &true;

« previous php.doc (#969353169) next »