symfony/polyfill-php80
Backport of PHP 8.0 core features for older runtimes. Adds Stringable, fdiv, ValueError/UnhandledMatchError, FILTER_VALIDATE_BOOL, get_debug_type, PhpToken, preg_last_error_msg, str_contains/starts_with/ends_with, and get_resource_id.
This component provides features added to PHP 8.0 core:
Stringable interfacefdivValueError classUnhandledMatchError classFILTER_VALIDATE_BOOL constantget_debug_typePhpToken classpreg_last_error_msgstr_containsstr_starts_withstr_ends_withget_resource_idMore information can be found in the main Polyfill README.
This library is released under the MIT license.
How can I help you explore Laravel packages today?