Comparison operator: Less than (<)


SUBMITTED BY: henry1874w

DATE: June 12, 2017, 3:35 p.m.

FORMAT: Text only

SIZE: 151 Bytes

HITS: 280

  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <?php
  5. $x = 10;
  6. $y = 50;
  7. var_dump($x < $y); // returns true because $x is less than $y
  8. ?>
  9. </body>
  10. </html>

comments powered by Disqus