note 31854 rejected from language.operators by alindeman

From: Date: Tue, 06 May 2003 20:40:27 +0000
Subject: note 31854 rejected from language.operators by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47599@lists.php.net to get a copy of this message
How about using operator == for string-comparision. Is it correct in php, comparing if($string1==$string2) ... Sure, strcmp($string1, $string2) is better programming but the first sample seems more intuitive... Thanks :) from Switzerland

« previous php.notes (#47599) next »