Re: [PHP-DOC] cvs: phpdoc /en/functions bzip2.xml From: Sterling Hughes (sterling <email protected>)
Date: 03/15/01

On 15 Mar 2001, Stig [iso-8859-1] Sæther Bakken wrote:

> ["Sterling Hughes" <sterling <email protected>>]
> > sterling Wed Mar 14 23:10:03 2001 EDT
> >
> > Modified files:
> > /phpdoc/en/functions bzip2.xml
> > Log:
> > Added some <?php ?> tags and expand some of the code examples.
>
> The way I intended to use the "role" attribute for <programlisting>,
> you don't need the <?php ?> tags for code if role="php". If you do
> add the tags, use role="html". The idea is that a stylesheet may want
> to apply syntax highlighting to examples, and then you need to know if
> you are starting inside or outside a php code block.
>
> - Stig
>
        Ok, I find it clearer to have all examples of php code wrapped in
        <?php ?> tags. I'll change the role == "html"...

        -Sterling