You are here: Re: Possibile bug? « PHP Programming Language « IT news, forums, messages
Re: Possibile bug?

Posted by Geoff Berrow on 03/23/07 07:29

Message-ID: <etvt90$fgf$1@aioe.org> from peter contained the following:

>$str = foo() is always going to be true as you are assigning $str to foo()
>if you are trying to see if what is returned by foo() is the same as $str
>then you should use == or ===

Spoilsport...

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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