PHP Source:
<!DOCTYPE html>
<html>
<body>

<?php
$x = 100;  
$y = "100";

var_dump($x === $y); // returns false because types are not equal
?>
 

</body>
</html>
Result:
Show PHP - © w3schools.com
Privacy Policy