Date: 03/15/01
- Next message: cycle98: "[PHP-DOC] cvs: phpdoc /kr/functions math.xml"
- Previous message: Jesus M. Castagnetto: "[PHP-DOC] cvs: phpdoc /en/functions misc.xml"
- In reply to: Sterling Hughes: "Re: [PHP-DOC] cvs: phpdoc /en/functions bzip2.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Wouldn't it be obvious though, that examples should be wrapped in <?php ?>
tags if the code was used in real life? I thought that I read somewhere
around here that using the <?php ?> tags in your examples was more for full
length examples and not code snippets...
Daniel
----- Original Message -----
From: "Sterling Hughes" <sterling <email protected>>
To: "Stig Sæther Bakken" <ssb <email protected>>
Cc: <phpdoc <email protected>>
Sent: Thursday, March 15, 2001 8:29 AM
Subject: Re: [PHP-DOC] cvs: phpdoc /en/functions bzip2.xml
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
- Next message: cycle98: "[PHP-DOC] cvs: phpdoc /kr/functions math.xml"
- Previous message: Jesus M. Castagnetto: "[PHP-DOC] cvs: phpdoc /en/functions misc.xml"
- In reply to: Sterling Hughes: "Re: [PHP-DOC] cvs: phpdoc /en/functions bzip2.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

