0

I saw the line below in a class method :

return $return === 1;

What's the meaning of this ? As "===" is a comparaison operator, what would be the expected behavior of using this operator directly in a return ? Return only if 1 ?

Thanks

Ty Yt
  • 466
  • 2
  • 9
  • 25

0 Answers0