[ANN] PEAR Channel and Git Repository Mirror for PHP Markdown & Extra

Milian Wolff mail at milianw.de
Sun Sep 2 12:37:00 EDT 2007


Am Sonntag, 2. September 2007 schrieb Michel Fortin:

> That is worth considering, especially since it would be so easy. A

> configuration define like this one:

>

> define( 'MARKDOWN_EMPTY_ELEMENT_SUFFIX', " />");

>

> could become this:

>

> @define( 'MARKDOWN_EMPTY_ELEMENT_SUFFIX', " />");


I once read that using "@" to suppress errors is quite slow. Why not use
defined() ?

if (!defined('...')) {
define('...', '...');
}

--
Milian Wolff
http://milianw.de


More information about the Markdown-Discuss mailing list