title: Is there a difference between $str == '' and strlen($str) == 0 in PHP?
body: <p>As the title says: Is there a difference between $str == '' and strlen($str) == 0 in PHP? Is there any real speed difference and is one better to use than the other?</p>