Polyfill PHP 8.0 Component

Implements certain PHP 8.0 features in pure PHP code so you can use them when using an earlier PHP version in your project.