php == vs === operator

user34537 picture user34537 · Feb 26, 2009 · Viewed 51.1k times · Source

What is the difference between == and === in PHP?

What would be some useful examples?


Additionally, how are these operators used in JavaScript? Are they related to PHP?

Answer