4
votes
3answers
590 views

Is saying “if ( $a != null && $a == 5)” the same as “if ($a == 5)”

First off, sorry if this is answered somewhere else. I did a brief search, but wasn't sure how to ask in search terms. I'm looking at some code and came across lot's of statements like this: if ( ...