Quantcast
Channel: Serverphorums.com
Viewing all articles
Browse latest Browse all 23908

Re: [PHP-DEV] [RFC] Void Return Type (v0.2, reöpening)

$
0
0
Den 2015-10-15 kl. 09:04, skrev Björn Larsson:
> Den 2015-10-14 kl. 23:52, skrev Andrea Faulds:
>> Good evening,
>>
>> I'm reviving my Void Return Type RFC, this time for PHP 7.1:
>>
>> https://wiki.php.net/rfc/void_return_type
>>
>> Please read it and tell me your thoughts!
>>
>> Thanks.
>>
>> P.S. As it so (fatefully?) happens, I originally introduced this on
>> 14th February, and it's now 14th October, so it's been exactly 8 months!
>>
> Thanks! I have been waiting for this RFC to reopen. Actually
> wondered why void wasn't among the reserved words in the
> https://wiki.php.net/rfc/reserve_even_more_types_in_php_7.
>
> Regards //Björn
>
Hm... Just noticed that HACK allows void as return type. Wonder
how it works and motivation for having it? Mention in RFC?

//Björn


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Viewing all articles
Browse latest Browse all 23908

Trending Articles