GitPedia

Polyfill php72

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

From symfony·Updated June 2, 2026·View on GitHub·

**polyfill php72** is a Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions The project is distributed under the MIT License license, first published in 2017. It has gained significant community traction with 4,742 stars and 6 forks on GitHub. Key topics include: compatibility, component, javascript, polyfill, portable.

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.

License

This library is released under the MIT license.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from symfony/polyfill-php72 via the GitHub API.Last fetched: 6/24/2026