note 11976 added to function.echo.php
| From: | sam at aigraphics dot com | Date: | Fri, 16 Mar 2001 02:39:15 +0000 |
| Subject: | note 11976 added to function.echo.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12454@lists.php.net to get a copy of this message | ||
In response to yasuo_ohgaki@hotmail.com, echo is a language construct and not a function. You can
still use it in your example by doing this, though:
echo ($some_var) ? 'true': 'false';
http://www.php.net/manual/en/function.echo.php