On Mon, March 12, 2007 1:53 pm, Vieri wrote:
> The following code:
>
> <?php
> $b="";
> $c="df";
> $a=($b and $c);

Why in the world would you use 'and' on two strings?

What is that supposed to even mean?...

Type-cast them to numbers if you want to use 'and'

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to