original_string: protected function isBlockEnd($line, $blockName = null)
      {
          $line = trim($line);
          $pattern = '/^\<\/';
          $pattern .= ($blockName) ? $blockName : '[^\s\>]+';
          $pattern .= '\>$/';
          return (preg_match($pattern, $line) > 0);
      }
code: protected function isBlockEnd($line, $blockName = null)
      {
          $line = trim($line);
          $pattern = '/^\<\/';
          $pattern .= ($blockName) ? $blockName : '[^\s\>]+';
          $pattern .= '\>$/';
          return (preg_match($pattern, $line) > 0);
      }
code_tokens: protected function isBlockEnd ( $ line , $ blockName = null ) { $ line = trim ( $ line ) ; $ pattern = '/^\<\/' ; $ pattern .= ( $ blockName ) ? $ blockName : '[^\s\>]+' ; $ pattern .= '\>$/' ; return ( preg_match ( $ pattern , $ line ) > 0 ) ; }
docstring: Check if line is a Block end
  
  @param string $line
  @param string $blockName [optional] The block's name
  @return bool
docstring_tokens: Check if line is a Block end