Hi,
On Fri, Jul 28, 2017 at 2:39 PM, Jakub Zelenka <bukka@php.net> wrote:
> On Fri, Jul 28, 2017 at 12:23 PM, Craig Duncan <php@duncanc.co.uk> wrote:
>
>> Hi Nikita,
>>
>> Thanks for your input. Would you vote yes for throwing an exception?
>>
>>
> Just to clarify exceptions are no go for 7.x. It would have to be 8.x and
> it would be a huge BC break so I'm quite confident that this will fail the
> vote!
This is a long shot, but here's an idea: an OOP API throwing exceptions.
Would require more work both to implement and use, but it would surely
be less error-prone and there'd be no BC break.
Cheers,
Andrey.