Patrick,

On Sat, Mar 7, 2015 at 2:22 AM, Patrick Schaaf <p...@bof.de> wrote:
>
> Am 06.03.2015 20:14 schrieb "Philip Sturgeon" <pjsturg...@gmail.com>:
>>
>> Right, this here RFC has been drastically improved.
>>
>> https://wiki.php.net/rfc/anonymous_classes
>>
>> Anyone got any doubts or troubles at this point?
>
> Can we / could we do "extends self", "extends static", or even "extends
> $someclassname" ?
>
> The first two could be handy in factory like object methods, and the last
> one generally in factory methods.
>
> best regards
>   Patrick

Could you maybe make some full examples? I'm not visualising the use
case. It sounds like something which would be better off as another
RFC as its extra features.

This is just making anonymous definitions possible, not trying to take
on a whole bunch of different features in one go.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to