Re: Revisiting Anonymous Classes

From: Date: Sun, 29 Jun 2014 09:36:44 +0000
Subject: Re: Revisiting Anonymous Classes
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-75130@lists.php.net to get a copy of this message
Hi, Am 28.06.2014 15:36, schrieb Sebastian Bergmann:
An anonymous class can extend one class or implement one interface. Unlike non-anonymous classes, an anonymous class cannot do both. In other words, it cannot both extend a class and implement an interface, nor can it implement more than one interface.
Omitting name might be useful but please don't redefine the class concept. Am 28.06.2014 20:53, schrieb Rowan Collins:
is there any reason to think that this will pass now when it didn't then?
Don't know a reason but PHP6 is a good point in time for new syntax & features. +1 cryptocompress

« previous php.internals (#75130) next »