fork download
  1. <?php
  2.  
  3. $a = 1;
  4. $b = 3;
  5. $c = true;
  6. $d = false;
  7. $e = $a + $b > 5 || $c; // true
  8. $f = $e == true && !$d; // true
  9. $g = ($a + $b) * 2 + 3 * 4; // 20
Success #stdin #stdout 0.02s 24528KB
stdin
Standard input is empty
stdout
bool(true)
bool(true)
int(20)