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/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php