Reply to PHPLint and phpdocumentor (Was Re: Finding Unused Variables)

Your name:

Reply:


Posted by R. Rajesh Jeba Anbiah on 10/15/05 08:46

Umberto Salsi wrote:
> Colin McKinnon <colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com> wrote:
<snip>
> /**
> * Adds a "Cc" address. Note: this function works
> * with the SMTP mailer on win32, not with the "mail"
> * mailer.
> * @param string $address <-- REDUNDANT
> * @param string $name <-- REDUNDANT
> * @return void <-- REDUNDANT
> */
<snip>
> to be declared formally. Also the type of the returned value (void) is
> detected automatically by PHPLint. Note too that the declarations of the
> PHPDocumentator (@param, @return) are now redundant
<snip>

As said earlier, your PHPLint is great. But, I don't think, the
declaration you mentioned will turn it redudnant--as usually the
practice is to provide description for the variable like:
@param string $address Email address of the recipient

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация