<html>
<body>
<h1>The === Operator</h1>
<p>Compare two variables to check if they are identical.</p>
<p>The identical operator (===) checks the value and the data type, unlike the equal operator (==) that checks only the value.</p>
$x = 100;
$y = 100;
if ($x === $y) {
echo "$x is identical to $y";
}
</body>
</html>
Compare two variables to check if they are identical.
The identical operator (===) checks the value and the data type, unlike the equal operator (==) that checks only the value.
100 is identical to 100