symfony/polyfill-php70
Symfony Polyfill PHP 7.0 provides compatibility shims for older PHP versions, letting modern PHP 7+ functions and features run on legacy environments. Used by Symfony components and many libraries to ensure consistent behavior across PHP versions.
This component provides features unavailable in releases prior to PHP 7.0:
intdivpreg_replace_callback_arrayerror_clear_lastrandom_bytes and random_int (from paragonie/random_compat)*Error throwable classesPHP_INT_MINSessionUpdateTimestampHandlerInterfaceMore information can be found in the main Polyfill README.
To write portable code between PHP5 and PHP7, some care must be taken:
\*Error exceptions must be caught before \Exception;error_clear_last(), the result of $e = error_get_last() must be
verified using isset($e['message'][0]) instead of null !== $e.This library is released under the MIT license.
How can I help you explore Laravel packages today?