Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / polyfill-php70 / README.md
1 Symfony Polyfill / Php70
2 ========================
3
4 This component provides features unavailable in releases prior to PHP 7.0:
5
6 - [`intdiv`](http://php.net/intdiv)
7 - [`preg_replace_callback_array`](http://php.net/preg_replace_callback_array)
8 - [`error_clear_last`](http://php.net/error_clear_last)
9 - `random_bytes` and `random_int` (from [paragonie/random_compat](https://github.com/paragonie/random_compat))
10 - [`*Error` throwable classes](http://php.net/Error)
11 - [`PHP_INT_MIN`](http://php.net/manual/en/reserved.constants.php#constant.php-int-min)
12 - `SessionUpdateTimestampHandlerInterface`
13
14 More information can be found in the
15 [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
16
17 Compatibility notes
18 ===================
19
20 To write portable code between PHP5 and PHP7, some care must be taken:
21 - `\*Error` exceptions must be caught before `\Exception`;
22 - after calling `error_clear_last()`, the result of `$e = error_get_last()` must be
23   verified using `isset($e['message'][0])` instead of `null !== $e`.
24
25 License
26 =======
27
28 This library is released under the [MIT license](LICENSE).