Re: Finishing up the function summary
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Finishing up the function summary | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3225@lists.php.net to get a copy of this message | ||
> When a function doesn't take any argument, should I leave the parenthesis
> empty or put 'void' there?
Use void.
> I've got a lot spare time now, because I just quit my job (like everyone
> else here) as a protest to the company's management's plans (they "forgot"
> to discuss about them with people doing the actual work), but am still
> sitting here keeping things not crashing (not that they would), because
> I'm only one here who understands how anything works. Might as well do
> something useful, like adding prototypes, while waiting to see how the
> situation comes out. Anything else that just should be done?
Cool.
Once all the prototypes are in, we need to cross-reference the generated
listing with the online documentation. A lot of the return types and
actual arguments currently documented are incorrect. By keeping the
prototypes with the actual code we are more likely to be able to keep
things consistent.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net