IanDoran Posted May 12, 2010 Share Posted May 12, 2010 What is the difference between === and == in java? Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted May 12, 2010 Share Posted May 12, 2010 This is a PHP forum, not JAVA or Javascript. Nevermind. Ken Quote Link to comment Share on other sites More sharing options...
platinum89 Posted May 12, 2010 Share Posted May 12, 2010 Even tough this is a php forum the question can be answered relatively easy In most languages: it checks if they are of the same value and type. PHP example: 6 == "6" will return true But 6 === "6" will return false Quote Link to comment Share on other sites More sharing options...
trq Posted May 12, 2010 Share Posted May 12, 2010 They have exactly the same meaning as they do in php. == equal === identical Quote Link to comment Share on other sites More sharing options...
IanDoran Posted May 12, 2010 Author Share Posted May 12, 2010 Hehehe, ok ty. I shall remember this Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.