note 37269 added to function.is-bool
| From: | jeppe at bundsgaard dot net | Date: | Fri, 07 Nov 2003 22:05:51 +0000 |
| Subject: | note 37269 added to function.is-bool | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60127@lists.php.net to get a copy of this message | ||
This outputs the textvalue of a boolean.
echo "$boolean is: ".($boolean ? "true":"false");
----
Manual Page -- http://www.php.net/manual/en/function.is-bool.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37269
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37269&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37269&report=yes
Search -- http://master.php.net/manage/user-notes.php