original_string: public function parseTags($string)
      {
          foreach ($this->tags as $tag => $code) {
              if (strpos($string, "<{$tag}>") !== false
                  || strpos($string, "</{$tag}>") !== false
              ) {
                  $string = str_replace("<{$tag}>", $code, $string);
                  $string = str_replace("</{$tag}>", $this->tags['default'], $string);
              }
          }
  
          return $string . $this->tags['default'];
      }
code: public function parseTags($string)
      {
          foreach ($this->tags as $tag => $code) {
              if (strpos($string, "<{$tag}>") !== false
                  || strpos($string, "</{$tag}>") !== false
              ) {
                  $string = str_replace("<{$tag}>", $code, $string);
                  $string = str_replace("</{$tag}>", $this->tags['default'], $string);
              }
          }
  
          return $string . $this->tags['default'];
      }
code_tokens: public function parseTags ( $ string ) { foreach ( $ this -> tags as $ tag => $ code ) { if ( strpos ( $ string , "<{$tag}>" ) !== false || strpos ( $ string , "</{$tag}>" ) !== false ) { $ string = str_replace ( "<{$tag}>" , $ code , $ string ) ; $ string = str_replace ( "</{$tag}>" , $ this -> tags [ 'default' ] , $ string ) ; } } return $ string . $ this -> tags [ 'default' ] ; }
docstring: Parse tags in a string to turn them into bash escape codes.
  
  @param string $string
  
  @return mixed
docstring_tokens: Parse tags in a string to turn them into bash escape codes .