Registry / utility / symfony-polyfill-php56

symfony-polyfill-php56

JSON →
library1.20.0phppackagistunverified

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

composer require symfony/polyfill-php56
INSTALL
IMPORT
SIG · SYMFONY-POLYFILL-P
S
symfony-polyfill-php56
utilityphpv1.20.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Php56
use Symfony\Polyfill\Php56\Php56;

Bootstraps PHP 5.6 polyfills

<?php require_once 'vendor/autoload.php'; use Symfony\Polyfill\Php56\Php56; Php56::bootstrap(); echo hash_equals('abc', 'abc') ? 'true' : 'false';
Debug
Known issues
breakingThis package is deprecated in favor of symfony/polyfill-php80 and later polyfills
fix
Use symfony/polyfill-php80 or higher for modern PHP compatibility
affects: >=1.0.0
Upgrade
Version history
1.20.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
symfony-polyfill-php56 — pip install symfony-polyfill-php56 · libregistry