note 11785 added to Expressions
| From: | yasuo_ohgaki at hotmial dot com | Date: | Wed, 07 Mar 2001 04:02:11 +0000 |
| Subject: | note 11785 added to Expressions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11977@lists.php.net to get a copy of this message | ||
FYI
($some_var) ? echo('true) : echo('false');
is invalid, since '? : ' operator expects expressions, but echo() is not an expression
just like include.
http://www.php.net/manual/en/language.expressions.php