[PHP-DEV] Re: VCS Account Request: buhlerax

2015-05-23 Thread Alexandre Pereira Bühler
On 05/05/2015 02:52, PHP Group wrote: VCS Account Approved: buhlerax approved by rasmus \o/ Desire updates the website page http://gtk.php.net/ but I can not perform a push. My karma only allows cloning. git returns error: remote: Welcome buhlerax remote: You have insufficient Karma! remote: I

RE: [PHP-DEV] Allow __toString() to throw exceptions

2015-05-23 Thread Benjamin Morel
> Hi Benjamin. Hi Janub, > I have a question: is there any reason to throw an exception from __toString, > other than a non-recoverable error, which would denote that the object, which > the __toString method is called on, does not have any meaningful string > representation? Because if

Re: [PHP-DEV] Allow __toString() to throw exceptions

2015-05-23 Thread Jakub Kubíček
> > Hi, > Hi Benjamin. I have a question: is there any reason to throw an exception from __toString, *other* than a non-recoverable error, which would denote that the object, which the __toString method is called on, does not have any meaningful string representation? Because if not, core impleme

[PHP-DEV] [RFC] Throwable Interface

2015-05-23 Thread Aaron Piotrowski
Hello, I’ve created an RFC for modifying the exception hierarchy for PHP 7, adding Throwable interface and renaming the exceptions thrown from fatal errors. The RFC is now ready for discussion. RFC: https://wiki.php.net/rfc/throwable-interface Pul

[PHP-DEV] Allow __toString() to throw exceptions

2015-05-23 Thread Benjamin Morel
Hi, There has been no feedback on this bug for a while: https://bugs.php.net/bug.php?id=53648 @aharvey said : > Should there ever be a Zend Engine 3, however, this could be revisited. Now would be the perfect time to fix it then, it would add to the list of error-handling improvements