original_string: public static function fetch_subscription_cache($forumid, $userid) {
          if (isset(self::$forumcache[$userid]) && isset(self::$forumcache[$userid][$forumid])) {
              return self::$forumcache[$userid][$forumid];
          }
          self::fill_subscription_cache($forumid, $userid);
  
          if (!isset(self::$forumcache[$userid]) || !isset(self::$forumcache[$userid][$forumid])) {
              return false;
          }
  
          return self::$forumcache[$userid][$forumid];
      }
code: public static function fetch_subscription_cache($forumid, $userid) {
          if (isset(self::$forumcache[$userid]) && isset(self::$forumcache[$userid][$forumid])) {
              return self::$forumcache[$userid][$forumid];
          }
          self::fill_subscription_cache($forumid, $userid);
  
          if (!isset(self::$forumcache[$userid]) || !isset(self::$forumcache[$userid][$forumid])) {
              return false;
          }
  
          return self::$forumcache[$userid][$forumid];
      }
code_tokens: public static function fetch_subscription_cache ( $ forumid , $ userid ) { if ( isset ( self :: $ forumcache [ $ userid ] ) && isset ( self :: $ forumcache [ $ userid ] [ $ forumid ] ) ) { return self :: $ forumcache [ $ userid ] [ $ forumid ] ; } self :: fill_subscription_cache ( $ forumid , $ userid ) ; if ( ! isset ( self :: $ forumcache [ $ userid ] ) || ! isset ( self :: $ forumcache [ $ userid ] [ $ forumid ] ) ) { return false ; } return self :: $ forumcache [ $ userid ] [ $ forumid ] ; }
docstring: Fetch the forum subscription data for the specified userid and forum.
  
  @param int $forumid The forum to retrieve a cache for
  @param int $userid The user ID
  @return boolean
docstring_tokens: Fetch the forum subscription data for the specified userid and forum .