original_string: protected function _autoload($patterns, $className)
      {
          foreach ($patterns as $pattern) {
              if (!fnmatch($pattern, $className, FNM_NOESCAPE)) {
                  continue;
              }
              $this->generateAndLoadClass($className);
              return true;
  
          }
          return false;
      }
code: protected function _autoload($patterns, $className)
      {
          foreach ($patterns as $pattern) {
              if (!fnmatch($pattern, $className, FNM_NOESCAPE)) {
                  continue;
              }
              $this->generateAndLoadClass($className);
              return true;
  
          }
          return false;
      }
code_tokens: protected function _autoload ( $ patterns , $ className ) { foreach ( $ patterns as $ pattern ) { if ( ! fnmatch ( $ pattern , $ className , FNM_NOESCAPE ) ) { continue ; } $ this -> generateAndLoadClass ( $ className ) ; return true ; } return false ; }
docstring: Autoload class if matching any of given patterns
  
  @param string[] $patterns
  @param string $className
  
  @return bool
docstring_tokens: Autoload class if matching any of given patterns