Re: Meaning of // {{{
| From: | Tomas V.V.Cox | Date: | Sun, 22 Jul 2001 15:36:38 +0000 |
| Subject: | Re: Meaning of // {{{ | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-976@lists.php.net to get a copy of this message | ||
teo@gecadsoftware.com wrote:
>
> Hi Tomas!
> On Sun, 22 Jul 2001, Tomas V.V.Cox wrote:
>
> > Martin Jansen wrote:
> > >
> > > What do the "// {{{ <functionname>" in most of the PEAR
> > > files stand for?
> > >
> > > I've also used them in the code I commited to PEAR but
> > > never really knew what they were good for (I suppose
> > > they are pretty important for some of you ;-).
> > >
> >
> > I guess it's Xemacs stuff for quick access to functions (you know
> > Ctrl+Meta+Shift+AltGr+& will move the cursor to the next function ;)
> >
> :)) *grin* nope, I would still be happy then to know something like that
> exists
Oops... I'm sure I have read somewhere that the {{{ ... ok, wrong :)
> AFAIK that was used in the C sources of PHP to delimit documentation, and I
> guess it's also used in the PHP sources for the same reason, though a Javadoc
> style is more fancy and easy to parse IMO.
>
:-? AFAIK PHPDoc don't need that. For example I could see the in-line
doc for DB.php wich doesn't have this tags. So the question is still on
the air: do we really need this tags?
Tomas V.V.Cox