The best way to check the conditions and what is difference between them?
This is my usual way:
if ($this->_is_valid_number() == TRUE) {
//do some thing...
}
I've seen some code written in this way(for example):
if (TRUE == $this->_is_valid_number()) {
//do some thing...
}
Are these different from each other? Which method is standard?