{"id":88811,"library":"symfony-polyfill-php70","title":"Symfony PHP 7.0 Polyfill","description":"Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions.","status":"active","version":"1.20.0","language":"php","source_language":null,"source_url":"https://github.com/symfony/polyfill-php70","tags":["polyfill","php70","symfony","compatibility"],"install":[{"cmd":"composer require symfony/polyfill-php70","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Php70","correct":"use Symfony\\Polyfill\\Php70\\Php70;"}],"quickstart":{"code":"use Symfony\\Polyfill\\Php70\\Php70;\n\n// The polyfill is automatically loaded via Composer, no manual use needed.\n// Example: use random_int() which is polyfilled for PHP < 7.0\n$random = random_int(1, 100);","lang":"php","description":"Use PHP 7.0 functions like random_int() on older PHP versions."},"warnings":[{"fix":"Upgrade to PHP 8.0 or later and remove this polyfill.","message":"This polyfill is deprecated as PHP 7.0 is end-of-life; use PHP 8.0+ instead.","severity":"breaking","affected_versions":">=1.20.0"}],"env_vars":null,"search_vec":"'7.0':3,10 'backport':7 'compat':19 'featur':11 'lower':13 'php':2,9,14 'php70':17 'polyfil':4,6,16 'symfoni':1,5,18 'version':15","created_at":"2026-06-19T08:38:01.604830+00:00","updated_at":"2026-06-19T08:38:01.604830+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://symfony.com","github":"https://github.com/symfony/polyfill-php70","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}