original_string: public static function clear()
      {
          $isClearAll = true;
          if ($_COOKIE) {
              foreach ($_COOKIE as $key => $value) {
                  $result = self::delete($key);
                  if (!$result) {
                      $isClearAll = false;
                  }
              }
          }
          return $isClearAll;
      }
code: public static function clear()
      {
          $isClearAll = true;
          if ($_COOKIE) {
              foreach ($_COOKIE as $key => $value) {
                  $result = self::delete($key);
                  if (!$result) {
                      $isClearAll = false;
                  }
              }
          }
          return $isClearAll;
      }
code_tokens: public static function clear ( ) { $ isClearAll = true ; if ( $ _COOKIE ) { foreach ( $ _COOKIE as $ key => $ value ) { $ result = self :: delete ( $ key ) ; if ( ! $ result ) { $ isClearAll = false ; } } } return $ isClearAll ; }
docstring: Clear all cookies
  
  @param void
  
  @return bool
docstring_tokens: Clear all cookies