https://github.com/symfony/polyfill-php80
Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
https://github.com/symfony/polyfill-php80
compatibility component javascript polyfill portable shim symfony symfony-component symfony-polyfill
Last synced: 8 months ago
JSON representation
Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
- Host: GitHub
- URL: https://github.com/symfony/polyfill-php80
- Owner: symfony
- License: mit
- Created: 2020-01-28T09:29:03.000Z (almost 6 years ago)
- Default Branch: 1.x
- Last Pushed: 2025-05-02T09:41:29.000Z (9 months ago)
- Last Synced: 2025-05-07T21:11:49.072Z (9 months ago)
- Topics: compatibility, component, javascript, polyfill, portable, shim, symfony, symfony-component, symfony-polyfill
- Language: PHP
- Homepage: https://symfony.com/polyfill-php80
- Size: 32.2 KB
- Stars: 1,735
- Watchers: 9
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Symfony Polyfill / Php80
========================
This component provides features added to PHP 8.0 core:
- [`Stringable`](https://php.net/stringable) interface
- [`fdiv`](https://php.net/fdiv)
- [`ValueError`](https://php.net/valueerror) class
- [`UnhandledMatchError`](https://php.net/unhandledmatcherror) class
- `FILTER_VALIDATE_BOOL` constant
- [`get_debug_type`](https://php.net/get_debug_type)
- [`PhpToken`](https://php.net/phptoken) class
- [`preg_last_error_msg`](https://php.net/preg_last_error_msg)
- [`str_contains`](https://php.net/str_contains)
- [`str_starts_with`](https://php.net/str_starts_with)
- [`str_ends_with`](https://php.net/str_ends_with)
- [`get_resource_id`](https://php.net/get_resource_id)
More information can be found in the
[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md).
License
=======
This library is released under the [MIT license](LICENSE).