Re: Developing PHP
| From: | Derick Rethans | Date: | Sat, 29 Apr 2006 15:22:44 +0000 |
| Subject: | Re: Developing PHP | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23035@lists.php.net to get a copy of this message | ||
On Sat, 29 Apr 2006, Tim Van Wassenhove wrote:
> On 2006-04-29, "Sara Golemon" <pollita@php.net> wrote:
> >> I found that around all the function you find somthing like that:
> >>
> >> /* {{{ proto object imap_fetchstructure(resource stream_id, int msg_no [,
> >> int
> >> options])
> >> Read the full structure of a message */
> >> PHP_FUNCTION(imap_fetchstructure)
> >> {
> >> ...
> >> _php_imap_add_body(return_value, body TSRMLS_CC);}
> >> }
> >> /* }}} */
> >>
> >> I don't know that from "normal" c code. I will be treated as comment
> >> there.
> >> And the one function call I copied does copy the body structure from imap
> >> to
> >> something "magic".
> >>
> > They're just that... Comments and nothing more. The reason they look so
> > funny is that the PHP Documentation team has a set of scripts specifically
> > designed to parse source code files and automatically generate documentation
> > skeletons from these specially formatted blocks.
>
> I thought that {{{ and }}} were there because they are markers for vim code folding.
Yup.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org