symfony/polyfill-php70
This component provides features unavailable in releases prior to PHP 7.0. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3968
- days_rel: n/a
- days_push: 1127
- n_releases_24m: 0
Adoption not part of the score
3189 stars · 7 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony polyfill component that backports PHP 7.0 features such as intdiv, preg_replace_callback_array, random_bytes/random_int, and *Error classes to older PHP 5 versions. It lets developers write portable code that runs on both PHP 5 and PHP 7.
Use cases
- backport php 7.0 functions to php 5
- write code portable between php5 and php7
- use random_bytes and random_int on old php
- shim *Error throwable classes in php 5
- make a library compatible with older php versions
When to choose
- your code must run on PHP 5.x but uses PHP 7.0 features
- you maintain a library supporting a wide range of PHP versions
When to avoid
- you only target PHP 7.0 or newer
- you need polyfills for other PHP versions (use the matching polyfill package)
Facets
library · maturity maintenance
sdk developer-tools developer-tools programming-languages cross-platform php polyfill php7 compatibility-shim backport symfony-component
5 sources
- readme: https://github.com/symfony/polyfill-php70 · fetched 2026-08-28 · 200b5e446650
- homepage: https://symfony.com/polyfill-php70 · fetched 2026-08-29 · e5ca4aad90aa
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · cdec5bd82c72
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/polyfill-php70 | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="symfony/polyfill-php70")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem