> On 15 03 2015, at 17:09, Dan Ackroyd <dan...@basereality.com> wrote: > > Hi List, > > The 'Constructor behaviour of internal classes' RFC is now in voting. > Please note, it's the coding standard that is being voted on. If > anyone thinks I've implemented the changes in a way that is less > awesome then there is no reason the changes couldn't be improved. > > Additionally, while writing the change I noticed some things that were > already present in the code, that are outside the scope of the RFC but > ought to be fixed for the release of PHP 7. > > * Multiple examples of a generic Exception being thrown rather than a > specific exception being thrown. > > * Code generating an error notice and throwing an exception. It should > be one or the other, not both. > > * The text of exceptions in Intl not always being as informative as > the error message, which could be improved. > > But as I said, the vote is on whether the standard behaviour of either > returning a working instance or throwing an exception, is the standard > behaviour we want in PHP. > >
For the lazy people, like me: https://wiki.php.net/rfc/internal_constructor_behaviour#voting <https://wiki.php.net/rfc/internal_constructor_behaviour#voting>