Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

Installs: 546 835 024

Dependents: 45

Suggesters: 0

Security: 0

Stars: 4 789

Watchers: 8

Forks: 7

v1.30.0 2024-06-19 12:30 UTC


Symfony Polyfill / Php72

This component provides functions added to PHP 7.2 core:

And also functions added to PHP 7.2 mbstring:

On Windows only:

Moved to core since 7.2 (was in the optional XML extension earlier):

Also, it provides constants added to PHP 7.2:

More information can be found in the main Polyfill README.


This library is released under the MIT license.