Re: [VOTE] Exceptions in the engine
| From: | Pavel Kouřil | Date: | Sun, 15 Mar 2015 08:24:54 +0000 |
| Subject: | Re: [VOTE] Exceptions in the engine | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84806@lists.php.net to get a copy of this message | ||
On Sun, Mar 15, 2015 at 8:27 AM, Sebastian Bergmann <sebastian@php.net> wrote:
> Am 15.03.2015 um 08:07 schrieb Sebastian Bergmann:
>> So who will draft the RFC for
>>
>> * Introduce a Throwable interface
>> * Let Exception implement the Throwable interface
>> * Introduce an Error class that implements the Throwable interface
>> * Use Error class as base class for exceptions raised by the engine
>>
>> ?
>
> It was my idea, after all, only fair that I invest the time to make
> it into an RFC: https://wiki.php.net/rfc/throwable
>
> Please let me know if there is anything missing.
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Hello,
why global namespace? Why not just starting using namespaces for PHP
stuff? The global namespace gets more and more polluted by this IMHO.
Regards
Pavel Kouril