symfony / polyfill-php80
Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
Fund package maintenance!
fabpot
Tidelift
symfony.com/sponsor
Requires
- php: >=7.2
README
This component provides features added to PHP 8.0 core:
Stringable
interfacefdiv
ValueError
classUnhandledMatchError
classFILTER_VALIDATE_BOOL
constantget_debug_type
PhpToken
classpreg_last_error_msg
str_contains
str_starts_with
str_ends_with
get_resource_id
More information can be found in the main Polyfill README.
License
This library is released under the MIT license.