Re: Soft-reserve "void" class name
| From: | Stanislav Malyshev | Date: | Fri, 22 May 2015 00:19:59 +0000 |
| Subject: | Re: Soft-reserve "void" class name | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86345@lists.php.net to get a copy of this message | ||
Hi!
> I'd like to add "void" to this list, so we have the option to introduce a
> void return type in PHP 7.x. I've seen some disagreement as to whether this
I think this type makes no sense in PHP, but I don't object to having
note in the docs for people not to name their classes "void" (not that
there's any reason to do it anyway...). I strongly object to introducing
any changes in the code though - warnings, etc.
--
Stas Malyshev
smalyshev@gmail.com