You are here: Re: how control struct evaluate « PHP Programming Language « IT news, forums, messages
Re: how control struct evaluate

Posted by Michael G on 08/01/05 06:56

"jamen" <jamen@invalid> wrote in message
news:42ed9b76$0$155$edfadb0f@dtext02.news.tele.dk...
> Michael G wrote:
>
>> The following link states a number of cases for boolean conversion. It
>> does state that an array with zero elements will be converted to FALSE
>> but not the case above where an array element is not set. Maybe I am
>> reading too much into it...
>>
>> http://us2.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting
>
> Well, it clearly states:
>
> When converting to boolean, the following values are considered FALSE:
>
> * the special type NULL (including unset variables)
>

Thanks. I missed that. Read right over it.
Mike



----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация