php not equal to != and !==

PeedeFenOpema

New Member
ive always done this \[code\]if($foo!==$bar)\[/code\] but i realize that \[code\]if($foo!=$bar)\[/code\] is correct? but double \[code\]=\[/code\] still works and has always worked for me, but whenever i search php operators i find no info on double \[code\]=\[/code\] so i assume i've always have done this wrong but it works anyways. So i should change all my \[code\]!==\[/code\] to \[code\]!=\[/code\] just for the sake of it?
 
Back
Top