<div style="text-align: center;">This rule is DEPRECATED. Please use <]]> instead.</div>

''phpcode''

phpcode About This Rule Configuration Values Description

About This Rule

Name phpcode
Type capturing block
Syntax <php> on a line by itself at the beginning of the line, followed by the content block, followed by </php> on a line by itself at the beginning of the line

Configuration Values

None.

Description

Use this rule to mark PHP example code; the content will be colorized using highlight_string and will be surrounded with the <?php … ?> tags for you. The content will be treated as preformatted and monospaced.For example, this markup…


<php>
    $val = "hi there!";
    echo($val);
</php>

… will result in: $val = "hi there!"; echo($val);

 
text_wiki/rulephpcode.txt · Last modified: 2008/09/16 11:49 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki