An open API service indexing awesome lists of open source software.

https://github.com/morrisonlevi/php-generics-design-library

A design for a language-integrated PHP generics library.
https://github.com/morrisonlevi/php-generics-design-library

Last synced: 11 months ago
JSON representation

A design for a language-integrated PHP generics library.

Awesome Lists containing this project

README

          

# PHP Generics Design Library
This repository contains a design for a language-integrated PHP generics library. This is not (currently) usable in any version of PHP. The purpose of this repository is to:

- Determine the feature set needed to provide viable generics in the core language.
- Design a migration path for built-in interfaces such as `ArrayAccess`, `IteratorAggregate`, `Iterator`, etc.
- Design a library similar to the SPL that is generics-oriented to help refine the design of the features.

This work will provide guidance for the [RFC on generics](https://wiki.php.net/rfc/generics).