New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adhocore/php-polyfills

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adhocore/php-polyfills

Miscellaneous polyfills for older PHP versions

Source
Packagist
This package is abandoned and is no longer maintained.
The author recommends using true instead.
This version has been yanked by its maintainers and should not be used.
Version
v0.0.4
Version published
Total downloads
24
Maintainers
1
Created
Source

adhocore/php-polyfills

Latest Version Travis Build Scrutinizer CI Codecov branch StyleCI Software License

Miscellaneous polyfills for older PHP versions. This library should run on any PHP5 versions or later. At the time being it contains some polyfills for PHP5.4 and PHP5.5. However it is being actively developed and new polyfills will be added from time to time.

Installation

composer require adhocore/php-polyfills

Available Polyfills

Please see the native counterpart (linked below) for the documentation and usage.

PHP5.5

  • array_column - native

PHP5.4

and more to come by

Tests

The tests for this library runs with latest PHP version and asserts against the native implementation to ensure that the polyfills this library provides are compatible as much as possible.

To run the tests:

vendor/bin/phpunit

Keywords

php

FAQs

Package last updated on 26 Oct 2018

Related posts