You are here

function Markdown_Parser::teardown in Markdown 5

Same name and namespace in other branches
  1. 6 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 273

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();
}