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