Bug #25356: ?: (ternary) - shold operate as in C, but does not

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155531 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2004-04-08 04:25:42 +00:00
parent b689066e18
commit f614a40b25

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.64 $ -->
<!-- $Revision: 1.65 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@ -428,8 +428,7 @@ echo "hallo" ^ "hello"; // Outputs the ascii values #0 #4 #0 #0 #0
</tgroup>
</table>
<para>
Another conditional operator is the "?:" (or ternary) operator,
which operates as in C and many other languages.
Another conditional operator is the "?:" (or ternary) operator.
<informalexample>
<programlisting role="php">
<![CDATA[