Re: [RFC] Reserve EVEN MORE types for PHP7
| From: | Pierre Joye | Date: | Fri, 20 Feb 2015 19:23:54 +0000 |
| Subject: | Re: [RFC] Reserve EVEN MORE types for PHP7 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83348@lists.php.net to get a copy of this message | ||
On Fri, Feb 20, 2015 at 10:51 AM, Markus Fischer <markus@fischer.name> wrote:
> On 20.02.15 18:55, Sara Golemon wrote:
>> Announcing this in its own thread:
>> https://wiki.php.net/rfc/reserve_even_more_types_in_php_7
>>
>> This RFC acts as an addition to Levi's
>> https://wiki.php.net/rfc/reserve_more_types_in_php_7 by
>> creating a
>> forum for voting on additional types not included in his RFC:
>> resource, object, scalar, mixed, numeric
>
> From the RFC:
>
> “resource”
> “object”
> “scalar”
> “mixed”
> “numeric”
>
> "... prohibits their usage as class, interface and trait names."
>
>
> This is such a major BC break.
One thing we must do before even considering non required names is to
actually check every major apps, frameworks or libraries. If we can
avoid a date/datetime clash again, that would be awesome ;)
--
Pierre
@pierrejoye | http://www.libgd.org