| 
 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/
 
[Back to original message] 
 |