the casting is as follows, any value distinct from zero, null or empty
string is converted to true, else the it is converted to false

"Harry Wiens" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> $this->styles['shadow'] = (boolean)$bool;
>                                         ^^^^^^^^^^^^
>
> what does "(boolean)$bool" mean?
>
> mfg.
> harry wiens

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

Reply via email to