You are here

function Markdown_Parser::teardown in Markdown 6

Same name and namespace in other branches
  1. 5 markdown.php \Markdown_Parser::teardown()
2 calls to Markdown_Parser::teardown()
MarkdownExtra_Parser::teardown in ./markdown.php
Markdown_Parser::transform in ./markdown.php
1 method overrides Markdown_Parser::teardown()
MarkdownExtra_Parser::teardown in ./markdown.php

File

./markdown.php, line 301

Class

Markdown_Parser

Code

function teardown() {

  #

  # Called after the transformation process to clear any variable

  # which may be taking up memory unnecessarly.

  #
  $this->urls = array();
  $this->titles = array();
  $this->html_hashes = array();
}