Help for this page

Select Code to Download


  1. or download this
    $max = ($x,$y)[$x<$y];
    $min = ($x,$y)[$x>$y];
    
  2. or download this
    if ($x < $y ) {
        $max = $y;
    ...
    else {
        $max = $x;
    }