You are here: Re: strings and conditionals.. « PHP Programming Language « IT news, forums, messages
Re: strings and conditionals..

Posted by Rik on 06/12/06 01:07

maya wrote:
> thank you.. this is exactly what I was looking for ..
> (noticed that it works both with '!==' and '!='.... there's
> probably
> some subtle difference I'm still not aware of....:) thank you very
> much..

!= converted to the same type these values are not the same.
!== these values aren't of the same value OR different types.


!== & === compare types, for instance a boolean with the same value a string
would hold converted to boolean won't match.

http://www.php.net/manual/en/language.operators.comparison.php

Grtz,
--
Rik Wasmus

 

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

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