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