Re: Proposal to remove void from protos

From: Date: Tue, 21 Nov 2006 11:01:17 +0000
Subject: Re: Proposal to remove void from protos
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374436@lists.php.net to get a copy of this message
Jakub Vrana wrote:
... 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)
() has different meanings depending on which language you look at, in C++ () is like (void) while in C it is like (...), so lets stick with the explicit (void) to avoid misunderstandings so -1 on this part -- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com

« previous php.doc (#969374436) next »