Equality Operators in action : Equality Operators : Language Basics PHP Source Code


PHP Source Code » Language Basics » Equality Operators »

 

Equality Operators in action






<html>
<head>
   <title>Equality</title>
</head>
<body>
     <?php
          $a = 1;
          $b = "1";
   
          print("($a == $b)" (($a == $b"True" "False""<br />");
          print("($a != $b)" (($a != $b"True" "False""<br />");
          print("($a === $b)" (($a === $b"True" "False""<br />");
          print("($a !== $b)" (($a !== $b"True" "False""<br />");
     ?>
</body>
</html>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Equality Operators