Re: [RFC] Void Return Type (v0.2, reöp ening)

From: Date: Fri, 16 Oct 2015 00:45:46 +0000
Subject: Re: [RFC] Void Return Type (v0.2, reöp ening)
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-88846@lists.php.net to get a copy of this message
Hi Korvin, Korvin Szanto wrote:
Could we change the documentation for existing functions to return null, and start using void properly moving forward?
As I have stated several times now, we're not "misusing" void. PHP is not the only language to use the word in this manner. But why should we change the documentation anyway? We've used void for a very long time, at least 17 years[0]. We don't just use it in the PHP manual, it's also used in docblocks and the PHP source code's function prototypes. It's the commonly-accepted, widely-used term. Until now this was uncontroversial. Why should we move heaven and earth when there's nothing wrong? [0] https://web.archive.org/web/19991002011107/http://php.net/manual/function.sort.php3 -- Andrea Faulds http://ajf.me/

« previous php.internals (#88846) next »