ballhogjoni Posted January 15, 2008 Share Posted January 15, 2008 What does the 3 equal signs mean? Ex. 1 === 1 Does it mean it is equal or not equal? Quote Link to comment https://forums.phpfreaks.com/topic/86188-simple-php-syntax-question/ Share on other sites More sharing options...
MikeDXUNL Posted January 15, 2008 Share Posted January 15, 2008 it is an operator, usually for TRUE or FALSE statements... http://us.php.net/operators Quote Link to comment https://forums.phpfreaks.com/topic/86188-simple-php-syntax-question/#findComment-440176 Share on other sites More sharing options...
revraz Posted January 15, 2008 Share Posted January 15, 2008 Means Identical Quote Link to comment https://forums.phpfreaks.com/topic/86188-simple-php-syntax-question/#findComment-440177 Share on other sites More sharing options...
msimonds Posted January 15, 2008 Share Posted January 15, 2008 A triple = sign is a comparison to see whether two variables / expresions / constants are equal AND have the same type - i.e. both are strings or both are integers. Quote Link to comment https://forums.phpfreaks.com/topic/86188-simple-php-syntax-question/#findComment-440178 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.