Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 2, 2024 via composer

symfony/polyfill-php73 v1.29.0

Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
Package summary
Share
0
issues
1
license
1
MIT
Package created
25 Apr 2018
Version published
29 Jan 2024
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
symfony/polyfill-php73@v1.29.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of symfony/polyfill-php73 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does symfony/polyfill-php73 do?

The Symfony/polyfill-php73 is a valuable component that provides functionalities from PHP 7.3 and higher to lower PHP versions. It effectively backports a selection of PHP 7.3+ features, enhancing the compatibility and functionality of your PHP projects. These include array_key_first, array_key_last, hrtime, is_countable functions, as well as the JsonException.

How do you use symfony/polyfill-php73?

To use Symfony/polyfill-php73, all you need to do is include it in your project through Composer. You can run the following command on your command line:

composer require symfony/polyfill-php73

Once you do that, you can utilize the provided features in your PHP code as if they were native to your PHP version. Here are some of the ways to use the functions provided:

$firstKey = array_key_first($array);
$lastKey = array_key_last($array);
$highResTime = hrtime(true);
$isCountable = is_countable($array);

try {
    // some json operations
} catch (JsonException $e) {
    // handle exception
}

Where are the symfony/polyfill-php73 docs?

While there is no dedicated documentation specifically for symfony/polyfill-php73, detailed information about Polyfill components, including symfony/polyfill-php73, can be found in the main Polyfill README on GitHub. It's a good resource to understand more about polyfills and how to use this tool in your PHP development.