Comparing values with == and ===

Do you know the difference between the following operator use? if ($a==$b){} and if ($a===$b){} The first one compares only value, the second one compares value and type.
Bookmark and Share    
blog comments powered by Disqus

0 COMMENTS