For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2006 > Proposal to remove void from protos









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Proposal to remove void from protos
Jakub Vrana

2006-11-21, 7:57 am

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com