Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/symfony/polyfill-php72
Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
https://github.com/symfony/polyfill-php72
compatibility component javascript polyfill portable shim symfony symfony-component symfony-polyfill
Last synced: 5 days ago
JSON representation
Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
- Host: GitHub
- URL: https://github.com/symfony/polyfill-php72
- Owner: symfony
- License: mit
- Created: 2017-06-09T14:25:51.000Z (over 7 years ago)
- Default Branch: 1.x
- Last Pushed: 2024-09-09T12:24:34.000Z (3 months ago)
- Last Synced: 2024-12-13T17:15:30.988Z (8 days ago)
- Topics: compatibility, component, javascript, polyfill, portable, shim, symfony, symfony-component, symfony-polyfill
- Homepage: https://symfony.com/polyfill-php72
- Size: 46.9 KB
- Stars: 4,787
- Watchers: 7
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - symfony/polyfill-php72 - Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions (miscellaneous)
README
Symfony Polyfill / Php72
========================This component provides functions added to PHP 7.2 core:
- [`spl_object_id`](https://php.net/spl_object_id)
- [`stream_isatty`](https://php.net/stream_isatty)And also functions added to PHP 7.2 mbstring:
- [`mb_ord`](https://php.net/mb_ord)
- [`mb_chr`](https://php.net/mb_chr)
- [`mb_scrub`](https://php.net/mb_scrub)On Windows only:
- [`sapi_windows_vt100_support`](https://php.net/sapi_windows_vt100_support)
Moved to core since 7.2 (was in the optional XML extension earlier):
- [`utf8_encode`](https://php.net/utf8_encode)
- [`utf8_decode`](https://php.net/utf8_decode)Also, it provides constants added to PHP 7.2:
- [`PHP_FLOAT_*`](https://php.net/reserved.constants#constant.php-float-dig)
- [`PHP_OS_FAMILY`](https://php.net/reserved.constants#constant.php-os-family)More information can be found in the
[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md).License
=======This library is released under the [MIT license](LICENSE).