Hi internals,
I finalized a new proposal for PHP. It consists into adding support for
package-private classes in the language.
A package private class is basically a class that can only be instantiated
in its declared namespace. This means that you cannot extend, implement or
use a class, interfa
On 23 December 2014 at 00:32, guilhermebla...@gmail.com
wrote:
> Hi internals,
>
> I finalized a new proposal for PHP. It consists into adding support for
> package-private classes in the language.
>
> A package private class is basically a class that can only be instantiated
> in its declared nam
On 23 December 2014 at 03:34, Leigh wrote:
> On 23 December 2014 at 00:32, guilhermebla...@gmail.com
> wrote:
>> ...
> ...
I forgot that all important +1 :)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> -Ursprüngliche Nachricht-
> Von: Leigh [mailto:lei...@gmail.com]
> Gesendet: Dienstag, 23. Dezember 2014 04:34
> An: guilhermebla...@gmail.com
> Cc: PHP internals
> Betreff: Re: [PHP-DEV] [RFC] Package private class
>
> On 23 December 2014 at 00:32, guilhermebl
internals
> > Betreff: Re: [PHP-DEV] [RFC] Package private class
> >
> > On 23 December 2014 at 00:32, guilhermebla...@gmail.com <
> guilhermebla...@gmail.com> wrote:
> > > Hi internals,
> > >
> > > I finalized a new proposal for PHP. It con
Hi!
>
> namespace ch.tutteli.foo{ public for ch.tutteli.bar, ch.tsphp*
> private class Foo{} }
This looks like a recipe for totally unmaintainable situation, where
each class has its own list of places where it is visible, and the lists
are different for each class. I can kind of get when the p
> -Ursprüngliche Nachricht-
> Von: Stanislav Malyshev [mailto:smalys...@gmail.com]
> Gesendet: Dienstag, 23. Dezember 2014 19:34
> An: Robert Stoll; 'Leigh'; guilhermebla...@gmail.com
> Cc: 'PHP internals'
> Betreff: Re: AW: [PHP-DE