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 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to