Proposal to remove void from protos
| From: | Jakub Vrana | Date: | Tue, 21 Nov 2006 09:53:32 +0000 |
| Subject: | Proposal to remove void from protos | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374433@lists.php.net to get a copy of this message | ||
Hello!
Would you agree with removal of the word "void" in methodsynpsis both
from return type and parameters list?
I propose to change the return type to "null" which it really is and
remove it completely from parameters list as it is the way to declare
that function doesn't accept any parameters in user-defined functions.
New synopsis would be: null debug_print_backtrace()
instead of: void debug_print_backtrace(void)
Jakub Vrana