FileSize | 5868 |
MD5 | 7860C036C41D1ABAAEC6788C00AAA960 |
PackageDescription | Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
This component provides functions unavailable in releases prior to PHP 7.0:
.
* intdiv
* preg_replace_callback_array
* error_clear_last
* random_bytes and random_int (via php-random-compat)
* *Error throwable classes
.
Compatibility notes:
.
To write portable code between PHP5 and PHP7, some care must be taken:
* `\*Error` exceptions must be caught before `\Exception`;
* after calling `error_clear_last()`, the result of
`$e = error_get_last()` must be verified using
`isset($e['message'][0])` instead of `null === $e`.
.
The Symfony Polyfill project backports features found in the latest PHP
versions and provides compatibility layers for some extensions and functions.
It is intended to be used when portability across PHP versions and extensions
is desired.
.
Symfony is a PHP framework, a set of tools and a development methodology. |
PackageMaintainer | Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org> |
PackageName | php-symfony-polyfill-php70 |
PackageSection | php |
PackageVersion | 1.2.0-1 |
SHA-1 | 15C139EA0074ACEA7E141E9804F3B86724133471 |
SHA-256 | A9668E56518E0CEC511208653BC8275AA92FD0B8D4B459F2C7F160C233C97761 |