Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Comparison operator: Identical (===)
SUBMITTED BY:
henry1874w
DATE:
June 12, 2017, 3:27 p.m.
FORMAT:
Text only
SIZE:
161 Bytes
Raw
Download
Tweet
HITS:
370
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
$x = 100;
$y = "100";
var_dump($x === $y); // returns false because types are not equal
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus