| 148 |
lars |
1 |
Symfony Polyfill / Php72
|
|
|
2 |
========================
|
|
|
3 |
|
|
|
4 |
This component provides functions added to PHP 7.2 core:
|
|
|
5 |
|
|
|
6 |
- [`spl_object_id`](https://php.net/spl_object_id)
|
|
|
7 |
- [`stream_isatty`](https://php.net/stream_isatty)
|
|
|
8 |
|
|
|
9 |
And also functions added to PHP 7.2 mbstring:
|
|
|
10 |
|
|
|
11 |
- [`mb_ord`](https://php.net/mb_ord)
|
|
|
12 |
- [`mb_chr`](https://php.net/mb_chr)
|
|
|
13 |
- [`mb_scrub`](https://php.net/mb_scrub)
|
|
|
14 |
|
|
|
15 |
On Windows only:
|
|
|
16 |
|
|
|
17 |
- [`sapi_windows_vt100_support`](https://php.net/sapi_windows_vt100_support)
|
|
|
18 |
|
|
|
19 |
Moved to core since 7.2 (was in the optional XML extension earlier):
|
|
|
20 |
|
|
|
21 |
- [`utf8_encode`](https://php.net/utf8_encode)
|
|
|
22 |
- [`utf8_decode`](https://php.net/utf8_decode)
|
|
|
23 |
|
|
|
24 |
Also, it provides constants added to PHP 7.2:
|
|
|
25 |
|
|
|
26 |
- [`PHP_FLOAT_*`](https://php.net/reserved.constants#constant.php-float-dig)
|
|
|
27 |
- [`PHP_OS_FAMILY`](https://php.net/reserved.constants#constant.php-os-family)
|
|
|
28 |
|
|
|
29 |
More information can be found in the
|
|
|
30 |
[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md).
|
|
|
31 |
|
|
|
32 |
License
|
|
|
33 |
=======
|
|
|
34 |
|
|
|
35 |
This library is released under the [MIT license](LICENSE).
|