Nobody I know actually uses phpdoc, but some of the staff where I work use IDEs that can parse phpdoc blocks, so I try to be accommodating. Plus I might just use it someday if I have some time to kill. In the meantime...
I'm curious if phpdoc block boundaries are 'strict'. In other words, I've only ever heard of phpdoc blocks formatted like this:
[CODE=php]
/**
*
* ... doc content goes here ...
*
*/
[/code]
But what if I did this:
[code=php]
/*************** *
**
** ... more doc content ...
*/
[/code]
Or this:
[code=php]
/*************** *
//
// ... and so forth ...
*/
[/code]
Each comment block style has a specific meaning in my code, so I don't really want to cramp my style to make phpdoc happy.
Thanks for your time.
I'm curious if phpdoc block boundaries are 'strict'. In other words, I've only ever heard of phpdoc blocks formatted like this:
[CODE=php]
/**
*
* ... doc content goes here ...
*
*/
[/code]
But what if I did this:
[code=php]
/*************** *
**
** ... more doc content ...
*/
[/code]
Or this:
[code=php]
/*************** *
//
// ... and so forth ...
*/
[/code]
Each comment block style has a specific meaning in my code, so I don't really want to cramp my style to make phpdoc happy.
Thanks for your time.
Comment