cvs: /phpdoc/language operators.sgml

From: Date: Mon, 15 Nov 1999 10:34:09 +0000
Subject: cvs: /phpdoc/language operators.sgml
Groups: php.dev 
Request: Send a blank email to php-dev+get-12561@lists.php.net to get a copy of this message
cslawi Mon Nov 15 05:34:09 1999 EDT Modified files: /phpdoc/language operators.sgml Log: Added '===' (identical to). Alphabetization fix. Typo fix (result of division is quotient, not dividend). Index: phpdoc/language/operators.sgml diff -u phpdoc/language/operators.sgml:1.5 phpdoc/language/operators.sgml:1.6 --- phpdoc/language/operators.sgml:1.5 Mon Nov 15 05:03:15 1999 +++ phpdoc/language/operators.sgml Mon Nov 15 05:34:08 1999 @@ -39,7 +39,7 @@ <row> <entry>$a / $b</entry> <entry>Division</entry> - <entry>Dividend of $a and $b.</entry> + <entry>Quotient of $a and $b.</entry> </row> <row> <entry>$a % $b</entry> @@ -153,35 +153,7 @@ </sect1> - <sect1 id="language.operators.execution"> - <title>Execution Operators</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). - <informalexample> - <programlisting role="php"> -$output = ls -al; -echo "&lt;pre&gt;$output&lt;/pre&gt;"; - </programlisting> - </informalexample> - - </para> - - <para> - See also <function>system</function>, - <function>passthru</function>, <function>exec</function>, - <function>popen</function>, and - <function>escapeshellcmd</function>. - </para> - - </sect1> - - <sect1 id="language.operators.comparison"> <title>Comparison Operators</title> <simpara> @@ -206,6 +178,12 @@ <entry>True if $a is equal to $b.</entry> </row> <row> + <entry>$a === $b</entry> + <entry>Identical</entry> + <entry>True if $a is equal to $b, and they are of the same + type. (PHP4 only)</entry> + </row> + <row> <entry>$a != $b</entry> <entry>Not equal</entry> <entry>True if $a is not equal to $b.</entry> @@ -244,6 +222,34 @@ </para> </sect1> + + <sect1 id="language.operators.execution"> + <title>Execution Operators</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). + + <informalexample> + <programlisting role="php"> +$output = ls -al; +echo "&lt;pre&gt;$output&lt;/pre&gt;"; + </programlisting> + </informalexample> + + </para> + + <para> + See also <function>system</function>, + <function>passthru</function>, <function>exec</function>, + <function>popen</function>, and + <function>escapeshellcmd</function>. + </para> + + </sect1> <sect1 id="language.operators.logical"> <title>Logical Operators</title>

« previous php.dev (#12561) next »