Registry / utility / symfony-polyfill-php73

symfony-polyfill-php73

JSON →
library1.37.0phppackagistunverified

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

composer require symfony/polyfill-php73
INSTALL
IMPORT
SIG · SYMFONY-POLYFILL-P
S
symfony-polyfill-php73
utilityphpv1.37.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.

Php73
use Symfony\Polyfill\Php73\Php73;

Automatically provides PHP 7.3 functions on older PHP versions.

use Symfony\Polyfill\Php73\Php73; // No direct usage; polyfill automatically loads functions if (!function_exists('array_key_first')) { function array_key_first($array) { return Php73::array_key_first($array); } }
Debug
Known issues
gotchaOnly provides a subset of PHP 7.3 features; not all functions are polyfilled.
fix
Check the list of polyfilled functions in the documentation.
affects: >=1.0.0
Upgrade
Version history
1.37.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
symfony-polyfill-php73 — pip install symfony-polyfill-php73 · libregistry