Back to subject
Introduction to PHP/Operators

Build a Simple Comparison Checker

Practical lesson

Create two variables with different values and use var_dump to compare them with both == and ===, then explain in a comment why the results differ (if they do).

Try it yourself
Code

Starter example

Code
<?php
  // write your code here
?>
Live preview
bool(...)
bool(...)