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.
- Host: GitHub
- URL: https://github.com/morrisonlevi/php-generics-design-library
- Owner: morrisonlevi
- Created: 2018-07-05T19:15:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T21:09:13.000Z (about 8 years ago)
- Last Synced: 2025-08-21T03:00:18.117Z (11 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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).