Re: newbie: a very simple question (I hope)
| From: | Jason Barnett | Date: | Wed, 15 Dec 2004 18:30:07 +0000 |
| Subject: | Re: newbie: a very simple question (I hope) | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25163@lists.php.net to get a copy of this message | ||
I know how to print out the value of $x, but not the test result of 'true or false'.A couple of ways to do this. Probably the easiest is to cast the true / false answer to an int and then echo that answer. $x = 3; $bool = ++$x < 4; echo (int) $bool;