Help for this page

Select Code to Download


  1. or download this
    condition ? expression1 : expression2
    
  2. or download this
    $max = $x > $y ? $x : $y;
    
  3. or download this
    if ($x > $y) {
      $max = $x;
    } else {
      $max = $y;
    }