Help for this page

Select Code to Download


  1. or download this
    if ($toggle) {
        $toggle = 0;
    } else {
        $toggle = 1;
    }
    
  2. or download this
    $toggle = $toggle ? 0 : 1;
    
  3. or download this
    $toggle ^= 1;
    
  4. or download this
    $toggle = !$toggle;