Sindbad~EG File Manager

Current Path : /usr/share/doc/php-symfony-polyfill-1.5.0/Php70/
Upload File :
Current File : //usr/share/doc/php-symfony-polyfill-1.5.0/Php70/README.md

Symfony Polyfill / Php70
========================

This component provides functions unavailable in releases prior to PHP 7.0:

- [`intdiv`](http://php.net/intdiv)
- [`preg_replace_callback_array`](http://php.net/preg_replace_callback_array)
- [`error_clear_last`](http://php.net/error_clear_last)
- `random_bytes` and `random_int` (from [paragonie/random_compat](https://github.com/paragonie/random_compat))
- [`*Error` throwable classes](http://php.net/Error)

Also, it provides a constant added to PHP 7.0:
- [`PHP_INT_MIN`](http://php.net/manual/en/reserved.constants.php#constant.php-int-min)

More information can be found in the
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).

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`.

License
=======

This library is released under the [MIT license](LICENSE).

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists