mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
b689066e18
commit
f614a40b25
1 changed files with 2 additions and 3 deletions
|
@ -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[
|
||||
|
|
Loading…
Reference in a new issue