Re: Re: Throwable patch(es) and finalizing the story

From: Date: Sun, 17 May 2015 05:25:05 +0000
Subject: Re: Re: Throwable patch(es) and finalizing the story
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-86286@lists.php.net to get a copy of this message
Submitted the pull request: https://github.com/php/php-src/pull/1284 <https://github.com/php/php-src/pull/1284> I’m not 100% sure on using the name Error, but Java uses a similar name scheme, so it isn’t without precedent and it keeps the names shorter. I also have a branch that prevents user space code from instigating Error so only the engine can throw Errors. I wasn’t sure if this was desired behavior so I left it out of the PR for now. (Sorry for originally sending this to you directly Stas, I’m new to the list and thought I could just hit reply.) > On May 16, 2015, at 11:29 PM, Stanislav Malyshev <smalyshev@gmail.com> wrote: > > Hi! > >> I’ve made another version that I believe is what Sebastian intended >> in the first place: Throwable as an interface, with Exception and >> Error being separate classes. Throwable is implemented to prevent >> user-land code from implementing it. >> >> https://github.com/trowski/php-src/tree/throwable-interface > > Thanks! > >> Should I just submit that as a separate pull on GitHub and we can >> discuss it? > > Yes, please do. Having multiple pulls in github is no problem, we'll > close them once we're done. > > -- > Stas Malyshev > smalyshev@gmail.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#86286) next »