Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 536 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 536 Bytes

Enums

"Enumerated Types" polyfill for PHP made with YAY!. The preprocessor has no bridge for project integration yet, but you can have a taste of it by running:

# install it
git clone git@github.com:marcioAlmada/yay-enums.git
cd yay-enums
composer install

# run it!
php test.php

Please, read enum.tests.php to see the specs.

This is inspired by the "Enumerated Types" RFC.