- Single-directory packages
- File-scoped visibility for classes/interfaces/enums/functions and variables?
- Anonymous namespaces
include*()
andrequire()
support:- support for a stream context parameter
- accepts an array of
\PhpToken
s
- Convert an
int
into aresource
- Limit parameter for:
get_declared_classes()
get_declared_interfaces()
get_declared_traits()
- Allow
stream_filter_append()
to filterinclude*()
andrequire()
- Classes could extend based on an instance of another class
- Allow hidden code to export the ability to subclass
- without having to worry about same-named class conflicts
$base = new Base(); class Foo extends $base {}
- OR classes could extend based on an instance of a Prototype object, and classes could implement based on a prototype
$myClass = new \PHP\Prototype('MyClass') $myIFace = new \PHP\Prototype('MyInterface') class Foo extends $myClass implements $myIFace {}
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.