Re: Should examples be CLI or WEB output?
| From: | Daniel Egeberg | Date: | Fri, 23 Apr 2010 12:10:36 +0000 |
| Subject: | Re: Should examples be CLI or WEB output? | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969381691@lists.php.net to get a copy of this message | ||
On Fri, Apr 23, 2010 at 11:45, Richard Quadling
<rquadling@googlemail.com> wrote:
> Hi.
>
> Just looking through some of the DateTime examples and noticed that
> they are using <br /> as a line terminator.
>
> So, very much a web output.
>
> Is there any style/preference to have the examples as CLI or Web?
In my opinion, the example output should be what *PHP* outputs, not
what some arbitrary third-party decides to parse it to.
Okay, perhaps not for binary output, but for all plaintext output at least.
--
Daniel Egeberg