note 16134 modified in language.operators.comparison by zak
| From: | zak@php.net | Date: | Wed, 17 Oct 2001 16:59:51 +0000 |
| Subject: | note 16134 modified in language.operators.comparison by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19058@lists.php.net to get a copy of this message | ||
Remember:
$n==3?echo"win":echo"loose";
will not work, while
$n==3?print"win":print"loose";
will run better ;D
[Editor's Note:
Or use
echo $n==3?"win":"lose";
--zak@php.net]
--was--
Remember:
$n==3?echo"win":echo"loose";
will not work, while
$n==3?print"win":print"loose";
will run better ;D
http://www.php.net/manual/en/language.operators.comparison.php