IanDoran Posted May 12, 2010 Share Posted May 12, 2010 What is the difference between === and == in java? Link to comment https://forums.phpfreaks.com/topic/201502-php-question/ 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 Link to comment https://forums.phpfreaks.com/topic/201502-php-question/#findComment-1057153 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 Link to comment https://forums.phpfreaks.com/topic/201502-php-question/#findComment-1057154 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 Link to comment https://forums.phpfreaks.com/topic/201502-php-question/#findComment-1057155 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 Link to comment https://forums.phpfreaks.com/topic/201502-php-question/#findComment-1057157 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.