note 19379 added to function.strpos

From: Date: Tue, 26 Feb 2002 06:05:19 +0000
Subject: note 19379 added to function.strpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-27043@lists.php.net to get a copy of this message
Can anone please explain why in here $pos = strpos($mystring, "b"); if ($pos === false) { // note: three equal signs // not found... } we have three equal signs??? Why not two? Whats the difference between == and === Regards -- http://www.php.net/manual/en/function.strpos.php http://master.php.net/manage/user-notes.php?action=edit+19379 http://master.php.net/manage/user-notes.php?action=delete+19379 http://master.php.net/manage/user-notes.php?action=reject+19379

« previous php.notes (#27043) next »