a performance question

From: Date: Thu, 17 Nov 2005 08:01:48 +0000
Subject: a performance question
Groups: php.internals 
Request: Send a blank email to internals+get-20088@lists.php.net to get a copy of this message
If anybody should know this for certain, it's core developers, hence my question here. I'm curious if type certainty requires an extra check, or a check less. Which of these is faster? if ($str === 'abc') { } if ($str == 'abc') { } I expect the triple '=' to be faster, but I'd like to be sure. Thank you, Ron

« previous php.internals (#20088) next »